View topic - Min Builddistance is too long



All times are UTC + 1 hour


Post new topic Reply to topic  [ 16 posts ] 

Good idea or Bad idea?
Good idea, should be easy to fix 100%  100%  [ 1 ]
Leave the code alone! 0%  0%  [ 0 ]
Total votes : 1
Author Message
PostPosted: 26 Sep 2010, 22:37 
Blood & Steel Developer
User avatar

Joined: 25 Aug 2004, 12:31
Location: Has not played *a in years.
Was recently changed to a min of 128, which is way too far for some mods/ and games. Any way to get past this minimum I will be happy with. The very min should be changed to 16 since that would be distance from the center of a 1x1 to the center of another 1x1, correct?

I talked to fatcontroller and he said he also uses builddistances under 128, which are now set to 128.

Any ways heres the mantis post:
http://springrts.com/mantis/view.php?id=2151


Last edited by bobthedinosaur on 05 Mar 2011, 21:30, edited 1 time in total.

Top
 Offline Profile  
 
PostPosted: 27 Sep 2010, 00:16 
Moderator
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
Various S44 units use distances under 128 also.


Top
 Offline Profile  
 
PostPosted: 17 Oct 2010, 02:17 
Blood & Steel Developer
User avatar

Joined: 25 Aug 2004, 12:31
Location: Has not played *a in years.
I don't know if this was looked at again. If mod/game makers are making mistakes by making some distances too short, it is their own fault and other game makers shouldn't be penalized from such a generalized scale.


Top
 Offline Profile  
 
PostPosted: 17 Oct 2010, 10:29 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
test with this installer:
http://springrts.com/dl/buildbot/defaul ... a83a6b.exe

or under linux, with branch minBuildDistance on the main git repo.


Top
 Offline Profile  
 
PostPosted: 17 Oct 2010, 13:23 
AI Coder

Joined: 17 Mar 2008, 19:03
Location: RF
bobthedinosaur wrote:
...The very min should be changed to 16 since that would be distance from the center of a 1x1 to the center of another 1x1, correct?

If unit center is in the center of footprint then 8. Spring allows placing buildings side by side. But i think best _default_ build distance should be unit_footprint_width / 2 + single_footprint_width.


Top
 Offline Profile  
 
PostPosted: 17 Oct 2010, 18:24 
Blood & Steel Developer
User avatar

Joined: 25 Aug 2004, 12:31
Location: Has not played *a in years.
so are you saying 1.5 x times width of builder?


Top
 Offline Profile  
 
PostPosted: 18 Oct 2010, 01:12 
Moderator
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
hoijui's test with minimum of 16 was pretty badly broken.


Top
 Offline Profile  
 
PostPosted: 18 Oct 2010, 09:43 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
aha...

and now?


Top
 Offline Profile  
 
PostPosted: 18 Oct 2010, 10:58 
AI Coder

Joined: 17 Mar 2008, 19:03
Location: RF
bobthedinosaur wrote:
so are you saying 1.5 x times width of builder?

No: (builder_width) / 2 + 8.


Top
 Offline Profile  
 
PostPosted: 22 Oct 2010, 19:13 
Game Developer
User avatar

Joined: 25 Jun 2006, 07:44
Location: Germany
Units are square, not circular.


Top
 Offline Profile  
 
PostPosted: 28 Oct 2010, 20:29 
P.U.R.E. Developer
User avatar

Joined: 21 Feb 2005, 03:38
Location: Herding cats uphill whilst wearing roller skates.
Yeah, unit width * 3 would probably be safest, IIRC any lower than that and the pathfinder went beserk, but that was awhile ago.


Top
 Offline Profile  
 
PostPosted: 29 Oct 2010, 19:21 
Blood & Steel Developer
User avatar

Joined: 25 Aug 2004, 12:31
Location: Has not played *a in years.
Would it be hard/ costly to include the size of target being built into the equation along with the builder's size?


Top
 Offline Profile  
 
PostPosted: 30 Oct 2010, 00:34 
User avatar

Joined: 07 Dec 2008, 02:35
bobthedinosaur wrote:
I don't know if this was looked at again. If mod/game makers are making mistakes by making some distances too short, it is their own fault and other game makers shouldn't be penalized from such a generalized scale.


Exactly this, the engine shouldn't be overriding settings of mod makers.

I think the number of formulas proposed for a formula-based approach shows the inappropriateness of a formula-based approach, in that it is unlikely to satisfy everyone/all the special cases and we end up back in square one.

In addition a formula-based approach is something which should be handled with lua in unitdefs_post, where the modmaker is free to use whatever wild formula they want in order to sanitize their buildDistances.


Top
 Offline Profile  
 
PostPosted: 14 Dec 2010, 18:46 
Blood & Steel Developer
User avatar

Joined: 25 Aug 2004, 12:31
Location: Has not played *a in years.
any updates on this? the min build dis is pretty annoying for some games like Contact and S44.


Top
 Offline Profile  
 
PostPosted: 14 Dec 2010, 20:09 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
i made a test engine change, and the answer i got was apparently "it is broken", and to the question how it is broken, i got no answer. or it is something else that was broken, and nobody tested.
pro hint: read earlier posts.


Top
 Offline Profile  
 
PostPosted: 15 Dec 2010, 23:10 
Blood & Steel Developer
User avatar

Joined: 25 Aug 2004, 12:31
Location: Has not played *a in years.
Can we get some more testers?

http://springrts.com/dl/buildbot/defaul ... 24f7cd.exe

For me it seems that for a practical bare minimum optimal build range a 1x1 unit building at point blank another 1x1 with builddistance of 38. Anything smaller is just not necessary. Although some small units will have to back up to build a large unit, but I have 1x1's building 10x10's easily.


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.