The 3rd Age

JUS_SAURON - The Power Of The Ring

JUS_SAURON - The Power Of  The Ring

New Powers , Heroes and Units for all Factions

Button for The 3rd AgeButton for The Dwarf HoldsButton for The Elven AllianceButton for Helm's Deep Last HopeButton for GothmogtheOrcButton for BFME+Button for The Four AgesButton for HDR HeadquartersButton for Middle Earth CenterButton for Project Perfect Mod

Become an affiliate!


Quick Lists

Top Rated Popular New Updated Last Comments Users

Register and log in to move these advertisements down

Clank's ultimate beginner tutorial

Avatar of clank234


Category: Code
Level: Beginner
Created: Friday January 14, 2011 - 6:37
Updated: Friday January 21, 2011 - 8:00
Views: 11515
Summary: Almost everything a beginner wants to know about coding


Staff says


Members say




6 votes

Page 1 2 3 4 5 6 8 9
Before we start, the first thing you must do is make a back-up of your bfme file.

This tutorial will be giving an in-depth guide for beginners on how to do some cool coding. I made this article so beginners don't have to go all over the article section to look for what they need.

Before you go any further, i recommend that you have downloaded FinalBig. This tutorial was written mainly for "Battle for Middle-Earth 1" but most of it still applies for "Battle for Middle-Earth 2" and "Rise of the Witch-King"

P.1 - Contents

P.2 - How to use FinalBig

P.3 - Setting up a ini ready to mod for "Battle for Middle-Earth 1"

P.4 - How to edit prices of buildings, units, Hero's and spells and how to edit how much health a unit, Hero or a building can have.

P.5 - How to add hero's from one faction to another and edit the starting cash for a single faction

P.6 - Giving a hero another hero's power: e.g. Giving Boromir blademaster

P.7 - Getting buildings to build what other buildings can build: e.g. Letting the orcpit buy uruk-hai.

P.8 - The Balrog summon spell, why not have 2 balrogs or with elven woods, instead of having 4 trees, why not have 40 trees.

Coding is done by editing the ini which can be found in the main Battle for Middle-Earth directory
Mine is "D:\Program Files\EA GAMES\The Battle for Middle-earth (tm)" without the quote marks. Your's may be different. I you still can't find it after a while, go into my computer or something like that and click on the search bar (the magnifine glass) on the top and where it asks you to type part of the name, type in Battle or Middle-earth and then a file will eventually come up with a file saying "The Battle for Middle-earth "

Links / Downloads

Every article and download to help u in modding1896January 14, 2011 - 7:11
Winrar to will allow you to download many files1306January 14, 2011 - 7:07
FinalBig2475January 14, 2011 - 7:07


Display order: Newest first

SaadZulfiqar - Wednesday December 26, 2012 - 15:32


Berethomb - Wednesday November 23, 2011 - 21:20

I can't get it to work! I removed the two Fell Beasts and the Witch Kings and added nine EvilMenBlackRiders, but when I play the game the witch king and fell beasts are still there and the nine Black Riders are gone! I guess it's got something with my mod not being used correctly but I can't get it to work properly! EXACTLY what should I do to play my mod?

Irenë Hawnetyne - Sunday November 20, 2011 - 12:47

@clank234, having written a tutorial on how to start modding, I think you've missed the point of writing the article. Articles should be clear and easy-to-read. You may want to correct your use of language and grammar, so people do not have to translate your article ere reading it. I'm not trying to flame or offend you, but it is very unhelpful for newbs trying to start off by using an article where every other word is ... unclear. Also, put in specifics, such as 'INI.BIG', not 'ini', and 'somewhere in Boromir's animations' should probably state WHERE his Animations are.

Unknown - Saturday November 19, 2011 - 21:46

1) Are you using finalbig?
2) Are you spelling the names correctly?


Mr.IAmHere - Sunday September 18, 2011 - 15:07

I get a game.dat error everytime I added aragorn to gondor
why does this happen?

modboy451 - Monday February 14, 2011 - 8:43

You forgot to but how to add other OCL's to the balrog summon

for example elven wood...20 trees...
I know how to do this already, but you should either add that stuff to the last page
or remove that stuff on the first page

Elric - Sunday January 23, 2011 - 19:27

Sorry Clank but you need to check some of your spelling and grammar... Also if you would like to improve it use some pictures as examples for the -mod command and final-big stuff, and coding etc.. and you might not want to use texting language. Hint HINT: "Every article and download to help =>u<= in modding" I will give a better rating if improved with photos and grammar. I was going to make a guide like this but i have been busy (RP) aka Rider Productions.

MorguLord - Saturday January 22, 2011 - 18:30


Go to top


"One site to rule them all, one site to find them,
one site to host them all, and on the network bind them."