The Tools.First of all the purpose of this guide is to help newb's get started with basic and advanced modding. And will teach you how to edit basic items ingame for example unit attacks, damage, armour etc. First of all before you can start modding you need an editing tool. I would recomend XCC which can be found here. http://xccu.sourceforge.net/utilities/You want the program Download it and save it to somewhere safe like your destop. Double click on the file and extract it using winzip. Click on browse and choose a destination path.
Now after unzipping the file you want to open it. Double click on it.
Click on the writing displayed C: Program files, EA games, The battle for middle earth, Data, INI. Then highlight all of the text right click and select copy. When this has completd close XCC and return to the desktop. Click on my computer and follow this path C:/Program Files/EA Games/The Battle For Middle Earth/Data/INI
Basic Editing
Now in this folder you will find the files that you can edit. Find the file and open it this file is probably the easiest to edit. On your keyboard use 'ctrl and f' To acess the find box. I know its tempting to edit all your favourite units but please dont until you get the hang of it! Otherwise you risk mucking up your game. If this does happen however attempt to fix it, if not reinstall.
Itot ox type
There you are youve found it.
Here is a simple guide to what each line does.
| QUOTE | ;------------------------SOLDIER------------- #define GONDOR_SOLDIER_BUILDCOST 100 - How much you want the unit to cost #define GONDOR_SOLDIER_BUILDTIME 1 ;1 - How much of a buildtime you want #define GONDOR_SOLDIER_HEALTH 400 - The units health #define GONDOR_SOLDIER_HEALTH_DAMAGED 50 -How much health the unit has when its damaged #define GONDOR_SOLDIER_HEALTH_RECOVERY_TIME 10000 - Health recovery time #define GONDOR_SOLDIER_VISION_RANGE 200 - How far the unit can see #define GONDOR_SOLDIER_HORDE_VISION_RANGE 100 - How far the unit horde can see #define GONDOR_SOLDIER_SHROUD_RANGE 400 - How much of the shroud is revealed
#define GONDOR_SOLDIER_SWORD 400 - Damage #define GONDOR_SOLDIER_SWORD_UPGRADE 400 - Damage upgraded #define GONDOR_SOLDIER_SWORD_PREATTACKDELAY 0 - Delay before an attack #define GONDOR_SOLDIER_SWORD_DELAYBETWEENSHOTS 100 - Dealy between shots #define GONDOR_SOLDIER_SWORD_FIRINGDURATION 1000 - How frequent the unit attacks, dont change! #define GONDOR_SOLDIER_BOUNTY_VALUE 5 - How much in money the enemy gets per kill. |
First of all try editing something easy like buildcost and time. Change buildcost to 10 and buildtime to 1. Go to file up the top left and save then exit. Now go to C:/Program Files/EA Games/The Battle For Middle Earth and find a file called gamedata, move it to the desktop. Do not delete it. Now open up BFME and test your edited soldier. You can do this for all units in the gamedat.ini file.
The Playertemplate, How To Move Heroes To New Factions
First of all go here My Computer/C:/Program Files/EA Games/The Battle For Middle Earth/Data/INI
Find the file
Open it.
Should look like this.
| QUOTE | ;////////////////////////////////////////////////////////////////////////////// FILE: PlayerTemplate.ini (SYSTEM) /////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////// Note Note Note Note Note Note Note Note Note Note Note Note Note ////////////////////////////////////////////////////////////////////////////// There is a dependency between the player template member Side and the ControlBarScheme.ini files side. If you add a new side here, make sure the ControlBarScheme.ini contains a new control bar with that new side as its side. Otherwise it will use the Observer8x6 control bar. Talk to CLH if there's issues with this. ////////////////////////////////////////////////////////////////////////////// Note Note Note Note Note Note Note Note Note Note Note Note Note //////////////////////////////////////////////////////////////////////////////
PlayerTemplate FactionCivilian Side = Civilian PlayableSide = No StartMoney = 0 PreferredColor = R:64 G:64 B:64 IntrinsicSciences = None DisplayName = INI:FactionCivilian ScoreScreenImage = MutiPlayer_ScoreScreen End
PlayerTemplate FactionNeutral Side = Neutral PlayableSide = No StartMoney = 0 PreferredColor = R:64 G:64 B:64 IntrinsicSciences = None DisplayName = INI:FactionNeutral ScoreScreenImage = MutiPlayer_ScoreScreen End
PlayerTemplate FactionObserver Side = Observer PlayableSide = No IsObserver = Yes StartMoney = 0 PreferredColor = R:64 G:64 B:64 IntrinsicSciences = None DisplayName = INI:FactionObserver ScoreScreenImage = MutiPlayer_ScoreScreen LoadScreenImage = Mp_Load ;LoadScreenMusic = Load_USA BeaconName = MultiplayerBeacon SideIconImage = GameinfoOBSRVR End
PlayerTemplate FactionRohan Side = Rohan PlayableSide = Yes Evil = No StartMoney = 0 MaxLevelMP = 34 MaxLevelSP = 78 ;80 PreferredColor = R:42 G:190 B:53 IntrinsicSciences = SCIENCE_GOOD IntrinsicSciencesMP = SCIENCE_ROHAN SpellBook = GoodSpellBook SpellBookMp = RohanSpellBook PurchaseScienceCommandSet = GoodSpellStoreCommandSet PurchaseScienceCommandSetMP = RohanSpellStoreCommandSet ;SpecialPowerShortcutCommandSet = SpecialPowerShortcutUSA ;SpecialPowerShortcutWinName = GenPowersShortcutBarUS.wnd ;SpecialPowerShortcutButtonCount = 5 DisplayName = INI:FactionRohan ;StartingBuilding = RohanStable ;StartingUnit0 = RohanWorker DefaultPlayerAIType = RohanSkirmishAI ;ScoreScreenImage = America_ScoreScreen ;LoadScreenImage = SAFactionLogoPage_US ;LoadScreenMusic = Load_USA ;FlagWaterMark = WatermarkUSA ;EnabledImage = SSObserverUSA BeaconName = MultiplayerBeacon ;SideIconImage = GameinfoAMRCA LightPointsUpSound = RohanLightPointsUp ObjectiveAddedSound = Gui_MissionObjectiveNew ObjectiveCompletedSound = Gui_MissionObjectiveCompleted InitialUpgrades = Upgrade_RohanDualEconomyChoice Upgrade_RohanFaction ;Any upgrades this player template is born with. BuildableHeroesMP = GondorGandalf GondorAragornMP RohanLegolas RohanGimli GondorBoromir RohanFrodo RohanSam RohanMerry RohanPippin ElvenHaldirV GondorFaramir ElvenElrond GondorGwaihir GondorGwaihir RohanTheoden RohanEomer RohanEowyn SpellStoreCurrentPowerLabel = APT:SpellStoreCurrentEvenstarPower SpellStoreMaximumPowerLabel = APT:SpellStoreMaximumEvenstarPower End
PlayerTemplate FactionGondor Side = Gondor PlayableSide = Yes Evil = No StartMoney = 0 MaxLevelMP = 32 MaxLevelSP = 78 ;80 PreferredColor = R:43 G:150 B:179 IntrinsicSciences = SCIENCE_GOOD IntrinsicSciencesMP = SCIENCE_GONDOR SpellBook = GoodSpellBook SpellBookMp = GondorSpellBook PurchaseScienceCommandSet = GoodSpellStoreCommandSet PurchaseScienceCommandSetMP = GondorSpellStoreCommandSet ;SpecialPowerShortcutCommandSet = SpecialPowerShortcutChina ;SpecialPowerShortcutWinName = GenPowersShortcutBarChina.wnd ;SpecialPowerShortcutButtonCount = 5 DisplayName = INI:FactionGondor ;StartingBuilding = GondorStable ;StartingUnit0 = GondorFighter DefaultPlayerAIType = GondorSkirmishAI ;ScoreScreenImage = China_ScoreScreen ;LoadScreenImage = SNFactionLogoPage_China ;LoadScreenMusic = Load_China ;FlagWaterMark = WatermarkChina ;EnabledImage = SSObserverChina BeaconName = MultiplayerBeacon ;SideIconImage = GameinfoCHINA LightPointsUpSound = GondorLightPointsUp ObjectiveAddedSound = Gui_MissionObjectiveNew ObjectiveCompletedSound = Gui_MissionObjectiveCompleted InitialUpgrades = Upgrade_GondorFaction ;Any upgrades this player template is born with. BuildableHeroesMP = GondorGandalf GondorAragornMP RohanLegolas RohanGimli GondorBoromir RohanFrodo RohanSam RohanMerry RohanPippin ElvenHaldir GondorFaramir GondorIsildur GondorGwaihir GondorGwaihir GondorGwaihir RohanTheoden RohanEomer RohanEowyn SpellStoreCurrentPowerLabel = APT:SpellStoreCurrentEvenstarPower SpellStoreMaximumPowerLabel = APT:SpellStoreMaximumEvenstarPower End
PlayerTemplate FactionIsengard Side = Isengard PlayableSide = Yes Evil = Yes StartMoney = 0 MaxLevelMP = 43 MaxLevelSP = 84 PreferredColor = R:216 G:175 B:48 IntrinsicSciences = SCIENCE_EVIL IntrinsicSciencesMP = SCIENCE_ISENGARD DefaultPlayerAIType = IsengardSkirmishAI SpellBook = EvilSpellBook SpellBookMp = IsengardSpellBook PurchaseScienceCommandSet = EvilSpellStoreCommandSet PurchaseScienceCommandSetMP = IsengardSpellStoreCommandSet ;SpecialPowerShortcutCommandSet = SpecialPowerShortcutGLA ;SpecialPowerShortcutWinName = GenPowersShortcutBarGLA.wnd ;SpecialPowerShortcutButtonCount = 3 DisplayName = INI:FactionIsengard ;StartingBuilding = MordorBarracks ;StartingUnit0 = GLAInfantryWorker ;ScoreScreenImage = GLA_ScoreScreen ;LoadScreenImage = SUFactionLogoPage_GLA ;LoadScreenMusic = Load_GLA ;FlagWaterMark = WatermarkGLA ;EnabledImage = SSObserverGLA BeaconName = MultiplayerBeacon ;SideIconImage = GameinfoGLA LightPointsUpSound = IsengardLightPointsUp ObjectiveAddedSound = Gui_MissionObjectiveNew ObjectiveCompletedSound = Gui_MissionObjectiveCompleted BuildableHeroesMP = MordorSauron IsengardSharku IsengardSaruman IsengardLurtz IsengardUgluk MordorBalrogg MordorWitchKingOnFellBeast MordorFellBeast MordorFellBeast MordorFellBeast NeutralGollum InitialUpgrades = Upgrade_IsengardDualEconomyChoice Upgrade_IsengardFaction Upgrade_EvilDualEconomyChoice;Any upgrades this player template is born with. SpellStoreCurrentPowerLabel = APT:SpellStoreCurrentRingPower SpellStoreMaximumPowerLabel = APT:SpellStoreMaximumRingPower End
PlayerTemplate FactionMordor Side = Mordor PlayableSide = Yes Evil = Yes StartMoney = 0 MaxLevelMP = 44 MaxLevelSP = 84 PreferredColor = R:175 G:49 B:33 IntrinsicSciences = SCIENCE_EVIL IntrinsicSciencesMP = SCIENCE_MORDOR SpellBook = EvilSpellBook SpellBookMp = MordorSpellBook PurchaseScienceCommandSet = EvilSpellStoreCommandSet PurchaseScienceCommandSetMP = MordorSpellStoreCommandSet ;SpecialPowerShortcutCommandSet = SpecialPowerShortcutGLA ;SpecialPowerShortcutWinName = GenPowersShortcutBarGLA.wnd ;SpecialPowerShortcutButtonCount = 3 DisplayName = INI:FactionMordor DefaultPlayerAIType = MordorSkirmishAI ;StartingBuilding = MordorBuildingFoundation ;StartingUnit0 = MordorFighter ;ScoreScreenImage = GLA_ScoreScreen ;LoadScreenImage = SUFactionLogoPage_GLA ;LoadScreenMusic = Load_GLA ;FlagWaterMark = WatermarkGLA ;EnabledImage = SSObserverGLA BeaconName = MultiplayerBeacon ;SideIconImage = GameinfoGLA LightPointsUpSound = MordorLightPointsUp ObjectiveAddedSound = Gui_MissionObjectiveNew ObjectiveCompletedSound = Gui_MissionObjectiveCompleted InitialUpgrades = Upgrade_MordorDualEconomyChoice Upgrade_MordorFaction Upgrade_EvilDualEconomyChoice;Any upgrades this player template is born with. BuildableHeroesMP = MordorSauron MordorWitchKing MordorWitchKingOnFellBeast IsengardSaruman IsengardLurtz MordorFellBeast MordorFellBeast MordorFellBeast MordorFellBeast MordorFellBeast MordorFellBeast MordorFellBeast MordorFellBeast NeutralGollum SpellStoreCurrentPowerLabel = APT:SpellStoreCurrentRingPower SpellStoreMaximumPowerLabel = APT:SpellStoreMaximumRingPower End |
The only difference is i have different heroes. All you have to do is add the names listed under BuildableHeroesMP.
The only ones that you cant add here are as follows. (I will teach you how to add these in a later guide, Dont add these or you will muck up your game.)
| QUOTE | ElvenHaldirV MordorSauron IsengardSharku MordorWitchKing |
Then save and your done test this.
Adding/Moving units.
Firstly open commandset.ini. Now find GondorBarracksCommandSet which looks like this:
| QUOTE | CommandSet GondorBarracksCommandSet 1 = Command_ConstructGondorFighterHorde 2 = Command_ConstructGondorTowerShieldGuardHorde 3 = Command_Sell End |
Now to add a unit,I will use Rohans Elven Warriors as an example Simply add this.
| QUOTE | | = Command_ConstructElvenWarriorHorde |
To the barracks commandset so it now looks like this.
| QUOTE | CommandSet GondorBarracksCommandSet 1 = Command_ConstructGondorFighterHorde 2 = Command_ConstructGondorTowerShieldGuardHorde 3 = Command_ConstructElvenWarriorHorde 4 = Command_Sell End |
Remember to change the numbers so they go up in order. This can be done with any unit. Another example, how to add wargs and uruks to the mordor orc pit. And if you want their upgrades.
First find this MordorOrcPitCommandSet
| QUOTE | CommandSet MordorOrcPitCommandSet 1 = Command_ConstructMordorOrcFighterHorde 2 = Command_ConstructMordorOrcArcherHorde 3 = Command_PurchaseTechnologyMordorFireArrows 4 = Command_PurchaseTechnologyMordorBasicTraining 5 = Command_Sell End |
And change it to this.
| QUOTE | CommandSet MordorOrcPitCommandSet 1 = Command_ConstructMordorOrcFighterHorde 2 = Command_ConstructMordorOrcArcherHorde 3 = Command_ConstructIsengardFighterHorde 4 = Command_ConstructIsengardWargRiderHorde 5 = Command_PurchaseTechnologyMordorFireArrows 6 = Command_PurchaseTechnologyMordorBasicTraining 7 = Command_PurchaseTechnologyIsengardForgedBlades 8 = Command_PurchaseTechnologyIsengardHeavyArmor 9 = Command_PurchaseTechnologyIsengardBasicTraining 10 = Command_Sell End |
As you can see ive added wargs,uruks and added 3 upgrades for them. Remember to change the numbers as you go.
Changing Summoned Units Lifespan.
Open your ini folder here
| QUOTE | | C:\Program Files\EA Games/Data/ini/object/neutral |
And open and type in "lifetime" in the find box.Change the values, (Baring in mind the time is in milli seconds!)
| QUOTE | minlifetime = 10000 = 10 secs maxlifetime = 10000 = 10 secs |
But if you want the summoned unit to have no time limit delete this section.
| QUOTE | minlifetime = 10000 maxlifetime = 10000 |
Creating Grond In Skirmish
Two Files need edited :
Commandset.ini Commandbutton.ini
I'll start with Commandset.ini, first find this :
CommandSet MordorSiegeWorksCommandSet 1 = Command_ConstructMordorCatapult 2 = Command_ConstructMordorSiegeTower 3 = Command_ConstructMordorBatteringRam 4 = Command_Sell End
And replace it with this :
CommandSet MordorSiegeWorksCommandSet 1 = Command_ConstructMordorCatapult 2 = Command_ConstructMordorSiegeTower 3 = Command_ConstructMordorBatteringRam 4 = Command_ConstructMordorGrond 5 = Command_Sell End
Now, we head over to the Commandbutton.ini
Find this :
CommandButton Command_ConstructMordorGrond Command = UNIT_BUILD Object = MordorGrond Options = NEED_UPGRADE CANCELABLE NeededUpgrade = Upgrade_StructureLevel3 TextLabel = CONTROLBAR:ConstructMordorGrond ButtonImage = BMGreatSiegeWorks_Grond ButtonBorderType = BUILD ; Identifier for the User as to what kind of button this is DescriptLabel = CONTROLBAR:ToolTipBuildMordorGrond Radial = Yes InPalantir = Yes ShowProductionCount = Yes ; UnitSpecificSound = GondorArcherVoiceBuy End
And replace it with this :
CommandButton Command_ConstructMordorGrond Command = UNIT_BUILD Object = MordorGrond Options = NEED_UPGRADE CANCELABLE NeededUpgrade = Upgrade_StructureLevel1 TextLabel = CONTROLBAR:ConstructMordorGrond ButtonImage = BMGreatSiegeWorks_Grond ButtonBorderType = BUILD ; Identifier for the User as to what kind of button this is DescriptLabel = CONTROLBAR:ToolTipBuildMordorGrond Radial = Yes InPalantir = Yes ShowProductionCount = Yes ; UnitSpecificSound = GondorArcherVoiceBuy End
You can now create Grond.
Getting Rid of the Forged Blade Upgrades Glow
To do this do the same as above but search for:
| QUOTE | | ShowSubObjects = Forged_Blade |
You have now got rid of the unrealstic glow.
Getting Rid Of The Intro Movies.
Go here C:\Program Files\EA Games/Data/Movies.
And delete the following files.
NewLineLogo.vp6 THX.vp6 EALogo.vp6 intel.vp6 And for the story 242.vp6
Installing Mods
Now for those of you who have problems installing mods read this. Most downloaded ods come with instructions, some of which can be hard to understand. Generally with most mods you download,they come with a file called
. To use the mod you will need to replace the existing INI with the downloaded one. This is where you will find the INI, | QUOTE | | My Computer/C:/Program Files/Ea Games/The Battle For Middle Earth |
. Simply move the INI in this folder to the desktop and then overite the INI here
| QUOTE | | My Computer/C:/Program Files/Ea Games/The Battle For Middle Earth |
With the downloaded INI. Some mods may require you to also manually add asset.dat files as well, simply follow the instructions in the readme.
Installing Maps
To install player made/doenloaded maps simply extract them and place them here.
| QUOTE | | My Computer/Documents And Settings/Your Name/Application Data/My Battle For Middle Earth Files' |
Getting Campain Maps In Skirmish ' Simply open up XCC,Finalbig extract the
to '
| QUOTE | | My Computer/Documents And Settings/Your Name/Application Data/My Battle For Middle Earth Files' |
Then play them,baring in mind the levels where you dont start with a camp,castle,expansion plot etc arnt playable :| REALLY great thanks to TOMBARNNET for this
--------------------
|