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?
How to avoid units clumping up in groups?
Moderator: Moderators
Re: How to avoid units clumping up in groups?
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...
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?
You can use ctrl+move order...
-
- Posts: 916
- Joined: 27 Jun 2009, 01:32
Re: How to avoid units clumping up in groups?
Code: Select all
avoidfriendly=0;
collidefriendly=0;
Re: How to avoid units clumping up in groups?
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.
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?
Great point.
I wonder what mod he's using anyway..
I wonder what mod he's using anyway..
Re: How to avoid units clumping up in groups?
thx, i got it working.
I'm working on my own mod btw.
I'm working on my own mod btw.