do I sense a cry for :help:
;D
hehehe, we're gettin' seriously close to an "addons Editing" topic now,
so don't be shocked if some mod move this thread to that board, m8
Anywayz, for the sake of me being an ofp fan & you being a ditto in trouble,
I'll be glad to help ya the best I can (this is OFPEC, right?! the best ofp source online)
So sit tight & enjoy this :
First off, find the default Microsoft program called NOTEPAD
With this up & running, copy what I write (in blue text below) and throw it into a blank notepad window.
hit the "SAVE AS.." button (be sure to select "all files" as saving option), and then simply
save the file into a pre-made, empty folder named "Guilt_kevlarSoldier".
It is of utmost importance that you save as:
"config.cpp"
A "config.cpp" file (configuration file) is where the game engine reads info about your addon.
Then download the 3'rd party OFP program named "Stuff PBO" (try OFP.cz or alike).
Once this program is installed back home, open it up and with the "set input" button you will
select your newly made addon (the "Guilt_kevlar.." -folder, select that folder).
Then hit the "set output" button (still in Stuff PBO.) and locate your OFP / "Addons" -folder.
Now, hit the "Stuff" button, and you have just created yer first addon matey!
:joystick: :moon:
Launch OFP and find yer new unit (heavily armored!) on the units list.
A sidenote to this:
you may find the armor a bit too high; fiddle with it and change it to a balanced number in the cpp.
If a man's armor gets too high, he will "fly" up when hit by heavy bullets/tank shots but he wont die, and in spite of how funny & cool it may appear in the first place, it basically sucks and only deteriorates the gameplay in the long run, so be carefull about changing too much in a config. You should always just make TINY tweaks, not vulgar extremes (i.e. mega-killing cannon shells or men with an armor of 10.000
)
:afro: OK, here's what to copy & paste to notepad :
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7
#define true 1
#define false 0
#define private 0
#define protected 1
#define public 2
class CfgPatches
{
   class Guilt_kevlarSoldier
   {
      units[] = {Guilt_kevlarSoldier};
      requiredVersion = 1.91;
   };
};
class CfgVehicles
{
class All{};
class AllVehicles: All{};
class Land: AllVehicles{};
class Man: Land{};
class Soldier: Man{};
class SoldierWB: Soldier{};
class Guilt_KevlarSoldier: SoldierWB
{
vehicleClass="Men";
displayname="Kevlar armored Guard";
maxSpeed=27;
cost=140000;
camouflage=0.740;
armor=5.45;
};
};
======================
Right, that should do it, m8 :cheers:
P.S.
You could try & set his armor to some 6.2 if you want him to be REALLY tough (and unrealistic)
:noo: ;D
There are also detailled "Armor Sections" which you can tweak (hands, legs...)
but its not essential for a "my-first-addon" like this one, and your trooper will do just fine as is.