Jump to content
Sign in to follow this  
Kuzuri

Error: no entry 'bin\config.bin/CfgVehicles/CfgNonAIVehicles.scope'

Recommended Posts

Messing around with a AH1z mod, keep getting this error:

 

Error: no entry 'bin\config.bin/CfgVehicles/CfgNonAIVehicles.scope'

can't seem to figure it out. I thought .scope errors meant there was a mismatch between { and }.

Any help would be appreciated.

 
 
class CfgPatches {
class Pak_Rot_Wng {
units[] ={"Pak_Ah1_Ard","Pak_Ah1_Dst"};
weapons[] = {};
requiredVersion = 0.01;
requiredAddons[] = {"A3_Air_F","A3_Weapons_F"};
};
};
 
class CfgVehicles {
class AllVehicles;
class thingX;
class Air: AllVehicles {
class NewTurret;
class ViewPilot;
};
class Helicopter: Air {
class Turrets {
class MainTurret;
};
class NewTurret;
class AnimationSources;
class HitPoints;
};
class Helicopter_Base_F: Helicopter {
class HitPoints: HitPoints {
class HitHull;
class HitHRotor;
class HitGlass1;
class HitGlass2;
class HitGlass3;
class HitGlass4;
};
class Turrets: Turrets {
class MainTurret;
};
class AnimationSources;
class Eventhandlers;
class ViewOptics;
};
class PlaneWreck;
class HelicopterWreck;
 
class Pak_Ah1_Bas:Helicopter  {
author = "Kuzuri, Zayden";
dlc = "Dawn";
class SpeechVariants
{
class Default
{
speechSingular[] = {"veh_air_gunship_s"};
speechPlural[] = {"veh_air_gunship_p"};
};
};
scope=0;
side=2;
faction = "Pak_Fac";
vehicleClass = "Pak_Air_Arm";
accuracy=0.5;
availableForSupportTypes[] = {"CAS_Heli"};
displayName="AH-1Z Viper";
hiddenSelections[] ={"Camo1","Camo2"};
driverCanEject = 0;
 
altFullForce = 4000;
altNoForce = 6000;
fuelCapacity = 2500;
fuelConsumptionRate = 0.138;
LockDetectionSystem = "2 + 8 + 4";
incomingMissileDetectionSystem = 16;
bodyFrictionCoef = 0.9;
supplyRadius = -1;
 
maxFordingDepth = 0.75;
mainBladeRadius = 8.5;
 
mainRotorSpeed = 1.5;
backRotorSpeed = 4.0;
 
liftForceCoef = 1.3;
cyclicAsideForceCoef = 1.0;
cyclicForwardForceCoef = 1.0;
 
class MFD
{
class AirplaneHUD
{
class Pos10Vector
{
type = "vector";
pos0[] = {0.502,0.49};
pos10[] = {1.112,1.03};
};
topLeft = "HUD LH";
topRight = "HUD PH";
bottomLeft = "HUD LD";
borderLeft = 0;
borderRight = 0;
borderTop = 0;
borderBottom = 0;
color[] = {0,1,0,0.1};
class Bones
{
class PlaneW
{
type = "fixed";
pos[] = {0.502,0.49};
};
class WeaponAim: Pos10Vector
{
source = "weapon";
};
class GunnerAim: Pos10Vector
{
source = "weapon";
pos0[] = {0,-0.0025};
pos10[] = {0.01,0.0025};
};
class Target: Pos10Vector
{
source = "target";
};
class Velocity: Pos10Vector
{
type = "vector";
source = "velocity";
pos0[] = {0.5,0.49};
pos10[] = {1.11,1.03};
};
class ILS_H
{
type = "ils";
pos0[] = {0.5,0.49};
pos3[] = {0.683,0.49};
};
class ILS_W: ILS_H
{
pos3[] = {0.5,0.652};
};
class Level0: Pos10Vector
{
pos0[] = {0.5,0.49};
pos10[] = {1.11,1.03};
type = "horizon";
angle = 0;
};
class LevelP10: Level0
{
angle = 10;
};
class LevelM10: Level0
{
angle = -10;
};
class LevelP20: Level0
{
angle = 20;
};
class LevelM20: Level0
{
angle = -20;
};
class LevelP30: Level0
{
angle = 30;
};
class LevelM30: Level0
{
angle = -30;
};
class LevelP40: Level0
{
angle = 40;
};
class LevelM40: Level0
{
angle = -40;
};
class LevelP50: Level0
{
angle = 50;
};
class LevelM50: Level0
{
angle = -50;
};
};
class Draw
{
alpha = 0.6;
color[] = {0.0,1.0,0.0};
condition = "on";
class PlaneW
{
clipTL[] = {0.0,1.0};
clipBR[] = {1.0,0.0};
type = "line";
width = 4.0;
points[] = {
{ "PlaneW",
{ 0,-0.0177049 },1 },
{ "PlaneW",
{ 0.014,-0.0123934 },1 },
{ "PlaneW",
{ 0.02,0 },1 },
{ "PlaneW",
{ 0.014,0.0123934 },1 },
{ "PlaneW",
{ 0,0.0177049 },1 },
{ "PlaneW",
{ -0.014,0.0123934 },1 },
{ "PlaneW",
{ -0.02,0 },1 },
{ "PlaneW",
{ -0.014,-0.0123934 },1 },
{ "PlaneW",
{ 0,-0.0177049 },1 },
{  }};
};
class PlaneHeading
{
clipTL[] = {0.0,1.0};
clipBR[] = {1.0,0.0};
type = "line";
width = 4.0;
points[] = {
{ "Velocity",
{ 0,-0.0177049 },1 },
{ "Velocity",
{ 0.014,-0.0123934 },1 },
{ "Velocity",
{ 0.02,0 },1 },
{ "Velocity",
{ 0.014,0.0123934 },1 },
{ "Velocity",
{ 0,0.0177049 },1 },
{ "Velocity",
{ -0.014,0.0123934 },1 },
{ "Velocity",
{ -0.02,0 },1 },
{ "Velocity",
{ -0.014,-0.0123934 },1 },
{ "Velocity",
{ 0,-0.0177049 },1 },
{  },
{ "Velocity",
{ 0.04,0 },1 },
{ "Velocity",
{ 0.02,0 },1 },
{  },
{ "Velocity",
{ -0.04,0 },1 },
{ "Velocity",
{ -0.02,0 },1 },
{  },
{ "Velocity",
{ 0,-0.0354098 },1 },
{ "Velocity",
{ 0,-0.0177049 },1 },
{  }};
};
class Static
{
clipTL[] = {0.0,0.1};
clipBR[] = {1.0,0.0};
type = "line";
width = 4.0;
points[] = {
{ 
{ 0.79,0.52 },1 },
{ 
{ 0.81,0.5 },1 },
{ 
{ 0.79,0.48 },1 },
{  },
{ 
{ 0.52,"0.08+0.06" },1 },
{ 
{ 0.5,"0.06+0.06" },1 },
{ 
{ 0.48,"0.08+0.06" },1 },
{  },
{ 
{ "0.5-0.1","0.9-0.04" },1 },
{ 
{ "0.5-0.1","0.9+0.04" },1 },
{ 
{ "0.5+0.1","0.9+0.04" },1 },
{ 
{ "0.5+0.1","0.9-0.04" },1 },
{ 
{ "0.5-0.1","0.9-0.04" },1 },
{  },
{ 
{ "0.5-0.1",0.9 },1 },
{ 
{ "0.5-0.092",0.9 },1 },
{  },
{ 
{ "0.5+0.1",0.9 },1 },
{ 
{ "0.5+0.092",0.9 },1 },
{  },
{ 
{ 0.5,"0.9-0.04" },1 },
{ 
{ 0.5,"0.9-0.032" },1 },
{  },
{ 
{ 0.5,"0.9+0.04" },1 },
{ 
{ 0.5,"0.9+0.032" },1 },
{  }};
};
class Gunner
{
type = "line";
width = 4.0;
points[] = {
{ "GunnerAim",
{ "0.5-0.015","0.9-0.008" },1 },
{ "GunnerAim",
{ "0.5-0.015","0.9+0.008" },1 },
{ "GunnerAim",
{ "0.5+0.015","0.9+0.008" },1 },
{ "GunnerAim",
{ "0.5+0.015","0.9-0.008" },1 },
{ "GunnerAim",
{ "0.5-0.015","0.9-0.008" },1 }};
};
class MGun
{
condition = "mgun";
class Circle
{
type = "line";
width = 4.0;
points[] = {
{ "WeaponAim",
{ 0.05,0 },1 },
{ "WeaponAim",
{ 0.015,0 },1 },
{  },
{ "WeaponAim",
{ 0,0.0442623 },1 },
{ "WeaponAim",
{ 0,0.0132787 },1 },
{  },
{ "WeaponAim",
{ -0.05,0 },1 },
{ "WeaponAim",
{ -0.015,0 },1 },
{  },
{ "WeaponAim",
{ 0,-0.0442623 },1 },
{ "WeaponAim",
{ 0,-0.0132787 },1 },
{  }};
};
};
class Bomb
{
condition = "bomb";
class Circle
{
type = "line";
width = 4.0;
points[] = {
{ "WeaponAim",
{ 0,-0.0885246 },1 },
{ "WeaponAim",
{ 0.05,-0.0770164 },1 },
{ "WeaponAim",
{ 0.087,-0.0442623 },1 },
{ "WeaponAim",
{ 0.1,0 },1 },
{ "WeaponAim",
{ 0.087,0.0442623 },1 },
{ "WeaponAim",
{ 0.05,0.0770164 },1 },
{ "WeaponAim",
{ 0,0.0885246 },1 },
{ "WeaponAim",
{ -0.05,0.0770164 },1 },
{ "WeaponAim",
{ -0.087,0.0442623 },1 },
{ "WeaponAim",
{ -0.1,0 },1 },
{ "WeaponAim",
{ -0.087,-0.0442623 },1 },
{ "WeaponAim",
{ -0.05,-0.0770164 },1 },
{ "WeaponAim",
{ 0,-0.0885246 },1 },
{  },
{ "Velocity",0.001,"WeaponAim",
{ 0.0,0.0 },1 },
{ "Velocity",
{ 0.0,0.0 },1 },
{  },
{ "Target",
{ 0,-0.0619672 },1 },
{ "Target",
{ 0.07,0 },1 },
{ "Target",
{ 0,0.0619672 },1 },
{ "Target",
{ -0.07,0 },1 },
{ "Target",
{ 0,-0.0619672 },1 }};
};
};
class AAMissile
{
condition = "AAmissile";
class Circle
{
type = "line";
width = 4.0;
points[] = {
{ "WeaponAim",
{ 0,-0.221311 },1 },
{ "WeaponAim",
{ 0.125,-0.192541 },1 },
{ "WeaponAim",
{ 0.2175,-0.110656 },1 },
{ "WeaponAim",
{ 0.25,0 },1 },
{ "WeaponAim",
{ 0.2175,0.110656 },1 },
{ "WeaponAim",
{ 0.125,0.192541 },1 },
{ "WeaponAim",
{ 0,0.221311 },1 },
{ "WeaponAim",
{ -0.125,0.192541 },1 },
{ "WeaponAim",
{ -0.2175,0.110656 },1 },
{ "WeaponAim",
{ -0.25,0 },1 },
{ "WeaponAim",
{ -0.2175,-0.110656 },1 },
{ "WeaponAim",
{ -0.125,-0.192541 },1 },
{ "WeaponAim",
{ 0,-0.221311 },1 },
{  },
{ "Target",
{ 0,-0.0619672 },1 },
{ "Target",
{ 0.07,0 },1 },
{ "Target",
{ 0,0.0619672 },1 },
{ "Target",
{ -0.07,0 },1 },
{ "Target",
{ 0,-0.0619672 },1 }};
};
};
class ATMissile
{
condition = "ATmissile";
class Circle
{
type = "line";
width = 4.0;
points[] = {
{ "WeaponAim",
{ -0.15,-0.15 },1 },
{ "WeaponAim",
{ -0.15,"-0.15+0.02" },1 },
{  },
{ "WeaponAim",
{ -0.15,0.15 },1 },
{ "WeaponAim",
{ -0.15,"+0.15-0.02" },1 },
{  },
{ "WeaponAim",
{ 0.15,-0.15 },1 },
{ "WeaponAim",
{ 0.15,"-0.15+0.02" },1 },
{  },
{ "WeaponAim",
{ 0.15,0.15 },1 },
{ "WeaponAim",
{ 0.15,"+0.15-0.02" },1 },
{  },
{ "WeaponAim",
{ -0.15,-0.15 },1 },
{ "WeaponAim",
{ "-0.15+0.02",-0.15 },1 },
{  },
{ "WeaponAim",
{ -0.15,0.15 },1 },
{ "WeaponAim",
{ "-0.15+0.02",0.15 },1 },
{  },
{ "WeaponAim",
{ 0.15,-0.15 },1 },
{ "WeaponAim",
{ "0.15-0.02",-0.15 },1 },
{  },
{ "WeaponAim",
{ 0.15,0.15 },1 },
{ "WeaponAim",
{ "0.15-0.02",0.15 },1 },
{  }};
};
};
class Rockets
{
condition = "Rocket";
class Circle
{
type = "line";
width = 4.0;
points[] = {
{ "WeaponAim",
{ -0.25,-0.25 },1 },
{ "WeaponAim",
{ -0.25,"-0.25+0.05" },1 },
{  },
{ "WeaponAim",
{ -0.25,0.25 },1 },
{ "WeaponAim",
{ -0.25,"+0.25-0.05" },1 },
{  },
{ "WeaponAim",
{ 0.25,-0.25 },1 },
{ "WeaponAim",
{ 0.25,"-0.25+0.05" },1 },
{  },
{ "WeaponAim",
{ 0.25,0.25 },1 },
{ "WeaponAim",
{ 0.25,"+0.25-0.05" },1 },
{  },
{ "WeaponAim",
{ -0.25,-0.25 },1 },
{ "WeaponAim",
{ "-0.25+0.05",-0.25 },1 },
{  },
{ "WeaponAim",
{ -0.25,0.25 },1 },
{ "WeaponAim",
{ "-0.25+0.05",0.25 },1 },
{  },
{ "WeaponAim",
{ 0.25,-0.25 },1 },
{ "WeaponAim",
{ "0.25-0.05",-0.25 },1 },
{  },
{ "WeaponAim",
{ 0.25,0.25 },1 },
{ "WeaponAim",
{ "0.25-0.05",0.25 },1 },
{  }};
};
};
class SpeedNumber
{
type = "text";
align = "right";
scale = 1;
source = "speed";
sourceScale = 3.6;
pos[] = {
{ 0.06,0.47 },1};
right[] = {
{ "0.14-0.02",0.47 },1};
down[] = {
{ 0.06,0.52 },1};
};
class AltNumber: SpeedNumber
{
source = "altitudeAGL";
sourceScale = 1;
pos[] = {
{ "0.86-0.15",0.47 },1};
right[] = {
{ "0.94-0.15-0.02",0.47 },1};
down[] = {
{ "0.86-0.15",0.52 },1};
};
class AltScale
{
type = "scale";
scale = 1;
source = "altitudeAGL";
sourceScale = 1;
align = "right";
width = 4.0;
pos[] = {0.86,0.82};
right[] = {"0.94-0.02",0.82};
down[] = {0.86,0.87};
lineXleft = 0.825;
lineYright = 0.835;
lineXleftMajor = 0.825;
lineYrightMajor = 0.845;
bottom = 0.2;
top = 0.85;
center = 0.5;
step = 20;
StepSize = "(0.85- 0.2)/20";
horizontal = 0;
min = "none";
max = "none";
numberEach = 5;
majorLineEach = 5;
};
class weapons
{
type = "text";
source = "weapon";
align = "right";
scale = 0.5;
sourceScale = 1;
pos[] = {
{ 0.1,0.88 },1};
right[] = {
{ "0.16-0.02",0.88 },1};
down[] = {
{ 0.1,0.92 },1};
};
class ammo
{
type = "text";
source = "ammo";
align = "right";
scale = 0.5;
sourceScale = 1;
pos[] = {
{ 0.1,0.93 },1};
right[] = {
{ "0.16-0.02",0.93 },1};
down[] = {
{ 0.1,0.97 },1};
};
class HeadingScale
{
type = "scale";
scale = 1;
source = "Heading";
sourceScale = 1;
align = "center";
width = 4.0;
pos[] = {"0.32-0.01","0.0+0.05"};
right[] = {"0.38-0.01","0.0+0.05"};
down[] = {"0.32-0.01","0.04+0.05"};
lineXleft = "0.06+0.05";
lineYright = "0.05+0.05";
lineXleftMajor = "0.07+0.05";
lineYrightMajor = "0.04+0.05";
bottom = 0.7;
center = 0.5;
top = 0.3;
step = 10;
StepSize = "(0.70- 0.3)/15";
horizontal = 1;
min = "none";
max = "none";
numberEach = 3;
majorLineEach = 3;
};
class HorizontalLine
{
clipTL[] = {0.2,0.12};
clipBR[] = {0.8,0.96};
class HorizontalLineDraw
{
type = "line";
source = "Level0";
points[] = {
{ "Level0",
{ "-6*0.075/2",0.02 },1 },
{ "Level0",
{ "-5*0.075/2",0.02 },1 },
{  },
{ "Level0",
{ "-4*0.075/2",0.02 },1 },
{ "Level0",
{ "-3*0.075/2",0.02 },1 },
{  },
{ "Level0",
{ "-2*0.075/2",0.02 },1 },
{ "Level0",
{ "-1*0.075/2",0.02 },1 },
{  },
{ "Level0",
{ "1*0.075/2",0.02 },1 },
{ "Level0",
{ "2*0.075/2",0.02 },1 },
{  },
{ "Level0",
{ "3*0.075/2",0.02 },1 },
{ "Level0",
{ "4*0.075/2",0.02 },1 },
{  },
{ "Level0",
{ "5*0.075/2",0.02 },1 },
{ "Level0",
{ "6*0.075/2",0.02 },1 }};
};
};
};
helmetMountedDisplay = 1;
helmetPosition[] = {-0.025,0.025,0.1};
helmetRight[] = {0.055,0.0,0.0};
helmetDown[] = {-0.0,-0.05,0.0};
};
};
 
};
 
   class Pak_Ah1_Dst: Pak_Ah1_Bas {
selectionHRotorStill = "mainRotorStatic";
selectionHRotorMove = "mainRotorBlurred";
selectionVRotorStill = "tailRotorStatic";
selectionVRotorMove = "tailRotorBlurred";
 
memoryPointLMissile = "Missile_1"; //zkusim otocit
memoryPointRMissile = "Missile_2"; //zkusim otocit
memoryPointLRocket = "Rocket_1";
memoryPointRRocket = "Rocket_2";
 
selectionFireAnim = "muzzleflash";
 
availableForSupportTypes[] = {"CAS_Heli"};
 
memoryPointCM[]  = {"flare_launcher1","flare_launcher2"};
memoryPointCMDir[] = {"flare_launcher1_dir","flare_launcher2_dir"};
radarType = 4;
LockDetectionSystem = "2 + 8 + 4";
incomingMissileDetectionSystem = 16;
 
hiddenSelectionsTextures[] = {"Rotary_Wing\Data\Textures\ah1z_body_co.paa","Rotary_Wing\Data\Textures\ah1z_engines_co.paa"};
crew = "Pak_Fac_Hlpf";
scope=2;
side=2;
faction = "Pak_Fac";
displayName="AH-1Z Viper (Desert)";
vehicleClass = "Pak_Air_Arm";
accuracy=1000;
crewVulnerable = 1; 
driverAction = "AH1Z_Pilot";
memoryPointsGetInDriver= "pos_driver";
memoryPointsGetInDriverDir= "pos_driver_dir";
getInAction = "GetInHigh";
getOutAction = "GetOutHigh";
 
maxSpeed = 280;
typicalCargo[]={"Pak_Fac_Hlpf", "Pak_Fac_Hlpf"};
driverCompartments = "Compartment1";
 
attenuationEffectType = "HeliAttenuation";
 
soundGetIn[] = {"Rotary_Wing\Data\Sounds\heli_door_01",0.31622776,1};
soundGetOut[] = {"Rotary_Wing\Data\Sounds\heli_door_01",0.31622776,1,50};
soundEnviron[] = {"",0.031622775,1.0};
soundDammage[] = {"Rotary_Wing\Data\Sounds\alarm_loop1",0.001,1};
soundEngineOnInt[] = {"Rotary_Wing\Data\Sounds\Sounds\int-start-final",0.031622775,1.0};
soundEngineOnExt[] = {"Rotary_Wing\Data\Sounds\Sounds\ext-motor-start",1.7782794,1.0,700};
soundEngineOffInt[] = {"Rotary_Wing\Data\Sounds\int-stop-final",0.031622775,1.0};
soundEngineOffExt[] = {"Rotary_Wing\Data\Sounds\ext-motor-stop",1.7782794,1.0,700};
soundLocked[] = {"\A3\Sounds_F\weapons\Rockets\opfor_lock_1",0.1,1};
soundIncommingMissile[] = {"\A3\Sounds_F\weapons\Rockets\opfor_lock_2",0.1,1};
 
class Sounds
{
class Engine
{
sound[] = {"Rotary_Wing\Data\Sounds\ext-ah1z-engine-01",3.1622777,1.0,800};
frequency = "rotorSpeed";
volume = "camPos*((rotorSpeed-0.72)*4)";
};
class RotorLowOut
{
sound[] = {"Rotary_Wing\Data\Sounds\int\int-rotor-single5b",3.1622777,1.0,1500};
frequency = "rotorSpeed";
volume = "camPos*(0 max (rotorSpeed-0.1))";
cone[] = {1.8,3.14,2.0,0.9};
};
class RotorHighOut
{
sound[] = {"Rotary_Wing\Data\Sounds\int\int-rotor-single5a",3.1622777,1.0,1800};
frequency = "rotorSpeed";
volume = "camPos*10*(0 max (rotorThrust-0.95))";
cone[] = {1.8,3.14,2.0,0.9};
};
class EngineIn
{
sound[] = {"Rotary_Wing\Data\Sounds\int-fly-mode7",1.7782794,1.0};
frequency = "rotorSpeed";
volume = "(1-camPos)*((rotorSpeed-0.75)*4)";
};
class RotorLowIn
{
sound[] = {"Rotary_Wing\Data\Sounds\int-rotor-single5b",1.7782794,1.0};
frequency = "rotorSpeed";
volume = "2*(1-camPos)*((rotorSpeed factor[0.3, 1.1]) min (rotorSpeed factor[1.1, 0.3]))";
};
class RotorHighIn
{
sound[] = {"Rotary_Wing\Data\Sounds\int-rotor-single5a",1.7782794,1.0};
frequency = "rotorSpeed";
volume = "(1-camPos)*3*(rotorThrust-0.9)";
};
};
 
class Exhausts
{
class Exhaust1
{
position = "exhaust1";
direction = "exhaust1_dir";
effect = "ExhaustsEffectHeliCom";
};
class Exhaust2
{
position = "exhaust2";
direction = "exhaust2_dir";
effect = "ExhaustsEffectHeliCom";
};
};
 
class MarkerLights {
class WhiteStill {
name = "bily pozicni";
color[] = {1.0, 1.0, 1.0};
ambient[] = {0.1, 0.1, 0.1};
blinking = 1;
intensity = 75;
blinkingPattern[] = {0.1, 0.9};
blinkingPatternGuarantee = 0;
drawLightSize = 0.2;
drawLightCenterSize = 0.04;
};
 
class RedStill {
name = "cerveny pozicni";
color[] = {0.8, 0.0, 0.0};
ambient[] = {0.08, 0.0, 0.0};
intensity = 75;
drawLight = 1;
drawLightSize = 0.15;
drawLightCenterSize = 0.04;
activeLight = 0;
blinking = 0;
dayLight = 0;
useFlare = 0;
};
 
class GreenStill {
name = "zeleny pozicni";
color[] = {0.0, 0.8, 0.0};
ambient[] = {0.0, 0.08, 0.0};
intensity = 75;
drawLight = 1;
drawLightSize = 0.15;
drawLightCenterSize = 0.04;
activeLight = 0;
blinking = 0;
dayLight = 0;
useFlare = 0;
};
 
class RedBlinking {
name = "bily pozicni blik";
color[] = {0.9, 0.15, 0.1};
ambient[] = {0.09, 0.015, 0.01};
intensity = 75;
blinking = 1;
blinkingPattern[] = {0.1, 0.9};
blinkingPatternGuarantee = 0;
drawLightSize = 0.2;
drawLightCenterSize = 0.04;
};
 
class WhiteBlinking {
name = "cerveny pozicni blik";
color[] = {0.9, 0.15, 0.1};
intensity = 75;
ambient[] = {0.09, 0.015, 0.01};
blinking = 1;
blinkingPattern[] = {0.2, 1.3};
blinkingPatternGuarantee = 0;
drawLightSize = 0.25;
drawLightCenterSize = 0.08;
};
};
 
class Reflectors
{
class Middle
{
color[] = {7000,7500,10000,1};
ambient[] = {100,100,100,0};
position = "L svetlo";
direction = "konec L svetla";
hitpoint = "L svetlo";
selection = "L svetlo";
size = 1;
innerAngle = 20;
outerAngle = 60;
coneFadeCoef = 10;
intensity = 50;
useFlare = 1;
dayLight = 0;
FlareSize = 6;
class Attenuation
{
start = 1;
constant = 0;
linear = 0;
quadratic = 4;
};
};
};
 
class HitPoints:HitPoints
{
//class HitGlass2 {armor=0.5;};
//class HitGlass3 {armor=0.5;};
//class HitGlass4 {armor=0.5;};
//class HitGlass5 {armor=0.5;};
};
 
armor=40;
damageResistance = 0.00593;
cost=10000000;
model="\Rotary_Wing\Data\Models\ah1z";
picture = "\Rotary_Wing\Data\ui\ah1z_CA.paa";
mapSize = 15.5;
Icon="\Rotary_Wing\Data\ui\icomap_ah1z_CA.paa";
weapons[]={"FFARLauncher","CMFlareLauncher"};
magazines[]={"38Rnd_FFAR","168Rnd_CMFlare_Chaff_Magazine"};
enableManualFire = 1;
 
class Turrets: Turrets
{
class MainTurret: MainTurret
{
isCopilot = 0;
gunnerAction = "AH1Z_Gunner";
gunnerInAction = "AH1Z_Gunner";
gunnerCompartments = "Compartment2"; // cannot switch to pilot
weapons[]={"M197","HellfireLauncher","SidewinderLaucher_AH1Z"};
magazines[]={"750Rnd_M197_AH1","8Rnd_Hellfire","2Rnd_Sidewinder_AH1Z"};
memoryPointsGetInGunner= "pos_gunner";
memoryPointsGetInGunnerDir= "pos_gunner_dir";
gunnerGetInAction = "GetInHigh";
gunnerGetOutAction = "GetOutHigh";
memoryPointGun = "machinegun";
minElev=-60; maxElev=+10; initElev=0;
minTurn=-70; maxTurn=+70; initTurn=0;
gunnerOpticsModel = "\Rotary_Wing\Data\Models\optika_AH1Z";
turretInfoType = "RscOptics_Heli_Attack_01_gunner";
discreteDistance[] = {100,200,300,400,500,600,700,800,1000,1200,1500,1800,2100};
discreteDistanceInitIndex = 2;
 
 
class OpticsIn
{
class Wide //1x
{
opticsDisplayName = "W";
initAngleX=0; minAngleX=-30; maxAngleX=+30;
initAngleY=0; minAngleY=-100; maxAngleY=+100;
initFov=0.466; minFov=0.466; maxFov=0.466;
visionMode[] = {"Normal","NVG","Ti"};
thermalMode[] = {0,1};
gunnerOpticsModel = "\Rotary_Wing\Data\Models\optika_AH1Z";
};
class Medium : Wide //5x
{
opticsDisplayName = "M";
initFov=0.093; minFov=0.093; maxFov=0.093;
gunnerOpticsModel = "\Rotary_Wing\Data\Models\optika_AH1Z";
};
class Narrow : Wide //16x
{
opticsDisplayName = "N";
gunnerOpticsModel = "\Rotary_Wing\Data\Models\optika_AH1Z";
initFov=0.029; minFov=0.029; maxFov=0.029;
};
};
class OpticsOut
{
class Monocular // 1x-3.5x
{
initAngleX=0; minAngleX=-30; maxAngleX=+30;
initAngleY=0; minAngleY=-100; maxAngleY=+100;
initFov=1.1; minFov=0.133; maxFov=1.1;
visionMode[] = {"Normal","NVG"};
gunnerOpticsModel = "";
gunnerOpticsEffect[] = {};
};
};
 
/*class ViewOptics
{
initAngleX=0; minAngleX=-30; maxAngleX=+30;
initAngleY=0; minAngleY=-100; maxAngleY=+100;
initFov=0.155; minFov=0.047; maxFov=0.155;
visionMode[] = {"Normal","NVG","Ti"};
thermalMode[] = {0,1};
};*/
};
};
 
threat[] = {0.8,1,0.6};
class AnimationSources: AnimationSources
{
class 20mmBarrels
{
source = "revolving";
weapon = "M197";
};
class mainRotor_folded
{
source = "user";
       animPeriod = 0.001;
       initPhase = 1;
};
class mainRotor_unfolded:mainRotor_folded
{
                                 initPhase = 0;
};
class rotorShaft_unfolded:mainRotor_unfolded{};
};
laserScanner = 1;
 
class Library
{
  libTextDesc = "AH1Z";
};
dammageHalf[]=
{
"\Rotary_Wing\Data\Textures\ah1z_monitor_glass_ca.paa", "\Rotary_Wing\Data\Textures\ah1z_monitor_glass_destr_co.paa"
};
dammageFull[]=
{
"\Rotary_Wing\Data\Textures\ah1z_monitor_glass_ca.paa", "\Rotary_Wing\Data\Textures\ah1z_monitor_glass_destr_co.paa"
};
 
class Damage
{
tex[]={};
mat[]={
"Rotary_Wing\Data\Textures\ah1z_body.rvmat",
"Rotary_Wing\Data\Textures\ah1z_body_damage.rvmat",
"Rotary_Wing\Data\Textures\ah1z_body_destruct.rvmat",
 
"Rotary_Wing\Data\Textures\ah1z_glass.rvmat",
"Rotary_Wing\Data\Textures\ah1z_glass_damage.rvmat",
"Rotary_Wing\Data\Textures\ah1z_glass_damage.rvmat",
 
"Rotary_Wing\Data\Textures\ah1z_glass_in.rvmat",
"Rotary_Wing\Data\Textures\ah1z_glass_in_damage.rvmat",
"Rotary_Wing\Data\Textures\ah1z_glass_in_damage.rvmat",
 
"Rotary_Wing\Data\Textures\ah1z_cockpit.rvmat",
"Rotary_Wing\Data\Textures\ah1z_cockpit.rvmat",
"Rotary_Wing\Data\Textures\ah1z_cockpit_destruct.rvmat",
 
"Rotary_Wing\Data\Textures\ah1z_engines.rvmat",
"Rotary_Wing\Data\Textures\ah1z_engines_damage.rvmat",
"Rotary_Wing\Data\Textures\ah1z_engines_destruct.rvmat",
 
"Rotary_Wing\Data\Textures\ah1z_monitors.rvmat",
"Rotary_Wing\Data\Textures\ah1z_monitors.rvmat",
"Rotary_Wing\Data\Textures\ah1z_monitors_destruct.rvmat"
};
};
destrType="DestructWreck";
 
};
 
class Pak_Ah1_Ard: Pak_Ah1_Dst {
hiddenSelectionsTextures[] = {"Rotary_Wing\Data\Textures\ah1z_body_co.paa","Rotary_Wing\Data\Textures\ah1z_engines_co.paa"};
crew = "Pak_Fac_Hlpf";
scope=2;
side=2;
faction = "Pak_Fac";
displayName="AH-1Z Viper (Arid)";
};
 
 
class Pak_Ah1_Wrk: HelicopterWreck
{
scope = 1;
class Armory {disabled = 1;}
model = "\Rotary_Wing\Data\Models\AH1ZWreck.p3d";
typicalCargo[]={};
irTarget = false;
transportAmmo = 0;
transportRepair = 0;
transportFuel = 0;
transportSoldier = 2;
class Eventhandlers{};
};
 
class CfgNonAIVehicles {
class ProxyDriver;
class ProxyWeapon;
class ProxyAGM114Hellfire: ProxyWeapon {
model = "\Rotary_Wing\Data\Models\AGM114Hellfire";
simulation = "maverickweapon";
};
class ProxyAIM9XSidewinder: ProxyWeapon {
model = "\Rotary_Wing\Data\Models\AIM9XSidewinder"; 
simulation = "maverickweapon";
};
};
 
class CfgAmmo
{
class Default;
class RocketCore;
class RocketBase;
class BulletBase;
class MissileCore;
class MissileBase;
class B_762x51_Ball;
class B_30mm_HE;
class B_20mm;
class B_30x113mm_M789_HEDP: B_30mm_HE
{
hit=67;indirectHit=15;indirectHitRange=1; // AP/HE mix
model="\A3\Weapons_f\Data\bullettracer\tracer_red";
tracerScale=2;
tracerStartTime = 0.1; // seconds
tracerEndTime = 2.3; // seconds
explosive = 0.3; //To get explosive particle effects
caliber = 2.5;
airFriction = -0.00078;
};
 
class B_20mm_AP: B_20mm
{
hit = 45;
indirectHit = 10;
indirectHitRange = 2;
visibleFire = 28;
audibleFire = 28;
visibleFireTime = 3;
cost = 25;
airLock = 1;
explosive = 0.3;
model = "\A3\Weapons_f\Data\bullettracer\tracer_red";
tracerScale = 1.8;
tracerStartTime = 0.1;
tracerEndTime = 2;
airFriction = -0.00077;
caliber = 2.33;
};
 
class M_Sidewinder_AA: MissileBase
{
model = "\Rotary_Wing\Data\Models\sidewinder_fly";
proxyShape = "\Rotary_Wing\Data\Models\sidewinder_proxy";
hit = 350;
indirectHit = 85;
indirectHitRange = 10;
maneuvrability = 27;
simulationStep = 0.002;
airLock = 1;
irLock = 1;
cost = 15000;
maxSpeed = 728;
timeToLive = 35;
sideAirFriction = 0.2;
trackOversteer = 1.0;
trackLead = 1;
initTime = 0.0;
thrustTime = 5.0;
thrust = 2900;
fuseDistance = 500;
CraterEffects = "AAMissileCrater";
explosionEffects = "AAMissileExplosion";
effectsMissile = "missile3";
weaponLockSystem = "2 + 16";
whistleDist = 20;
};
 
class M_Hellfire_AT: MissileBase
{
model = "\Rotary_Wing\Data\Models\AGM114Hellfire";
proxyShape = "\Rotary_Wing\Data\Models\AGM114Hellfire_proxy";
hit = 1100;
indirectHit = 20;
indirectHitRange = 2;
cost = 10000;
maxSpeed = 425;
irLock = 1;
laserLock = 1;
airLock = 0;
maxControlRange = 8000;
trackOversteer = 1;
trackLead = 1;
maneuvrability = 9;
timeToLive = 20;
simulationStep = 0.01;
sideAirFriction = 0.2;
initTime = 0.0;
thrustTime = 3.25;
thrust = 130;
fuseDistance = 5;
effectsMissileInit = "MissileDAR1";
effectsMissile = "missile2";
weaponLockSystem = "2 + 16";
whistleDist = 4;
};
 
class R_Hydra_HE: RocketBase
{
model = "\Rotary_Wing\Data\Models\70mmRocket";
hit = 250;
indirectHit = 50;
indirectHitRange = 15;
cost = 200;
maxSpeed = 740;
thrustTime = 1.1;
thrust = 570;
sideAirFriction = 0.2;
timeToLive = 20;
fuseDistance = 40;
whistleDist = 24;
};
};
 
class CfgMagazines
{
class VehicleMagazine;
 
class 2Rnd_Sidewinder_AH1Z: VehicleMagazine
{
scope = 2;
displayName = "SIDEWINDER";
ammo = "M_Sidewinder_AA";
count = 2;
initSpeed = 0;
maxLeadSpeed = 450;
sound[] = {"A3\Sounds_F\weapons\Rockets\missile_1",1.1220185,1.3,1100};
reloadSound[] = {"A3\sounds_f\dummysound",0.000316228,1,20};
nameSound = "missiles";
};
 
class 750Rnd_M197_AH1: VehicleMagazine
{
scope = 2;
displayName = "M197";
ammo = "B_20mm_AP";
count = 750;
initSpeed = 1036;
maxLeadSpeed = 200;
tracersEvery = 2;
nameSound = "cannon";
};
 
class 100Rnd_762x51_M240: VehicleMagazine
{
scope = 1;
displayName = "100rnd_M240";
count=100;
ammo = "B_762x51_Ball";
initSpeed = 900;
tracersEvery = 4;
lastRoundsTracer = 4;
nameSound="mgun";
descriptionShort = "100RND_M240";
};
class 1200Rnd_30x113mm_M789_HEDP: VehicleMagazine
{
scope = 1;
displayName = "1200Rnd 30x113mm M789 HEDP";
ammo="B_30x113mm_M789_HEDP";
count=1200;
initSpeed = 805;
tracersEvery = 1;
maxLeadSpeed=500;
nameSound="cannon";
airLock=1;
};
class 8Rnd_Hellfire: VehicleMagazine
{
scope = 2;
displayName = "HELLFIRE";
count = 8;
ammo = "M_Hellfire_AT";
initSpeed = 0;
maxLeadSpeed = 200;
sound[] = {"\Rotary_Wing\Data\Sounds\TOW_2",3.1622777,1};
//sound[] = {"A3\Sounds_F\weapons\Rockets\missile_1",1.1220185,1.3,1100};
soundFly[] = {"A3\Sounds_F\weapons\Rockets\rocket_fly_1",1.0,1.1,700};
lockingTargetSound[] = {"\A3\Sounds_F\weapons\Rockets\locked_1",0.31622776,1};
lockedTargetSound[] = {"\A3\Sounds_F\weapons\Rockets\locked_3",0.31622776,2.5};
reloadSound[] = {"A3\sounds_f\dummysound",0.00031622776,1};
nameSound = "missiles";
};
 
class 14Rnd_FFAR: VehicleMagazine
{
scope = 2;
displayName = "FFAR";
ammo = "R_Hydra_HE";
count = 14;
initSpeed = 44;
maxLeadSpeed = 200;
nameSound = "rockets";
sound[] = {"\Rotary_Wing\Data\Sounds\rocketLauncher_Shot21",3.1622777,1};
reloadSound[] = {"A3\sounds_f\dummysound",0.00031622776,1};
};
class 28Rnd_FFAR: 14Rnd_FFAR
{
count = 28;
};
class 38Rnd_FFAR: 14Rnd_FFAR
{
count = 38;
};
};
class Mode_SemiAuto;
class Mode_Burst;
 
 
class CfgWeapons
{
class Default;
class M134_minigun;
class LauncherCore;
class RocketPods;
class CannonCore;
class MissileLauncher;
class MGun;
class M134_minigun_2: M134_minigun {};
 
class SidewinderLaucher_AH1Z: MissileLauncher
{
scope = 2;
displayName = "AIM-9X Sidewinder";
displayNameMagazine = "AIM-9X Sidewinder";
shortNameMagazine = "AIM-9X";
minRange = 300;
minRangeProbab = 0.025;
midRange = 2500;
midRangeProbab = 0.09;
maxRange = 9000;
maxRangeProbab = 0.01;
sound[] = {"A3\Sounds_F\weapons\Rockets\missile_2",1.1220185,1.3,1000};
soundFly[] = {"A3\Sounds_F\weapons\Rockets\rocket_fly_2",1.0,1.5,700};
lockingTargetSound[] = {"\A3\Sounds_F\weapons\Rockets\locked_1",0.316228,1};
lockedTargetSound[] = {"\A3\Sounds_F\weapons\Rockets\locked_3",0.316228,2.5};
weaponSoundEffect = "DefaultRifle";
reloadTime = 0.1;
magazineReloadTime = 30;
magazines[] = {"2Rnd_Sidewinder_AH1Z"};
cursor = "EmptyCursor";
cursorAim = "missile";
cursorSize = 1;
aiRateOfFire = 1;
aiRateOfFireDistance = 4000;
weaponLockDelay = 3.0;
};
 
class M197: CannonCore
{
scope = 1;
cursor = "EmptyCursor";
cursorAim= "mg";
cursorSize = 1;
displayName = "M197";
ballisticsComputer = 1;
autoFire = 1;
nameSound = "cannon";
magazines[] = {"750Rnd_M197_AH1"};
canLock = 2;
modes[] = {"manual","close","short","medium","far"};
class manual: CannonCore
{
displayName = "M197";
autoFire = 1;
sound[]={"\Rotary_Wing\Data\sounds\a10vulcanVII",db10,1,1100};
reloadTime = 0.06;
dispersion = 0.00025;
showToPlayer = 1;
burst = 1;
aiRateOfFire = 0.5;
aiRateOfFireDistance = 50;
minRange = 1;
minRangeProbab = 0.01;
midRange = 2;
midRangeProbab = 0.01;
maxRange = 3;
maxRangeProbab = 0.01;
};
class close: manual
{
showToPlayer = 0;
soundBurst = 0;
burst = 10;
aiRateOfFire = 0.5;
aiRateOfFireDistance = 50;
minRange = 0;
minRangeProbab = 0.05;
midRange = 200;
midRangeProbab = 0.58;
maxRange = 500;
maxRangeProbab = 0.04;
};
class short: close
{
burst = 8;
aiRateOfFire = 2;
aiRateOfFireDistance = 300;
minRange = 300;
minRangeProbab = 0.05;
midRange = 600;
midRangeProbab = 0.58;
maxRange = 800;
maxRangeProbab = 0.04;
};
class medium: close
{
burst = 4;
aiRateOfFire = 3;
aiRateOfFireDistance = 600;
minRange = 700;
minRangeProbab = 0.05;
midRange = 900;
midRangeProbab = 0.58;
maxRange = 1000;
maxRangeProbab = 0.04;
};
class far: close
{
burst = 5;
aiRateOfFire = 5;
aiRateOfFireDistance = 1000;
minRange = 1000;
minRangeProbab = 0.05;
midRange = 1200;
midRangeProbab = 0.4;
maxRange = 1400;
maxRangeProbab = 0.01;
};
};
 
class M240_veh: MGun
{
scope = 1;
displayName = "M240";
soundContinuous = false;
aiDispersionCoefY=21; // 7
aiDispersionCoefX=21;
magazines[] = {"100Rnd_762x51_M240"};
magazineReloadTime=3;
canLock = 0;
 
modes[] = {"manual","close","short","medium","far"};
class manual: MGun
{
            displayName = "M240";
            autoFire = 1;
reloadTime = 0.075;
       dispersion=0.0012;
 
showToPlayer = true;
            burst = 1;
aiRateOfFire = 0.5;
aiRateOfFireDistance = 50;
minRange=1;minRangeProbab=0.01;
midRange=2;midRangeProbab=0.01;
maxRange=3;maxRangeProbab=0.01;
}
class close: manual
{
            showToPlayer = false;
            soundBurst = false;
            burst = 10; //Rg 6;
aiRateOfFire = 0.5;
aiRateOfFireDistance = 50;
minRange=0;minRangeProbab=0.05;
midRange=100;midRangeProbab=0.58;
maxRange=200;maxRangeProbab=0.04;
};
class short: close
{
burst = 8; //Rg 6;
aiRateOfFire = 2;
aiRateOfFireDistance = 300; //Rg 200;
minRange=50;minRangeProbab=0.05;
midRange=200;midRangeProbab=0.58; //Rg 100;
maxRange=400;maxRangeProbab=0.04; //Rg 200;
};
class medium: close
{
burst = 4; //Rg 8;
aiRateOfFire = 3; //Rg 4;
aiRateOfFireDistance = 600; //Rg 400;
minRange=300;minRangeProbab=0.05;
midRange=400;midRangeProbab=0.58; //Rg 300;
maxRange=600;maxRangeProbab=0.04; //Rg 400;
};
class far: close
{
burst = 5; //Rg 7;
aiRateOfFire = 5; //Rg 7;
aiRateOfFireDistance = 1000; //Rg 600;
minRange=500;minRangeProbab=0.05;
midRange=600;midRangeProbab=0.4; //Rg 500;
maxRange=800;maxRangeProbab=0.01; //Rg 600;
};
};
class M240_veh_2:M240_veh {};
 
class FFARLauncher: RocketPods
{
magazines[] = {"38Rnd_FFAR","28Rnd_FFAR"};
displayName = "HYDRA";
modes[] = {"Far_AI","Burst"};
cursor = "EmptyCursor";
cursorAim = "rocket";
class Far_AI: RocketPods
{
minRange = 50;
minRangeProbab = 0.041;
midRange = 600;
midRangeProbab = 0.21;
maxRange = 2500;
maxRangeProbab = 0.11;
displayName = "HYDRA-SINGLE";
sound[] = {"\Rotary_Wing\Data\Sounds\RocketLauncher_Shot21",3.1622777,1,1100};
soundFly[] = {"\Rotary_Wing\Data\Sounds\rocket_fly1",5.623413,1.2,700};
burst = 1;
reloadTime = 0.08;
autoFire = 0;
showToPlayer = 0;
};
class Burst: RocketPods
{
minRange = 1;
minRangeProbab = 0.001;
midRange = 2;
midRangeProbab = 0.001;
maxRange = 3;
maxRangeProbab = 0.001;
displayName = "HYDRA-PAIR";
burst = 1;
reloadTime = 0.08;
soundContinuous = 1;
autoFire = 1;
sound[] = {"\Rotary_Wing\Data\Sounds\RocketLauncher_Shot21",3.1622777,1,1100};
soundFly[] = {"\Rotary_Wing\Data\Sounds\rocket_fly1",5.623413,1.2,700};
};
};
class FFARLauncher_14: FFARLauncher
{
magazines[] = {"14Rnd_FFAR"};
};
 
class HellfireLauncher: MissileLauncher
{
scope = 2;
autoFire = 0;
displayName = "HELLFIRE";
minRange = 50;
minRangeProbab = 0.6;
midRange = 2000;
midRangeProbab = 0.9;
maxRange = 4000;
maxRangeProbab = 0.1;
nameSound = "MissileLauncher";
sound[] = {"\Rotary_Wing\Data\Sounds\RocketLauncher_Shot05",1.922776,1,1100};
soundFly[] = {"\Rotary_Wing\Data\Sounds\rocket_fly1",100.0,0.8,800};
lockingTargetSound[] = {"\A3\Sounds_F\weapons\Rockets\locked_1",0.31622776,1};
lockedTargetSound[] = {"\A3\Sounds_F\weapons\Rockets\locked_3",0.31622776,2.5};
reloadTime = 1;
magazines[] = {"8Rnd_Hellfire"};
weaponLockDelay = 3.0;
aiRateOfFire = 5.0;
aiRateOfFireDistance = 4000;
cursorAim = "bomb";
cursor = "EmptyCursor";
cursorSize = 1;
textureType = "fullAuto";
};
class M230: CannonCore
{
scope = 1;
displayName = "M230";
nameSound="cannon";
autoFire = 1;
magazines[] = {"1200Rnd_30x113mm_M789_HEDP"};
canLock = 2;
 
flash = "gunfire";
flashSize = 0.1;
recoil = "Empty";
ballisticsComputer = 1;
 
aiDispersionCoefX = 6; // 2
ffMagnitude = 0.5;
ffFrequency = 11;
ffCount = 6;
 
cursor= "EmptyCursor";
cursorAim= "mg";
cursorSize = 1;
modes[] = {"manual","close","short","medium","far"};
class manual: CannonCore
{
      displayName = "M230";
      autoFire = 1;
   sound[]={"\Rotary_Wing\Data\sounds\a10vulcanVII",db10,1,1100};
 
      reloadTime = 0.096;
   dispersion=0.002;
soundContinuous = 0;
initspeed = 820;
 
showToPlayer = true;
burst = 1;
multiplier = 1;
aiRateOfFire = 0.5;
aiRateOfFireDistance = 50;
 
minRange=1;minRangeProbab=0.001;
midRange=2;midRangeProbab=0.001;
maxRange=3;maxRangeProbab=0.001;
ffMagnitude = 0.5;
ffFrequency = 11;
ffCount = 6;
}
class close: manual
{
      showToPlayer = false;
      soundBurst = false;
      burst = 15; //Rg 6;
aiRateOfFire = 0.5;
aiRateOfFireDistance = 400;
minRange=0;minRangeProbab=0.04;
midRange=200;midRangeProbab=0.2;
maxRange=400;maxRangeProbab=0.1;
};
class short: close
{
burst = 10; //Rg 6;
aiRateOfFire = 1;
aiRateOfFireDistance = 600; //Rg 200;
minRange=200;minRangeProbab=0.1;
midRange=500;midRangeProbab=0.2; //Rg 100;
maxRange=800;maxRangeProbab=0.1; //Rg 200;
};
class medium: close
{
burst = 7; //Rg 8;
aiRateOfFire = 2; //Rg 4;
aiRateOfFireDistance = 800; //Rg 400;
minRange=600;minRangeProbab=0.1;
midRange=800;midRangeProbab=0.2; //Rg 300;
maxRange=1000;maxRangeProbab=0.1; //Rg 400;
};
class far: close
{
burst = 4; //Rg 7;
aiRateOfFire = 3; //Rg 7;
aiRateOfFireDistance = 1000; //Rg 600;
minRange=800;minRangeProbab=0.1;
midRange=1000;midRangeProbab=0.2; //Rg 500;
maxRange=1500;maxRangeProbab=0.4; //Rg 400;
};
};
};
 
 
        class CfgMovesBasic {
       class DefaultDie;
       class ManActions {
   AH1Z_Pilot = "AH1Z_Pilot";
   AH1Z_Gunner = "AH1Z_Gunner";
       };
        };
    
   class CfgMovesMaleSdr: CfgMovesBasic {
       class States {
   class Crew;
 
   class AH1Z_Dead: DefaultDie {
actions = "DeadActions";
file = "\Rotary_Wing\Data\Animations\AH1Z_Dead.rtm";
speed = 0.5;
looped = 0;
terminal = 1;
soundEnabled = 0;
connectTo[] = {"Unconscious",0.1};
   };
 
   class KIA_AH1Z_Pilot: DefaultDie {
actions = "DeadActions";
speed = 0.5;
looped = 0;
terminal = 1;
file = "\Rotary_Wing\Data\Animations\KIA_AH1Z_Pilot.rtm";
connectTo[] = {"Unconscious",0.1};
   };
 
   class AH1Z_Pilot: Crew {
file = "\Rotary_Wing\Data\Animations\AH1Z_Pilot.rtm";
interpolateTo[] = {"KIA_AH1Z_Pilot",1};
   };
 
   class KIA_AH1Z_Gunner: DefaultDie {
actions = "DeadActions";
speed = 0.5;
looped = 0;
terminal = 1;
file = "\Rotary_Wing\Data\Animations\KIA_AH1Z_Gunner.rtm";
connectTo[] = {"Unconscious",0.1};
   };
 
   class AH1Z_Gunner: Crew {
file = "\Rotary_Wing\Data\Animations\AH1Z_Gunner.rtm";
interpolateTo[] = {"KIA_AH1Z_Gunner",1};
   }; 
   };
    };
};

Share this post


Link to post
Share on other sites

Dumb dumb dumb, figured it out, ignore please. 

Share this post


Link to post
Share on other sites

Could you explain how you solved it, in case any one else has the same problem?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×