OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: pangzi on 23 Sep 2003, 07:50:07
-
I equipped a civilian with a new weapon and changed the side to resistance. Now I get no points for shooting him :(
In the debreifing there is no mention of killing him.
class FNK_man4G:Civilian4
{ weaponSlots="1 + 16 + 10* 256 + 2* 4096 + 2 + 4* 32";
displayName="Man4 (G3)";
vehicleClass="FNK";
weapons[]={"throw","Put","FNK_G3"};
magazines[]={ "fnk_g3mag"};
scope=2;
cost=400
accuracy=2.0;
nightVision=0;
camouflage=1.70000;
canHideBodies=0;
attendant = false;
threat[]={1, 1, 1};
side=TGuerrila;
};
You probably get this question very often. But I could find an answer anywhere.
-
That is because you used the Civ base class.
Try this instead:
class All{};
class AllVehicles:All{};
class Land: AllVehicles{};
class Man: Land{};
class Soldier: Man{};
class SoldierGB: Soldier{};
class class FNK_man4G : SoldierGB
{
vehicleClass="Men";
scope=2;
model="MC civil";
picture="icivil";
moves="CfgMovesMC";
displayName="FNK Man 4 (G3)";
side=2;
cost=10000;
accuracy=0.700000;
weapons[]={"FNK_G3","Throw","Put"};
magazines[]={"fnk_g3mag"};
};
;)