From 19de2872b7533a440308aa47a9e6d5573ae279d6 Mon Sep 17 00:00:00 2001 From: Hizumi <33106048+user4752@users.noreply.github.com> Date: Thu, 2 May 2024 00:01:41 -0500 Subject: [PATCH] cleanup --- 17BCT_Pack.pbo | 3 - 17th_Connection.pbo | 3 - 17th_Fixes.pbo | 3 - 17th_NVGFixes.pbo | 3 - 17th_loadouts.pbo | 3 - EJ UH-60/README.md | 7 + uh-60.pbo => EJ UH-60/uh-60.pbo | 0 uh-60_c.pbo => EJ UH-60/uh-60_c.pbo | 0 MAA.pbo => MAAWS Additional Ammo/MAA.pbo | 0 MAAWS Additional Ammo/README.md | 4 + SMA/README.md | 6 + SMA_ACR.pbo => SMA/SMA_ACR.pbo | 0 SMA_AIMPOINT.pbo => SMA/SMA_AIMPOINT.pbo | 0 SMA_Bipod.pbo => SMA/SMA_Bipod.pbo | 0 SMA_ECLAN_C.pbo => SMA/SMA_ECLAN_C.pbo | 0 SMA_ELCAN.pbo => SMA/SMA_ELCAN.pbo | 0 .../SMA_ELCAN_ALTZOOM_C.pbo | 0 SMA_EOTECH_33.pbo => SMA/SMA_EOTECH_33.pbo | 0 SMA_EOTECH_552.pbo => SMA/SMA_EOTECH_552.pbo | 0 SMA_HK416.pbo => SMA/SMA_HK416.pbo | 0 SMA_HK417.pbo => SMA/SMA_HK417.pbo | 0 SMA_M4.pbo => SMA/SMA_M4.pbo | 0 SMA_MK18.pbo => SMA/SMA_MK18.pbo | 0 SMA_PEQ15.pbo => SMA/SMA_PEQ15.pbo | 0 SMA_RAILGUARD.pbo => SMA/SMA_RAILGUARD.pbo | 0 SMA_RECOIL.pbo => SMA/SMA_RECOIL.pbo | 0 SMA_RHS_Patch.pbo => SMA/SMA_RHS_Patch.pbo | 0 SMA_SOUND.pbo => SMA/SMA_SOUND.pbo | 0 .../SMA_vanilla_ammo.pbo | 0 SMA_weapons.pbo => SMA/SMA_weapons.pbo | 0 scar_arma3.pbo => SMA/scar_arma3.pbo | 0 sma_aac_mpw.pbo => SMA/sma_aac_mpw.pbo | 0 .../sma_vortex_optics.pbo | 0 Turret Enhanced/README.md | 4 + .../Turret_Enhanced.pbo | 0 ace/README.md | 4 + ace_particles.pbo => ace/ace_particles.pbo | 0 model.cfg | 10497 ---------------- 38 files changed, 25 insertions(+), 10512 deletions(-) delete mode 100644 17BCT_Pack.pbo delete mode 100644 17th_Connection.pbo delete mode 100644 17th_Fixes.pbo delete mode 100644 17th_NVGFixes.pbo delete mode 100644 17th_loadouts.pbo create mode 100644 EJ UH-60/README.md rename uh-60.pbo => EJ UH-60/uh-60.pbo (100%) rename uh-60_c.pbo => EJ UH-60/uh-60_c.pbo (100%) rename MAA.pbo => MAAWS Additional Ammo/MAA.pbo (100%) create mode 100644 MAAWS Additional Ammo/README.md create mode 100644 SMA/README.md rename SMA_ACR.pbo => SMA/SMA_ACR.pbo (100%) rename SMA_AIMPOINT.pbo => SMA/SMA_AIMPOINT.pbo (100%) rename SMA_Bipod.pbo => SMA/SMA_Bipod.pbo (100%) rename SMA_ECLAN_C.pbo => SMA/SMA_ECLAN_C.pbo (100%) rename SMA_ELCAN.pbo => SMA/SMA_ELCAN.pbo (100%) rename SMA_ELCAN_ALTZOOM_C.pbo => SMA/SMA_ELCAN_ALTZOOM_C.pbo (100%) rename SMA_EOTECH_33.pbo => SMA/SMA_EOTECH_33.pbo (100%) rename SMA_EOTECH_552.pbo => SMA/SMA_EOTECH_552.pbo (100%) rename SMA_HK416.pbo => SMA/SMA_HK416.pbo (100%) rename SMA_HK417.pbo => SMA/SMA_HK417.pbo (100%) rename SMA_M4.pbo => SMA/SMA_M4.pbo (100%) rename SMA_MK18.pbo => SMA/SMA_MK18.pbo (100%) rename SMA_PEQ15.pbo => SMA/SMA_PEQ15.pbo (100%) rename SMA_RAILGUARD.pbo => SMA/SMA_RAILGUARD.pbo (100%) rename SMA_RECOIL.pbo => SMA/SMA_RECOIL.pbo (100%) rename SMA_RHS_Patch.pbo => SMA/SMA_RHS_Patch.pbo (100%) rename SMA_SOUND.pbo => SMA/SMA_SOUND.pbo (100%) rename SMA_vanilla_ammo.pbo => SMA/SMA_vanilla_ammo.pbo (100%) rename SMA_weapons.pbo => SMA/SMA_weapons.pbo (100%) rename scar_arma3.pbo => SMA/scar_arma3.pbo (100%) rename sma_aac_mpw.pbo => SMA/sma_aac_mpw.pbo (100%) rename sma_vortex_optics.pbo => SMA/sma_vortex_optics.pbo (100%) create mode 100644 Turret Enhanced/README.md rename Turret_Enhanced.pbo => Turret Enhanced/Turret_Enhanced.pbo (100%) create mode 100644 ace/README.md rename ace_particles.pbo => ace/ace_particles.pbo (100%) delete mode 100644 model.cfg diff --git a/17BCT_Pack.pbo b/17BCT_Pack.pbo deleted file mode 100644 index 12fa0d6..0000000 --- a/17BCT_Pack.pbo +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:714cb4d347a6a3c246467d6fdea286bbf4082acd6492723f8ba844814f7aa9b3 -size 13234267 diff --git a/17th_Connection.pbo b/17th_Connection.pbo deleted file mode 100644 index b5a9cb7..0000000 --- a/17th_Connection.pbo +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:215c20317de02394be9031ac858dfae1776efd9dc656f500472d1ad9255f4411 -size 48200 diff --git a/17th_Fixes.pbo b/17th_Fixes.pbo deleted file mode 100644 index 7062bca..0000000 --- a/17th_Fixes.pbo +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b90f876c2535592bf499c6a123417edd7965c6a067340e2c4027550c33002ffd -size 2583 diff --git a/17th_NVGFixes.pbo b/17th_NVGFixes.pbo deleted file mode 100644 index 60a2a52..0000000 --- a/17th_NVGFixes.pbo +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:05d8ccbee0bccf891dab5eaec9e2057de534ceb3f13ead05b2d0a6212add1f2f -size 229228 diff --git a/17th_loadouts.pbo b/17th_loadouts.pbo deleted file mode 100644 index 6783cd3..0000000 --- a/17th_loadouts.pbo +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:20d109ee8c8f19681ece4ee21d254b1fc396803ddc1b59ade12f2286a50957ea -size 46695 diff --git a/EJ UH-60/README.md b/EJ UH-60/README.md new file mode 100644 index 0000000..fbebe73 --- /dev/null +++ b/EJ UH-60/README.md @@ -0,0 +1,7 @@ +Custom mod fixes supplied by community members ericjk and beechhead + +Original Mod: +@UH-60 Pack A3 + + +Workshop [link](https://steamcommunity.com/workshop/filedetails/?id=667709746) diff --git a/uh-60.pbo b/EJ UH-60/uh-60.pbo similarity index 100% rename from uh-60.pbo rename to EJ UH-60/uh-60.pbo diff --git a/uh-60_c.pbo b/EJ UH-60/uh-60_c.pbo similarity index 100% rename from uh-60_c.pbo rename to EJ UH-60/uh-60_c.pbo diff --git a/MAA.pbo b/MAAWS Additional Ammo/MAA.pbo similarity index 100% rename from MAA.pbo rename to MAAWS Additional Ammo/MAA.pbo diff --git a/MAAWS Additional Ammo/README.md b/MAAWS Additional Ammo/README.md new file mode 100644 index 0000000..ffbd48d --- /dev/null +++ b/MAAWS Additional Ammo/README.md @@ -0,0 +1,4 @@ +Original Mod: +@MAAWS Additional Ammo + +Workshop [link](https://steamcommunity.com/sharedfiles/filedetails/?id=2589302544) diff --git a/SMA/README.md b/SMA/README.md new file mode 100644 index 0000000..2b19e43 --- /dev/null +++ b/SMA/README.md @@ -0,0 +1,6 @@ +Cherry picked weapon set + +Original Mod: +@Specialist Military Arms (SMA) Version 2.7.1 + +Workshop [link](https://steamcommunity.com/workshop/filedetails/?id=699630614) diff --git a/SMA_ACR.pbo b/SMA/SMA_ACR.pbo similarity index 100% rename from SMA_ACR.pbo rename to SMA/SMA_ACR.pbo diff --git a/SMA_AIMPOINT.pbo b/SMA/SMA_AIMPOINT.pbo similarity index 100% rename from SMA_AIMPOINT.pbo rename to SMA/SMA_AIMPOINT.pbo diff --git a/SMA_Bipod.pbo b/SMA/SMA_Bipod.pbo similarity index 100% rename from SMA_Bipod.pbo rename to SMA/SMA_Bipod.pbo diff --git a/SMA_ECLAN_C.pbo b/SMA/SMA_ECLAN_C.pbo similarity index 100% rename from SMA_ECLAN_C.pbo rename to SMA/SMA_ECLAN_C.pbo diff --git a/SMA_ELCAN.pbo b/SMA/SMA_ELCAN.pbo similarity index 100% rename from SMA_ELCAN.pbo rename to SMA/SMA_ELCAN.pbo diff --git a/SMA_ELCAN_ALTZOOM_C.pbo b/SMA/SMA_ELCAN_ALTZOOM_C.pbo similarity index 100% rename from SMA_ELCAN_ALTZOOM_C.pbo rename to SMA/SMA_ELCAN_ALTZOOM_C.pbo diff --git a/SMA_EOTECH_33.pbo b/SMA/SMA_EOTECH_33.pbo similarity index 100% rename from SMA_EOTECH_33.pbo rename to SMA/SMA_EOTECH_33.pbo diff --git a/SMA_EOTECH_552.pbo b/SMA/SMA_EOTECH_552.pbo similarity index 100% rename from SMA_EOTECH_552.pbo rename to SMA/SMA_EOTECH_552.pbo diff --git a/SMA_HK416.pbo b/SMA/SMA_HK416.pbo similarity index 100% rename from SMA_HK416.pbo rename to SMA/SMA_HK416.pbo diff --git a/SMA_HK417.pbo b/SMA/SMA_HK417.pbo similarity index 100% rename from SMA_HK417.pbo rename to SMA/SMA_HK417.pbo diff --git a/SMA_M4.pbo b/SMA/SMA_M4.pbo similarity index 100% rename from SMA_M4.pbo rename to SMA/SMA_M4.pbo diff --git a/SMA_MK18.pbo b/SMA/SMA_MK18.pbo similarity index 100% rename from SMA_MK18.pbo rename to SMA/SMA_MK18.pbo diff --git a/SMA_PEQ15.pbo b/SMA/SMA_PEQ15.pbo similarity index 100% rename from SMA_PEQ15.pbo rename to SMA/SMA_PEQ15.pbo diff --git a/SMA_RAILGUARD.pbo b/SMA/SMA_RAILGUARD.pbo similarity index 100% rename from SMA_RAILGUARD.pbo rename to SMA/SMA_RAILGUARD.pbo diff --git a/SMA_RECOIL.pbo b/SMA/SMA_RECOIL.pbo similarity index 100% rename from SMA_RECOIL.pbo rename to SMA/SMA_RECOIL.pbo diff --git a/SMA_RHS_Patch.pbo b/SMA/SMA_RHS_Patch.pbo similarity index 100% rename from SMA_RHS_Patch.pbo rename to SMA/SMA_RHS_Patch.pbo diff --git a/SMA_SOUND.pbo b/SMA/SMA_SOUND.pbo similarity index 100% rename from SMA_SOUND.pbo rename to SMA/SMA_SOUND.pbo diff --git a/SMA_vanilla_ammo.pbo b/SMA/SMA_vanilla_ammo.pbo similarity index 100% rename from SMA_vanilla_ammo.pbo rename to SMA/SMA_vanilla_ammo.pbo diff --git a/SMA_weapons.pbo b/SMA/SMA_weapons.pbo similarity index 100% rename from SMA_weapons.pbo rename to SMA/SMA_weapons.pbo diff --git a/scar_arma3.pbo b/SMA/scar_arma3.pbo similarity index 100% rename from scar_arma3.pbo rename to SMA/scar_arma3.pbo diff --git a/sma_aac_mpw.pbo b/SMA/sma_aac_mpw.pbo similarity index 100% rename from sma_aac_mpw.pbo rename to SMA/sma_aac_mpw.pbo diff --git a/sma_vortex_optics.pbo b/SMA/sma_vortex_optics.pbo similarity index 100% rename from sma_vortex_optics.pbo rename to SMA/sma_vortex_optics.pbo diff --git a/Turret Enhanced/README.md b/Turret Enhanced/README.md new file mode 100644 index 0000000..4063040 --- /dev/null +++ b/Turret Enhanced/README.md @@ -0,0 +1,4 @@ +Original Mod: +@Turret Enhanced + +Workshop [link](https://steamcommunity.com/workshop/filedetails/?id=1623498241) diff --git a/Turret_Enhanced.pbo b/Turret Enhanced/Turret_Enhanced.pbo similarity index 100% rename from Turret_Enhanced.pbo rename to Turret Enhanced/Turret_Enhanced.pbo diff --git a/ace/README.md b/ace/README.md new file mode 100644 index 0000000..2989236 --- /dev/null +++ b/ace/README.md @@ -0,0 +1,4 @@ +Original Mod: +@ace3 + +Workshop [link](https://steamcommunity.com/workshop/filedetails/?id=463939057) diff --git a/ace_particles.pbo b/ace/ace_particles.pbo similarity index 100% rename from ace_particles.pbo rename to ace/ace_particles.pbo diff --git a/model.cfg b/model.cfg deleted file mode 100644 index f790d3d..0000000 --- a/model.cfg +++ /dev/null @@ -1,10497 +0,0 @@ -#define BULLET_HIDE(x,from,count) class Bullet##x\ - {\ - type="hide";\ - source="revolving";\ - sourceAddress="mirror";\ - selection=bullet##x;\ - minValue=-1.000000;\ - maxValue= 0.000000;\ - hideValue=((count+x-from-2)/count)+0.00001;\ - }; -#define BULLET_HIDE_2nd(x,from,count) class Bullet_2##x\ - {\ - type="hide";\ - source="revolving_2";\ - sourceAddress="mirror";\ - selection=bullet##x##_2;\ - minValue=-1.000000;\ - maxValue= 0.000000;\ - hideValue=((count+x-from-2)/count)+0.00001;\ - }; -#define BULLET_HIDE_3rd(x,from,count) class Bullet_3##x\ - {\ - type="hide";\ - source="revolving_3";\ - sourceAddress="mirror";\ - selection=bullet##x##_3;\ - minValue=-1.000000;\ - maxValue= 0.000000;\ - hideValue=((count+x-from-2)/count)+0.00001;\ - }; - -#define ADD_COMPONENT(component) \ - class Add##component \ - { \ - selection = z_##component; \ - source = Add##component; \ - type = hide; \ - sourceAddress = mirror; \ - minValue = -1; \ - maxValue = 0; \ - hideValue = 0.5; \ - }; - -class CfgSkeletons -{ - class Default - { - isDiscrete = 1; - skeletonInherit = ""; - skeletonBones[] = {}; - }; - class Vehicle : Default {}; - class ej_Helicopter: Vehicle - { - skeletonInherit="Vehicle"; - skeletonBones[]= - { - "velka vrtule dive","", - "mala vrtule dive","", - "main rotor", "velka vrtule dive", - "tail rotor", "mala vrtule dive", - "otocvez","", - "otochlaven","otocvez", - "alt","", - "alt2","", - "nm_alt","", - "nm_alt2","", - "SlingLoad","", - "mph","", - "mph2","", - "vert_speed","", - "vert_speed2","", - "rpm","", - "rpm2","", - "horizont","", - "horizont2","", - "compass","", - "compass2","", - "hodinova","", - "hodinova2","", - "minutova","", - "minutova2","", - "damageHide","", - "Lights_green","", - "positionlights","", - "gear_1","", - "gear_2","", - "gear_3","", - }; - }; - class ej_UH60M_skeleton: ej_Helicopter - { - skeletonInherit="ej_Helicopter"; - isDiscrete=0; - skeletonBones[]= - { - "gear_1","", - "gear_2","", - "gear_3","", - "door1","", - "door2","", - "stick_pilot","", - "stick_copilot","", - "lever_pilot","", - "lever_copilot","", - "throttle_pilot","lever_pilot", - "throttle_switch_pilot","lever_pilot", - "display_off","", - "horizont1_bank","", - "horizont1_pitch","", - "horizont2pilot","", - "horizont2pilot_b","", - "horizont3stred","", - "horizont3stred_b","", - "fuel","", - "elevator","", - "displays","", - "compass3","", - "compass4","", - "otocvez_1","", - "otochlaven_1","otocvez_1", - "gatling_2","otochlaven_1", - "gatling_1","otochlaven", - "turret","", - "gun","turret", - "rocketB1","", - "rocketB2","", - "rocketB3","", - "rocketB4","", - "rocketB5","", - "rocketB6","", - "rocketB7","", - "rocketB8","", - "rocketB9","", - "rocketB10","", - "rocketB11","", - "rocketB12","", - "rocketB13","", - "rocketB14","", - "rocketB15","", - "rocketB16","", - "rocketB17","", - "rocketB18","", - "rocketB19","", - "rocketB20","", - "rocketB21","", - "rocketB22","", - "rocketB23","", - "rocketB24","", - "HF1","", - "HF2","", - "HF3","", - "HF4","", - "HF5","", - "HF6","", - "HF7","", - "HF8","", - "HF9","", - "HF10","", - "HF11","", - "HF12","", - "HF13","", - "HF14","", - "HF15","", - "HF16","", - "OtocHlavne","", - "muzzleFlash","", - "Civilian_hide","", - "PositionLights","", - "copip","", - "copip1","", - "copip2","", - "main_trav","", - "main_elev","main_trav", - "tads_trav","", - "tads_elev","tads_trav", - "pnvs_trav","", - }; - }; -}; -class Rotation -{ - type = "rotation"; - memory = 1; - minValue = 0; - maxValue = 1; - angle0 = 0; - angle1 = 1; -}; -class CfgModels -{ - class Default - { - sectionsInherit=""; - sections[] = {}; - skeletonName = ""; - }; - class Vehicle: Default - { - sections[] = - { - "cislo", - "grupa", - "side", - "sektor", - "clan", - "clan_sign", - "podsvit pristroju", - "poskozeni", - "L svetlo", - "P svetlo", - "zasleh" - }; - }; - class ej_Helicopter: Vehicle - { - - htMin = 60; // Minimum half-cooling time (in seconds) - htMax = 1800; // Maximum half-cooling time (in seconds) - afMax = 200; // Maximum temperature in case the model is alive (in celsius) - mfMax = 100; // Maximum temperature when the model is moving (in celsius) - mFact = 0; // Metabolism factor - number from interval <0, 1> (0 - metabolism has no influence, 1 - metabolism has full influence (no other temperature source will be considered)). - tBody = 0; // Metabolism temperature of the model (in celsius) - - sectionsInherit="Vehicle"; - sections[]= - { - "gear1", - "gear2", - "gear3", - "sklo predni p", - "sklo predni l", - "main rotor blur", - "main rotor static", - "tail rotor blur", - "tail rotor static", - "zasleh_1", - "motor", - "elektronika", - "munice", - "zbran", - "vez", - "trup", - "clan", - "clan_sign", - "glass1", - "glass2", - "glass3", - "glass4", - "glass5", - "glass6", - "podsvit pristroju", - "camo1", - "camo2", - "camo3", - }; - skeletonName="ej_Helicopter"; - class Animations - { - class Rotor_destructX - { - type="rotationX"; - source="damage"; - selection="main rotor"; - axis="velka osa"; - animPeriod=0; - minValue=0.99; - maxValue=1; - angle0=0; - angle1="rad -20"; - }; - class Rotor_destructY:Rotor_destructX - { - type="rotationY"; - angle1="rad +40"; - }; - class rotordive_destructX:Rotor_destructX - { - selection="rotordive"; - angle1="rad -5"; - }; - class rotordive_destructY:rotordive_destructX - { - type="rotationY"; - angle1="rad -15"; - }; - class rotordive_destructZ:rotordive_destructX - { - type="rotationZ"; - angle1="rad -5"; - }; - class rotor_static_dive_destructX:Rotor_destructX - { - selection="rotor static dive"; - angle1="rad 5"; - }; - class rotor_static_dive_destructY:rotor_static_dive_destructX - { - type="rotationY"; - angle1="rad -15"; - }; - class rotor_static_dive_destructZ:rotor_static_dive_destructX - { - type="rotationZ"; - angle1="rad -5"; - }; - class mala_vrtule_destructY:Rotor_destructX - { - type="rotationY"; - axis="mala osa"; - selection="tail rotor"; - angle1="rad 10"; - }; - class mala_vrtule_destructZ:mala_vrtule_destructY - { - type="rotationZ"; - angle1="rad 25"; - }; - // destruct BASE END - - class damageHide - { - type="hide"; - source="damage"; - selection="damageHide"; - }; - class IndicatorAltBaro: Rotation - { - source="altBaro"; - sourceAddress="loop"; - selection="alt"; - axis="axis_alt"; - memory=0; - maxValue=360; - angle1="rad 360"; - }; - class IndicatorAltBaro2: IndicatorAltBaro - { - selection="alt2"; - axis="axis_alt2"; - }; - class IndicatorAltRadar: Rotation - { - source="altRadar"; - selection="nm_alt"; - axis="axis_nm_alt"; - memory="false"; - maxValue=61; - angle1="rad 360"; - }; - class IndicatorAltRadar2: IndicatorAltRadar - { - selection="nm_alt2"; - axis="axis_nm_alt2"; - }; - class IndicatorSpeed: Rotation - { - source="speed"; - selection="mph"; - axis="axis_mph"; - memory="false"; - maxValue=125; - angle1="rad 320"; - }; - class IndicatorSpeed2: IndicatorSpeed - { - selection="mph2"; - axis="axis_mph2"; - }; - class gear1 - { - type="rotation"; - source="altSurface"; - selection="gear_1"; - axis="wheel_1_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - angle0=0; - angle1=-0.4; - }; - class gear2 - { - type="translation"; - source="altSurface"; - selection="gear_2"; - axis="wheel_2_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - class gear3 - { - type="translation"; - source="altSurface"; - selection="gear_3"; - axis="wheel_3_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - class IndicatorVertSpeed: Rotation - { - source="vertSpeed"; - selection="vert_speed"; - axis="axis_vert_speed"; - minValue=-30; - maxValue=30; - angle1="rad 274"; - }; - class IndicatorVertSpeed2: IndicatorVertSpeed - { - selection="vert_speed2"; - axis="axis_vert_speed2"; - }; - class IndicatorRPM: Rotation - { - source="rpm"; - selection="rpm"; - axis="axis_rpm"; - memory="false"; - maxValue=-12; - angle1="rad 260"; - }; - class IndicatorRPM2: IndicatorRPM - { - selection="rpm2"; - axis="axis_rpm2"; - }; - class IndicatorCompass: Rotation - { - source="direction"; - selection="compass"; - axis="axis_compass"; - memory="false"; - minValue=-3.141593; - maxValue=3.141593; - angle1="rad -360"; - }; - class IndicatorCompass2: IndicatorCompass - { - selection="compass2"; - axis="axis_compass2"; - }; - class WatchHour: Rotation - { - source="clockHour"; - selection="hodinova"; - axis="axis_time"; - memory="false"; - angle1="rad -360"; - }; - class WatchHour2: WatchHour - { - selection="hodinova2"; - axis="axis_time2"; - }; - class WatchMinute: Rotation - { - source="clockMinute"; - selection="minutova"; - axis="axis_time"; - memory="false"; - angle1="rad -360"; - }; - class WatchMinute2: WatchMinute - { - selection="minutova2"; - axis="axis_time2"; - }; - class HRotor: Rotation - { - source="rotorH"; - selection="main rotor"; - axis="velka osa"; - angle1="2 * 3.1415926536"; - }; - class VRotor: Rotation - { - source="rotorV"; - selection="tail rotor"; - axis="mala osa"; - angle1="2 * 3.1415926536"; - }; - class HorizonBank - { - type="rotationZ"; - source="horizonBank"; - selection="horizont"; - axis="axis_horizont"; - memory="false"; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class HorizonDive - { - type="rotationX"; - source="horizonDive"; - selection="horizont"; - axis="axis_horizont"; - memory=0; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizon2Bank: HorizonBank - { - selection="horizont2"; - axis="axis_horizont2"; - }; - class Horizon2Dive: HorizonDive - { - selection="horizont2"; - axis="axis_horizont2"; - }; - }; - }; - - class ej_UH60M: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_Helicopter"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint" - }; - class Animations: Animations - { - //------------------------------------- BUDIKY -------------------------------------- - class display_on - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.8; - maxValue=0.2; - hidevalue=0.9; - sourceAddress="clamp"; - }; - class display_off - { - type="hide"; - source="rpm"; - selection="PilotMFD"; - minValue=-0.8; - maxValue=0.2; - hidevalue=0.9; - sourceAddress="clamp"; - }; - class Horizont1_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont1_bank"; - axis="axis_horizont1_bank"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad +360"; - angle1="rad -360"; - }; - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont_1"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont_1b"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1= 180; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad 235"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad 235"; - }; - - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont_2"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont_2"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont_2b"; - }; - - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - class door1 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="LDoor"; - selection="door1"; - offset0=0; - offset1=1.00; - minValue=0; - maxValue=0.05; - }; - class door1_posunZ: door1 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class door2 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="RDoor"; - selection="door2"; - offset0=0; - offset1=1.0; - minValue=0; - maxValue=-0.05; - }; - class door2_posunZ: door2 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - class PositionLights - { - type = hide; - source = collisionLights; - selection = "PositionLights"; - minValue = 0.0; - maxValue = 1.0; - hideValue = 0.0; - unHideValue = 0.5; - }; - class CollisionLight_Red_blinking: PositionLights - { - source = CollisionLightRed_source; - selection = "CollisionLight_Red"; - }; - class CollisionLight_White_blinking: PositionLights - { - source = CollisionLightWhite_source; - selection = "CollisionLight_White"; - }; - //------------------------------------- GUN -------------------------------------- - class MainTurret - { - type="rotationY"; - source="mainTurret"; - selection="OtocVez"; - axis="OsaVeze"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class MainGun: MainTurret - { - type="rotationX"; - source="mainGun"; - selection="OtocHlaven"; - axis="OsaHlavne"; - }; - class Turret_2: MainTurret - { - source="Turret_2"; - selection="OtocVez_1"; - axis="OsaVeze_1"; - }; - class Gun_2: MainGun - { - source="Gun_2"; - selection="OtocHlaven_1"; - axis="OsaHlavne_1"; - }; - /*class MachineGun_1: Rotation - { - selection="gatling_1"; - axis="gatling_1_axis"; - angle1="-600 * 3.141592654"; - source="Gatling_1"; - }; - class MachineGun_2: MachineGun_1 - { - selection="gatling_2"; - axis="gatling_2_axis"; - source="Gatling_2"; - };*/ - class otocvez_damage:damageHide - { - selection="otocvez"; - }; - class otocvez_1_damage: otocvez_damage - { - selection="otocvez_1"; - }; - class wheel_front_Damper - { - type = "translation"; - source = "altRadar"; - selection = "wheel_front"; - axis = "damper_axis"; - memory = 1; - minValue = 0; - maxValue = 0.10; - offset0 = 0.00; - offset1 = -0.10; - }; - class wheel_left_Damper: wheel_front_Damper - { - selection = "wheel_left"; - }; - class wheel_right_Damper: wheel_front_Damper - { - selection = "wheel_right"; - }; - class muzzleFlashROT - { - type="rotationZ"; - source="Cannon_End"; //use ammo count as phase for animation - sourceAddress="loop"; //loop when phase out of bounds - selection="muzzleFlash"; //selection we want to rotate - axis=""; //no own axis - center of rotation is computed from selection - centerFirstVertex=true; //use first vertex of selection as center of rotation - minValue=0; - maxValue=4; //rotation angle will be 360/4 = 90 degrees - angle0="rad 0"; - angle1="rad 360"; - }; - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - class ammo_belt_rotation - { - type="rotation"; - selection="ammo_belt"; - source="ReloadAnim"; - axis="ammo_belt_axis"; - memory=1; - sourceAddress="loop"; - minValue=0; - maxValue=1; - angle0=0.000000; - angle1=7.5*3.14159265358/180; - }; - class feedtray_cover_up - { - type="rotation"; - source="reloadMagazine"; - selection="feedtray_cover"; - axis="feedtray_cover_axis"; - memory=1; - minValue=0.000000; - maxValue=0.0500000; - angle0=0.000000; - angle1=1.570796; - }; - class feedtray_cover_down:feedtray_cover_up - { - minValue=0.950000; - maxValue=1.000000; - angle0=0.000000; - angle1=-1.570796; - }; - class Turret_shake:ammo_belt_rotation - { - type="translation"; - sourceAddress="mirror"; - selection="OtocHlaven_Shake"; - axis="osaveze"; - offset0=0; - offset1=-0.002; - minValue=0.0; - maxValue=0.05; - }; - class Turret_shake_aside:Turret_shake - { - axis="osahlavne"; - maxValue=0.05*1.3; - offset0=0; - offset1=-0.02; - }; - class Magazine_hide - { - type="hide"; - source="reloadMagazine"; - sourceAddress="mirror"; - selection="magazine"; - minValue=0.0; - maxValue=0.5; - hideValue=0.56; - }; - BULLET_HIDE(001,8,100) - BULLET_HIDE(002,8,100) - BULLET_HIDE(003,8,100) - BULLET_HIDE(004,8,100) - BULLET_HIDE(005,8,100) - BULLET_HIDE(006,8,100) - BULLET_HIDE(007,8,100) - BULLET_HIDE(008,8,100) - class Bolt_recoil - { - type="translation"; - selection="bolt"; - source="ReloadAnim"; - axis="recoil_axis"; - memory=1; - sourceAddress="mirror"; - minValue=0; - maxValue=0.45; - offset0=0; - offset1=-0.2; - }; - class Bolt_reload_begin:Bolt_recoil - { - type="translation"; - sourceAddress="clamp"; - source="reloadMagazine"; - minValue=0.00000; - maxValue=0.0200000; - }; - class Bolt_reload_end:bolt_reload_begin - { - minValue=0.050000; - maxValue=0.060000; - offset0=0; - offset1=0.2; - }; - - class ammo_belt_rotation_2 - { - type="rotation"; - selection="ammo_belt_2"; - source="ReloadAnim_2"; - axis="ammo_belt_axis_2"; - memory=1; - sourceAddress="loop"; - minValue=0; - maxValue=1; - angle0=0.000000; - angle1=7.5*3.14159265358/180; - }; - class feedtray_cover_up_2 - { - type="rotation"; - source="reloadMagazine_2"; - selection="feedtray_cover_2"; - axis="feedtray_cover_axis_2"; - memory=1; - minValue=0.000000; - maxValue=0.0500000; - angle0=0.000000; - angle1=1.570796; - }; - class feedtray_cover_down_2:feedtray_cover_up_2 - { - minValue=0.950000; - maxValue=1.000000; - angle0=0.000000; - angle1=-1.570796; - }; - class Turret_shake_2:ammo_belt_rotation_2 - { - type="translation"; - sourceAddress="mirror"; - selection="OtocHlaven_1_Shake"; - axis="osaveze"; - offset0=0; - offset1=-0.002; - minValue=0.0; - maxValue=0.05; - }; - class Turret_shake_aside_2:Turret_shake_2 - { - axis="osahlavne_1"; - maxValue=0.05*1.3; - offset0=0; - offset1=-0.02; - }; - class Magazine_hide_2 - { - type="hide"; - source="reloadMagazine_2"; - sourceAddress="mirror"; - selection="magazine_2"; - minValue=0.0; - maxValue=0.5; - hideValue=0.56; - }; - BULLET_HIDE_2nd(001,8,100) - BULLET_HIDE_2nd(002,8,100) - BULLET_HIDE_2nd(003,8,100) - BULLET_HIDE_2nd(004,8,100) - BULLET_HIDE_2nd(005,8,100) - BULLET_HIDE_2nd(006,8,100) - BULLET_HIDE_2nd(007,8,100) - BULLET_HIDE_2nd(008,8,100) - class Bolt_recoil_2 - { - type="translation"; - selection="bolt_2"; - source="ReloadAnim_2"; - axis="recoil_axis_2"; - memory=1; - sourceAddress="mirror"; - minValue=0; - maxValue=0.45; - offset0=0; - offset1=-0.2; - }; - class Bolt_reload_begin_2:Bolt_recoil_2 - { - type="translation"; - sourceAddress="clamp"; - source="reloadMagazine_2"; - minValue=0.00000; - maxValue=0.0200000; - }; - class Bolt_reload_end_2:bolt_reload_begin_2 - { - minValue=0.050000; - maxValue=0.060000; - offset0=0; - offset1=0.2; - }; - }; - - }; - class ej_MH60S: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_Helicopter"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint", - }; - class Animations: Animations - { - //------------------------------------- BUDIKY -------------------------------------- - class display_on //hides display_off selection - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.8; - maxValue=0.2; - hidevalue=0.9; - sourceAddress="clamp"; - }; - - class Horizont1_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont1_bank"; - axis="axis_horizont1_bank"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad +360"; - angle1="rad -360"; - }; - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class gear1 - { - type="rotation"; - source="altSurface"; - selection="gear1"; - axis="gear1_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - angle0=0; - angle1=-0.4; - }; - class gear2 - { - type="translation"; - source="altSurface"; - selection="gear2"; - axis="gear2_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont2pilot"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont2pilot"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont3stred"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont3stred"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont3stred_b"; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1= 180; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad 235"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad 235"; - }; - class wheel_front_Damper - { - type = "translation"; - source = "altRadar"; - selection = "wheel_front"; - axis = "damper_axis"; - memory = 1; - minValue = 0; - maxValue = 0.10; - offset0 = 0.00; - offset1 = -0.10; - }; - class wheel_left_Damper: wheel_front_Damper - { - selection = "wheel_left"; - }; - class wheel_right_Damper: wheel_front_Damper - { - selection = "wheel_right"; - }; - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class FWheel - { - type="rotation"; - source="gear"; - selection="predni kolo"; - axis="osa predniho kola"; - minValue=-1; - maxValue=1; - angle0="rad -104.4"; - angle1="rad 104.4"; - }; - class LWheel: FWheel - { - selection="levy kolo"; - axis="osa leveho kola"; - angle0="rad -81"; - angle1="rad 81"; - }; - class RWheel: LWheel - { - selection="pravy kolo"; - axis="osa praveho kola"; - }; - class FWheelRot - { - type="rotationX"; - source="wheel"; - selection="predni kolo rot"; - axis="predni kolo rot"; - memory="false"; - minValue=0; - maxValue=2; - sourceAddress="loop"; - angle0=0; - angle1="-rad 360"; - }; - class LWheelRot: FWheelRot - { - selection="levy kolo rot"; - axis="levy kolo rot"; - minValue=0; - maxValue=2.300000; - }; - class RWheelRot: LWheelRot - { - selection="pravy kolo rot"; - axis="pravy kolo rot"; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - - //------------------------------------- BUDIKY END -------------------------------------- - - class door1 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="LDoor"; - selection="door1"; - offset0=0; - offset1=1.00; - minValue=0; - maxValue=0.05; - }; - class door1_posunZ: door1 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class door2 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="RDoor"; - selection="door2"; - offset0=0; - offset1=1.0; - minValue=0; - maxValue=-0.05; - }; - class door2_posunZ: door2 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - class PositionLights - { - type = hide; - source = collisionLights; - selection = "PositionLights"; - minValue = 0.0; - maxValue = 1.0; - hideValue = 0.0; - unHideValue = 0.5; - }; - class CollisionLight_Red_blinking: PositionLights - { - source = CollisionLightRed_source; - selection = "CollisionLight_Red"; - }; - class CollisionLight_White_blinking: PositionLights - { - source = CollisionLightWhite_source; - selection = "CollisionLight_White"; - }; - //------------------------------------- GUN -------------------------------------- - class MainTurret - { - type="rotationY"; - source="mainTurret"; - selection="OtocVez"; - axis="OsaVeze"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class MainGun: MainTurret - { - type="rotationX"; - source="mainGun"; - selection="OtocHlaven"; - axis="OsaHlavne"; - }; - class Turret_2: MainTurret - { - source="Turret_2"; - selection="OtocVez_1"; - axis="OsaVeze_1"; - }; - class Gun_2: MainGun - { - source="Gun_2"; - selection="OtocHlaven_1"; - axis="OsaHlavne_1"; - }; - /*class MachineGun_1: Rotation - { - selection="gatling_1"; - axis="gatling_1_axis"; - angle1="-600 * 3.141592654"; - source="Gatling_1"; - }; - class MachineGun_2: MachineGun_1 - { - selection="gatling_2"; - axis="gatling_2_axis"; - source="Gatling_2"; - };*/ - class otocvez_damage:damageHide - { - selection="otocvez"; - }; - class otocvez_1_damage: otocvez_damage - { - selection="otocvez_1"; - }; - class muzzleFlashROT - { - type="rotationZ"; - source="Cannon_End"; //use ammo count as phase for animation - sourceAddress="loop"; //loop when phase out of bounds - selection="muzzleFlash"; //selection we want to rotate - axis=""; //no own axis - center of rotation is computed from selection - centerFirstVertex=true; //use first vertex of selection as center of rotation - minValue=0; - maxValue=4; //rotation angle will be 360/4 = 90 degrees - angle0="rad 0"; - angle1="rad 360"; - }; - -///*** movement of pilot and copilot sticks ***/// - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - }; - }; - class ej_MH60SI: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_Helicopter"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint", - }; - class Animations: Animations - { - //------------------------------------- BUDIKY -------------------------------------- - class display_on //hides display_off selection - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.8; - maxValue=0.2; - hidevalue=0.9; - sourceAddress="clamp"; - }; - - class Horizont1_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont1_bank"; - axis="axis_horizont1_bank"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad +360"; - angle1="rad -360"; - }; - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont2pilot"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont2pilot"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad (-360)"; - angle1="rad (+360)"; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1= 180; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad 235"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad 235"; - }; - - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont3stred"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont3stred"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont3stred_b"; - }; - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class gear1 - { - type="rotation"; - source="altSurface"; - selection="gear1"; - axis="gear1_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - angle0=0; - angle1=-0.4; - }; - class gear2 - { - type="translation"; - source="altSurface"; - selection="gear2"; - axis="gear2_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - - //------------------------------------- BUDIKY END -------------------------------------- - class FWheel - { - type="rotation"; - source="gear"; - selection="predni kolo"; - axis="osa predniho kola"; - minValue=-1; - maxValue=1; - angle0="rad -104.4"; - angle1="rad 104.4"; - }; - class LWheel: FWheel - { - selection="levy kolo"; - axis="osa leveho kola"; - angle0="rad -81"; - angle1="rad 81"; - }; - class RWheel: LWheel - { - selection="pravy kolo"; - axis="osa praveho kola"; - }; - class FWheelRot - { - type="rotationX"; - source="wheel"; - selection="predni kolo rot"; - axis="predni kolo rot"; - memory="false"; - minValue=0; - maxValue=2; - sourceAddress="loop"; - angle0=0; - angle1="-rad 360"; - }; - class LWheelRot: FWheelRot - { - selection="levy kolo rot"; - axis="levy kolo rot"; - minValue=0; - maxValue=2.300000; - }; - class RWheelRot: LWheelRot - { - selection="pravy kolo rot"; - axis="pravy kolo rot"; - }; - class door1 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="LDoor"; - selection="door1"; - offset0=0; - offset1=1.00; - minValue=0; - maxValue=0.05; - }; - class door1_posunZ: door1 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class door2 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="RDoor"; - selection="door2"; - offset0=0; - offset1=1.0; - minValue=0; - maxValue=-0.05; - }; - class door2_posunZ: door2 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - class PositionLights - { - type = hide; - source = collisionLights; - selection = "PositionLights"; - minValue = 0.0; - maxValue = 1.0; - hideValue = 0.0; - unHideValue = 0.5; - }; - class CollisionLight_Red_blinking: PositionLights - { - source = CollisionLightRed_source; - selection = "CollisionLight_Red"; - }; - class CollisionLight_White_blinking: PositionLights - { - source = CollisionLightWhite_source; - selection = "CollisionLight_White"; - }; - //------------------------------------- GUN -------------------------------------- - class MainTurret - { - type="rotationY"; - source="mainTurret"; - selection="OtocVez"; - axis="OsaVeze"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class MainGun: MainTurret - { - type="rotationX"; - source="mainGun"; - selection="OtocHlaven"; - axis="OsaHlavne"; - }; - class Turret_2: MainTurret - { - source="Turret_2"; - selection="OtocVez_1"; - axis="OsaVeze_1"; - }; - class Gun_2: MainGun - { - source="Gun_2"; - selection="OtocHlaven_1"; - axis="OsaHlavne_1"; - }; - /*class MachineGun_1: Rotation - { - selection="gatling_1"; - axis="gatling_1_axis"; - angle1="-600 * 3.141592654"; - source="Gatling_1"; - }; - class MachineGun_2: MachineGun_1 - { - selection="gatling_2"; - axis="gatling_2_axis"; - source="Gatling_2"; - };*/ - class otocvez_damage:damageHide - { - selection="otocvez"; - }; - class otocvez_1_damage: otocvez_damage - { - selection="otocvez_1"; - }; - class muzzleFlashROT - { - type="rotationZ"; - source="Cannon_End"; //use ammo count as phase for animation - sourceAddress="loop"; //loop when phase out of bounds - selection="muzzleFlash"; //selection we want to rotate - axis=""; //no own axis - center of rotation is computed from selection - centerFirstVertex=true; //use first vertex of selection as center of rotation - minValue=0; - maxValue=4; //rotation angle will be 360/4 = 90 degrees - angle0="rad 0"; - angle1="rad 360"; - }; - -///*** movement of pilot and copilot sticks ***/// - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - }; - }; - class ej_MH60SI2: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_Helicopter"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint", - }; - class Animations: Animations - { - class display_on //hides display_off selection - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.8; - maxValue=0.2; - hidevalue=0.9; - sourceAddress="clamp"; - }; - - class Horizont1_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont1_bank"; - axis="axis_horizont1_bank"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad +360"; - angle1="rad -360"; - }; - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont2pilot"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont2pilot"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont3stred"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont3stred"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont3stred_b"; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1= 180; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad 235"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad 235"; - }; - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - - //------------------------------------- BUDIKY END -------------------------------------- - - class door1 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="LDoor"; - selection="door1"; - offset0=0; - offset1=1.00; - minValue=0; - maxValue=0.05; - }; - class door1_posunZ: door1 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class door2 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="RDoor"; - selection="door2"; - offset0=0; - offset1=1.0; - minValue=0; - maxValue=-0.05; - }; - class door2_posunZ: door2 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - class PositionLights - { - type = hide; - source = collisionLights; - selection = "PositionLights"; - minValue = 0.0; - maxValue = 1.0; - hideValue = 0.0; - unHideValue = 0.5; - }; - class CollisionLight_Red_blinking: PositionLights - { - source = CollisionLightRed_source; - selection = "CollisionLight_Red"; - }; - class CollisionLight_White_blinking: PositionLights - { - source = CollisionLightWhite_source; - selection = "CollisionLight_White"; - }; - class MainTurret - { - type="rotationY"; - source="mainTurret"; - selection="OtocVez"; - axis="OsaVeze"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class MainGun: MainTurret - { - type="rotationX"; - source="mainGun"; - selection="OtocHlaven"; - axis="OsaHlavne"; - }; - class Turret_2: MainTurret - { - source="Turret_2"; - selection="OtocVez_1"; - axis="OsaVeze_1"; - }; - class Gun_2: MainGun - { - source="Gun_2"; - selection="OtocHlaven_1"; - axis="OsaHlavne_1"; - }; - /*class MachineGun_1: Rotation - { - selection="gatling_1"; - axis="gatling_1_axis"; - angle1="-600 * 3.141592654"; - source="Gatling_1"; - }; - class MachineGun_2: MachineGun_1 - { - selection="gatling_2"; - axis="gatling_2_axis"; - source="Gatling_2"; - };*/ - class otocvez_damage:damageHide - { - selection="otocvez"; - }; - class otocvez_1_damage: otocvez_damage - { - selection="otocvez_1"; - }; - class gear1 - { - type="rotation"; - source="altSurface"; - selection="gear1"; - axis="gear1_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - angle0=0; - angle1=-0.4; - }; - class gear2 - { - type="translation"; - source="altSurface"; - selection="gear2"; - axis="gear2_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - class muzzleFlashROT - { - type="rotationZ"; - source="Cannon_End"; - sourceAddress="loop"; - selection="muzzleFlash"; - axis=""; - centerFirstVertex=true; - minValue=0; - maxValue=4; - angle0="rad 0"; - angle1="rad 360"; - }; - class hidePG_1 - { - type = "hide"; - selection = "rocketB1"; - animPeriod=0; - source="Missiles_revolving"; - sourceAddress="mirror"; - minValue=-1.000000; - maxValue= 0.000000; - hideValue=(11/12)+0.0000001; - }; - class hidePG_2: hidePG_1 - { - selection = "rocketB2"; - hideValue=(10/12)+0.0000001; - }; - class hidePG_3: hidePG_1 - { - selection = "rocketB3"; - hideValue=(9/12)+0.0000001; - }; - class hidePG_4: hidePG_1 - { - selection = "rocketB4"; - hideValue=(8/12)+0.0000001; - }; - class hidePG_5: hidePG_1 - { - selection = "rocketB5"; - hideValue=(7/12)+0.0000001; - }; - class hidePG_6: hidePG_1 - { - selection = "rocketB6"; - hideValue=(6/12)+0.0000001; - }; - class hidePG_7: hidePG_1 - { - selection = "rocketB7"; - hideValue=(5/12)+0.0000001; - }; - class hidePG_8: hidePG_1 - { - selection = "rocketB8"; - hideValue=(4/12)+0.0000001; - }; - class hidePG_9: hidePG_1 - { - selection = "rocketB9"; - hideValue=(3/12)+0.0000001; - }; - class hidePG_10: hidePG_1 - { - selection = "rocketB10"; - hideValue=(2/12)+0.0000001; - }; - class hidePG_11: hidePG_1 - { - selection = "rocketB11"; - hideValue=(1/12)+0.0000001; - }; - class hidePG_12: hidePG_1 - { - selection = "rocketB12"; - hideValue=(0/12)+0.0000001; - }; - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - class ObsTurret - { - type="rotationY"; - source="ObsTurret"; - selection="turret"; - axis="turret_axis"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class ObsGun:ObsTurret - { - type="rotationX"; - source="ObsGun"; - selection="gun"; - axis="gun_axis"; - }; - }; - }; - class ej_MH60SI3: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_Helicopter"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint", - }; - class Animations: Animations - { - class display_on //hides display_off selection - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.8; - maxValue=0.2; - hidevalue=0.9; - sourceAddress="clamp"; - }; - - class Horizont1_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont1_bank"; - axis="axis_horizont1_bank"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad +360"; - angle1="rad -360"; - }; - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont2pilot"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont2pilot"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont3stred"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont3stred"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont3stred_b"; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1= 180; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad 235"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad 235"; - }; - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - - //------------------------------------- BUDIKY END -------------------------------------- - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - class PositionLights - { - type = hide; - source = collisionLights; - selection = "PositionLights"; - minValue = 0.0; - maxValue = 1.0; - hideValue = 0.0; - unHideValue = 0.5; - }; - class CollisionLight_Red_blinking: PositionLights - { - source = CollisionLightRed_source; - selection = "CollisionLight_Red"; - }; - class CollisionLight_White_blinking: PositionLights - { - source = CollisionLightWhite_source; - selection = "CollisionLight_White"; - }; - class MainTurret - { - type="rotationY"; - source="mainTurret"; - selection="OtocVez"; - axis="OsaVeze"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class MainGun: MainTurret - { - type="rotationX"; - source="mainGun"; - selection="OtocHlaven"; - axis="OsaHlavne"; - }; - class Turret_2: MainTurret - { - source="Turret_2"; - selection="OtocVez_1"; - axis="OsaVeze_1"; - }; - class Gun_2: MainGun - { - source="Gun_2"; - selection="OtocHlaven_1"; - axis="OsaHlavne_1"; - }; - /*class MachineGun_1: Rotation - { - selection="gatling_1"; - axis="gatling_1_axis"; - angle1="-600 * 3.141592654"; - source="Gatling_1"; - }; - class MachineGun_2: MachineGun_1 - { - selection="gatling_2"; - axis="gatling_2_axis"; - source="Gatling_2"; - };*/ - class otocvez_damage:damageHide - { - selection="otocvez"; - }; - class otocvez_1_damage: otocvez_damage - { - selection="otocvez_1"; - }; - class gear1 - { - type="rotation"; - source="altSurface"; - selection="gear1"; - axis="gear1_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - angle0=0; - angle1=-0.4; - }; - class gear2 - { - type="translation"; - source="altSurface"; - selection="gear2"; - axis="gear2_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - class muzzleFlashROT - { - type="rotationZ"; - source="Cannon_End"; - sourceAddress="loop"; - selection="muzzleFlash"; - axis=""; - centerFirstVertex=true; - minValue=0; - maxValue=4; - angle0="rad 0"; - angle1="rad 360"; - }; - - class hidePG_1 - { - type = "hide"; - selection = "rocketB1"; - animPeriod=0; - source="Missiles_revolving"; - sourceAddress="mirror"; - minValue=-1.000000; - maxValue= 0.000000; - hideValue=(11/12)+0.0000001; - }; - class hidePG_2: hidePG_1 - { - selection = "rocketB2"; - hideValue=(10/12)+0.0000001; - }; - class hidePG_3: hidePG_1 - { - selection = "rocketB3"; - hideValue=(9/12)+0.0000001; - }; - class hidePG_4: hidePG_1 - { - selection = "rocketB4"; - hideValue=(8/12)+0.0000001; - }; - class hidePG_5: hidePG_1 - { - selection = "rocketB5"; - hideValue=(7/12)+0.0000001; - }; - class hidePG_6: hidePG_1 - { - selection = "rocketB6"; - hideValue=(6/12)+0.0000001; - }; - class hidePG_7: hidePG_1 - { - selection = "rocketB7"; - hideValue=(5/12)+0.0000001; - }; - class hidePG_8: hidePG_1 - { - selection = "rocketB8"; - hideValue=(4/12)+0.0000001; - }; - class hidePG_9: hidePG_1 - { - selection = "rocketB9"; - hideValue=(3/12)+0.0000001; - }; - class hidePG_10: hidePG_1 - { - selection = "rocketB10"; - hideValue=(2/12)+0.0000001; - }; - class hidePG_11: hidePG_1 - { - selection = "rocketB11"; - hideValue=(1/12)+0.0000001; - }; - class hidePG_12: hidePG_1 - { - selection = "rocketB12"; - hideValue=(0/12)+0.0000001; - }; - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - class ObsTurret - { - type="rotationY"; - source="ObsTurret"; - selection="turret"; - axis="turret_axis"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class ObsGun:ObsTurret - { - type="rotationX"; - source="ObsGun"; - selection="gun"; - axis="gun_axis"; - }; - }; - }; - class ej_MH60SI4: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_Helicopter"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint", - }; - class Animations: Animations - { - class display_on //hides display_off selection - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.8; - maxValue=0.2; - hidevalue=0.9; - sourceAddress="clamp"; - }; - - class Horizont1_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont1_bank"; - axis="axis_horizont1_bank"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad +360"; - angle1="rad -360"; - }; - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont2pilot"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont2pilot"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont3stred"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont3stred"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont3stred_b"; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1= 180; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad 235"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad 235"; - }; - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - - //------------------------------------- BUDIKY END -------------------------------------- - - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - class PositionLights - { - type = hide; - source = collisionLights; - selection = "PositionLights"; - minValue = 0.0; - maxValue = 1.0; - hideValue = 0.0; - unHideValue = 0.5; - }; - class CollisionLight_Red_blinking: PositionLights - { - source = CollisionLightRed_source; - selection = "CollisionLight_Red"; - }; - class CollisionLight_White_blinking: PositionLights - { - source = CollisionLightWhite_source; - selection = "CollisionLight_White"; - }; - class MainTurret - { - type="rotationY"; - source="mainTurret"; - selection="OtocVez"; - axis="OsaVeze"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class MainGun: MainTurret - { - type="rotationX"; - source="mainGun"; - selection="OtocHlaven"; - axis="OsaHlavne"; - }; - class Turret_2: MainTurret - { - source="Turret_2"; - selection="OtocVez_1"; - axis="OsaVeze_1"; - }; - class Gun_2: MainGun - { - source="Gun_2"; - selection="OtocHlaven_1"; - axis="OsaHlavne_1"; - }; - /*class MachineGun_1: Rotation - { - selection="gatling_1"; - axis="gatling_1_axis"; - angle1="-600 * 3.141592654"; - source="Gatling_1"; - }; - class MachineGun_2: MachineGun_1 - { - selection="gatling_2"; - axis="gatling_2_axis"; - source="Gatling_2"; - };*/ - class otocvez_damage:damageHide - { - selection="otocvez"; - }; - class otocvez_1_damage: otocvez_damage - { - selection="otocvez_1"; - }; - class muzzleFlashROT - { - type="rotationZ"; - source="Cannon_End"; - sourceAddress="loop"; - selection="muzzleFlash"; - axis=""; - centerFirstVertex=true; - minValue=0; - maxValue=4; - angle0="rad 0"; - angle1="rad 360"; - }; - class gear1 - { - type="rotation"; - source="altSurface"; - selection="gear1"; - axis="gear1_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - angle0=0; - angle1=-0.4; - }; - class gear2 - { - type="translation"; - source="altSurface"; - selection="gear2"; - axis="gear2_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - class FWheel - { - type="rotation"; - source="gear"; - selection="predni kolo"; - axis="osa predniho kola"; - minValue=-1; - maxValue=1; - angle0="rad -104.4"; - angle1="rad 104.4"; - }; - class LWheel: FWheel - { - selection="levy kolo"; - axis="osa leveho kola"; - angle0="rad -81"; - angle1="rad 81"; - }; - class RWheel: LWheel - { - selection="pravy kolo"; - axis="osa praveho kola"; - }; - class FWheelRot - { - type="rotationX"; - source="wheel"; - selection="predni kolo rot"; - axis="predni kolo rot"; - memory="false"; - minValue=0; - maxValue=2; - sourceAddress="loop"; - angle0=0; - angle1="-rad 360"; - }; - class LWheelRot: FWheelRot - { - selection="levy kolo rot"; - axis="levy kolo rot"; - minValue=0; - maxValue=2.300000; - }; - class RWheelRot: LWheelRot - { - selection="pravy kolo rot"; - axis="pravy kolo rot"; - }; - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - class ObsTurret - { - type="rotationY"; - source="ObsTurret"; - selection="turret"; - axis="turret_axis"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class ObsGun:ObsTurret - { - type="rotationX"; - source="ObsGun"; - selection="gun"; - axis="gun_axis"; - }; - }; - }; - class ej_MH60MDAP: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_Helicopter"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint", - }; - class Animations: Animations - { - class display_on //hides display_off selection - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.8; - maxValue=0.2; - hidevalue=0.9; - sourceAddress="clamp"; - }; - - class Horizont1_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont1_bank"; - axis="axis_horizont1_bank"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad +360"; - angle1="rad -360"; - }; - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont2pilot"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont2pilot"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1= 180; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad 235"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad 235"; - }; - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont3stred"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont3stred"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont3stred_b"; - }; - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - - //------------------------------------- BUDIKY END -------------------------------------- - class FWheel - { - type="rotation"; - source="gear"; - selection="predni kolo"; - axis="osa predniho kola"; - minValue=-1; - maxValue=1; - angle0="rad -104.4"; - angle1="rad 104.4"; - }; - class LWheel: FWheel - { - selection="levy kolo"; - axis="osa leveho kola"; - angle0="rad -81"; - angle1="rad 81"; - }; - class RWheel: LWheel - { - selection="pravy kolo"; - axis="osa praveho kola"; - }; - class FWheelRot - { - type="rotationX"; - source="wheel"; - selection="predni kolo rot"; - axis="predni kolo rot"; - memory="false"; - minValue=0; - maxValue=2; - sourceAddress="loop"; - angle0=0; - angle1="-rad 360"; - }; - class LWheelRot: FWheelRot - { - selection="levy kolo rot"; - axis="levy kolo rot"; - minValue=0; - maxValue=2.300000; - }; - class RWheelRot: LWheelRot - { - selection="pravy kolo rot"; - axis="pravy kolo rot"; - }; - - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - class PositionLights - { - type = hide; - source = collisionLights; - selection = "PositionLights"; - minValue = 0.0; - maxValue = 1.0; - hideValue = 0.0; - unHideValue = 0.5; - }; - class CollisionLight_Red_blinking: PositionLights - { - source = CollisionLightRed_source; - selection = "CollisionLight_Red"; - }; - class CollisionLight_White_blinking: PositionLights - { - source = CollisionLightWhite_source; - selection = "CollisionLight_White"; - }; - class MainTurret - { - type="rotation"; - source="mainTurret"; - selection="OtocVez"; - axis="OsaVeze"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad (-360)"; - angle1="rad (+360)"; - }; - class Turret_2: MainTurret - { - source="Turret_2"; - selection="otocvez_1"; - axis="OsaVeze_1"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class MainGun: MainTurret - { - source="mainGun"; - selection="OtocHlaven"; - axis="OsaHlavne"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class Gun_2: MainGun - { - source="Gun_2"; - selection="otochlaven_1"; - axis="OsaHlavne_1"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - - class MachineGun: Rotation - { - selection="gatling_1"; - axis="gatling_1_axis"; - angle1="-600 * 3.141592654"; - source="gatling_1"; - }; - class MachineGun_1: MachineGun - { - selection="gatling_2"; - axis="gatling_2_axis"; - source="gatling_2"; - }; - class otocvez_damage:damageHide - { - selection="otocvez"; - }; - class otocvez_1_damage: otocvez_damage - { - selection="otocvez_1"; - }; - class muzzleFlashROT - { - type="rotationZ"; - source="Cannon_End"; - sourceAddress="loop"; - selection="muzzleFlash"; - axis=""; - centerFirstVertex=true; - minValue=0; - maxValue=4; - angle0="rad 0"; - angle1="rad 360"; - }; - class gear1 - { - type="rotation"; - source="altSurface"; - selection="gear1"; - axis="gear1_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - angle0=0; - angle1=-0.4; - }; - class gear2 - { - type="translation"; - source="altSurface"; - selection="gear2"; - axis="gear2_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - class hidePG_1 - { - type = "hide"; - selection = "rocketB1"; - animPeriod=0; - source="Missiles_revolving"; - sourceAddress="mirror"; - minValue=-1.000000; - maxValue= 0.000000; - hideValue=(11/12)+0.0000001; - }; - class hidePG_2: hidePG_1 - { - selection = "rocketB2"; - hideValue=(10/12)+0.0000001; - }; - class hidePG_3: hidePG_1 - { - selection = "rocketB3"; - hideValue=(9/12)+0.0000001; - }; - class hidePG_4: hidePG_1 - { - selection = "rocketB4"; - hideValue=(8/12)+0.0000001; - }; - class hidePG_5: hidePG_1 - { - selection = "rocketB5"; - hideValue=(7/12)+0.0000001; - }; - class hidePG_6: hidePG_1 - { - selection = "rocketB6"; - hideValue=(6/12)+0.0000001; - }; - class hidePG_7: hidePG_1 - { - selection = "rocketB7"; - hideValue=(5/12)+0.0000001; - }; - class hidePG_8: hidePG_1 - { - selection = "rocketB8"; - hideValue=(4/12)+0.0000001; - }; - class hidePG_9: hidePG_1 - { - selection = "rocketB9"; - hideValue=(3/12)+0.0000001; - }; - class hidePG_10: hidePG_1 - { - selection = "rocketB10"; - hideValue=(2/12)+0.0000001; - }; - class hidePG_11: hidePG_1 - { - selection = "rocketB11"; - hideValue=(1/12)+0.0000001; - }; - class hidePG_12: hidePG_1 - { - selection = "rocketB12"; - hideValue=(0/12)+0.0000001; - }; - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - class ObsTurret - { - type="rotationY"; - source="ObsTurret"; - selection="turret"; - axis="turret_axis"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class ObsGun:ObsTurret - { - type="rotationX"; - source="ObsGun"; - selection="gun"; - axis="gun_axis"; - }; - }; - }; - class ej_UH60M_MEV: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_Helicopter"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint" - }; - class Animations: Animations - { - //------------------------------------- BUDIKY -------------------------------------- - class display_on //hides display_off selection - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.8; - maxValue=0.2; - hidevalue=0.9; - sourceAddress="clamp"; - }; - - class Horizont1_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont1_bank"; - axis="axis_horizont1_bank"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad +360"; - angle1="rad -360"; - }; - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont2pilot"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont2pilot"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont3stred"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont3stred"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont3stred_b"; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1= 180; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad 235"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad 235"; - }; - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - - //------------------------------------- BUDIKY END -------------------------------------- - - class door1 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="LDoor"; - selection="door1"; - offset0=0; - offset1=1.00; - minValue=0; - maxValue=0.05; - }; - class door1_posunZ: door1 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class door2 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="RDoor"; - selection="door2"; - offset0=0; - offset1=1.0; - minValue=0; - maxValue=-0.05; - }; - class door2_posunZ: door2 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - - //------------------------------------ LIGHTS ------------------------------------ - class PositionLights - { - type = hide; - source = collisionLights; - selection = "PositionLights"; - minValue = 0.0; - maxValue = 1.0; - hideValue = 0.0; - unHideValue = 0.5; - }; - class CollisionLight_Red_blinking: PositionLights - { - source = CollisionLightRed_source; - selection = "CollisionLight_Red"; - }; - class CollisionLight_White_blinking: PositionLights - { - source = CollisionLightWhite_source; - selection = "CollisionLight_White"; - }; - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - class FWheel - { - type="rotation"; - source="gear"; - selection="predni kolo"; - axis="osa predniho kola"; - minValue=-1; - maxValue=1; - angle0="rad -104.4"; - angle1="rad 104.4"; - }; - class LWheel: FWheel - { - selection="levy kolo"; - axis="osa leveho kola"; - angle0="rad -81"; - angle1="rad 81"; - }; - class RWheel: LWheel - { - selection="pravy kolo"; - axis="osa praveho kola"; - }; - class FWheelRot - { - type="rotationX"; - source="wheel"; - selection="predni kolo rot"; - axis="predni kolo rot"; - memory="false"; - minValue=0; - maxValue=2; - sourceAddress="loop"; - angle0=0; - angle1="-rad 360"; - }; - class LWheelRot: FWheelRot - { - selection="levy kolo rot"; - axis="levy kolo rot"; - minValue=0; - maxValue=2.300000; - }; - class RWheelRot: LWheelRot - { - selection="pravy kolo rot"; - axis="pravy kolo rot"; - }; - }; - }; - class ej_UH60M_U: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_Helicopter"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint" - }; - class Animations: Animations - { - //------------------------------------- BUDIKY -------------------------------------- - class display_on //hides display_off selection - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.8; - maxValue=0.2; - hidevalue=0.9; - sourceAddress="clamp"; - }; - - class Horizont1_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont1_bank"; - axis="axis_horizont1_bank"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad +360"; - angle1="rad -360"; - }; - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont2pilot"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont2pilot"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1= 180; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad 235"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad 235"; - }; - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont3stred"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont3stred"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont3stred_b"; - }; - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - class door1 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="LDoor"; - selection="door1"; - offset0=0; - offset1=1.00; - minValue=0; - maxValue=0.05; - }; - class door1_posunZ: door1 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class door2 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="RDoor"; - selection="door2"; - offset0=0; - offset1=1.0; - minValue=0; - maxValue=-0.05; - }; - class door2_posunZ: door2 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - class PositionLights - { - type = hide; - source = collisionLights; - selection = "PositionLights"; - minValue = 0.0; - maxValue = 1.0; - hideValue = 0.0; - unHideValue = 0.5; - }; - class gear1 - { - type="rotation"; - source="altSurface"; - selection="gear1"; - axis="gear1_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - angle0=0; - angle1=-0.4; - }; - class gear2 - { - type="translation"; - source="altSurface"; - selection="gear2"; - axis="gear2_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - class CollisionLight_Red_blinking: PositionLights - { - source = CollisionLightRed_source; - selection = "CollisionLight_Red"; - }; - class CollisionLight_White_blinking: PositionLights - { - source = CollisionLightWhite_source; - selection = "CollisionLight_White"; - }; - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - }; - }; - class ej_UH60M_UT: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_Helicopter"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint" - }; - class Animations: Animations - { - //------------------------------------- BUDIKY -------------------------------------- - class display_on //hides display_off selection - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.8; - maxValue=0.2; - hidevalue=0.9; - sourceAddress="clamp"; - }; - - class Horizont1_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont1_bank"; - axis="axis_horizont1_bank"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad +360"; - angle1="rad -360"; - }; - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont2pilot"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont2pilot"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1= 180; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad 235"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad 235"; - }; - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont3stred"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont3stred"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont3stred_b"; - }; - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - class door1 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="LDoor"; - selection="door1"; - offset0=0; - offset1=1.00; - minValue=0; - maxValue=0.05; - }; - class door1_posunZ: door1 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class door2 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="RDoor"; - selection="door2"; - offset0=0; - offset1=1.0; - minValue=0; - maxValue=-0.05; - }; - class door2_posunZ: door2 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class gear1 - { - type="rotation"; - source="altSurface"; - selection="gear1"; - axis="gear1_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - angle0=0; - angle1=-0.4; - }; - class gear2 - { - type="translation"; - source="altSurface"; - selection="gear2"; - axis="gear2_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - class FWheel - { - type="rotation"; - source="gear"; - selection="predni kolo"; - axis="osa predniho kola"; - minValue=-1; - maxValue=1; - angle0="rad -104.4"; - angle1="rad 104.4"; - }; - class LWheel: FWheel - { - selection="levy kolo"; - axis="osa leveho kola"; - angle0="rad -81"; - angle1="rad 81"; - }; - class RWheel: LWheel - { - selection="pravy kolo"; - axis="osa praveho kola"; - }; - class FWheelRot - { - type="rotationX"; - source="wheel"; - selection="predni kolo rot"; - axis="predni kolo rot"; - memory="false"; - minValue=0; - maxValue=2; - sourceAddress="loop"; - angle0=0; - angle1="-rad 360"; - }; - class LWheelRot: FWheelRot - { - selection="levy kolo rot"; - axis="levy kolo rot"; - minValue=0; - maxValue=2.300000; - }; - class RWheelRot: LWheelRot - { - selection="pravy kolo rot"; - axis="pravy kolo rot"; - }; - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - class PositionLights - { - type = hide; - source = collisionLights; - selection = "PositionLights"; - minValue = 0.0; - maxValue = 1.0; - hideValue = 0.0; - unHideValue = 0.5; - }; - class CollisionLight_Red_blinking: PositionLights - { - source = CollisionLightRed_source; - selection = "CollisionLight_Red"; - }; - class CollisionLight_White_blinking: PositionLights - { - source = CollisionLightWhite_source; - selection = "CollisionLight_White"; - }; - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - }; - }; - class ej_MH60M: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_Helicopter"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint" - }; - class Animations: Animations - { - //------------------------------------- BUDIKY -------------------------------------- - class display_on //hides display_off selection - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.8; - maxValue=0.2; - hidevalue=0.9; - sourceAddress="clamp"; - }; - - class Horizont1_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont1_bank"; - axis="axis_horizont1_bank"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad +360"; - angle1="rad -360"; - }; - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont2pilot"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont2pilot"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1= 180; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad 235"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad 235"; - }; - - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont3stred"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont3stred"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont3stred_b"; - }; - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - - //------------------------------------- BUDIKY END -------------------------------------- - - class door1 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="LDoor"; - selection="door1"; - offset0=0; - offset1=1.00; - minValue=0; - maxValue=0.05; - }; - class door1_posunZ: door1 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class door2 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="RDoor"; - selection="door2"; - offset0=0; - offset1=1.0; - minValue=0; - maxValue=-0.05; - }; - class door2_posunZ: door2 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class gear1 - { - type="rotation"; - source="altSurface"; - selection="gear1"; - axis="gear1_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - angle0=0; - angle1=-0.4; - }; - class gear2 - { - type="translation"; - source="altSurface"; - selection="gear2"; - axis="gear2_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - class PositionLights - { - type = hide; - source = collisionLights; - selection = "PositionLights"; - minValue = 0.0; - maxValue = 1.0; - hideValue = 0.0; - unHideValue = 0.5; - }; - class CollisionLight_Red_blinking: PositionLights - { - source = CollisionLightRed_source; - selection = "CollisionLight_Red"; - }; - class CollisionLight_White_blinking: PositionLights - { - source = CollisionLightWhite_source; - selection = "CollisionLight_White"; - }; - //------------------------------------- GUN -------------------------------------- - class MainTurret - { - type="rotation"; - source="mainTurret"; - selection="OtocVez"; - axis="OsaVeze"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad (-360)"; - angle1="rad (+360)"; - }; - class Turret_2: MainTurret - { - source="Turret_2"; - selection="otocvez_1"; - axis="OsaVeze_1"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class MainGun: MainTurret - { - source="mainGun"; - selection="OtocHlaven"; - axis="OsaHlavne"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class Gun_2: MainGun - { - source="Gun_2"; - selection="otochlaven_1"; - axis="OsaHlavne_1"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class MachineGun: Rotation - { - selection="gatling_1"; - axis="gatling_1_axis"; - angle1="-600 * 3.141592654"; - source="gatling_1"; - }; - class MachineGun_1: MachineGun - { - selection="gatling_2"; - axis="gatling_2_axis"; - source="gatling_2"; - }; - class otocvez_damage:damageHide - { - selection="otocvez"; - }; - class otocvez_1_damage: otocvez_damage - { - selection="otocvez_1"; - }; - class muzzleFlashROT - { - type="rotationZ"; - source="Cannon_End"; //use ammo count as phase for animation - sourceAddress="loop"; //loop when phase out of bounds - selection="muzzleFlash"; //selection we want to rotate - axis=""; //no own axis - center of rotation is computed from selection - centerFirstVertex=true; //use first vertex of selection as center of rotation - minValue=0; - maxValue=4; //rotation angle will be 360/4 = 90 degrees - angle0="rad 0"; - angle1="rad 360"; - }; - -///*** movement of pilot and copilot sticks ***/// - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - class ObsTurret - { - type="rotationY"; - source="ObsTurret"; - selection="turret"; - axis="turret_axis"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class ObsGun:ObsTurret - { - type="rotationX"; - source="ObsGun"; - selection="gun"; - axis="gun_axis"; - }; - }; - }; - class ej_MH60L: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_Helicopter"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint" - }; - class Animations: Animations - { - //------------------------------------- BUDIKY -------------------------------------- - class display_on //hides display_off selection - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.8; - maxValue=0.2; - hidevalue=0.9; - sourceAddress="clamp"; - }; - - class Horizont1_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont1_bank"; - axis="axis_horizont1_bank"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad +360"; - angle1="rad -360"; - }; - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont2pilot"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont2pilot"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1= 180; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad 235"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad 235"; - }; - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont3stred"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont3stred"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont3stred_b"; - }; - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - - //------------------------------------- BUDIKY END -------------------------------------- - class door1 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="LDoor"; - selection="door1"; - offset0=0; - offset1=1.00; - minValue=0; - maxValue=0.05; - }; - class door1_posunZ: door1 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class door2 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="RDoor"; - selection="door2"; - offset0=0; - offset1=1.0; - minValue=0; - maxValue=-0.05; - }; - class door2_posunZ: door2 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class gear1 - { - type="rotation"; - source="altSurface"; - selection="gear1"; - axis="gear1_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - angle0=0; - angle1=-0.4; - }; - class gear2 - { - type="translation"; - source="altSurface"; - selection="gear2"; - axis="gear2_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - class PositionLights - { - type = hide; - source = collisionLights; - selection = "PositionLights"; - minValue = 0.0; - maxValue = 1.0; - hideValue = 0.0; - unHideValue = 0.5; - }; - class CollisionLight_Red_blinking: PositionLights - { - source = CollisionLightRed_source; - selection = "CollisionLight_Red"; - }; - class CollisionLight_White_blinking: PositionLights - { - source = CollisionLightWhite_source; - selection = "CollisionLight_White"; - }; - //------------------------------------- GUN -------------------------------------- - class MainTurret - { - type="rotation"; - source="mainTurret"; - selection="OtocVez"; - axis="OsaVeze"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad (-360)"; - angle1="rad (+360)"; - }; - class Turret_2: MainTurret - { - source="Turret_2"; - selection="otocvez_1"; - axis="OsaVeze_1"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class MainGun: MainTurret - { - source="mainGun"; - selection="OtocHlaven"; - axis="OsaHlavne"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class Gun_2: MainGun - { - source="Gun_2"; - selection="otochlaven_1"; - axis="OsaHlavne_1"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class MachineGun: Rotation - { - selection="gatling_1"; - axis="gatling_1_axis"; - angle1="-600 * 3.141592654"; - source="gatling_1"; - }; - class MachineGun_1: MachineGun - { - selection="gatling_2"; - axis="gatling_2_axis"; - source="gatling_2"; - }; - class otocvez_damage:damageHide - { - selection="otocvez"; - }; - class otocvez_1_damage: otocvez_damage - { - selection="otocvez_1"; - }; - class muzzleFlashROT - { - type="rotationZ"; - source="Cannon_End"; //use ammo count as phase for animation - sourceAddress="loop"; //loop when phase out of bounds - selection="muzzleFlash"; //selection we want to rotate - axis=""; //no own axis - center of rotation is computed from selection - centerFirstVertex=true; //use first vertex of selection as center of rotation - minValue=0; - maxValue=4; //rotation angle will be 360/4 = 90 degrees - angle0="rad 0"; - angle1="rad 360"; - }; - -///*** movement of pilot and copilot sticks ***/// - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - class ObsTurret - { - type="rotationY"; - source="ObsTurret"; - selection="turret"; - axis="turret_axis"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class ObsGun:ObsTurret - { - type="rotationX"; - source="ObsGun"; - selection="gun"; - axis="gun_axis"; - }; - }; - }; - class ej_MH60MDAP4: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_Helicopter"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint", - }; - class Animations: Animations - { - class display_on //hides display_off selection - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.8; - maxValue=0.2; - hidevalue=0.9; - sourceAddress="clamp"; - }; - - class Horizont1_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont1_bank"; - axis="axis_horizont1_bank"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad +360"; - angle1="rad -360"; - }; - - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont2pilot"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont2pilot"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1= 180; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad 235"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad 235"; - }; - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont3stred"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont3stred"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont3stred_b"; - }; - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - - - //------------------------------------- BUDIKY END -------------------------------------- - - - class PositionLights - { - type = hide; - source = collisionLights; - selection = "PositionLights"; - minValue = 0.0; - maxValue = 1.0; - hideValue = 0.0; - unHideValue = 0.5; - }; - class CollisionLight_Red_blinking: PositionLights - { - source = CollisionLightRed_source; - selection = "CollisionLight_Red"; - }; - class CollisionLight_White_blinking: PositionLights - { - source = CollisionLightWhite_source; - selection = "CollisionLight_White"; - }; - class gear1 - { - type="rotation"; - source="altSurface"; - selection="gear1"; - axis="gear1_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - angle0=0; - angle1=-0.4; - }; - class gear2 - { - type="translation"; - source="altSurface"; - selection="gear2"; - axis="gear2_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - class MainTurret - { - type="rotation"; - source="mainTurret"; - selection="OtocVez"; - axis="OsaVeze"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad (-360)"; - angle1="rad (+360)"; - }; - class Turret_2: MainTurret - { - source="Turret_2"; - selection="otocvez_1"; - axis="OsaVeze_1"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class MainGun: MainTurret - { - source="mainGun"; - selection="OtocHlaven"; - axis="OsaHlavne"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class Gun_2: MainGun - { - source="Gun_2"; - selection="otochlaven_1"; - axis="OsaHlavne_1"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class MachineGun: Rotation - { - selection="gatling_1"; - axis="gatling_1_axis"; - angle1="-600 * 3.141592654"; - source="gatling_1"; - }; - class MachineGun_1: MachineGun - { - selection="gatling_2"; - axis="gatling_2_axis"; - source="gatling_2"; - }; - class otocvez_damage:damageHide - { - selection="otocvez"; - }; - class otocvez_1_damage: otocvez_damage - { - selection="otocvez_1"; - }; - class muzzleFlashROT - { - type="rotationZ"; - source="Cannon_End"; - sourceAddress="loop"; - selection="muzzleFlash"; - axis=""; - centerFirstVertex=true; - minValue=0; - maxValue=4; - angle0="rad 0"; - angle1="rad 360"; - }; - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - class hidePG_1 - { - type = "hide"; - selection = "rocketB1"; - animPeriod=0; - source="Missiles_revolving"; - sourceAddress="mirror"; - minValue=-1.000000; - maxValue= 0.000000; - hideValue=(11/12)+0.0000001; - }; - class hidePG_2: hidePG_1 - { - selection = "rocketB2"; - hideValue=(10/12)+0.0000001; - }; - class hidePG_3: hidePG_1 - { - selection = "rocketB3"; - hideValue=(9/12)+0.0000001; - }; - class hidePG_4: hidePG_1 - { - selection = "rocketB4"; - hideValue=(8/12)+0.0000001; - }; - class hidePG_5: hidePG_1 - { - selection = "rocketB5"; - hideValue=(7/12)+0.0000001; - }; - class hidePG_6: hidePG_1 - { - selection = "rocketB6"; - hideValue=(6/12)+0.0000001; - }; - class hidePG_7: hidePG_1 - { - selection = "rocketB7"; - hideValue=(5/12)+0.0000001; - }; - class hidePG_8: hidePG_1 - { - selection = "rocketB8"; - hideValue=(4/12)+0.0000001; - }; - class hidePG_9: hidePG_1 - { - selection = "rocketB9"; - hideValue=(3/12)+0.0000001; - }; - class hidePG_10: hidePG_1 - { - selection = "rocketB10"; - hideValue=(2/12)+0.0000001; - }; - class hidePG_11: hidePG_1 - { - selection = "rocketB11"; - hideValue=(1/12)+0.0000001; - }; - class hidePG_12: hidePG_1 - { - selection = "rocketB12"; - hideValue=(0/12)+0.0000001; - }; - class hideHF_1: hidePG_1 - { - selection = "HF1"; - hideValue=(3/4)+0.0000001; - }; - class hideHF_2: hidePG_1 - { - selection = "HF2"; - hideValue=(2/4)+0.0000001; - }; - class hideHF_3: hidePG_1 - { - selection = "HF3"; - hideValue=(1/4)+0.0000001; - }; - class hideHF_4: hidePG_1 - { - selection = "HF4"; - hideValue=(0/4)+0.0000001; - }; - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - class ObsTurret - { - type="rotationY"; - source="ObsTurret"; - selection="turret"; - axis="turret_axis"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class ObsGun:ObsTurret - { - type="rotationX"; - source="ObsGun"; - selection="gun"; - axis="gun_axis"; - }; - }; - }; - class ej_MH60MDAP8H: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_Helicopter"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint", - }; - class Animations: Animations - { - - class display_on //hides display_off selection - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.8; - maxValue=0.2; - hidevalue=0.9; - sourceAddress="clamp"; - }; - - class Horizont1_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont1_bank"; - axis="axis_horizont1_bank"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad +360"; - angle1="rad -360"; - }; - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont2pilot"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont2pilot"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1= 180; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad 235"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad 235"; - }; - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont3stred"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont3stred"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont3stred_b"; - }; - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - - //------------------------------------- BUDIKY END -------------------------------------- - - class door1 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="LDoor"; - selection="door1"; - offset0=0; - offset1=1.00; - minValue=0; - maxValue=0.05; - }; - class door1_posunZ: door1 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class door2 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="RDoor"; - selection="door2"; - offset0=0; - offset1=1.0; - minValue=0; - maxValue=-0.05; - }; - class door2_posunZ: door2 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class gear1 - { - type="rotation"; - source="altSurface"; - selection="gear1"; - axis="gear1_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - angle0=0; - angle1=-0.4; - }; - class gear2 - { - type="translation"; - source="altSurface"; - selection="gear2"; - axis="gear2_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - class PositionLights - { - type = hide; - source = collisionLights; - selection = "PositionLights"; - minValue = 0.0; - maxValue = 1.0; - hideValue = 0.0; - unHideValue = 0.5; - }; - class CollisionLight_Red_blinking: PositionLights - { - source = CollisionLightRed_source; - selection = "CollisionLight_Red"; - }; - class CollisionLight_White_blinking: PositionLights - { - source = CollisionLightWhite_source; - selection = "CollisionLight_White"; - }; - class MainTurret - { - type="rotation"; - source="mainTurret"; - selection="OtocVez"; - axis="OsaVeze"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad (-360)"; - angle1="rad (+360)"; - }; - class Turret_2: MainTurret - { - source="Turret_2"; - selection="otocvez_1"; - axis="OsaVeze_1"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class MainGun: MainTurret - { - source="mainGun"; - selection="OtocHlaven"; - axis="OsaHlavne"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class Gun_2: MainGun - { - source="Gun_2"; - selection="otochlaven_1"; - axis="OsaHlavne_1"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class MachineGun: Rotation - { - selection="gatling_1"; - axis="gatling_1_axis"; - angle1="-600 * 3.141592654"; - source="gatling_1"; - }; - class MachineGun_1: MachineGun - { - selection="gatling_2"; - axis="gatling_2_axis"; - source="gatling_2"; - }; - - class otocvez_damage:damageHide - { - selection="otocvez"; - }; - class otocvez_1_damage: otocvez_damage - { - selection="otocvez_1"; - }; - class muzzleFlashROT - { - type="rotationZ"; - source="Cannon_End"; - sourceAddress="loop"; - selection="muzzleFlash"; - axis=""; - centerFirstVertex=true; - minValue=0; - maxValue=4; - angle0="rad 0"; - angle1="rad 360"; - }; - - class hidePG_1 - { - type = "hide"; - selection = "rocketB1"; - animPeriod=0; - source="Missiles_revolving"; - sourceAddress="mirror"; - minValue=-1.000000; - maxValue= 0.000000; - hideValue=(23/24)+0.0000001; - }; - class hidePG_2: hidePG_1 - { - selection = "rocketB2"; - hideValue=(22/24)+0.0000001; - }; - class hidePG_3: hidePG_1 - { - selection = "rocketB3"; - hideValue=(21/24)+0.0000001; - }; - class hidePG_4: hidePG_1 - { - selection = "rocketB4"; - hideValue=(20/24)+0.0000001; - }; - class hidePG_5: hidePG_1 - { - selection = "rocketB5"; - hideValue=(19/24)+0.0000001; - }; - class hidePG_6: hidePG_1 - { - selection = "rocketB6"; - hideValue=(18/24)+0.0000001; - }; - class hidePG_7: hidePG_1 - { - selection = "rocketB7"; - hideValue=(17/24)+0.0000001; - }; - class hidePG_8: hidePG_1 - { - selection = "rocketB8"; - hideValue=(16/24)+0.0000001; - }; - class hidePG_9: hidePG_1 - { - selection = "rocketB9"; - hideValue=(15/24)+0.0000001; - }; - class hidePG_10: hidePG_1 - { - selection = "rocketB10"; - hideValue=(14/24)+0.0000001; - }; - class hidePG_11: hidePG_1 - { - selection = "rocketB11"; - hideValue=(13/24)+0.0000001; - }; - class hidePG_12: hidePG_1 - { - selection = "rocketB12"; - hideValue=(12/24)+0.0000001; - }; - class hidePG_13: hidePG_1 - { - selection = "rocketB13"; - hideValue=(11/24)+0.0000001; - }; - class hidePG_14: hidePG_1 - { - selection = "rocketB14"; - hideValue=(10/24)+0.0000001; - }; - class hidePG_15: hidePG_1 - { - selection = "rocketB15"; - hideValue=(9/24)+0.0000001; - }; - class hidePG_16: hidePG_1 - { - selection = "rocketB16"; - hideValue=(8/24)+0.0000001; - }; - class hidePG_17: hidePG_1 - { - selection = "rocketB17"; - hideValue=(7/24)+0.0000001; - }; - class hidePG_18: hidePG_1 - { - selection = "rocketB18"; - hideValue=(6/24)+0.0000001; - }; - class hidePG_19: hidePG_1 - { - selection = "rocketB19"; - hideValue=(5/24)+0.0000001; - }; - class hidePG_20: hidePG_1 - { - selection = "rocketB20"; - hideValue=(4/24)+0.0000001; - }; - class hidePG_21: hidePG_1 - { - selection = "rocketB21"; - hideValue=(3/24)+0.0000001; - }; - class hidePG_22: hidePG_1 - { - selection = "rocketB22"; - hideValue=(2/24)+0.0000001; - }; - class hidePG_23: hidePG_1 - { - selection = "rocketB23"; - hideValue=(1/24)+0.0000001; - }; - class hidePG_24: hidePG_1 - { - selection = "rocketB24"; - hideValue=(0/24)+0.0000001; - }; - class hideHF_1: hidePG_1 - { - selection = "HF1"; - hideValue=(7/8)+0.0000001; - }; - class hideHF_2: hidePG_1 - { - selection = "HF2"; - hideValue=(6/8)+0.0000001; - }; - class hideHF_3: hidePG_1 - { - selection = "HF3"; - hideValue=(5/8)+0.0000001; - }; - class hideHF_4: hidePG_1 - { - selection = "HF4"; - hideValue=(4/8)+0.0000001; - }; - class hideHF_5: hidePG_1 - { - selection = "HF5"; - hideValue=(3/8)+0.0000001; - }; - class hideHF_6: hidePG_1 - { - selection = "HF1"; - hideValue=(2/8)+0.0000001; - }; - class hideHF_7: hidePG_1 - { - selection = "HF7"; - hideValue=(1/8)+0.0000001; - }; - class hideHF_8: hidePG_1 - { - selection = "HF8"; - hideValue=(0/8)+0.0000001; - }; - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - class ObsTurret - { - type="rotationY"; - source="ObsTurret"; - selection="turret"; - axis="turret_axis"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class ObsGun:ObsTurret - { - type="rotationX"; - source="ObsGun"; - selection="gun"; - axis="gun_axis"; - }; - }; - }; - class ej_MH60MDAP16H: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_Helicopter"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint", - }; - class Animations: Animations - { - class display_on //hides display_off selection - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.8; - maxValue=0.2; - hidevalue=0.9; - sourceAddress="clamp"; - }; - - class Horizont1_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont1_bank"; - axis="axis_horizont1_bank"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad +360"; - angle1="rad -360"; - }; - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont2pilot"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont2pilot"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1= 180; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad 235"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad 235"; - }; - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont3stred"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont3stred"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont3stred_b"; - }; - class ObsTurret - { - type="rotationY"; - source="ObsTurret"; - selection="turret"; - axis="turret_axis"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class ObsGun:ObsTurret - { - type="rotationX"; - source="ObsGun"; - selection="gun"; - axis="gun_axis"; - }; - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - - //------------------------------------- BUDIKY END -------------------------------------- - - - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - class PositionLights - { - type = hide; - source = collisionLights; - selection = "PositionLights"; - minValue = 0.0; - maxValue = 1.0; - hideValue = 0.0; - unHideValue = 0.5; - }; - class CollisionLight_Red_blinking: PositionLights - { - source = CollisionLightRed_source; - selection = "CollisionLight_Red"; - }; - class CollisionLight_White_blinking: PositionLights - { - source = CollisionLightWhite_source; - selection = "CollisionLight_White"; - }; - class MainTurret - { - type="rotation"; - source="mainTurret"; - selection="OtocVez"; - axis="OsaVeze"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad (-360)"; - angle1="rad (+360)"; - }; - class Turret_2: MainTurret - { - source="Turret_2"; - selection="otocvez_1"; - axis="OsaVeze_1"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class MainGun: MainTurret - { - source="mainGun"; - selection="OtocHlaven"; - axis="OsaHlavne"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class Gun_2: MainGun - { - source="Gun_2"; - selection="otochlaven_1"; - axis="OsaHlavne_1"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class MachineGun: Rotation - { - selection="gatling_1"; - axis="gatling_1_axis"; - angle1="-600 * 3.141592654"; - source="gatling_1"; - }; - class MachineGun_1: MachineGun - { - selection="gatling_2"; - axis="gatling_2_axis"; - source="gatling_2"; - }; - class otocvez_damage:damageHide - { - selection="otocvez"; - }; - class otocvez_1_damage: otocvez_damage - { - selection="otocvez_1"; - }; - class muzzleFlashROT - { - type="rotationZ"; - source="Cannon_End"; - sourceAddress="loop"; - selection="muzzleFlash"; - axis=""; - centerFirstVertex=true; - minValue=0; - maxValue=4; - angle0="rad 0"; - angle1="rad 360"; - }; - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - class hideHF_1 - { - type = "hide"; - selection = "HF1"; - animPeriod=0; - source="Missiles_revolving"; - sourceAddress="mirror"; - minValue=-1.000000; - maxValue= 0.000000; - hideValue=(15/16)+0.0000001; - }; - class hideHF_2: hideHF_1 - { - selection = "HF2"; - hideValue=(14/16)+0.0000001; - }; - class hideHF_3: hideHF_1 - { - selection = "HF3"; - hideValue=(13/16)+0.0000001; - }; - class hideHF_4: hideHF_1 - { - selection = "HF4"; - hideValue=(12/16)+0.0000001; - }; - class hideHF_5: hideHF_1 - { - selection = "HF5"; - hideValue=(11/16)+0.0000001; - }; - class hideHF_6: hideHF_1 - { - selection = "HF6"; - hideValue=(10/16)+0.0000001; - }; - class hideHF_7: hideHF_1 - { - selection = "HF7"; - hideValue=(9/16)+0.0000001; - }; - class hideHF_8: hideHF_1 - { - selection = "HF8"; - hideValue=(8/16)+0.0000001; - }; - class hideHF_9: hideHF_1 - { - selection = "HF9"; - hideValue=(7/16)+0.0000001; - }; - class hideHF_10: hideHF_1 - { - selection = "HF10"; - hideValue=(6/16)+0.0000001; - }; - class hideHF_11: hideHF_1 - { - selection = "HF11"; - hideValue=(5/16)+0.0000001; - }; - class hideHF_12: hideHF_1 - { - selection = "HF12"; - hideValue=(4/16)+0.0000001; - }; - class hideHF_13: hideHF_1 - { - selection = "HF13"; - hideValue=(3/16)+0.0000001; - }; - class hideHF_14: hideHF_1 - { - selection = "HF14"; - hideValue=(2/8)+0.0000001; - }; - class hideHF_15: hideHF_1 - { - selection = "HF15"; - hideValue=(1/16)+0.0000001; - }; - class hideHF_16: hideHF_1 - { - selection = "HF16"; - hideValue=(0/16)+0.0000001; - }; - class gear1 - { - type="rotation"; - source="altSurface"; - selection="gear1"; - axis="gear1_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - angle0=0; - angle1=-0.4; - }; - class gear2 - { - type="translation"; - source="altSurface"; - selection="gear2"; - axis="gear2_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - }; - }; - class ej_AH64D: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_Helicopter"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint", - }; - class Animations: Animations - { - class display_on //hides display_off selection - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.8; - maxValue=0.2; - hidevalue=0.9; - sourceAddress="clamp"; - }; - - class Horizont1_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont1_bank"; - axis="axis_horizont1_bank"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad +360"; - angle1="rad -360"; - }; - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont2pilot"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont2pilot"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1= 180; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad 235"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad 235"; - }; - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont3stred"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont3stred"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont3stred_b"; - }; - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - - //------------------------------------- BUDIKY END -------------------------------------- - - - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - class PositionLights - { - type = hide; - source = collisionLights; - selection = "PositionLights"; - minValue = 0.0; - maxValue = 1.0; - hideValue = 0.0; - unHideValue = 0.5; - }; - class CollisionLight_Red_blinking: PositionLights - { - source = CollisionLightRed_source; - selection = "CollisionLight_Red"; - }; - class CollisionLight_White_blinking: PositionLights - { - source = CollisionLightWhite_source; - selection = "CollisionLight_White"; - }; - class otocvez_damage:damageHide - { - selection="otocvez"; - }; - class otocvez_1_damage: otocvez_damage - { - selection="otocvez_1"; - }; - class muzzleFlashROT - { - type="rotationZ"; - source="Cannon_End"; - sourceAddress="loop"; - selection="muzzleFlash"; - axis=""; - centerFirstVertex=true; - minValue=0; - maxValue=4; - angle0="rad 0"; - angle1="rad 360"; - }; - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - class gear1 - { - type="rotation"; - source="altSurface"; - selection="gear1"; - axis="gear1_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - angle0=0; - angle1=-0.4; - }; - class gear2 - { - type="translation"; - source="altSurface"; - selection="gear2"; - axis="gear2_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - class MainTurret - { - type = "rotation"; - source = "mainTurret"; - selection = "main_trav"; - axis = "main_trav_axis"; - animPeriod = 0; - memory = 1; - minValue = "rad -360"; - maxValue = "rad +360"; - angle0 = "rad -360"; - angle1 = "rad +360"; - }; - class MainGun - { - type = "rotation"; - source = "mainGun"; - selection = "main_elev"; - axis = "main_elev_axis"; - animPeriod = 0; - memory = 1; - minValue = "rad -360"; - maxValue = "rad +360"; - angle0 = "rad -360"; - angle1 = "rad +360"; - }; - class TADSTurret - { - type = "rotation"; - source = "mainTurret"; - selection = "tads_trav"; - axis = "tads_trav_axis"; - animPeriod = 0; - memory = 1; - minValue = "rad -360"; - maxValue = "rad +360"; - angle0 = "rad -360"; - angle1 = "rad +360"; - }; - class TADSElev - { - type = "rotation"; - source = "mainGun"; - selection = "tads_elev"; - axis = "tads_elev_axis"; - animPeriod = 0; - memory = 1; - minValue = "rad -360"; - maxValue = "rad +360"; - angle0 = "rad -360"; - angle1 = "rad +360"; - }; - class PNVSTurret - { - type = "rotation"; - source = "mainTurret"; - selection = "pnvs_trav"; - axis = "pnvs_trav_axis"; - animPeriod = 0; - memory = 1; - minValue = "rad -360"; - maxValue = "rad +360"; - angle0 = "rad -360"; - angle1 = "rad +360"; - }; - class RacksElev - { - type = "rotation"; - source = "mainGun"; - selection = "rack_elev"; - axis = "rack_elev_axis"; - animPeriod = 0; - memory = 1; - minValue = "rad -15"; - maxValue = "rad 4.9"; - angle0 = "rad -15"; - angle1 = "rad 4.9"; - }; - }; - }; - -//DuctedHelos - - class ej_HelicopterDucted: Vehicle - { - - htMin = 60; // Minimum half-cooling time (in seconds) - htMax = 1800; // Maximum half-cooling time (in seconds) - afMax = 200; // Maximum temperature in case the model is alive (in celsius) - mfMax = 100; // Maximum temperature when the model is moving (in celsius) - mFact = 0; // Metabolism factor - number from interval <0, 1> (0 - metabolism has no influence, 1 - metabolism has full influence (no other temperature source will be considered)). - tBody = 0; // Metabolism temperature of the model (in celsius) - - sectionsInherit="Vehicle"; - sections[]= - { - "gear1", - "gear2", - "sklo predni p", - "sklo predni l", - "main rotor blur", - "main rotor static", - "tail rotor blur", - "tail rotor static", - "zasleh_1", - "motor", - "elektronika", - "munice", - "zbran", - "vez", - "trup", - "clan", - "clan_sign", - "glass1", - "glass2", - "glass3", - "glass4", - "glass5", - "glass6", - "podsvit pristroju", - "camo1", - "camo2", - "camo3", - }; - skeletonName="ej_Helicopter"; - class Animations - { - class Rotor_destructX - { - type="rotationX"; - source="damage"; - selection="main rotor"; - axis="velka osa"; - animPeriod=0; - minValue=0.99; - maxValue=1; - angle0=0; - angle1="rad -20"; - }; - class Rotor_destructY:Rotor_destructX - { - type="rotationY"; - angle1="rad +40"; - }; - class rotordive_destructX:Rotor_destructX - { - selection="rotordive"; - angle1="rad -5"; - }; - class rotordive_destructY:rotordive_destructX - { - type="rotationY"; - angle1="rad -15"; - }; - class rotordive_destructZ:rotordive_destructX - { - type="rotationZ"; - angle1="rad -5"; - }; - class rotor_static_dive_destructX:Rotor_destructX - { - selection="rotor static dive"; - angle1="rad 5"; - }; - class rotor_static_dive_destructY:rotor_static_dive_destructX - { - type="rotationY"; - angle1="rad -15"; - }; - class rotor_static_dive_destructZ:rotor_static_dive_destructX - { - type="rotationZ"; - angle1="rad -5"; - }; - class mala_vrtule_destructY:Rotor_destructX - { - type="rotationY"; - axis="mala osa"; - selection="tail rotor"; - angle1="rad 10"; - }; - class mala_vrtule_destructZ:mala_vrtule_destructY - { - type="rotationZ"; - angle1="rad 25"; - }; - // destruct BASE END - - class damageHide - { - type="hide"; - source="damage"; - selection="damageHide"; - }; - class IndicatorAltBaro: Rotation - { - source="altBaro"; - sourceAddress="loop"; - selection="alt"; - axis="axis_alt"; - memory=0; - maxValue=304; - angle1="rad -360"; - }; - class IndicatorAltBaro2: IndicatorAltBaro - { - selection="alt2"; - axis="axis_alt2"; - }; - class IndicatorAltRadar: Rotation - { - source="altRadar"; - selection="nm_alt"; - axis="axis_nm_alt"; - memory="false"; - maxValue=61; - angle1="rad -180"; - }; - class IndicatorAltRadar2: IndicatorAltRadar - { - selection="nm_alt2"; - axis="axis_nm_alt2"; - }; - class IndicatorSpeed: Rotation - { - source="speed"; - selection="mph"; - axis="axis_mph"; - memory="false"; - maxValue=125; - angle1="rad -320"; - }; - class IndicatorSpeed2: IndicatorSpeed - { - selection="mph2"; - axis="axis_mph2"; - }; - class IndicatorVertSpeed: Rotation - { - source="vertSpeed"; - selection="vert_speed"; - axis="axis_vert_speed"; - minValue=-30; - maxValue=30; - angle1="rad -300"; - }; - class IndicatorVertSpeed2: IndicatorVertSpeed - { - selection="vert_speed2"; - axis="axis_vert_speed2"; - }; - class IndicatorRPM: Rotation - { - source="rpm"; - selection="rpm"; - axis="axis_rpm"; - memory="false"; - maxValue=12; - angle1="rad -320"; - }; - class IndicatorRPM2: IndicatorRPM - { - selection="rpm2"; - axis="axis_rpm2"; - }; - class IndicatorCompass: Rotation - { - source="direction"; - selection="compass"; - axis="axis_compass"; - memory="false"; - minValue=-3.141593; - maxValue=3.141593; - angle1="rad -360"; - }; - class IndicatorCompass2: IndicatorCompass - { - selection="compass2"; - axis="axis_compass2"; - }; - class WatchHour: Rotation - { - source="clockHour"; - selection="hodinova"; - axis="axis_time"; - memory="false"; - angle1="rad -360"; - }; - class WatchHour2: WatchHour - { - selection="hodinova2"; - axis="axis_time2"; - }; - class WatchMinute: Rotation - { - source="clockMinute"; - selection="minutova"; - axis="axis_time"; - memory="false"; - angle1="rad -360"; - }; - class WatchMinute2: WatchMinute - { - selection="minutova2"; - axis="axis_time2"; - }; - class HRotor: Rotation - { - source="rotorH"; - selection="main rotor"; - axis="velka osa"; - angle1="0 * 3.1415926536"; - }; - class VRotor: Rotation - { - source="rotorV"; - selection="tail rotor"; - axis="mala osa"; - angle1="0 * 3.1415926536"; - }; - class HorizonBank - { - type="rotationZ"; - source="horizonBank"; - selection="horizont"; - axis="axis_horizont"; - memory="false"; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class HorizonDive - { - type="rotationX"; - source="horizonDive"; - selection="horizont"; - axis="axis_horizont"; - memory=0; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizon2Bank: HorizonBank - { - selection="horizont2"; - axis="axis_horizont2"; - }; - class Horizon2Dive: HorizonDive - { - selection="horizont2"; - axis="axis_horizont2"; - }; - class FWheel - { - type="rotation"; - source="gear"; - selection="predni kolo"; - axis="osa predniho kola"; - minValue=-1; - maxValue=1; - angle0="rad -104.4"; - angle1="rad 104.4"; - }; - class LWheel: FWheel - { - selection="levy kolo"; - axis="osa leveho kola"; - angle0="rad -81"; - angle1="rad 81"; - }; - class RWheel: LWheel - { - selection="pravy kolo"; - axis="osa praveho kola"; - }; - class FWheelRot - { - type="rotationX"; - source="wheel"; - selection="predni kolo rot"; - axis="predni kolo rot"; - memory="false"; - minValue=0; - maxValue=2; - sourceAddress="loop"; - angle0=0; - angle1="-rad 360"; - }; - class LWheelRot: FWheelRot - { - selection="levy kolo rot"; - axis="levy kolo rot"; - minValue=0; - maxValue=2.300000; - }; - class RWheelRot: LWheelRot - { - selection="pravy kolo rot"; - axis="pravy kolo rot"; - }; - }; - }; - class ej_UH92: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_HelicopterDucted"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "elektronika", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint", - "copip","", - "copip1","", - "copip2","", - }; - class Animations: Animations - { - class FormationLights : Rotation - { - type="hide"; - source="user"; - selection="Lights_green"; - minValue = 0.0; - maxValue = 1.0; - HideValue = 0.5; - }; - class display_on: Rotation - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.5; - maxValue=0.5; - hidevalue=0.9; - sourceAddress="clamp"; - }; - class copip - { - type="hide"; - source="HideSlingFeed"; - selection="copip"; - maxValue=1; - minValue=0; - hideValue=0; - unhideValue=1; - }; - - class copip1 - { - type="hide"; - source="HidePilotMFD"; - selection="copip1"; - maxValue=1; - minValue=0; - hideValue=0; - unhideValue=1; - }; - class copip2 - { - type="hide"; - source="HideGunMFD"; - selection="copip2"; - maxValue=1; - minValue=0; - hideValue=0; - unhideValue=1; - }; - class Horizont1_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont1_bank"; - axis="axis_horizont1_bank"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad +360"; - angle1="rad -360"; - }; - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont2pilot"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont2pilot"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad -350"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad -235"; - }; - - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont3stred"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont3stred"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont3stred_b"; - }; - class gear1 - { - type="rotation"; - source="altSurface"; - selection="gear1"; - axis="gear1_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - angle0=0; - angle1=-0.4; - }; - class gear2 - { - type="translation"; - source="altSurface"; - selection="gear2"; - axis="gear2_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1=-5.1; - }; - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - class door1 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="LDoor"; - selection="door1"; - offset0=0; - offset1=1.00; - minValue=0; - maxValue=0.05; - }; - class door1_posunZ: door1 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class door2 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="RDoor"; - selection="door2"; - offset0=0; - offset1=1.0; - minValue=0; - maxValue=-0.05; - }; - class door2_posunZ: door2 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - class rotorTilt - { - selection="Mainrotordive"; - source="rpm"; - axis="MainTilt"; - type="translation"; - memory=1; - minValue=0.000000; - maxValue=12.0000000; - offset0=0.60000; - offset1=-0.500000; - }; - class TailTilt - { - selection="Tailrotordive"; - source="rpm"; - axis="TailTilt"; - type="translation"; - memory=1; - minValue=0.000000; - maxValue=12.0000000; - offset0=0.60000; - offset1=-0.500000; - }; - class MainTurret - { - type="rotation"; - source="mainTurret"; - selection="OtocVez"; - axis="OsaVeze"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad (-360)"; - angle1="rad (+360)"; - }; - class Turret_2: MainTurret - { - source="Turret_2"; - selection="otocvez_1"; - axis="OsaVeze_1"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class MainGun: MainTurret - { - source="mainGun"; - selection="OtocHlaven"; - axis="OsaHlavne"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class Gun_2: MainGun - { - source="Gun_2"; - selection="otochlaven_1"; - axis="OsaHlavne_1"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class MachineGun: Rotation - { - selection="gatling_1"; - axis="gatling_1_axis"; - angle1="-600 * 3.141592654"; - source="gatling_1"; - }; - class MachineGun_1: MachineGun - { - selection="gatling_2"; - axis="gatling_2_axis"; - source="gatling_2"; - }; - class ObsTurret - { - type="rotationY"; - source="ObsTurret"; - selection="turret"; - axis="turret_axis"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class ObsGun:ObsTurret - { - type="rotationX"; - source="ObsGun"; - selection="gun"; - axis="gun_axis"; - }; - class otocvez_damage:damageHide - { - selection="otocvez"; - }; - class otocvez_1_damage: otocvez_damage - { - selection="otocvez_1"; - }; - class muzzleFlashROT - { - type="rotationZ"; - source="Cannon_End"; //use ammo count as phase for animation - sourceAddress="loop"; //loop when phase out of bounds - selection="muzzleFlash"; //selection we want to rotate - axis=""; //no own axis - center of rotation is computed from selection - centerFirstVertex=true; //use first vertex of selection as center of rotation - minValue=0; - maxValue=4; //rotation angle will be 360/4 = 90 degrees - angle0="rad 0"; - angle1="rad 360"; - }; - - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - class FWheel - { - type="rotation"; - source="gear"; - selection="predni kolo"; - axis="osa predniho kola"; - minValue=-1; - maxValue=1; - angle0="rad -104.4"; - angle1="rad 104.4"; - }; - class LWheel: FWheel - { - selection="levy kolo"; - axis="osa leveho kola"; - angle0="rad -81"; - angle1="rad 81"; - }; - class RWheel: LWheel - { - selection="pravy kolo"; - axis="osa praveho kola"; - }; - class FWheelRot - { - type="rotationX"; - source="wheel"; - selection="predni kolo rot"; - axis="predni kolo rot"; - memory="false"; - minValue=0; - maxValue=2; - sourceAddress="loop"; - angle0=0; - angle1="-rad 360"; - }; - class LWheelRot: FWheelRot - { - selection="levy kolo rot"; - axis="levy kolo rot"; - minValue=0; - maxValue=2.300000; - }; - class RWheelRot: LWheelRot - { - selection="pravy kolo rot"; - axis="pravy kolo rot"; - }; - }; - }; - class ej_UH92_RWG: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_HelicopterDucted"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "elektronika", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint", - "copip","", - "copip1","", - "copip2","", - }; - class Animations: Animations - { - class FormationLights : Rotation - { - type="hide"; - source="user"; - selection="Lights_green"; - minValue = 0.0; - maxValue = 1.0; - HideValue = 0.5; - }; - class display_on: Rotation - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.5; - maxValue=0.5; - hidevalue=0.9; - sourceAddress="clamp"; - }; - class copip - { - type="hide"; - source="HideSlingFeed"; - selection="copip"; - maxValue=1; - minValue=0; - hideValue=0; - unhideValue=1; - }; - - class copip1 - { - type="hide"; - source="HidePilotMFD"; - selection="copip1"; - maxValue=1; - minValue=0; - hideValue=0; - unhideValue=1; - }; - class copip2 - { - type="hide"; - source="HideGunMFD"; - selection="copip2"; - maxValue=1; - minValue=0; - hideValue=0; - unhideValue=1; - }; - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont2pilot"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont2pilot"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad -350"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad -235"; - }; - - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont3stred"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont3stred"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont3stred_b"; - }; - class gear1 - { - type="rotation"; - source="altSurface"; - selection="gear1"; - axis="gear1_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - angle0=0; - angle1=-0.4; - }; - class gear2 - { - type="translation"; - source="altSurface"; - selection="gear2"; - axis="gear2_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - class FWheel - { - type="rotation"; - source="gear"; - selection="predni kolo"; - axis="osa predniho kola"; - minValue=-1; - maxValue=1; - angle0="rad -104.4"; - angle1="rad 104.4"; - }; - class LWheel: FWheel - { - selection="levy kolo"; - axis="osa leveho kola"; - angle0="rad -81"; - angle1="rad 81"; - }; - class RWheel: LWheel - { - selection="pravy kolo"; - axis="osa praveho kola"; - }; - class FWheelRot - { - type="rotationX"; - source="wheel"; - selection="predni kolo rot"; - axis="predni kolo rot"; - memory="false"; - minValue=0; - maxValue=2; - sourceAddress="loop"; - angle0=0; - angle1="-rad 360"; - }; - class LWheelRot: FWheelRot - { - selection="levy kolo rot"; - axis="levy kolo rot"; - minValue=0; - maxValue=2.300000; - }; - class RWheelRot: LWheelRot - { - selection="pravy kolo rot"; - axis="pravy kolo rot"; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1=-5.1; - }; - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - class door1 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="LDoor"; - selection="door1"; - offset0=0; - offset1=1.00; - minValue=0; - maxValue=0.05; - }; - class door1_posunZ: door1 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class door2 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="RDoor"; - selection="door2"; - offset0=0; - offset1=1.0; - minValue=0; - maxValue=-0.05; - }; - class door2_posunZ: door2 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - class rotorTilt - { - selection="rotordive"; - source="rpm"; - axis="velka osa"; - type="translation"; - memory=1; - minValue=0.000000; - maxValue=12.0000000; - offset0=0.60000; - offset1=-0.500000; - }; - class MainTurret - { - type="rotation"; - source="mainTurret"; - selection="OtocVez"; - axis="OsaVeze"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad (-360)"; - angle1="rad (+360)"; - }; - class Turret_2: MainTurret - { - source="Turret_2"; - selection="otocvez_1"; - axis="OsaVeze_1"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class MainGun: MainTurret - { - source="mainGun"; - selection="OtocHlaven"; - axis="OsaHlavne"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class Gun_2: MainGun - { - source="Gun_2"; - selection="otochlaven_1"; - axis="OsaHlavne_1"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class MachineGun: Rotation - { - selection="gatling_1"; - axis="gatling_1_axis"; - angle1="-600 * 3.141592654"; - source="gatling_1"; - }; - class MachineGun_1: MachineGun - { - selection="gatling_2"; - axis="gatling_2_axis"; - source="gatling_2"; - }; - class ObsTurret - { - type="rotationY"; - source="ObsTurret"; - selection="turret"; - axis="turret_axis"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class ObsGun:ObsTurret - { - type="rotationX"; - source="ObsGun"; - selection="gun"; - axis="gun_axis"; - }; - class otocvez_damage:damageHide - { - selection="otocvez"; - }; - class otocvez_1_damage: otocvez_damage - { - selection="otocvez_1"; - }; - class muzzleFlashROT - { - type="rotationZ"; - source="Cannon_End"; //use ammo count as phase for animation - sourceAddress="loop"; //loop when phase out of bounds - selection="muzzleFlash"; //selection we want to rotate - axis=""; //no own axis - center of rotation is computed from selection - centerFirstVertex=true; //use first vertex of selection as center of rotation - minValue=0; - maxValue=4; //rotation angle will be 360/4 = 90 degrees - angle0="rad 0"; - angle1="rad 360"; - }; - - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - }; - }; - class ej_MH92: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_HelicopterDucted"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "elektronika", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint", - "copip","", - "copip1","", - "copip2","", - }; - class Animations: Animations - { - class FormationLights : Rotation - { - type="hide"; - source="user"; - selection="Lights_green"; - minValue = 0.0; - maxValue = 1.0; - HideValue = 0.5; - }; - class display_on: Rotation - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.5; - maxValue=0.5; - hidevalue=0.9; - sourceAddress="clamp"; - }; - class copip - { - type="hide"; - source="HideSlingFeed"; - selection="copip"; - maxValue=1; - minValue=0; - hideValue=0; - unhideValue=1; - }; - - class copip1 - { - type="hide"; - source="HidePilotMFD"; - selection="copip1"; - maxValue=1; - minValue=0; - hideValue=0; - unhideValue=1; - }; - class copip2 - { - type="hide"; - source="HideGunMFD"; - selection="copip2"; - maxValue=1; - minValue=0; - hideValue=0; - unhideValue=1; - }; - class Horizont1_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont1_bank"; - axis="axis_horizont1_bank"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad +360"; - angle1="rad -360"; - }; - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont2pilot"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont2pilot"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad -350"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad -235"; - }; - - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont3stred"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont3stred"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont3stred_b"; - }; - class gear1 - { - type="rotation"; - source="altSurface"; - selection="gear1"; - axis="gear1_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - angle0=0; - angle1=-0.4; - }; - class gear2 - { - type="translation"; - source="altSurface"; - selection="gear2"; - axis="gear2_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - class FWheel - { - type="rotation"; - source="gear"; - selection="predni kolo"; - axis="osa predniho kola"; - minValue=-1; - maxValue=1; - angle0="rad -104.4"; - angle1="rad 104.4"; - }; - class LWheel: FWheel - { - selection="levy kolo"; - axis="osa leveho kola"; - angle0="rad -81"; - angle1="rad 81"; - }; - class RWheel: LWheel - { - selection="pravy kolo"; - axis="osa praveho kola"; - }; - class FWheelRot - { - type="rotationX"; - source="wheel"; - selection="predni kolo rot"; - axis="predni kolo rot"; - memory="false"; - minValue=0; - maxValue=2; - sourceAddress="loop"; - angle0=0; - angle1="-rad 360"; - }; - class LWheelRot: FWheelRot - { - selection="levy kolo rot"; - axis="levy kolo rot"; - minValue=0; - maxValue=2.300000; - }; - class RWheelRot: LWheelRot - { - selection="pravy kolo rot"; - axis="pravy kolo rot"; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1=-5.1; - }; - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - class door1 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="LDoor"; - selection="door1"; - offset0=0; - offset1=1.00; - minValue=0; - maxValue=0.05; - }; - class door1_posunZ: door1 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class door2 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="RDoor"; - selection="door2"; - offset0=0; - offset1=1.0; - minValue=0; - maxValue=-0.05; - }; - class door2_posunZ: door2 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - class MainTurret - { - type="rotation"; - source="mainTurret"; - selection="OtocVez"; - axis="OsaVeze"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad (-360)"; - angle1="rad (+360)"; - }; - class Turret_2: MainTurret - { - source="Turret_2"; - selection="otocvez_1"; - axis="OsaVeze_1"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class MainGun: MainTurret - { - source="mainGun"; - selection="OtocHlaven"; - axis="OsaHlavne"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class Gun_2: MainGun - { - source="Gun_2"; - selection="otochlaven_1"; - axis="OsaHlavne_1"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class MachineGun: Rotation - { - selection="gatling_1"; - axis="gatling_1_axis"; - angle1="-600 * 3.141592654"; - source="gatling_1"; - }; - class MachineGun_1: MachineGun - { - selection="gatling_2"; - axis="gatling_2_axis"; - source="gatling_2"; - }; - class ObsTurret - { - type="rotationY"; - source="ObsTurret"; - selection="turret"; - axis="turret_axis"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class ObsGun:ObsTurret - { - type="rotationX"; - source="ObsGun"; - selection="gun"; - axis="gun_axis"; - }; - class otocvez_damage:damageHide - { - selection="otocvez"; - }; - class otocvez_1_damage: otocvez_damage - { - selection="otocvez_1"; - }; - class rotorTilt - { - selection="rotordive"; - source="rpm"; - axis="velka osa"; - type="translation"; - memory=1; - minValue=0.000000; - maxValue=12.0000000; - offset0=0.60000; - offset1=-0.500000; - }; - class RotorHDive - { - selection="velka vrtule"; - axis="predni osa naklonu"; - type="rotationX"; - source="horizonDive"; - minValue=-0.500000; - maxValue=0.500000; - angle0="rad -4"; - angle1="rad 4"; - animPeriod=0; - }; - class RotorHBank - { - selection="velka vrtule"; - axis="predni osa naklonu"; - type="rotationZ"; - source="horizonBank"; - minValue=-0.500000; - maxValue=0.500000; - angle0="rad 10"; - angle1="rad -10"; - animPeriod=0; - }; - class muzzleFlashROT - { - type="rotationZ"; - source="Cannon_End"; //use ammo count as phase for animation - sourceAddress="loop"; //loop when phase out of bounds - selection="muzzleFlash"; //selection we want to rotate - axis=""; //no own axis - center of rotation is computed from selection - centerFirstVertex=true; //use first vertex of selection as center of rotation - minValue=0; - maxValue=4; //rotation angle will be 360/4 = 90 degrees - angle0="rad 0"; - angle1="rad 360"; - }; - - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - }; - }; - class ej_S94: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_HelicopterDucted"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "elektronika", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint", - "light_front_hide", - "copip","", - "copip1","" - }; - class Animations: Animations - { - class display_on: Rotation - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.5; - maxValue=0.5; - hidevalue=0.9; - sourceAddress="clamp"; - }; - class copip - { - type="hide"; - source="HideSlingFeed"; - selection="copip"; - maxValue=1; - minValue=0; - hideValue=0; - unhideValue=1; - }; - class Horizont1_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont1_bank"; - axis="axis_horizont1_bank"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad +360"; - angle1="rad -360"; - }; - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont2pilot"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont2pilot"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad -350"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad -235"; - }; - - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont3stred"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont3stred"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont3stred_b"; - }; - class gear1 - { - type="rotation"; - source="altSurface"; - selection="gear1"; - axis="gear1_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - angle0=0; - angle1=-0.4; - }; - class gear2 - { - type="translation"; - source="altSurface"; - selection="gear2"; - axis="gear2_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1=-5.1; - }; - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - class door1 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="LDoor"; - selection="door1"; - offset0=0; - offset1=1.00; - minValue=0; - maxValue=0.05; - }; - class door1_posunZ: door1 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class door2 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="RDoor"; - selection="door2"; - offset0=0; - offset1=1.0; - minValue=0; - maxValue=-0.05; - }; - class door2_posunZ: door2 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - class rotorTilt - { - selection="rotordive"; - source="rpm"; - axis="velka osa"; - type="translation"; - memory=1; - minValue=0.000000; - maxValue=12.0000000; - offset0=0.60000; - offset1=-0.500000; - }; - class otocvez_damage:damageHide - { - selection="otocvez"; - }; - class otocvez_1_damage: otocvez_damage - { - selection="otocvez_1"; - }; - class muzzleFlashROT - { - type="rotationZ"; - source="Cannon_End"; //use ammo count as phase for animation - sourceAddress="loop"; //loop when phase out of bounds - selection="muzzleFlash"; //selection we want to rotate - axis=""; //no own axis - center of rotation is computed from selection - centerFirstVertex=true; //use first vertex of selection as center of rotation - minValue=0; - maxValue=4; //rotation angle will be 360/4 = 90 degrees - angle0="rad 0"; - angle1="rad 360"; - }; - - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - class FWheel - { - type="rotation"; - source="gear"; - selection="predni kolo"; - axis="osa predniho kola"; - minValue=-1; - maxValue=1; - angle0="rad -104.4"; - angle1="rad 104.4"; - }; - class LWheel: FWheel - { - selection="levy kolo"; - axis="osa leveho kola"; - angle0="rad -81"; - angle1="rad 81"; - }; - class RWheel: LWheel - { - selection="pravy kolo"; - axis="osa praveho kola"; - }; - class FWheelRot - { - type="rotationX"; - source="wheel"; - selection="predni kolo rot"; - axis="predni kolo rot"; - memory="false"; - minValue=0; - maxValue=2; - sourceAddress="loop"; - angle0=0; - angle1="-rad 360"; - }; - class LWheelRot: FWheelRot - { - selection="levy kolo rot"; - axis="levy kolo rot"; - minValue=0; - maxValue=2.300000; - }; - class RWheelRot: LWheelRot - { - selection="pravy kolo rot"; - axis="pravy kolo rot"; - }; - }; - }; - class ej_S94U: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_HelicopterDucted"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "elektronika", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint", - "light_front_hide", - "copip","", - "copip1","" - }; - class Animations: Animations - { - class display_on: Rotation - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.5; - maxValue=0.5; - hidevalue=0.9; - sourceAddress="clamp"; - }; - class copip - { - type="hide"; - source="HideSlingFeed"; - selection="copip"; - maxValue=1; - minValue=0; - hideValue=0; - unhideValue=1; - }; - class Horizont1_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont1_bank"; - axis="axis_horizont1_bank"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad +360"; - angle1="rad -360"; - }; - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont2pilot"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont2pilot"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad -350"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad -235"; - }; - - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont3stred"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont3stred"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont3stred_b"; - }; - class gear1 - { - type="rotation"; - source="altSurface"; - selection="gear1"; - axis="gear1_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - angle0=0; - angle1=-0.4; - }; - class gear2 - { - type="translation"; - source="altSurface"; - selection="gear2"; - axis="gear2_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1=-5.1; - }; - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - class rotorTilt - { - selection="rotordive"; - source="rpm"; - axis="velka osa"; - type="translation"; - memory=1; - minValue=0.000000; - maxValue=12.0000000; - offset0=0.60000; - offset1=-0.500000; - }; - class otocvez_damage:damageHide - { - selection="otocvez"; - }; - class otocvez_1_damage: otocvez_damage - { - selection="otocvez_1"; - }; - class muzzleFlashROT - { - type="rotationZ"; - source="Cannon_End"; //use ammo count as phase for animation - sourceAddress="loop"; //loop when phase out of bounds - selection="muzzleFlash"; //selection we want to rotate - axis=""; //no own axis - center of rotation is computed from selection - centerFirstVertex=true; //use first vertex of selection as center of rotation - minValue=0; - maxValue=4; //rotation angle will be 360/4 = 90 degrees - angle0="rad 0"; - angle1="rad 360"; - }; - - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - class FWheel - { - type="rotation"; - source="gear"; - selection="predni kolo"; - axis="osa predniho kola"; - minValue=-1; - maxValue=1; - angle0="rad -104.4"; - angle1="rad 104.4"; - }; - class LWheel: FWheel - { - selection="levy kolo"; - axis="osa leveho kola"; - angle0="rad -81"; - angle1="rad 81"; - }; - class RWheel: LWheel - { - selection="pravy kolo"; - axis="osa praveho kola"; - }; - class FWheelRot - { - type="rotationX"; - source="wheel"; - selection="predni kolo rot"; - axis="predni kolo rot"; - memory="false"; - minValue=0; - maxValue=2; - sourceAddress="loop"; - angle0=0; - angle1="-rad 360"; - }; - class LWheelRot: FWheelRot - { - selection="levy kolo rot"; - axis="levy kolo rot"; - minValue=0; - maxValue=2.300000; - }; - class RWheelRot: LWheelRot - { - selection="pravy kolo rot"; - axis="pravy kolo rot"; - }; - }; - }; - class ej_MH92DAP: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_HelicopterDucted"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint", - "copip","", - "copip1","", - "copip2","" - }; - class Animations: Animations - { - - class display_on //hides display_off selection - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.8; - maxValue=0.2; - hidevalue=0.9; - sourceAddress="clamp"; - }; - class Horizont1_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont1_bank"; - axis="axis_horizont1_bank"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad +360"; - angle1="rad -360"; - }; - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont2pilot"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont2pilot"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad -350"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad -235"; - }; - class copip - { - type="hide"; - source="HideSlingFeed"; - selection="copip"; - maxValue=1; - minValue=0; - hideValue=0; - unhideValue=1; - }; - class copip1 - { - type="hide"; - source="HidePilotMFD"; - selection="copip1"; - maxValue=1; - minValue=0; - hideValue=0; - unhideValue=1; - }; - class copip2 - { - type="hide"; - source="HideGunMFD"; - selection="copip2"; - maxValue=1; - minValue=0; - hideValue=0; - unhideValue=1; - }; - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont3stred"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont3stred"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont3stred_b"; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1=-5.1; - }; - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - - //------------------------------------- BUDIKY END -------------------------------------- - - class door1 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="LDoor"; - selection="door1"; - offset0=0; - offset1=1.00; - minValue=0; - maxValue=0.05; - }; - class door1_posunZ: door1 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class door2 - { - type="translation"; - axis="doorX_axis"; - animPeriod=1; - source="RDoor"; - selection="door2"; - offset0=0; - offset1=1.0; - minValue=0; - maxValue=-0.05; - }; - class door2_posunZ: door2 - { - axis="doorZ_axis"; - offset0=0; - offset1=1.4; - minValue=0; - maxValue=1; - }; - class gear1 - { - type="rotation"; - source="altSurface"; - selection="gear1"; - axis="gear1_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - angle0=0; - angle1=-0.4; - }; - class gear2 - { - type="translation"; - source="altSurface"; - selection="gear2"; - axis="gear2_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - class FormationLights : Rotation - { - type="hide"; - source="user"; - selection="Lights_green"; - minValue = 0.0; - maxValue = 1.0; - HideValue = 0.5; - }; - class PositionLights - { - type = hide; - source = collisionLights; - selection = "PositionLights"; - minValue = 0.0; - maxValue = 1.0; - hideValue = 0.0; - unHideValue = 0.5; - }; - class CollisionLight_Red_blinking: PositionLights - { - source = CollisionLightRed_source; - selection = "CollisionLight_Red"; - }; - class CollisionLight_White_blinking: PositionLights - { - source = CollisionLightWhite_source; - selection = "CollisionLight_White"; - }; - class MainTurret - { - type="rotation"; - source="mainTurret"; - selection="OtocVez"; - axis="OsaVeze"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad (-360)"; - angle1="rad (+360)"; - }; - class Turret_2: MainTurret - { - source="Turret_2"; - selection="otocvez_1"; - axis="OsaVeze_1"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class MainGun: MainTurret - { - source="mainGun"; - selection="OtocHlaven"; - axis="OsaHlavne"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class Gun_2: MainGun - { - source="Gun_2"; - selection="otochlaven_1"; - axis="OsaHlavne_1"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class MachineGun: Rotation - { - selection="gatling_1"; - axis="gatling_1_axis"; - angle1="-600 * 3.141592654"; - source="gatling_1"; - }; - class MachineGun_1: MachineGun - { - selection="gatling_2"; - axis="gatling_2_axis"; - source="gatling_2"; - }; - - class otocvez_damage:damageHide - { - selection="otocvez"; - }; - class otocvez_1_damage: otocvez_damage - { - selection="otocvez_1"; - }; - class muzzleFlashROT - { - type="rotationZ"; - source="Cannon_End"; - sourceAddress="loop"; - selection="muzzleFlash"; - axis=""; - centerFirstVertex=true; - minValue=0; - maxValue=4; - angle0="rad 0"; - angle1="rad 360"; - }; - - class hidePG_1 - { - type = "hide"; - selection = "rocketB1"; - animPeriod=0; - source="Missiles_revolving"; - sourceAddress="mirror"; - minValue=-1.000000; - maxValue= 0.000000; - hideValue=(23/24)+0.0000001; - }; - class hidePG_2: hidePG_1 - { - selection = "rocketB2"; - hideValue=(22/24)+0.0000001; - }; - class hidePG_3: hidePG_1 - { - selection = "rocketB3"; - hideValue=(21/24)+0.0000001; - }; - class hidePG_4: hidePG_1 - { - selection = "rocketB4"; - hideValue=(20/24)+0.0000001; - }; - class hidePG_5: hidePG_1 - { - selection = "rocketB5"; - hideValue=(19/24)+0.0000001; - }; - class hidePG_6: hidePG_1 - { - selection = "rocketB6"; - hideValue=(18/24)+0.0000001; - }; - class hidePG_7: hidePG_1 - { - selection = "rocketB7"; - hideValue=(17/24)+0.0000001; - }; - class hidePG_8: hidePG_1 - { - selection = "rocketB8"; - hideValue=(16/24)+0.0000001; - }; - class hidePG_9: hidePG_1 - { - selection = "rocketB9"; - hideValue=(15/24)+0.0000001; - }; - class hidePG_10: hidePG_1 - { - selection = "rocketB10"; - hideValue=(14/24)+0.0000001; - }; - class hidePG_11: hidePG_1 - { - selection = "rocketB11"; - hideValue=(13/24)+0.0000001; - }; - class hidePG_12: hidePG_1 - { - selection = "rocketB12"; - hideValue=(12/24)+0.0000001; - }; - class hidePG_13: hidePG_1 - { - selection = "rocketB13"; - hideValue=(11/24)+0.0000001; - }; - class hidePG_14: hidePG_1 - { - selection = "rocketB14"; - hideValue=(10/24)+0.0000001; - }; - class hidePG_15: hidePG_1 - { - selection = "rocketB15"; - hideValue=(9/24)+0.0000001; - }; - class hidePG_16: hidePG_1 - { - selection = "rocketB16"; - hideValue=(8/24)+0.0000001; - }; - class hidePG_17: hidePG_1 - { - selection = "rocketB17"; - hideValue=(7/24)+0.0000001; - }; - class hidePG_18: hidePG_1 - { - selection = "rocketB18"; - hideValue=(6/24)+0.0000001; - }; - class hidePG_19: hidePG_1 - { - selection = "rocketB19"; - hideValue=(5/24)+0.0000001; - }; - class hidePG_20: hidePG_1 - { - selection = "rocketB20"; - hideValue=(4/24)+0.0000001; - }; - class hidePG_21: hidePG_1 - { - selection = "rocketB21"; - hideValue=(3/24)+0.0000001; - }; - class hidePG_22: hidePG_1 - { - selection = "rocketB22"; - hideValue=(2/24)+0.0000001; - }; - class hidePG_23: hidePG_1 - { - selection = "rocketB23"; - hideValue=(1/24)+0.0000001; - }; - class hidePG_24: hidePG_1 - { - selection = "rocketB24"; - hideValue=(0/24)+0.0000001; - }; - class hideHF_1: hidePG_1 - { - selection = "HF1"; - hideValue=(7/8)+0.0000001; - }; - class hideHF_2: hidePG_1 - { - selection = "HF2"; - hideValue=(6/8)+0.0000001; - }; - class hideHF_3: hidePG_1 - { - selection = "HF3"; - hideValue=(5/8)+0.0000001; - }; - class hideHF_4: hidePG_1 - { - selection = "HF4"; - hideValue=(4/8)+0.0000001; - }; - class hideHF_5: hidePG_1 - { - selection = "HF5"; - hideValue=(3/8)+0.0000001; - }; - class hideHF_6: hidePG_1 - { - selection = "HF1"; - hideValue=(2/8)+0.0000001; - }; - class hideHF_7: hidePG_1 - { - selection = "HF7"; - hideValue=(1/8)+0.0000001; - }; - class hideHF_8: hidePG_1 - { - selection = "HF8"; - hideValue=(0/8)+0.0000001; - }; - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - class ObsTurret - { - type="rotationY"; - source="ObsTurret"; - selection="turret"; - axis="turret_axis"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class ObsGun:ObsTurret - { - type="rotationX"; - source="ObsGun"; - selection="gun"; - axis="gun_axis"; - }; - class FWheel - { - type="rotation"; - source="gear"; - selection="predni kolo"; - axis="osa predniho kola"; - minValue=-1; - maxValue=1; - angle0="rad -104.4"; - angle1="rad 104.4"; - }; - class LWheel: FWheel - { - selection="levy kolo"; - axis="osa leveho kola"; - angle0="rad -81"; - angle1="rad 81"; - }; - class RWheel: LWheel - { - selection="pravy kolo"; - axis="osa praveho kola"; - }; - class FWheelRot - { - type="rotationX"; - source="wheel"; - selection="predni kolo rot"; - axis="predni kolo rot"; - memory="false"; - minValue=0; - maxValue=2; - sourceAddress="loop"; - angle0=0; - angle1="-rad 360"; - }; - class LWheelRot: FWheelRot - { - selection="levy kolo rot"; - axis="levy kolo rot"; - minValue=0; - maxValue=2.300000; - }; - class RWheelRot: LWheelRot - { - selection="pravy kolo rot"; - axis="pravy kolo rot"; - }; - }; - }; - class ej_MH92DAP2: ej_Helicopter - { - skeletonName="ej_UH60M_skeleton"; - sectionsInherit="ej_HelicopterDucted"; - sections[]= - { - "zbytek", - "camo1", - "camo2", - "camo3", - "muzzleFlash", - "Light_L", - "Light_R", - "Light_L_hitpoint", - "Light_R_hitpoint", - "copip","", - "copip1","", - "copip2","", - }; - class Animations: Animations - { - class display_on //hides display_off selection - { - type="hide"; - source="rpm"; - selection="display_off"; - minValue=-0.8; - maxValue=0.2; - hidevalue=0.9; - sourceAddress="clamp"; - }; - class Horizont1_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont1_bank"; - axis="axis_horizont1_bank"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad +360"; - angle1="rad -360"; - }; - class copip - { - type="hide"; - source="HideSlingFeed"; - selection="copip"; - maxValue=1; - minValue=0; - hideValue=0; - unhideValue=1; - }; - class copip1 - { - type="hide"; - source="HidePilotMFD"; - selection="copip1"; - maxValue=1; - minValue=0; - hideValue=0; - unhideValue=1; - }; - class copip2 - { - type="hide"; - source="HideGunMFD"; - selection="copip2"; - maxValue=1; - minValue=0; - hideValue=0; - unhideValue=1; - }; - class FormationLights : Rotation - { - type="hide"; - source="user"; - selection="Lights_green"; - minValue = 0.0; - maxValue = 1.0; - HideValue = 0.5; - }; - class Horizont1_Pitch - { - type="rotation"; - source="horizonDive"; - selection="horizont1_pitch"; - axis="axis_horizont1_pitch"; - memory=1; - minValue=-6.283190; - maxValue=6.283190; - angle0=-6.283190; - angle1=6.283190; - }; - class Horizont2_Dive - { - type="translation"; - source="horizonDive"; - selection="horizont2pilot"; - axis="axis_horizont2vert"; - memory=1; - minValue=-1.000000; - maxValue=1.000000; - offset0=-0.30000; - offset1=0.30000; - }; - class Horizont2_Bank - { - type="rotation"; - source="horizonBank"; - selection="horizont2pilot"; - axis="axis_horizont2pilot"; - memory=1; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class IndicatorRPM: IndicatorRPM - { - angle1="rad -350"; - }; - class IndicatorRPM2: IndicatorRPM2 - { - angle1="rad -235"; - }; - - class Horizon2_Bank_B: Horizont2_Bank - { - selection="horizont2pilot_b"; - }; - class Horizont3_Dive: Horizont2_Dive - { - selection="horizont3stred"; - axis="axis_horizont3vert"; - }; - class Horizont3_Bank: Horizont2_Bank - { - selection="horizont3stred"; - axis="axis_horizont3stred"; - }; - class Horizon3_Bank_B: Horizont3_Bank - { - selection="horizont3stred_b"; - }; - class IndicatorFuel: Rotation - { - source="Fuel"; - selection="fuel"; - axis="axis_fuel"; - memory=1; - minValue=0.000000; - maxValue=1.000000; - angle0=0.000000; - angle1=-5.1; - }; - class Monitors_on - { - type = "hide"; - source = "rpm"; - selection = "displays"; - sourceAddress = "mirror"; - minValue = -1.5; - maxValue = 0; - hideValue = 0.99; - }; - class IndicatorCompass3: IndicatorCompass - { - selection="compass3"; - axis="axis_compass3"; - }; - class IndicatorCompass4: IndicatorCompass - { - selection="compass4"; - axis="axis_compass4"; - }; - - - //------------------------------------- BUDIKY END -------------------------------------- - - class elevator: Rotation - { - source="speed"; - selection="elevator"; - axis="elevator_axis"; - minValue=42; - maxValue=10; - angle0=-0.523599; - angle1=0.000000; - }; - class PositionLights - { - type = hide; - source = collisionLights; - selection = "PositionLights"; - minValue = 0.0; - maxValue = 1.0; - hideValue = 0.0; - unHideValue = 0.5; - }; - class CollisionLight_Red_blinking: PositionLights - { - source = CollisionLightRed_source; - selection = "CollisionLight_Red"; - }; - class CollisionLight_White_blinking: PositionLights - { - source = CollisionLightWhite_source; - selection = "CollisionLight_White"; - }; - class gear1 - { - type="rotation"; - source="altSurface"; - selection="gear1"; - axis="gear1_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - angle0=0; - angle1=-0.4; - }; - class gear2 - { - type="translation"; - source="altSurface"; - selection="gear2"; - axis="gear2_axis"; - memory=1; - minValue=0.000000; - maxValue=0.300000; - offset0=0; - offset1=-0.4; - }; - class MainTurret - { - type="rotation"; - source="mainTurret"; - selection="OtocVez"; - axis="OsaVeze"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad (-360)"; - angle1="rad (+360)"; - }; - class Turret_2: MainTurret - { - source="Turret_2"; - selection="otocvez_1"; - axis="OsaVeze_1"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class MainGun: MainTurret - { - source="mainGun"; - selection="OtocHlaven"; - axis="OsaHlavne"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class Gun_2: MainGun - { - source="Gun_2"; - selection="otochlaven_1"; - axis="OsaHlavne_1"; - angle0="rad (-360)"; - angle1="rad (+360)"; - - }; - class MachineGun: Rotation - { - selection="gatling_1"; - axis="gatling_1_axis"; - angle1="-600 * 3.141592654"; - source="gatling_1"; - }; - class MachineGun_1: MachineGun - { - selection="gatling_2"; - axis="gatling_2_axis"; - source="gatling_2"; - }; - class otocvez_damage:damageHide - { - selection="otocvez"; - }; - class otocvez_1_damage: otocvez_damage - { - selection="otocvez_1"; - }; - class muzzleFlashROT - { - type="rotationZ"; - source="Cannon_End"; - sourceAddress="loop"; - selection="muzzleFlash"; - axis=""; - centerFirstVertex=true; - minValue=0; - maxValue=4; - angle0="rad 0"; - angle1="rad 360"; - }; - - class hidePG_1 - { - type = "hide"; - selection = "rocketB1"; - animPeriod=0; - source="Missiles_revolving"; - sourceAddress="mirror"; - minValue=-1.000000; - maxValue= 0.000000; - hideValue=(11/12)+0.0000001; - }; - class hidePG_2: hidePG_1 - { - selection = "rocketB2"; - hideValue=(10/12)+0.0000001; - }; - class hidePG_3: hidePG_1 - { - selection = "rocketB3"; - hideValue=(9/12)+0.0000001; - }; - class hidePG_4: hidePG_1 - { - selection = "rocketB4"; - hideValue=(8/12)+0.0000001; - }; - class hidePG_5: hidePG_1 - { - selection = "rocketB5"; - hideValue=(7/12)+0.0000001; - }; - class hidePG_6: hidePG_1 - { - selection = "rocketB6"; - hideValue=(6/12)+0.0000001; - }; - class hidePG_7: hidePG_1 - { - selection = "rocketB7"; - hideValue=(5/12)+0.0000001; - }; - class hidePG_8: hidePG_1 - { - selection = "rocketB8"; - hideValue=(4/12)+0.0000001; - }; - class hidePG_9: hidePG_1 - { - selection = "rocketB9"; - hideValue=(3/12)+0.0000001; - }; - class hidePG_10: hidePG_1 - { - selection = "rocketB10"; - hideValue=(2/12)+0.0000001; - }; - class hidePG_11: hidePG_1 - { - selection = "rocketB11"; - hideValue=(1/12)+0.0000001; - }; - class hidePG_12: hidePG_1 - { - selection = "rocketB12"; - hideValue=(0/12)+0.0000001; - }; - class hideHF_1: hidePG_1 - { - selection = "HF1"; - hideValue=(3/4)+0.0000001; - }; - class hideHF_2: hidePG_1 - { - selection = "HF2"; - hideValue=(2/4)+0.0000001; - }; - class hideHF_3: hidePG_1 - { - selection = "HF3"; - hideValue=(1/4)+0.0000001; - }; - class hideHF_4: hidePG_1 - { - selection = "HF4"; - hideValue=(0/4)+0.0000001; - }; - #define STICK_ANGLE (rad 8) - class stick_pilot_dive_01 // cyclic - { - type = "rotationX"; - source = "cyclicForward"; - axis = "stick_pilot_joint"; - selection = "stick_pilot"; - minValue = -0.499999; - maxValue = 0.499999; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_dive_02: stick_pilot_dive_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_03: stick_pilot_dive_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_dive_04: stick_pilot_dive_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_dive_05: stick_pilot_dive_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_pilot_bank_01: stick_pilot_dive_01 - { - type = "rotationZ"; - source = "cyclicAside"; - angle0 = STICK_ANGLE / 3; - angle1 = - STICK_ANGLE / 3; - }; - class stick_pilot_bank_02: stick_pilot_bank_01 {minValue = -0.849999; maxValue = -0.5; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_03: stick_pilot_bank_01 {minValue = -1; maxValue = -0.85; angle0 = STICK_ANGLE / 3; angle1 = 0;}; - class stick_pilot_bank_04: stick_pilot_bank_01 {minValue = 0.5; maxValue = 0.849999; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - class stick_pilot_bank_05: stick_pilot_bank_01 {minValue = 0.85; maxValue = 1; angle0 = 0; angle1 = - STICK_ANGLE / 3;}; - - class stick_copilot_dive01: stick_pilot_dive_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive02: stick_pilot_dive_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive03: stick_pilot_dive_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive04: stick_pilot_dive_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_dive05: stick_pilot_dive_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class stick_copilot_bank01: stick_pilot_bank_01 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank02: stick_pilot_bank_02 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank03: stick_pilot_bank_03 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank04: stick_pilot_bank_04 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - class stick_copilot_bank05: stick_pilot_bank_05 {selection = "stick_copilot"; axis = "stick_copilot_joint";}; - - class lever_pilot: rotation - { - source = "collectiveRTD"; - selection = "lever_pilot"; - axis = "lever_pilot_axis"; - angle0 = "rad -3"; - angle1 = "rad 12"; - }; - class lever_copilot: lever_pilot {selection = "lever_copilot"; axis = "lever_copilot_axis";}; - class ObsTurret - { - type="rotationY"; - source="ObsTurret"; - selection="turret"; - axis="turret_axis"; - animPeriod=0; - minValue="rad -360"; - maxValue="rad +360"; - angle0="rad -360"; - angle1="rad +360"; - }; - class ObsGun:ObsTurret - { - type="rotationX"; - source="ObsGun"; - selection="gun"; - axis="gun_axis"; - }; - class FWheel - { - type="rotation"; - source="gear"; - selection="predni kolo"; - axis="osa predniho kola"; - minValue=-1; - maxValue=1; - angle0="rad -104.4"; - angle1="rad 104.4"; - }; - class LWheel: FWheel - { - selection="levy kolo"; - axis="osa leveho kola"; - angle0="rad -81"; - angle1="rad 81"; - }; - class RWheel: LWheel - { - selection="pravy kolo"; - axis="osa praveho kola"; - }; - class FWheelRot - { - type="rotationX"; - source="wheel"; - selection="predni kolo rot"; - axis="predni kolo rot"; - memory="false"; - minValue=0; - maxValue=2; - sourceAddress="loop"; - angle0=0; - angle1="-rad 360"; - }; - class LWheelRot: FWheelRot - { - selection="levy kolo rot"; - axis="levy kolo rot"; - minValue=0; - maxValue=2.300000; - }; - class RWheelRot: LWheelRot - { - selection="pravy kolo rot"; - axis="pravy kolo rot"; - }; - }; - }; -}; \ No newline at end of file