The 3rd Age

Gauntlet: Dark Legacy

Gauntlet: Dark Legacy

Gauntlet: Dark Legacy BFME 2 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

Map.ini Tutorial

Avatar of Rob38

Rob38

Category: Code
Level: Beginner
Created: Friday August 17, 2007 - 12:31
Updated: Sunday March 20, 2011 - 13:22
Views: 12501
Summary: benefits and limitations to this amazing file

Rating

Staff says

3.7

Members say

3.8

Average

3.8/5.0

8 votes

Page 1 2 3 4 5
Limitations and Tricks to a map.ini file

Although there are many benefits to using a map.ini file, there are some limations for it. Below is a list of things you can't do with a map.ini file.

1. I found out that if you want to change anything in an existing upgrade, you must make a new one and name it something else. This can be a real pain for big map.ini files since you have to change all the units affected by the upgrade also :( I did find, however, that you do not need to change the names of special abilities for the game to read the changes made in it.

2. You can't change the name of commandbuttons. If you try to make your own with a unique name, the button images will not show in-game no matter what. So what you have to do is go through the commandbutton.ini, find one with the button image you want, and change everything else (except the name) for it. This can be annoying at times.

3. You can't edit projectile type weapons. If you try to, the damage will change correctly but the projectile will not show up in-game. All you can do with projectile weapons is change the range of them. Make sure you don't change the name of the weapon though or you'll get the projectile error. Melee weapons are not affected by any of this.

4. To change a commandset, you must make a new one and name it something different.

5. You can't create new objects. You must use an existing object from the game. You can, however, change almost everything with the object and give it a new model, etc...

6. You can't change the 'RequiredExperience' and 'ExperienceAward' part for the Experience Levels. What this means is that you can't change the amount it takes for a unit or hero to gain a level. You can however, add new upgrades in it.

7. You can't add any new art into the game except for fx. You are allowed to make your own custom fx and swap textures for a unit but nothing else.

8. With larger map.ini files, the order you put your code in does matter. So if you are having trouble with the game not reading the code you want, try changing the order in which your file is arranged.

9. Out-Of-Sync errors are sometimes major problems with map.ini files. If you play Online, whenever you finish playing a map with a custom map.ini file, you must restart the game to clean it out.

///////////////////////////////////////

That wraps it up for now. This hopefully will encourage new members to start modding and editing files. Have fun and enjoy :)

Comments

Display order: Newest first

Rob38 (Team Chamber Member) - Saturday June 5, 2010 - 14:44

Not sure about Inheritable Modules. It's worth a try.

Masterini - Saturday June 5, 2010 - 6:27

I have a question : How to Change the Inheritable Modules ? Is it possible ?
I would like to change the OCL of the Morgul Blade who summon a BarrowWight.
And when i tried to change totally the Barrowwight i bugged :/

Rob38 (Team Chamber Member) - Sunday January 13, 2008 - 21:17

Probably want to post your question in the forums as you'll get more help there ;)

ILUTAVAR - Sunday January 13, 2008 - 13:59

how do i add more powers to a hero?

Sulherokhh (Team Chamber Member) - Saturday October 6, 2007 - 1:33

I knew some of that already, but it is a very helpful reference. I bet that it is even better for starting map.ini coders.
Very good. :P

Bart (Administrator) - Saturday August 18, 2007 - 17:36

              
Quote
Hold on 2play... It seems you are talking about the game being modded. I'm talking about just a stand alone map with a map.ini file included.

nope, map.ini. i've gotten quite some experience with it when making my helms deep map
              
Quote
What isn't true? I was refering to trying to change an upgrade already in the game ;)

what isn't true, is that you can't edit existing upgrades. only, removing things from existing upgrades isn't possible. if you need a better explanation, contact me on msn
              
Quote
Does that work in a map.ini file? Can you put the mappedimage code in it?

haven't tested it, but someone posted it a while ago and i can't see why it wouldn't work (but then again, many things don't work that should :-/)
              
Quote
Again, I'm confused. I'm almost positive you have to change the name of it no matter what.

if your set is
              
Code
1 = Button1
2 = Button2
3 = Button3

then overriding it with
              
Code
1 = Button5
2 = Button12
3 = Button6
will work, but
              
Code
1 = Button5
2 = Button7

will leave the 3rd button in too
              
Quote
Again, I'm talking about a stand alone map. You may be right though with creating a new object. I'll test that out.

of course, but only the map maker has to do this mini-mod. an object in worldbuilder is just a reference to an object name, and this mini mod tells WB that it exists

Rob38 (Team Chamber Member) - Saturday August 18, 2007 - 14:08

Hold on 2play... It seems you are talking about the game being modded. I'm talking about just a stand alone map with a map.ini file included.

              
Quote
As far as I know, this isn't true. It doesn't work however to copy an upgrade from the original ini (the literal text, so without changing the name) and removing a line, because it's already there when the game is loaded. In this case you would need to add a new upgrade indeed.
What isn't true? I was refering to trying to change an upgrade already in the game ;)
              
Quote
You can also find a button with a completely unused image, and then edit that mappedimage to the actual texture you want on your button
Does that work in a map.ini file? Can you put the mappedimage code in it?               
Quote
Not if you can override every slot
Again, I'm confused. I'm almost positive you have to change the name of it no matter what.               
Quote
Yes you can, but you can't use them in WB. That can be fixed with a simple ini file in the game dir when editing your map (see my -mod tutorial)
Again, I'm talking about a stand alone map. You may be right though with creating a new object. I'll test that out.

Bart (Administrator) - Saturday August 18, 2007 - 6:30

Good tutorial, some comments:

              
Quote
I found out that if you want to change anything in an existing upgrade, you must make a new one and name it something else. This can be a real pain for big map.ini files since you have to change all the units affected by the upgrade also :( I did find, however, that you do not need to change the names of special abilities for the game to read the changes made in it.

As far as I know, this isn't true. It doesn't work however to copy an upgrade from the original ini (the literal text, so without changing the name) and removing a line, because it's already there when the game is loaded. In this case you would need to add a new upgrade indeed.
              
Quote
You can't change the name of commandbuttons. If you try to make your own with a unique name, the button images will not show in-game no matter what. So what you have to do is go through the commandbutton.ini, find one with the button image you want, and change everything else (except the name) for it. This can be annoying at times.

You can also find a button with a completely unused image, and then edit that mappedimage to the actual texture you want on your button
              
Quote
To change a commandset, you must make a new one and name it something different.

Not if you can override every slot
              
Quote
You can't create new objects. You must use an existing object from the game. You can, however, change almost everything with the object and give it a new model, etc...

Yes you can, but you can't use them in WB. That can be fixed with a simple ini file in the game dir when editing your map (see my -mod tutorial)

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

 
14:50:02