Page 1 of 1

How to avoid units clumping up in groups?

Posted: 24 Sep 2009, 12:00
by Erik
When i use groups of units they block each others line of attack, while that is somewhat realistic it leads to units blocking each other a lot and closing to the enemy until its sth. like a melee battle with units standing right next to the enemy (Avoidable with a lot of micro but still annoying).
My solution would be to prevent allied units from blocking the attack
line or making units shoot over allied units. buildings should remain a block in general.
Is that possible somehow?

Re: How to avoid units clumping up in groups?

Posted: 24 Sep 2009, 12:57
by Red XIII
There is a luawidget called custom formations. That just MIGHT be what you're looking for...

http://springrts.com/phpbb/viewtopic.php?f=23&t=18523
http://spring.jobjol.nl/show_file.php?id=1680

oh, and by default in Spring you can also have your units 'Hold Position', that way you can place artillery behind closer ranged units, etc.

EDIT: That file seems to be missing off of Springfiles. Try using the Spring downloader instead...

Re: How to avoid units clumping up in groups?

Posted: 24 Sep 2009, 14:12
by Gota
You can use ctrl+move order...

Re: How to avoid units clumping up in groups?

Posted: 24 Sep 2009, 14:28
by Master-Athmos

Code: Select all

	avoidfriendly=0;
	collidefriendly=0;
Makes your weapons fire through friendly units...

Re: How to avoid units clumping up in groups?

Posted: 25 Sep 2009, 05:27
by Saktoth
Its not that guys, this is a mod side issue.

Your problem is caused by your hitsphere being larger than your footprint. Units will avoid stepping on eachothers footprints, but if the hitsphere is larger, they will not be able to fire their weapons while being blocked by allies hitspheres. They will move forward (moving forward is default behaviour when you cant fire), bump into their allies, displace them, and it all becomes a big old scrum.

To see what im talking about, give a unit 10x10 footprint and give a unit with a big hitsphere a 0.5x0.5 footprint. You will see the difference immediately. The 10x10 units cant even get close to eachother, while the 0.5x0.5 units will happily stack up on the same spot.

If you use selectioncircle, disable it at least for testing, so you can compare footprint size to hitsphere.

Re: How to avoid units clumping up in groups?

Posted: 25 Sep 2009, 16:46
by Red XIII
Great point.

I wonder what mod he's using anyway..

Re: How to avoid units clumping up in groups?

Posted: 25 Sep 2009, 18:35
by Erik
thx, i got it working.
I'm working on my own mod btw.