[BFME 1]Setting the number of units when being cre
#1
Posted 03 December 2006 - 04:57 AM
i was wondering if its possible to set the number of units in a horde for both sides and all factions
if so what ini files do i use and where do i edit it?
cheers
dave
#2
Posted 03 December 2006 - 07:27 AM
The files you need to edit for are:
- data\ini\object\goodfaction\hordes\gondor\gondorhordes.ini
- data\ini\object\goodfaction\hordes\rohan\rohanhordes.ini
- data\ini\object\hordes\evilfactionhordes.ini
InitialPayload defines how many of a certain object will be in the horde when it is first built. Each object gets a separate InitialPayload line. The format is
InitialPayload = <Object_Name> <Number>Slots defines the maximum number of units that can be in that horde at a single time. This would be used by the game when the heal spell is used. The format is
Slots = <Number>Your number should be equal to the total amount of units you define in the InitialPayload lines.
RankInfo defines where each unit in the horde will show up. Each object gets it's own RankInfo line. You can have more than one line for each object though. The format is
RankInfo = RankNumber:<Rank_Number> UnitType:<Object_Name> Position:X:<X_Coordinate> Y:<X_Coordinate>If you add a new rank don't forget to add the number to the RanksToReleaseWhenAttacking parameter. The number of Positions you have in all your RankInfo lines must be equal to the number you defined in Slots. The number of Positions you have for each UnitType must be equal to the number you defined for each Object in their InitialPayload line.
I think I covered everything...
Star Wars Tactics- A Star Wars Gaming Site
Empire at War Zone- An Empire at War Modding Site
Battle for the Galaxy- A Star Wars Mod For The Battle for Middle-earth 2
#3
Posted 03 December 2006 - 07:32 AM
thanks very much, what about the banner carrier's if i was to set the number of units in a group to 1 and wanted to build a banner carrier separate
Edited by ddwagnz, 03 December 2006 - 07:34 AM.
#4
Posted 03 December 2006 - 11:46 AM
as for the banner carrier he can be built sperately just check out commandbutton.ini and you should find him then just add him to the commandset of the buidling you want.
Break dancing into the hearts of millions
#5
Posted 03 December 2006 - 09:25 PM
sorry if i sound really n00bish but this is the first time i am really going to try and edit bfme hehe
EDIT: could i get someone to send me clean copies of the hordes please as i want to re edit them but with a fresh copy
Edited by ddwagnz, 03 December 2006 - 09:31 PM.
#6
Posted 04 December 2006 - 10:21 AM
Nice as EA was, they left it active and you can just add this command to whatever building you want, for example the Rohan Archery Range (makes most sense to me):CommandButton Command_ConstructRohanBannerUnit
Command = UNIT_BUILD
Object = RohanBanner
Options = CANCELABLE
;Options = NEED_UPGRADE
;NeededUpgrade = Upgrade_StructureLevel2
TextLabel = CONTROLBAR:ConstructRohanBannerUnits
ButtonImage = BRArmory_Banner
ButtonBorderType = BUILD
DescriptLabel = CONTROLBAR:ToolTipConstructRohanBannerUnits
Radial = Yes
InPalantir = Yes
ShowProductionCount = Yes
;UnitSpecificSound = GondorPorterVoiceBuy____________________
End
This should already be enough to produce banner carriers that can be combined with your hordes...CommandSet RohanArcherRangeCommandSet
1 = Command_ConstructRohanArcherHorde
2 = Command_ConstructRohanElvenWarriorHorde
3 = Command_PurchaseTechnologyRohanFireArrows
4 = Command_ConstructRohanBannerUnit
5 = Command_Sell
End
For the files, here you go:
Attached Files
Edited by Dark Lord of the Sith, 04 December 2006 - 10:22 AM.
My Political Compass
Sieben Elefanten hatte Herr Dschin
Und da war dann noch der achte.
Sieben waren wild und der achte war zahm
Und der achte war's, der sie bewachte.
#7
Posted 04 December 2006 - 01:05 PM
#8
Posted 04 December 2006 - 01:07 PM
My Political Compass
Sieben Elefanten hatte Herr Dschin
Und da war dann noch der achte.
Sieben waren wild und der achte war zahm
Und der achte war's, der sie bewachte.
#9
Posted 04 December 2006 - 10:50 PM
#10
Posted 05 December 2006 - 02:43 PM
And for the second, go to object/system/system.ini, then look for PlayerHealSpecialPower. Now comment out the OCL line, like this:
Behavior = PlayerHealSpecialPower ModuleTag_Heal
SpecialPowerTemplate = SpellBookHeal
HealAffects = INFANTRY CAVALRY MONSTER MACHINE
HealAmount = 0.8 ; 1.0 ; 0.5 = 50% of maximum health
HealRadius = SPELL_HEAL_RADIUS_UNIT_SCAN
HealFX = FX_SpellHealUnitHealBuff ;FX_DefaultUnitHealBuff
; To replenish hordes a bit
add this semicolon ----> ; HealOCL = OCL_HealSpellHordeReplenishPing
AvailableAtStart = No
End
Edited by Dark Lord of the Sith, 05 December 2006 - 02:44 PM.
My Political Compass
Sieben Elefanten hatte Herr Dschin
Und da war dann noch der achte.
Sieben waren wild und der achte war zahm
Und der achte war's, der sie bewachte.
#11
Posted 05 December 2006 - 06:07 PM
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users