ED Team BIGNEWY Posted December 7, 2023 ED Team Posted December 7, 2023 Hi all, with the latest update some changes have been made to hardcoded helicopter gun and gear animations. The change has been made to help modders. I will post some examples below. Gears now work by default for any helicopter using them. But if someone wants a more complicated animation they can use mechanisation system. Sample of mechanisation usage : undercarriage_movement = 2, -- with value 2 DCS will use mechanimated gears, other values - default mechanimations = { -- mechanimations section starts LeftStrut = { -- left strut section starts { Transition = {"Retract", "Extend"}, -- left strut extend section starts Sequence = { {C = {{"Arg", 116, "to", 1.0, "in", 0.5, "sign", 1}}}, -- gear door (arg 116) opens in 0.5 sec {C = {{"Arg", 5, "to", 1.0, "in", 1.0, "sign", 1}}}, -- strut extends in 1 second {C = {{"Arg", 116, "to", 0.0, "in", 0.5, "sign", -1}}}, -- gear door closes in 0.5 sec }, Flags = {"Reversible"}, }, -- left strut extend section ends { Transition = {"Extend", "Retract"}, -- left strut retract section starts Sequence = { {C = {{"Arg", 116, "to", 1.0, "in", 0.5, "sign", 1}}}, -- gear door opens {C = {{"Arg", 5, "to", 0.0, "in", 1.0, "sign", -1}}}, -- strut retract {C = {{"Arg", 116, "to", 0.0, "in", 0.5, "sign", -1}}}, -- gear door closes }, Flags = {"Reversible"}, }, }, -- left strut retract section RightStrut = { -- similar to left strut with own args { Transition = {"Retract", "Extend"}, Sequence = { {C = {{"Arg", 115, "to", 1.0, "in", 0.5, "sign", 1}}}, -- gear door opens {C = {{"Arg", 3, "to", 1.0, "in", 1.0, "sign", 1}}}, -- strut extends {C = { {"Arg", 115, "to", 0.0, "in", 0.5, "sign", -1}}}, -- gear door closes }, Flags = {"Reversible"}, }, { Transition = {"Extend", "Retract"}, Sequence = { {C = {{"Arg", 115, "to", 1.0, "in", 0.5, "sign", 1}}}, -- gear door opens {C = {{"Arg", 3, "to", 0.0, "in", 1.0, "sign", -1}}}, -- strut retract {C = {{"Arg", 115, "to", 0.0, "in", 0.5, "sign", -1}}}, -- gear door closes }, Flags = {"Reversible"}, }, }, CentralStrut = { -- central strut section has no doors, just strut movement { Transition = {"Retract", "Extend"}, Sequence = { {C = {{"Arg", 0, "to", 1.0, "in", 1.0, "sign", 1}}}, -- strut extends }, Flags = {"Reversible"}, }, { Transition = {"Extend", "Retract"}, Sequence = { {C = {{"Arg", 0, "to", 0.0 , "in", 1.0, "sign", -1}}}, -- gear door closes }, Flags = {"Reversible"}, }, }, },-- mechanimations section ends For movable turrets/gun mounts one should write `turret_data` section in config, sample : turret_data = { -- turret section starts H_Min = -86.0, -- min(left) horizontal angle(degrees) - turret horizontal argument is -1 here H_Max = 86.0, -- max(right) horizontal angle(degrees) - turret horizontal argument is +1 here V_Min = -60.0, -- min(low) vertical angle(degrees) - turret vertical argument is -1 here V_Max = 11.0, -- max(high) vertical angle(degrees) - turret vertical argument is +1 here H_Vel = 20.0, -- max horizontal turn speed degrees per second V_Vel = 20.0, -- max vertical turn speed degrees per second }, -- turret section ends Thank you 9 5 Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, PIMAX Crystal
currenthill Posted December 19, 2023 Posted December 19, 2023 This is just great! Thank you for the quick work on this. 4 _____________________________________________________________ Military Assets for DCS by Currenthill Questions about my assets - check my FAQ! Click here if you want to support my work by donations
CARLONE1951 Posted December 20, 2023 Posted December 20, 2023 DCS 2.9.2.49629 Beta dove fare il dowload
grim_reaper68 Posted April 6 Posted April 6 Hi I'm just trying to make some test to mod an heli, the gears works reverse, they go down as it's airborne...
Hawkeye60 Posted May 27 Posted May 27 Start the animation with the gear retracted zero time line, gear up plus 100 gear down 1 1 "Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."
Recommended Posts