The 3rd Age

Special Extended Edition

Special Extended Edition

Created with the intention to add "realism" and "ambience" from the Lord of the Rings movies...

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

Beginner INI for Units

No Avatar

gonfidel

Category: Code
Level: Beginner
Created: Monday June 18, 2012 - 23:25
Updated: Tuesday February 12, 2013 - 20:26
Views: 15126
Summary: Understanding Basic Parts to an Object

Rating

Staff says

2.0

Members say

-

Average

2.0/5.0

1 vote

Page 1 2 3 4
This is assuming you have already used FinalBig to extract INI game files.
All Units have an INI file giving them their display name, speed, which abilities they can use, and even what weapon to use.
Whenever you see a ';' before a line of code it means that line is a comment. Comments will be ignored by the computer and are used for your own benefit and for if other people see your code they will better understand what is means or is doing.

All Objects start with the term 'Object'. This tells the game that they are an object, and should be treated as such (eg. Object GondorAragorn).

In the object file there are multiple parts that apply to the object. These include but are not limited to: commandset, weaponset, locomotorset, modules, as well as objects traits.

If you open your 'GondorAragorn.ini' file you will see Object GondorAragorn at the top.
Underneath that you will see


              
Code
;------------------------------------------
Object GondorAragorn

; *** ART Parameters ***

; SelectPortrait for Heroes is portrait behind skill buttons. HP = HeroPortrait.
SelectPortrait = HPAragorn

; ButtonImage for Heros is button image on Hero Select UI to select hero. HI = HeroIcon or HeroImage.
ButtonImage = HIAragorn

; DescriptionStrategic is a String. A String is a message. This means it is accessing the string called CONTROLBAR:LW_ToolTip_Aragorn
DescriptionStrategic = CONTROLBAR:LW_ToolTip_Aragorn

End ;This is ending object GondorAragorn, because it has sub-catagories and requires a End Statement.
;------------------------------------------



These will be seen in game when you select the hero as their image, icon, or phrase when hovering your mouse above something. These do not need at end statement because they have no sub-categories.

There are other parameters such as BuildTime, BuildCost, CommandPoints, and Side that do not have sub-categories that you can change without an end statement.
When working with map.ini files instead of game modding, you 'cannot' change the BuildTime, or BuildCost of a hero, only units.

Comments

Display order: Newest first

Amonrath - Monday August 14, 2017 - 2:40

Hello, I'm a bit confused. Let's say I just wanted to make Heroes in general stronger. How would I do that? I change the armor values and health values of aragorn. But in game, they don't change at all. What should I do?

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

 
8:34:36