Hello! I'm trying to make a custom scenario map playing as Gondor where I can train Last Alliance Elven Warriors, Last Alliance Gondor Soldiers, and Last Alliance Gondor Archers from the Elven Barracks. I've done my best to edit commandset.ini, commandbutton.ini, and gamedata.ini, but I can't seem to have my changes appear in the game. I've created a .big file with these edited files and named it with underscores in the main game directory. I don't know whether or not there are more changes I need to make. My hope is that someone more skilled at editing the game files can help me find where I've gone wrong in editing the files.
So far, I've only worked on adding the Last Alliance Elven Warrior-
My commandbutton.ini changes:
CommandButton Command_ConstructLAElvenWarriorHorde
Command = UNIT_BUILD
Object = LAElvenWarriorHorde
Options = CANCELABLE
TextLabel = CONTROLBAR:ConstructElvenWarriorHorde
ButtonImage = BCElvenBarracks_ElvenWarriors
ButtonBorderType = BUILD ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:ToolTipBuildElvenWarriorHordeWithNoPrerequisites
Radial = Yes
InPalantir = Yes
ShowProductionCount = Yes
; UnitSpecificSound = GondorArcherVoiceBuy
; Options = NEED_UPGRADE
; Upgrade = Upgrade_StructureLevel2
My commandset.ini changes:
;; THIS STRUCTURE MAY NOT REQUIRE A COMMAND SET, SINCE IT AUTOPRODUCES ITS ELVES
CommandSet RohanElvenBarracksCommandSet
1 = Command_ConstructElvenWarriorHorde
2 = Command_ConstructLAElvenWarriorHorde
3 = Command_ConstructLAGondorFighterHorde
;4 = Command_Sell
End
CommandSet ElvenBarracksCommandSet
1 = Command_ConstructElvenWarriorHorde
2 = Command_ConstructLAElvenWarriorHorde
3 = Command_ConstructLAGondorFighterHorde
;4 = Command_Sell
End
My gamedata.ini changes:
;------------------------LAELVENWARRIOR-------------
#define LAELVENWARRIOR_BUILDCOST 550
#define LAELVENWARRIOR_BUILDTIME 40
#define LAELVENWARRIOR_HEALTH 160
#define LAELVENWARRIOR_HEALTH_DAMAGED 160
#define LAELVENWARRIOR_HEALTH_RECOVERY_TIME 10000
#define LAELVENWARRIOR_VISION_RANGE 280 ; 430
#define LAELVENWARRIOR_HORDE_VISION_RANGE 270 ; 420
;Bow
#define LAELVENWARRIOR_BOW_PREATTACKDELAY 900
#define LAELVENWARRIOR_BOW_RELOADTIME_MIN 1250
#define LAELVENWARRIOR_BOW_RELOADTIME_MAX 2000
;Sword
#define LAELVENWARRIOR_SWORD_PREATTACKDELAY 700
#define LAELVENWARRIOR_SWORD_DELAYBETWEENSHOTS 1500
#define LAELVENWARRIOR_SWORD_FIRINGDURATION 800
#define LAELVEN_RANGE 400
#define LAELVEN_DAMAGE 30 ;40
#define LAELVEN_FIRE_UPGRADE_DAMAGE 35 ; 30 ;40
#define LAELVEN_FIRE_UPGRADE_DAMAGE_FLAME 15 ;20
#define LAELVEN_MELEE_DAMAGE 15 ; 30 ;was not used in BFME...added to weapon for patch 1.02
#define LAELVEN_MELEE_DAMAGE_UPGRADE 45 ; 60
#define LAELVENWARRIOR_BOUNTY_VALUE 10
#define LAELVENWARRIOR_PORCUPINE_DAMAGE 25 ; 100