Clean up CH47 Configs

This commit is contained in:
A Man
2019-12-09 17:47:29 +01:00
parent a86538c6f3
commit 043fde2816

View File

@@ -1,128 +1,7 @@
class CH47_base_EP1: Helicopter
{
expansion = 1;
scope = private;
displayName = $STR_VEH_NAME_CH47;
side = 1;
faction = "BIS_US";
accuracy = 0.5;
mainRotorSpeed = 1;
backRotorSpeed = 1;
armor = 30;
damageResistance = 0.001;
destrType = "DestructWreck";
memoryPointsGetInCargo[] = {"pos codriver","pos cargo"};
memoryPointsGetInCargoDir[] = {"pos codriver dir","pos cargo dir"};
cargoAction[] = {"CH47_Cargo_EP1","CH47_Cargo01_EP1","CH47_Cargo01_EP1","CH47_Cargo02_EP1","CH47_Cargo03_EP1","CH47_Cargo01_EP1","CH47_Cargo03_EP1","CH47_Cargo02_EP1","CH47_Cargo01_EP1","CH47_Cargo03_EP1","CH47_Cargo02_EP1","CH47_Cargo03_EP1","CH47_Cargo02_EP1","CH47_Cargo03_EP1","CH47_Cargo01_EP1","CH47_Cargo02_EP1","CH47_Cargo01_EP1","CH47_Cargo03_EP1","CH47_Cargo02_EP1","CH47_Cargo01_EP1","CH47_Cargo03_EP1","CH47_Cargo02_EP1","CH47_Cargo01_EP1","CH47_Cargo03_EP1","CH47_Cargo02_EP1"};
cargoIsCoDriver[] = {1,0};
transportSoldier = 24;
transportMaxBackpacks = 10;
weapons[] = {"CMFlareLauncher"};
magazines[] = {"120Rnd_CMFlareMagazine"};
LockDetectionSystem = 2;
IncommingMisslieDetectionSystem = 16;
radarType = 4;
enableManualFire = 0;
threat[] = {0.6,0.1,0};
class HitPoints: HitPoints
{
class HitVRotor
{
armor = 1;
material = 51;
name = "mala vrtule";
visual = "mala vrtule staticka";
passThrough = 0.5;
};
class HitHRotor
{
armor = 1;
material = 51;
name = "velka vrtule";
visual = "velka vrtule staticka";
passThrough = 0.5;
};
};
soundGetIn[] = {"Ca\Sounds_E\Air_E\CH47\close",0.316228,1};
soundGetOut[] = {"Ca\Sounds_E\Air_E\CH47\open",0.316228,1,40};
soundDammage[] = {"Ca\Sounds_E\Air_E\CH47\int-alarm_loop",0.562341,1};
soundEngineOnInt[] = {"Ca\Sounds_E\Air_E\CH47\CH47_start_int",0.1,1};
soundEngineOnExt[] = {"Ca\Sounds_E\Air_E\CH47\CH47_start_ext",0.562341,1,800};
soundEngineOffInt[] = {"Ca\Sounds_E\Air_E\CH47\CH47_stop_int",0.1,1};
soundEngineOffExt[] = {"Ca\Sounds_E\Air_E\CH47\CH47_stop_ext",0.562341,1,800};
class Sounds
{
class Engine
{
sound[] = {"Ca\Sounds_E\Air_E\CH47\CH47_engine_high_ext",1,1,800};
frequency = "rotorSpeed";
volume = "camPos*((rotorSpeed-0.72)*4)";
};
class RotorLowOut
{
sound[] = {"Ca\Sounds_E\Air_E\CH47\CH47_rotor_ext",3.16228,1,1500};
frequency = "rotorSpeed";
volume = "camPos*(0 max (rotorSpeed-0.1))";
cone[] = {1.8,3.14,2,0.9};
};
class RotorHighOut
{
sound[] = {"Ca\Sounds_E\Air_E\CH47\CH47_rotor_forsage_ext",3.16228,1,1800};
frequency = "rotorSpeed";
volume = "camPos*10*(0 max (rotorThrust-0.95))";
cone[] = {1.8,3.14,2,0.9};
};
class EngineIn
{
sound[] = {"Ca\Sounds_E\Air_E\CH47\CH47_engine_high_int",1.77828,1};
frequency = "rotorSpeed";
volume = "(1-camPos)*((rotorSpeed-0.75)*4)";
};
class RotorLowIn
{
sound[] = {"Ca\Sounds_E\Air_E\CH47\CH47_rotor_int",1.77828,1};
frequency = "rotorSpeed";
volume = "2*(1-camPos)*((rotorSpeed factor[0.3, 1.1]) min (rotorSpeed factor[1.1, 0.3]))";
};
class RotorHighIn
{
sound[] = {"Ca\Sounds_E\Air_E\CH47\CH47_rotor_forsage_int",1.77828,1};
frequency = "rotorSpeed";
volume = "(1-camPos)*3*(rotorThrust-0.9)";
};
};
class Library
{
libTextDesc = "The CH-47 Chinook is a versatile, twin-engine, tandem rotor heavy-lift helicopter. Its top speed of 315 km/h was faster any comparable helicopter in the 1960s and even many of today.<br/>The main use of the CH-47 includes troop movement, artillery emplacement and battlefield resupply.";
};
class Reflectors
{
class Middle
{
color[] = {0.8,0.8,1,1};
ambient[] = {0.07,0.07,0.07,1};
position = "svetlo";
direction = "svetlo konec";
hitpoint = "svetlo";
selection = "svetlo";
size = 1;
brightness = 1;
};
};
class Damage
{
tex[] = {};
mat[] = {"Ca\Air_E\CH47\data\ch47_1.rvmat","Ca\Air_E\CH47\data\ch47_1_damage.rvmat","Ca\Air_E\CH47\data\ch47_1_destruct.rvmat","Ca\Air_E\CH47\data\ch47_2.rvmat","Ca\Air_E\CH47\data\ch47_2_damage.rvmat","Ca\Air_E\CH47\data\ch47_2_destruct.rvmat","Ca\Air_E\CH47\data\ch47_1_int.rvmat","Ca\Air_E\CH47\data\ch47_1_int.rvmat","Ca\Air_E\CH47\data\ch47_1_int_destruct.rvmat","Ca\Air_E\CH47\data\ch47_2_int.rvmat","Ca\Air_E\CH47\data\ch47_2_int.rvmat","Ca\Air_E\CH47\data\ch47_2_int_destruct.rvmat","Ca\Air_E\CH47\data\ch47_sklo_in.rvmat","Ca\Air_E\CH47\data\ch47_sklo_in_damage.rvmat","Ca\Air_E\CH47\data\ch47_sklo_in_damage.rvmat","Ca\Air_E\CH47\data\ch47_sklo.rvmat","Ca\Air_E\CH47\data\ch47_sklo_damage.rvmat","Ca\Air_E\CH47\data\ch47_sklo_damage.rvmat","Ca\Ca_E\data\default.rvmat","Ca\Ca_E\data\default.rvmat","Ca\Ca_E\data\default_destruct.rvmat"};
};
irScanRangeMin = 100;
irScanRangeMax = 1000;
irScanToEyeFactor = 2;
fuelCapacity = 4043;
};
class CH_47F_EP1;
class CH_47F_EP1_DZ : CH_47F_EP1 {
accuracy = 1000;
vehicleClass = "Air";
model = "\ca\air_E\CH47\CH_47F";
scope = public;
displayName = $STR_VEH_NAME_CH47;
@@ -136,28 +15,16 @@ class CH_47F_EP1_DZ : CH_47F_EP1 {
transportMaxWeapons = 10;
transportMaxMagazines = 200;
transportmaxbackpacks = 5;
class Turrets;
class MainTurret;
class RightDoorGun;
class BackDoorGun;
maxSpeed = 293;
fuelCapacity = 4043;
};
class CH_47F_EP1_DZE: CH47_base_EP1
class CH_47F_EP1_DZE: CH_47F_EP1_DZ
{
accuracy = 1000;
model = "\ca\air_E\CH47\CH_47F";
scope = public;
maxSpeed = 293;
picture = "\ca\air_e\data\UI\Picture_ch47f_CA.paa";
icon = "\ca\air_e\data\UI\Icon_ch47f_CA.paa";
mapSize = 24;
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
driverAction = "CH47_Pilot_EP1";
commanderCanSee = 2+16+32;
gunnerCanSee = 2+16+32;
driverCanSee = 2+16+32;
transportMaxWeapons = 10;
transportMaxMagazines = 200;
transportmaxbackpacks = 5;
class Turrets: Turrets
{
class MainTurret: MainTurret
@@ -254,32 +121,4 @@ class CH_47F_EP1_DZE: CH47_base_EP1
memoryPointGunnerOptics = "gunnerview_3";
};
};
class AnimationSources: AnimationSources
{
class ReloadAnim
{
source = "reload";
weapon = "M240_veh";
};
class ReloadMagazine
{
source = "reloadmagazine";
weapon = "M240_veh";
};
class Revolving
{
source = "revolving";
weapon = "M240_veh";
};
class Gatling_1
{
source = "revolving";
weapon = "M134";
};
class Gatling_2
{
source = "revolving";
weapon = "M134_2";
};
};
};