Horde Sizes
Started by pf7612, Jan 22 2008 05:59 PM
5 replies to this topic
#1
Posted 22 January 2008 - 05:59 PM
Hi.
Just a quick question, I just want to know how to make more units appear in a horde.
Ex. if I wanted to have 15 horsemen in a battalion instead of 10.
Thanks in advance.
Just a quick question, I just want to know how to make more units appear in a horde.
Ex. if I wanted to have 15 horsemen in a battalion instead of 10.
Thanks in advance.
War-young men dying, old men talking.
"This ought to be the greatest gatherin' of pirate lords in our lifetime."
"And I owe them all money." - Hector Barbosa and Jack Sparrow
"This ought to be the greatest gatherin' of pirate lords in our lifetime."
"And I owe them all money." - Hector Barbosa and Jack Sparrow
#2
Posted 23 January 2008 - 02:06 AM
In a horde object such as GondorFighterHorde, you should see a behavior like this:
Behavior = HordeContain ModuleTag_HordeContain FrontAngle = 270 FlankedDelay = 2000 ObjectStatusOfContained = InitialPayload = GondorFighter GOOD_MEN_GIANT_HORDE_SIZE Slots = 15 PassengerFilter = NONE +INFANTRY ShowPips = No ThisFormationIsTheMainFormation = Yes //Used to determine which armorset to use (and anything else we want!) RandomOffset=X:0 Y:0 MeleeBehavior = Amoeba End // Banner Carrier info BannerCarriersAllowed = GondorInfantryBanner // types of units that are allowed as banner carriers BannerCarrierPosition = UnitType:GondorFighter Pos:X:70.0 Y:0.0 // (DEFAULT) position of banner carrier RankInfo = RankNumber:1 UnitType:GondorFighter Position:X:50 Y:0 Position:X:50 Y:20 Position:X:50 Y:-20 Position:X:50 Y:40 Position:X:50 Y:-40 RankInfo = RankNumber:2 UnitType:GondorFighter Position:X:30 Y:0 Leader 1 0 Position:X:30 Y:20 Leader 1 1 Position:X:30 Y:-20 Leader 1 2 Position:X:30 Y:40 Leader 1 3 Position:X:30 Y:-40 Leader 1 4 RankInfo = RankNumber:3 UnitType:GondorFighter Position:X:10 Y:0 Leader 2 0 Position:X:10 Y:20 Leader 2 1 Position:X:10 Y:-20 Leader 2 2 Position:X:10 Y:40 Leader 2 3 Position:X:10 Y:-40 Leader 2 4 RanksToReleaseWhenAttacking = 1 AlternateFormation = GondorFighterHordeBlock MeleeAttackLeashDistance = 1 //How far the hordes can move from the center of the horde when melee attacking. BackUpMinDelayTime = 1 //The minimum amount of time to delay before backing up BackUpMaxDelayTime = 3000 //The maximum amount of time to delay before backing up BackUpMinDistance = 1 //The minimum number of cells to backup BackUpMaxDistance = 3 //The maximum number of cells to backup BackupPercentage = 80% //The amount of chance that a unit will back up. EndEdit the rank info to your preference and change the InitialPayload and slots to the appropriate number in the horde.
Edited by Rob38, 23 January 2008 - 02:07 AM.
#4
Posted 25 January 2008 - 02:09 AM
Rob38,
I did that and the 2 numbers were the same but (i changed it from 5 units to 15) 10 units were not connected to the moveable horde of 5 units. As in: 10 guys were standing around by the building and if I clicked on any one of them, it selected the 5 moveable units, wherever they were.
What did I do wrong?
I did that and the 2 numbers were the same but (i changed it from 5 units to 15) 10 units were not connected to the moveable horde of 5 units. As in: 10 guys were standing around by the building and if I clicked on any one of them, it selected the 5 moveable units, wherever they were.
What did I do wrong?
War-young men dying, old men talking.
"This ought to be the greatest gatherin' of pirate lords in our lifetime."
"And I owe them all money." - Hector Barbosa and Jack Sparrow
"This ought to be the greatest gatherin' of pirate lords in our lifetime."
"And I owe them all money." - Hector Barbosa and Jack Sparrow
#5
Posted 25 January 2008 - 03:41 AM
You forgot the rankinfo. There needs to be one position for every soldier.
This is for 15:
This is for 5:
The RankInfo determines where the soldiers are positioned in the horde. When using formations like shieldwall, porcupine etc. this is the way to make a new setup. Compare with hordes that can change formation.
Every soldier needs a position or he will just stand around!
Edit: Here is the positions above on a graph: ...
You might also want to check out this tutorial, although it's for combo hordes and the SplitHorde seems only to work for BfME1.
ComboHorde-Tutorial by GtO
This is for 15:
RankInfo = RankNumber:1 UnitType:GondorFighter Position:X:50 Y:0 Position:X:50 Y:20 Position:X:50 Y:-20 Position:X:50 Y:40 Position:X:50 Y:-40 RankInfo = RankNumber:2 UnitType:GondorFighter Position:X:30 Y:0 Leader 1 0 Position:X:30 Y:20 Leader 1 1 Position:X:30 Y:-20 Leader 1 2 Position:X:30 Y:40 Leader 1 3 Position:X:30 Y:-40 Leader 1 4 RankInfo = RankNumber:3 UnitType:GondorFighter Position:X:10 Y:0 Leader 2 0 Position:X:10 Y:20 Leader 2 1 Position:X:10 Y:-20 Leader 2 2 Position:X:10 Y:40 Leader 2 3 Position:X:10 Y:-40 Leader 2 4
This is for 5:
RankInfo = RankNumber:1 UnitType:GondorFighter Position:X:50 Y:0 Position:X:50 Y:20 Position:X:50 Y:-20 Position:X:50 Y:40 Position:X:50 Y:-40
The RankInfo determines where the soldiers are positioned in the horde. When using formations like shieldwall, porcupine etc. this is the way to make a new setup. Compare with hordes that can change formation.
Every soldier needs a position or he will just stand around!
Edit: Here is the positions above on a graph: ...
You might also want to check out this tutorial, although it's for combo hordes and the SplitHorde seems only to work for BfME1.
ComboHorde-Tutorial by GtO
Edited by Sûlherokhh, 25 January 2008 - 03:59 AM.
Axed Head and A.I. Coder for S.E.E. and ... stuff
".. coding is basically boring. What's fun is finding out how things work, take them apart and then put them together in ways that were not intended nor even conceived."
#6
Posted 26 January 2008 - 02:22 AM
Thanks a lot I got it working.
War-young men dying, old men talking.
"This ought to be the greatest gatherin' of pirate lords in our lifetime."
"And I owe them all money." - Hector Barbosa and Jack Sparrow
"This ought to be the greatest gatherin' of pirate lords in our lifetime."
"And I owe them all money." - Hector Barbosa and Jack Sparrow
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users