0 Members and 1 Guest are viewing this topic.
#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 2class CfgPatches{ class oy_tank { units[] = {oy_tank}; weapons[] = {M182}; requiredVersion = 1.85; };};class CfgVehicles{ class All {}; class AllVehicles: All {}; class Land: AllVehicles {}; class LandVehicle: Land {}; class Tank: LandVehicle {}; class T72: Tank {}; class oy_tank: T72 { crew=SoldierGCrew; maxSpeed=65; side=TGuerrila; displayName=oy_tank; armor=350; fuelCapacity=569; model="\oy_tank\oy_tank.p3d"; transportSoldier=6; soundEnviron[]={"\oy_tank\APCtreads.ogg",6,1}; soundEngine[]={"\oy_tank\BMPengine.ogg",0.75,3}; cost=100000; accuracy=0.6; brakeDistance=12.2; canfloat=1; commanderCanSee = CanSeeAll; commanderOpticsModel = "optika_tankw_auxiliary"; forceHideCommander = 1; driverCanSee = CanseeCompass+CanSeeRadar+CanSeeEye+CanSeeEar; forceHideDriver = 1; gunnerCanSee = CanSeeAll; gunnerOpticsModel="\oy_tank\optika_snpiere"; forceHideGunner = 1; weapons[]={M182}; magazines[]={M182,M182s,M182l}; unloadInCombat=1;class TurretBase { soundServo[]={}; gunAxis="osa hlavne"; turretAxis="osa veze"; gunBeg="usti hlavne"; gunEnd="konec hlavne"; minElev=-10; maxElev=80; minTurn=-360; maxTurn=360; body="otocvez"; gun="otochlaven"; };class CfgAmmo{class Default{}; class Grenade: Default{}; class MortarShell : Grenade{}; class M182:MortarShell { model="\oy_tank\shell.p3d"; soundFly[]={"\oy_tank\Flyby.ogg",0.031623,4}; cost=100; //simulation="shotShell"; //simulationStep=0.050000; soundHit[]={"Explosions\explosion_large1",10.000008,1}; explosive=1; visibleFire=1000; audibleFire=900; visibleFireTime=500; maxSpeed=500; minRange=1200; minRangeProbab=0.8; midRange=3000; midRangeProbab=1; maxRange=5000; maxRangeProbab=1; hit=600; indirectHit=80; indirectHitRange=17; }; class M182l:M182 { maxSpeed=1200; minRange=5000; minRangeProbab=0.25; midRange=12000; midRangeProbab=1; maxRange=23000; maxRangeProbab=1; }; class M182s:M182 { maxSpeed=400; minRange=200; minRangeProbab=0.85; midRange=1250; midRangeProbab=1; maxRange=2500; maxRangeProbab=1; };}; class CfgWeapons{class Default {};class GrenadeLauncher: Default{};class Mortar : GrenadeLauncher{};class M182: Mortar{ ammo="m182"; scopeWeapon=0; scopeMagazine=2; displayName="M107"; shortNameMagazine="M107"; displayNameMagazine="M107"; nameSound="shell"; flashSize=10; count=45; initSpeed=480; reloadTime=15; magazines[] = {M182,M182s,M182l}; magazineReloadTime=5; reloadMagazineSound[]={"\oy_tank\125mmRL.ogg",1,1}; sound[]={"Weapons\gun125",10.000000,1}; reloadSound[]={"\oy_tank\125mmRL.ogg",1,1};};class M182s: m182{ initSpeed=160; displayName="M107(short)" shortNameMagazine="M107s"; displayNameMagazine="M107s";};class M182l: m182{ initSpeed=530; displayName="M107(long)" shortNameMagazine="M107l"; displayNameMagazine="M107l"; };
class CfgPatches{ class oy_tank { units[] = {oy_tank}; weapons[] = {M182}; requiredVersion = 1.85; };};