Im sure there are alot more presentable and easier to read ones, but i thought id have ago.
ini coding beginers guide
finalbig - download here http://wagnerma.de/y...d.php?detail=15
Places that will be edited
First off this is my first tutorial, so if i am not clear on anything please say, so i know for future tutorials.
I have decided to do this tutorial in steps, so that if someone needs help they can refere to the step in this tutorial.
1. open ur main bfme folder, which by default is installed in C:\Program Files\EA Games
2. next, find the ini.big file which is loacated in the main part of your bfme2 folder and copy it to a safe place (for back up). Now open the ini with finalbig (note u should have finalbig by now).
3. Your see on the left side of the ini, there is all the diferent files containing the data. When you click on one of these you will see the data. You can edit it through this way, but i would not advise it as it can make things seem more complicated.
4.So go to edit, then Exstract all, then exstract to your desktop.
5.You should now have a folder called data where ever you exstracted the ini to. Open it and the next folder, ini. You will now see all the files you were seeing through finalbig.
6.Now open the file gamedata.ini. You will find a very long list of code that will not make alot of sence at this point. The key to finding things is control+f (find).
7.type Soldier into the serch bar untill you find the following
;------------------------SOLDIER------------- #define GONDOR_SOLDIER_BUILDCOST 200 #define GONDOR_SOLDIER_BUILDTIME 20;20 #define GONDOR_SOLDIER_HEALTH 200 #define GONDOR_SOLDIER_HEALTH_DAMAGED 100 #define GONDOR_SOLDIER_HEALTH_RECOVERY_TIME 10000 #define GONDOR_SOLDIER_VISION_RANGE 175 #define GONDOR_SOLDIER_SHROUD_RANGE 400 #define GONDOR_SOLDIER_HORDE_VISION_RANGE 175 #define GONDOR_SOLDIER_HORDE_SHROUD_RANGE 400 #define GONDOR_SOLDIER_SWORD 40 #define GONDOR_SOLDIER_SWORD_UPGRADE 80 #define GONDOR_SOLDIER_SWORD_PREATTACKDELAY 500 #define GONDOR_SOLDIER_SWORD_DELAYBETWEENSHOTS 1000 #define GONDOR_SOLDIER_SWORD_FIRINGDURATION 1000 #define GONDOR_SOLDIER_BOUNTY_VALUE 4
8.i will now exsplain what everything is.
;------------------------SOLDIER------------- #define GONDOR_SOLDIER_BUILDCOST 200; how much it costs #define GONDOR_SOLDIER_BUILDTIME 20;20;how long it takes to build #define GONDOR_SOLDIER_HEALTH 200; how much health it has #define GONDOR_SOLDIER_HEALTH_DAMAGED 100; #define GONDOR_SOLDIER_HEALTH_RECOVERY_TIME 10000;How long it takes to heal #define GONDOR_SOLDIER_VISION_RANGE 175;how far its vision range is #define GONDOR_SOLDIER_SHROUD_RANGE 400;how far it can clear shroud #define GONDOR_SOLDIER_HORDE_VISION_RANGE 175; how far the hole hordes vision goes #define GONDOR_SOLDIER_HORDE_SHROUD_RANGE 400; how far the hole hordes shroud clearing range goes #define GONDOR_SOLDIER_SWORD 40;how much damage each unit does #define GONDOR_SOLDIER_SWORD_UPGRADE 80; how much damage each unit does after forged blades upgrades #define GONDOR_SOLDIER_SWORD_PREATTACKDELAY 500; delay before attack #define GONDOR_SOLDIER_SWORD_DELAYBETWEENSHOTS 1000;how long a gap bettween attacks #define GONDOR_SOLDIER_SWORD_FIRINGDURATION 1000; how long does the attack go on for #define GONDOR_SOLDIER_BOUNTY_VALUE 4;what the unit is valued at
9.So if you changed
#define GONDOR_SOLDIER_SWORD 40
#define GONDOR_SOLDIER_SWORD 60the attack would be higher.
This works the same for all the other stats for the soldier and all the other heros and units in the game.
10.Now to get your changes ingame you need to copy your moded ini folder, and move it into the data folder located in your main bfme2 folder.
You then must move out the ini.big (what u exstracted your new ini from ealier) out of your main bfme2 folder, other wise your new ini wont be read.
So in the tutorial you have managed to,
open an .big file,
exstract a .big file,
open gamedata.ini and learnt how to change the stats of units,
and learnt how to put the changes ingame.
You have now started learning to be a ini coder