From f52270fe9ffbc8740d1dd77508d99c8a7db8123b Mon Sep 17 00:00:00 2001 From: Hizumi <33106048+user4752@users.noreply.github.com> Date: Wed, 1 May 2024 22:30:35 -0500 Subject: [PATCH] initial file commit --- .gitattributes | 1 + 17BCT_Pack.pbo | 3 + 17th_Connection.pbo | 3 + 17th_Fixes.pbo | 3 + 17th_NVGFixes.pbo | 3 + 17th_loadouts.pbo | 3 + MAA.pbo | 3 + SMA_ACR.pbo | 3 + SMA_AIMPOINT.pbo | 3 + SMA_Bipod.pbo | 3 + SMA_ECLAN_C.pbo | 3 + SMA_ELCAN.pbo | 3 + SMA_ELCAN_ALTZOOM_C.pbo | 3 + SMA_EOTECH_33.pbo | 3 + SMA_EOTECH_552.pbo | 3 + SMA_HK416.pbo | 3 + SMA_HK417.pbo | 3 + SMA_M4.pbo | 3 + SMA_MK18.pbo | 3 + SMA_PEQ15.pbo | 3 + SMA_RAILGUARD.pbo | 3 + SMA_RECOIL.pbo | 3 + SMA_RHS_Patch.pbo | 3 + SMA_SOUND.pbo | 3 + SMA_vanilla_ammo.pbo | 3 + SMA_weapons.pbo | 3 + Turret_Enhanced.pbo | 3 + ace_particles.pbo | 3 + model.cfg | 10497 ++++++++++++++++++++++++++++++++++++++ scar_arma3.pbo | 3 + sma_aac_mpw.pbo | 3 + sma_vortex_optics.pbo | 3 + uh-60.pbo | 3 + uh-60_c.pbo | 3 + 34 files changed, 10594 insertions(+) create mode 100644 .gitattributes create mode 100644 17BCT_Pack.pbo create mode 100644 17th_Connection.pbo create mode 100644 17th_Fixes.pbo create mode 100644 17th_NVGFixes.pbo create mode 100644 17th_loadouts.pbo create mode 100644 MAA.pbo create mode 100644 SMA_ACR.pbo create mode 100644 SMA_AIMPOINT.pbo create mode 100644 SMA_Bipod.pbo create mode 100644 SMA_ECLAN_C.pbo create mode 100644 SMA_ELCAN.pbo create mode 100644 SMA_ELCAN_ALTZOOM_C.pbo create mode 100644 SMA_EOTECH_33.pbo create mode 100644 SMA_EOTECH_552.pbo create mode 100644 SMA_HK416.pbo create mode 100644 SMA_HK417.pbo create mode 100644 SMA_M4.pbo create mode 100644 SMA_MK18.pbo create mode 100644 SMA_PEQ15.pbo create mode 100644 SMA_RAILGUARD.pbo create mode 100644 SMA_RECOIL.pbo create mode 100644 SMA_RHS_Patch.pbo create mode 100644 SMA_SOUND.pbo create mode 100644 SMA_vanilla_ammo.pbo create mode 100644 SMA_weapons.pbo create mode 100644 Turret_Enhanced.pbo create mode 100644 ace_particles.pbo create mode 100644 model.cfg create mode 100644 scar_arma3.pbo create mode 100644 sma_aac_mpw.pbo create mode 100644 sma_vortex_optics.pbo create mode 100644 uh-60.pbo create mode 100644 uh-60_c.pbo diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d2aec0a --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.pbo filter=lfs diff=lfs merge=lfs -text diff --git a/17BCT_Pack.pbo b/17BCT_Pack.pbo new file mode 100644 index 0000000..12fa0d6 --- /dev/null +++ b/17BCT_Pack.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:714cb4d347a6a3c246467d6fdea286bbf4082acd6492723f8ba844814f7aa9b3 +size 13234267 diff --git a/17th_Connection.pbo b/17th_Connection.pbo new file mode 100644 index 0000000..b5a9cb7 --- /dev/null +++ b/17th_Connection.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:215c20317de02394be9031ac858dfae1776efd9dc656f500472d1ad9255f4411 +size 48200 diff --git a/17th_Fixes.pbo b/17th_Fixes.pbo new file mode 100644 index 0000000..7062bca --- /dev/null +++ b/17th_Fixes.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b90f876c2535592bf499c6a123417edd7965c6a067340e2c4027550c33002ffd +size 2583 diff --git a/17th_NVGFixes.pbo b/17th_NVGFixes.pbo new file mode 100644 index 0000000..60a2a52 --- /dev/null +++ b/17th_NVGFixes.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05d8ccbee0bccf891dab5eaec9e2057de534ceb3f13ead05b2d0a6212add1f2f +size 229228 diff --git a/17th_loadouts.pbo b/17th_loadouts.pbo new file mode 100644 index 0000000..6783cd3 --- /dev/null +++ b/17th_loadouts.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20d109ee8c8f19681ece4ee21d254b1fc396803ddc1b59ade12f2286a50957ea +size 46695 diff --git a/MAA.pbo b/MAA.pbo new file mode 100644 index 0000000..a93e6bb --- /dev/null +++ b/MAA.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:80bbb26d6a2a18188dbac9f4062259bd6c449f4790c6f1c6ec39049c696a9438 +size 486566 diff --git a/SMA_ACR.pbo b/SMA_ACR.pbo new file mode 100644 index 0000000..8360ce6 --- /dev/null +++ b/SMA_ACR.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e65cabab7e3deda1548e377bc560d36ca0f0b777dd6b7837644c28b4612c7736 +size 63390840 diff --git a/SMA_AIMPOINT.pbo b/SMA_AIMPOINT.pbo new file mode 100644 index 0000000..63f3215 --- /dev/null +++ b/SMA_AIMPOINT.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d8457b6a20fdc7131f52960bdac023a596cb39ba03ea4668394786b6cbe283de +size 9093163 diff --git a/SMA_Bipod.pbo b/SMA_Bipod.pbo new file mode 100644 index 0000000..ab6dee7 --- /dev/null +++ b/SMA_Bipod.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5dbba40e2bfc092f1fc5e6a2667b97f45c5e56ab543e0f71086b0fba36fba78e +size 1845571 diff --git a/SMA_ECLAN_C.pbo b/SMA_ECLAN_C.pbo new file mode 100644 index 0000000..5414b61 --- /dev/null +++ b/SMA_ECLAN_C.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ec4c98bc9eda3fbfd5b75b43f527353f45b071f6c4c0d08a7c9e596e8e39d71 +size 25211 diff --git a/SMA_ELCAN.pbo b/SMA_ELCAN.pbo new file mode 100644 index 0000000..20b1b3a --- /dev/null +++ b/SMA_ELCAN.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a5a6294841a4f1e03f341cd76274a97156ab84888a21b0b8d1ef6ad3db35d966 +size 73525657 diff --git a/SMA_ELCAN_ALTZOOM_C.pbo b/SMA_ELCAN_ALTZOOM_C.pbo new file mode 100644 index 0000000..b9c769f --- /dev/null +++ b/SMA_ELCAN_ALTZOOM_C.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18addca06bd332ef8b58feb8cafca6fdfc1d8d663de4689036de18e0f7c9037b +size 25878 diff --git a/SMA_EOTECH_33.pbo b/SMA_EOTECH_33.pbo new file mode 100644 index 0000000..3e5c857 --- /dev/null +++ b/SMA_EOTECH_33.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6502ec232a4445ab83f968f10b2933cd7aef49fb8f4dbb2c6ef66c82ef4dd128 +size 25713002 diff --git a/SMA_EOTECH_552.pbo b/SMA_EOTECH_552.pbo new file mode 100644 index 0000000..ff12391 --- /dev/null +++ b/SMA_EOTECH_552.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df8f52ffcad7e78180288099d59d383cbda5e062718307698f60dc20108af519 +size 36589499 diff --git a/SMA_HK416.pbo b/SMA_HK416.pbo new file mode 100644 index 0000000..af6ed87 --- /dev/null +++ b/SMA_HK416.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:debba55966ae074346b8deecd7874542c604dcb1cc6c94910c631be2ef4bd7dc +size 94077438 diff --git a/SMA_HK417.pbo b/SMA_HK417.pbo new file mode 100644 index 0000000..740cccd --- /dev/null +++ b/SMA_HK417.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4f735c50fe41686b97e451f2132331c2d11c494ac9db11383e23a41ca2389f8 +size 20146940 diff --git a/SMA_M4.pbo b/SMA_M4.pbo new file mode 100644 index 0000000..55b9c5a --- /dev/null +++ b/SMA_M4.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9166b8b9268aacf453c2675a9013143e2ede4d1d08825dae61251676a073564f +size 76473201 diff --git a/SMA_MK18.pbo b/SMA_MK18.pbo new file mode 100644 index 0000000..72a6f42 --- /dev/null +++ b/SMA_MK18.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8340d15dee6f344120793ccf79d145e1555a8345bb07423cb07351be45e43c2f +size 72016104 diff --git a/SMA_PEQ15.pbo b/SMA_PEQ15.pbo new file mode 100644 index 0000000..6933139 --- /dev/null +++ b/SMA_PEQ15.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0c6f2fda3b32e4bf7312b04864430abe7302a694a02f4f1ba3fa460b41f1f50b +size 42978870 diff --git a/SMA_RAILGUARD.pbo b/SMA_RAILGUARD.pbo new file mode 100644 index 0000000..d769c56 --- /dev/null +++ b/SMA_RAILGUARD.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2aebc7371330650457599e7d9241a5864205ea43134c92c52ede77af2afa6e3e +size 538429 diff --git a/SMA_RECOIL.pbo b/SMA_RECOIL.pbo new file mode 100644 index 0000000..8cb3ec6 --- /dev/null +++ b/SMA_RECOIL.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:40c36a73a8e390d3099baef838cc5c942aae5b42366988c06a315095e8aedc77 +size 4166 diff --git a/SMA_RHS_Patch.pbo b/SMA_RHS_Patch.pbo new file mode 100644 index 0000000..3c89181 --- /dev/null +++ b/SMA_RHS_Patch.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:83b5dbf0a9979556cb7ef513e40359f8670ae4bbcc5a9adfcfa8ae7e1b97b0d5 +size 1437 diff --git a/SMA_SOUND.pbo b/SMA_SOUND.pbo new file mode 100644 index 0000000..d0eb274 --- /dev/null +++ b/SMA_SOUND.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:189c209eca99c750b03e5c5bcfd42271d73eed94d78262985403a0feda458e38 +size 56707639 diff --git a/SMA_vanilla_ammo.pbo b/SMA_vanilla_ammo.pbo new file mode 100644 index 0000000..f79c5de --- /dev/null +++ b/SMA_vanilla_ammo.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9cd658bf5547f0b6cdc2f16c33070a52f16ddec43f458ff8e39fdc7f78b641c1 +size 1322 diff --git a/SMA_weapons.pbo b/SMA_weapons.pbo new file mode 100644 index 0000000..2a3ba2f --- /dev/null +++ b/SMA_weapons.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7338a6afc0eda2dadd3db56515cc3ed53997bce1f29dae65c53771806d07a05d +size 65054401 diff --git a/Turret_Enhanced.pbo b/Turret_Enhanced.pbo new file mode 100644 index 0000000..8785172 --- /dev/null +++ b/Turret_Enhanced.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5dde4acc818576e9893565a37deb47791c483f0dc1e56df638b9d7b5a9753fa9 +size 503907 diff --git a/ace_particles.pbo b/ace_particles.pbo new file mode 100644 index 0000000..618c1e1 --- /dev/null +++ b/ace_particles.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b41aed8c78ef6a439f81b4d82dbb11aa72415d3e0621ea4caaa02c78f7e16b68 +size 64715 diff --git a/model.cfg b/model.cfg new file mode 100644 index 0000000..f790d3d --- /dev/null +++ b/model.cfg @@ -0,0 +1,10497 @@ +#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 diff --git a/scar_arma3.pbo b/scar_arma3.pbo new file mode 100644 index 0000000..474ecc9 --- /dev/null +++ b/scar_arma3.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0583ed13f63a0f12e96124ab8e816b875c243da92ae3bf3f040c57236142589d +size 78423249 diff --git a/sma_aac_mpw.pbo b/sma_aac_mpw.pbo new file mode 100644 index 0000000..43f6bca --- /dev/null +++ b/sma_aac_mpw.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:28673749804b4d3c1115d8793aecd3ea5a68f35d2f86f4abb74cbb577f5c1c85 +size 32770122 diff --git a/sma_vortex_optics.pbo b/sma_vortex_optics.pbo new file mode 100644 index 0000000..f96ac65 --- /dev/null +++ b/sma_vortex_optics.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0c708fce4bfc63a4abebe961880ba429df3f7f5c8d80f3e3808ad2cbbf608e02 +size 46238706 diff --git a/uh-60.pbo b/uh-60.pbo new file mode 100644 index 0000000..e1daf8f --- /dev/null +++ b/uh-60.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:09ab7b3d1d1d63b77e61cb8cc3cb644fe9e39fe138390bd830cfea5e0923d9cc +size 228856821 diff --git a/uh-60_c.pbo b/uh-60_c.pbo new file mode 100644 index 0000000..064b249 --- /dev/null +++ b/uh-60_c.pbo @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0006380c49cafbf8c5188eb297053525485df3f4182c715209ff5d93378887a3 +size 6790995