The 3rd Age

Helm's Deep Last Hope

Helm's Deep Last Hope

The ultimate map mod

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

clank234

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

Rating

Staff says

-

Members say

3.5

Average

3.5/5.0

6 votes

Page 1 2 3 4 5 6 8 9
--------------------Player Template----------------------
Open up the playertemplate.ini
Here is where you add factions, remove factions, make hero's playable for a faction, edit the starting spellbook and edit the starting cash.

First i will show you how to edit the starting cash for a single faction.
Scroll down the page until you have this code:

              
Code
PlayerTemplate FactionRohan
    Side = Rohan
    PlayableSide = Yes
    Evil             = No
    StartMoney = 0
    MaxLevelMP            = 32 ; 34 ; 1 less point for Elven woods, 2 less points for Ent Allies, 1 more for CB
    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 = RohanTheoden RohanEomer RohanEowyn RohanGimli RohanLegolas GondorAragornMP RohanMerry
    SpellStoreCurrentPowerLabel = APT:SpellStoreCurrentEvenstarPower
    SpellStoreMaximumPowerLabel = APT:SpellStoreMaximumEvenstarPower
End


Anything with the ";" infront of it means that the game doesn't read it so just ignore those lines.
Now look at this code here:
              
Code
BuildableHeroesMP = RohanTheoden RohanEomer RohanEowyn RohanGimli RohanLegolas GondorAragornMP RohanMerry


This decides what hero's you can buy when playing this faction (Rohan)
Now have a look at Gondor:
              
Code
BuildableHeroesMP = GondorGandalf GondorBoromir GondorFaramir RohanPippin


Now let's say i want Aragorn to be on Gondors team, copy Aragorns name and paste it into Gondors buildable heroes section. So it should look like this:
              
Code
BuildableHeroesMP = GondorGandalf GondorBoromir GondorFaramir RohanPippin GondorAragornMP

If you want to have fun, you may have 3 Gandalfs, it would look like this:
              
Code
BuildableHeroesMP = GondorGandalf GondorGandalf GondorGandalf GondorBoromir GondorFaramir RohanPippin


And if you want to, you can have Saruman on Gondors team, it would look like this:

              
Code
BuildableHeroesMP = GondorGandalf GondorBoromir GondorFaramir RohanPippin IsengardSaruman



It doesn't matter if they're good or evil.
So that's it for the hero's.
I must warn you though, do not put like a thousand hero's that are buyable a you won't see them all when you click on the Fortress.

Now to edit the starting cash for a single faction. Look at this code:
              
Code
StartMoney = 0


It says "0" because it is 0 my defualt. Now if i change it to look like this:
              
Code
StartMoney = 1000000

I will start with 1 million resources.
I would tell you how to do the powers but it takes a bit more than changing a few words.

Next page: Giving Boromir blade master

Links / Downloads

 HitsAdded
Every article and download to help u in modding2148January 14, 2011 - 7:11
Winrar to will allow you to download many files1506January 14, 2011 - 7:07
FinalBig2924January 14, 2011 - 7:07

Comments

Display order: Newest first

SaadZulfiqar - Wednesday December 26, 2012 - 15:32

PLEASE CAN YOU GUYS TELL ME HOW CAN I CHANGE THE RANK OF HEROES .. LIKE.. GANDALF IS LEVEL 5 HOW CAN I MAKE HIM 10 ? WHEN I BUY HIM FROM THE CASTLE PLEASE HELP :)

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

@Mr.IAmHere,
1) Are you using finalbig?
2) Are you spelling the names correctly?

clank234/unknown,

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

:D

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."

 
23:54:17