OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: colbob on 26 Feb 2004, 20:53:45
-
???
Trying to create new unit based on resistance sniper, but cant find the classes for resistance soldiers (e.g soldierWSniper etc)
Is there a download outhere that is uptodate?
that shows all avaialable classes in a tree structure?
-
Hey mate!
I'd say you should search in the vehicles-section of the ECP file...
I'll see if I can find it.
Bye
-
Ok....it's not in the Commented config, but in the config.bin file in "Res\Addons\O_wp.pbo"!!!
The unit name is SoldierGSniper, so the tree should be
class All{};
class AllVehicles : All{};
class Land : AllVehicles{};
class Man : Land{};
class Soldier : Man{};
class SoldierG : Soldier{}
class SoldierGSniper:SoldierG{};
class Your_Unit:SoldierSniperG
{ Your Defines }
Let me know if this works or not....and if you will release the Addon.
CU