ED Team BIGNEWY Posted December 7, 2023 ED Team Share 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 7 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, HP Reverb G2 Link to comment Share on other sites More sharing options...
currenthill Posted December 19, 2023 Share 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 Link to comment Share on other sites More sharing options...
CARLONE1951 Posted December 20, 2023 Share Posted December 20, 2023 DCS 2.9.2.49629 Beta dove fare il dowload Link to comment Share on other sites More sharing options...
Admiral189 Posted February 13 Share Posted February 13 Great news. Thanks. Link to comment Share on other sites More sharing options...
grim_reaper68 Posted April 6 Share 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... Link to comment Share on other sites More sharing options...
Recommended Posts