The 3rd Age

Ghosts of Arnor v0.35

Ghosts of Arnor v0.35

A RotWK mod that adds Arnor, splits Gondor and Rohan, improves the Inn/CaH system, and adds heroes

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

Editing GameData.ini

Avatar of Hostile

Hostile

Category: Code
Level: Beginner
Created: Monday March 26, 2007 - 11:17
Updated: Saturday June 27, 2009 - 18:52
Views: 52232
Summary: How to change health, damage, cost, and build time

Rating

Staff says

2.5

Members say

4.5

Average

3.5/5.0

4 votes

The purpose of this tutorial is to show you some items that can be customized in the gamedata.ini file. There are many things that can be adjusted here from health, cost, build time, to camera angles, particle effects, and the effect of veterency levels.

When you open your gamedata.ini file you should use "Control F" feature to find what you are looking for. Use cost, Rohan, health, and such. All can be edited from here.

#define is used to allocate the value for the units parameters. This will be evident when you look into the the gamedata.ini. When adding a new unit it seems logical that you should define it here.

These items can be adjusted for your command points. This will effect how many units you may command in the course of a battle.

              
Code
;;; CAMPAIGN BONUS CAPS
GoodCommandPointLimit = 300
EvilCommandPointLimit = 600
PowerLimit = 60
ResourceMultiplierLimit = 5.0

;;; INITIAL MAX RING LEVEL PLAYER CAN ACHIEVE
InitialMaxRingLevel = 60 ;2

;;; Resource Bonus Percentage
ResourceBonusMultiplier = 10.0 ; 10% bonus per region conquered

;;; COMMAND POINTS FOR SOLO PLAY HUMAN (INCLUDING LIVING WORLD) ;;;
GoodCommandPoints = 100
EvilCommandPoints = 300

GoodCommandPointsBonus = 20 ; bonuses for every territory captures in living world
EvilCommandPointsBonus = 50

;;; COMMAND POINTS FOR SOLO PLAY AI ;;;
GoodCommandPointsAI = 200
EvilCommandPointsAI = 600

;;; COMMAND POINTS FOR MULTIPLAY ;;;
GoodCommandPointsMP2 = 200 ; 2 players
EvilCommandPointsMP2 = 400

GoodCommandPointsMP3 = 150 ; 3 players
EvilCommandPointsMP3 = 300

GoodCommandPointsMP4 = 150 ; 4 players
EvilCommandPointsMP4 = 300

GoodCommandPointsMP56 = 100 ; 5-6 players
EvilCommandPointsMP56 = 200

GoodCommandPointsMP78 = 80 ; 7-8 players
EvilCommandPointsMP78 = 160



This part will directly effect how the game behaves while in mutiplayer mode. Changing these parameters will increase/decrease the modifiers on Resource Gathering, Unit Veternecy, and Experience Level.


              
Code
;;; START MULTIPLAYER TUNING FACTORS ;;;
;;; 1player 2player 3player 4player 5player 6player 7player 8player

;; More is more. 1.0 is default. 1.5 is 50% more.
MultiPlayMoneyMult = MP1:1.0 MP2:1.0 MP3:1.0 MP4:1.0 MP5:1.2 MP6:1.5 MP7:1.5 MP8:1.5
MultiPlayUnitXPMult = MP1:2.0 MP2:2.0 MP3:2.0 MP4:2.0 MP5:2.0 MP6:2.0 MP7:2.0 MP8:2.0
MultiPlayBuildingXPMult = MP1:1.0 MP2:1.0 MP3:1.0 MP4:1.0 MP5:2.0 MP6:2.0 MP7:2.0 MP8:2.0

;; Less is faster. 1.0 is default speed. 0.5 is half the build time
MultiPlayUnitSpeedMult = MP1:1.0 MP2:1.0 MP3:1.0 MP4:1.0 MP5:1.0 MP6:1.0 MP7:1.0 MP8:1.0
MultiPlayBuildingSpeedMult = MP1:1.0 MP2:1.0 MP3:1.0 MP4:1.0 MP5:1.0 MP6:1.0 MP7:1.0 MP8:1.0

;;; END MULTIPLAYER TUNING FACTORS ;;;


Many things can be adjusted in this file. More than this tutorial allows. So hopefully this opens up enough for beginners to experiment and balance things as they see fit.

An example of a unit. These parameters can easily be modified from this file.

              
Code
;------------------------PORTER-------------
#define GONDOR_PORTER_HEALTH 120
#define GONDOR_PORTER_HEALTH_DAMAGED 120
#define GONDOR_PORTER_HEALTH_RECOVERY_TIME 5000
#define GONDOR_PORTER_VISION_RANGE 100
#define GONDOR_PORTER_BOUNTY_VALUE 30


Comments

Display order: Newest first

x1dani1x - Monday January 7, 2013 - 18:59

What the game means with Health_Damaged?

Vleydwyyn - Tuesday May 17, 2011 - 21:14

R3ap3rkill - Friday October 16, 2009 - 12:06

I tried changing:
;------------------------PORTER-------------
#define GONDOR_SOLDIER_HEALTH 120
#define GONDOR_SOLDIER_HEALTH_DAMAGED 120
#define GONDOR_SOLDIER_HEALTH_RECOVERY_TIME 5000
But when i ran the map in skirmish the game closed and gave me an error saying that none of those were allowed because they were macros :S not sure what that means, any ideas? I'm using this in BFME1, maybe it only works on BFME2 and ROTWK.

--------

I tried changing:
;------------------------PORTER-------------
#define GONDOR_SOLDIER_HEALTH 120
#define GONDOR_SOLDIER_HEALTH_DAMAGED 120
#define GONDOR_SOLDIER_HEALTH_RECOVERY_TIME 5000
But when i ran the map in skirmish the game closed and gave me an error saying that none of those were allowed because they were macros :S not sure what that means, any ideas? I'm using this in BFME1, maybe it only works on BFME2 and ROTWK.

--------

Sorry i wrote ;------------------------PORTER-------------
I meant to say ;------------------------SOLDIER-------------at that bit

--------

Sorry i wrote ;------------------------PORTER-------------
I meant to say ;------------------------SOLDIER-------------at that bit

--------

Sorry i wrote ;------------------------PORTER-------------
I meant to say ;------------------------SOLDIER-------------at that bit

Lomby - Friday October 2, 2009 - 13:57

escuse me, In the folder of my game i don`t see any ".ini" file

where can i find it?

I think that may be like the "MII: TW" in which case it`s necesary to decompress the files with a special application to get the moddeable files.

sorry if my english is not so god XD
I spect impatient for an answer, so i can start changing this excelent game right away.


Lomby

wiz1 - Sunday February 10, 2008 - 11:43

its under data\ini\gamedata.ini

astrman - Tuesday August 7, 2007 - 10:56

*MapName = No Name.Map*

Sorry thats what it reads

astrman - Tuesday August 7, 2007 - 10:56

what is it under? every time i open it up it reads:

Game Data
NoName = No Name.Map
End

Its under Data\ini\default\gamedata.ini

Thats the only one i can find... please help me out lol

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

 
6:26:43