SlayMaximus
Member!
I'm currently refining a mod to WM Wars to 5 v 5 players. In the original WMW, if too many creeps were spawned, they would pause or delay in their pathing to the various regions. That is, they would all pile up in the spawn region. Becasue of the increased number of creeps in a 5v5 version, this problem is more critical. I'm trying to understand why the creeps are pausing and not moving to the regions as ordered.
As first I thought this may have to do with a limit on the size of a unit group, and that having too many units in a single group would cause them to pause until other units in their group got out of the way. Therefore, I revised the triggers to create multiple different groups to spread the number of creeps out, but this was unsuccesful. It doesn't appear to have made any difference.
Also, I think it is important that none of the move orders are down at the group level. That is, the groups are only to identify units for pathing selection and are not used in a "Unit Group - Issue order targteing a point" command, which may (as I understand) have a limit to the number of creeps that can be ordered.
For example, the triggers that control the spawning and initial move of a creep are as follows:
Unit - Create 1 (Unit-type of (Picked unit)) for (Owner of (Picked unit)) at (Center of Spawn Bottom Left1 <gen>) facing Default building facing degrees
Unit - Change ownership of (Last created unit) to Player 11 (Dark Green) and Retain color
Unit Group - Add (Last created unit) to UnitsTopRightOuter1
Unit - Order (Last created unit) to Move To (Center of Outer Middle Left <gen>)
Thereafter, the movement triggers are similar to:
Events
Unit - A unit enters Outer Middle Left <gen>
Conditions
Or - Any (Conditions) are true
Conditions
((Entering unit) is in UnitsTopRightOuter1) Equal to True
((Entering unit) is in UnitsTopRightOuter2) Equal to True
((Entering unit) is in UnitsTopRightOuter3) Equal to True
Actions
Unit - Order (Entering unit) to Move To (Center of Bottom Left Outer <gen>)
Note the use of the OR conditions that I inserted when dividing all the units into multiple groups as stated above.
Any thoughts, comments or suggestions on this would be appreciated and sorry for the long post.
Thanks.
As first I thought this may have to do with a limit on the size of a unit group, and that having too many units in a single group would cause them to pause until other units in their group got out of the way. Therefore, I revised the triggers to create multiple different groups to spread the number of creeps out, but this was unsuccesful. It doesn't appear to have made any difference.
Also, I think it is important that none of the move orders are down at the group level. That is, the groups are only to identify units for pathing selection and are not used in a "Unit Group - Issue order targteing a point" command, which may (as I understand) have a limit to the number of creeps that can be ordered.
For example, the triggers that control the spawning and initial move of a creep are as follows:
Unit - Create 1 (Unit-type of (Picked unit)) for (Owner of (Picked unit)) at (Center of Spawn Bottom Left1 <gen>) facing Default building facing degrees
Unit - Change ownership of (Last created unit) to Player 11 (Dark Green) and Retain color
Unit Group - Add (Last created unit) to UnitsTopRightOuter1
Unit - Order (Last created unit) to Move To (Center of Outer Middle Left <gen>)
Thereafter, the movement triggers are similar to:
Events
Unit - A unit enters Outer Middle Left <gen>
Conditions
Or - Any (Conditions) are true
Conditions
((Entering unit) is in UnitsTopRightOuter1) Equal to True
((Entering unit) is in UnitsTopRightOuter2) Equal to True
((Entering unit) is in UnitsTopRightOuter3) Equal to True
Actions
Unit - Order (Entering unit) to Move To (Center of Bottom Left Outer <gen>)
Note the use of the OR conditions that I inserted when dividing all the units into multiple groups as stated above.
Any thoughts, comments or suggestions on this would be appreciated and sorry for the long post.
Thanks.