Jump to content


HighKing96

Member Since 08 May 2023
Offline Last Active Oct 04 2023 03:11 AM

Topics I've Started

Train Last Alliance Units

21 September 2023 - 04:28 PM

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
 
 

Worldbuilder Invasion Scripting

02 September 2023 - 09:25 PM

Hello! I'm looking to edit maps like Minas Tirith and Helm's Deep and create invasion scripts to use in Skirmish. Basically, I want it to be like the campaign levels where after "x" time, massive armies appear every so often on the battlefield, but I'm not sure how to create this script or how to build the armies that would spawn.


Elven Barracks for Skirmish

30 August 2023 - 03:55 AM

Hello everyone!

 

I'm new to the forum and a longtime fan of BMFE1, and I had an INI editing question I hope someone can answer. How would I go about adding the Elven Barracks (from the campaign) as a buildable structure in outposts/settlements for Gondor and Rohan in skirmish play? I have always loved the Elven Warriors and want them trainable from a more elf-like structure.