OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods Beta Testing => Topic started by: Zaitsev on 30 Nov 2003, 16:57:43

Title: close combat
Post by: Zaitsev on 30 Nov 2003, 16:57:43
i found that close combat was includded in the game.
ok so it isnt exatly the best attemt but if you use this ammo in a gun then it does kind of work like a close combat wep
if some one who knows what there doing could use it to make a close combat weopan it would be cool

it uses the stoke gun animation and it realy fel like yer smacking some one other the head with your gun

of course the ai dont use it and it needs improment but hey

class default {};

 class BulletSingle : default {};
 

 class closecombat : BulletSingle
 {
  hit=9;indirectHit=9.1;indirectHitRange=0.4;
 soundHit[]={"",0.000032,1};
   soundFly[]={"objects\noise",0.000032,4};
   soundEngine[]={"",0.000100,4};
 minRange=0.1;
   minRangeProbab=0.100000;
   midRange=0.100000;
   midRangeProbab=0.100000;
   maxRange=0.1;
   maxRangeProbab=0.100000;
   model="granat";
   simulation="shotStroke";
   cost=1;
     hitGround[]={"soundHit",0};
   simulationStep=0.050000;
visibleFire=2;
   audibleFire=0.250000;
   visibleFireTime=0.500000;


 };