Markindel Posted April 17, 2013 Posted April 17, 2013 Hi to all. I'm trying to understand how the system that allows you to bring up the model "plane hit." I created a model of SpadVII and I added the animation wing hit. This animation is detected by ModelViewer but not from the SIM card. Can anyone help me? I think I'm doing something wrong in the collision-shell http://i.imgur.com/KxyCUwm.jpg http://imgur.com/m5w8D7B
SkateZilla Posted April 17, 2013 Posted April 17, 2013 (edited) You have to set the Damage Types and Arg Animations in the Aircraft's Data LUA Block. Damage Types are listed in another file but. ie: Damage = { [0] = {critical_damage = 5, args = {146}}, [3] = {critical_damage = 20,args = {65}} , [4] = {critical_damage = 20, args = {150}}, [5] = {critical_damage = 20, args = {147}}, [7] = {critical_damage = 4, args = {249}} , [9] = {critical_damage = 3, args = {154}}, [10] = {critical_damage = 3, args = {153}}, }, DamageParts = { [1] = "Wunderluft-part-wing-R", -- wing R [2] = "Wunderluft-part-wing-L", -- wing L [3] = "Wunderluft-part-nose", -- nose [4] = "Wunderluft-part-tail", -- tail }, Edited April 17, 2013 by SkateZilla Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2), ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9) 3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs
Markindel Posted April 17, 2013 Author Posted April 17, 2013 Thanks SkateZilla, thank you so much for taking my call. I am now testing.
Markindel Posted April 17, 2013 Author Posted April 17, 2013 Hello SkateZilla, I'm sorry if I come back again on this subject. In this presentation I put the section "damage" of FokkerDR1.lua In the file edm the wing hit is called AlaAlpha. As you can see from the picture, in the left wing hit the Fokker which ignites and catches fire but the animation does not appear. Could you, please, tell me where am I doing wrong? Damage = { ----["NOSE_CENTER"] = {critical_damage = 5, args = {146},deps_cells = {"WHEEL_F"}}, ["NOSE_CENTER"] = {critical_damage = 0, args = {146},deps_cells = {"WHEEL_F"}}, ["COCKPIT"] = {critical_damage = 10, args = {65}}, ["CABIN_RIGHT_SIDE"] = {critical_damage = 5 , args = {147}}, ["CABIN_LEFT_SIDE"] = {critical_damage = 5 , args = {150}}, ["GUN"] = {critical_damage = 2 , args = {249}}, ["FUSELAGE_LEFT_SIDE"] = {critical_damage = 3, args = {154}}, ["FUSELAGE_RIGHT_SIDE"] = {critical_damage = 3, args = {153}}, ["TAIL"] = {critical_damage = 20, args = {81},deps_cells = {"FIN_R_TOP","STABILIZER_L_OUT","STABILIZER_R_OUT"}}, ["FIN_R_TOP"] = {critical_damage = 10, args = {241},deps_cells = {"RUDDER_R"}}, ["RUDDER_R"] = {critical_damage = 3, args = {247}}, ["STABILIZER_L_OUT"] = {critical_damage = 7, args = {235},deps_cells = {"ELEVATOR_L_IN"}}, ["ELEVATOR_L_IN"] = {critical_damage = 3, args = {239}}, ["STABILIZER_R_OUT"] = {critical_damage = 7, args = {233},deps_cells = {"ELEVATOR_R_IN"}}, ["ELEVATOR_R_IN"] = {critical_damage = 3, args = {237}}, ["FUSELAGE_BOTTOM"] = {critical_damage = 4, args = {152}}, ["NOSE_BOTTOM"] = {critical_damage = 3, args = {148}}, ["WING_L_IN"] = {critical_damage = 5, args = {225} ,deps_cells = {"WING_L_CENTER","FLAP_L","WHEEL_L"}}, ["WING_L_CENTER"] = {critical_damage = 10, args = {224} ,deps_cells = {"WING_L_OUT" ,"ELERON_L"}}, ["WING_L_OUT"] = {critical_damage = 3, args = {223}}, ["FLAP_L"] = {critical_damage = 3, args = {229}}, ["ELERON_L"] = {critical_damage = 3, args = {226}}, ["WING_R_IN"] = {critical_damage = 10, args = {215} ,deps_cells = {"WING_R_CENTER","FLAP_R","WHEEL_R"}}, ["WING_R_CENTER"] = {critical_damage = 10, args = {214} ,deps_cells = {"WING_R_OUT" ,"ELERON_R"}}, ["WING_R_OUT"] = {critical_damage = 3, args = {213}}, ["FLAP_R"] = {critical_damage = 3, args = {217}}, ["ELERON_R"] = {critical_damage = 3, args = {216}}, ["WHEEL_F"] = {critical_damage = 5, args = {134}}, ["WHEEL_R"] = {critical_damage = 5, args = {135}}, ["WHEEL_L"] = {critical_damage = 5, args = {136}}, }, DamageParts = { ---- righe modificate [1] = "FokkerDR1_Crash", [5] = "AlaAlpha",
SkateZilla Posted April 17, 2013 Posted April 17, 2013 im in my Office, so i cant really look at my stuff right now, But: Make sure the Animation ARG ID Number is correct, and matches the Arg# of the Damage Table Frame 0 is Undamaged Wing, Frame 1 is Damaged Wing (might be the other way around). Destroyed Wings, are Exported Separate from the Main EDM. ( for Wings Falling Off etc). so: DamageParts = { ---- righe modificate [1] = "FokkerDR1_Crash", [5] = "AlaAlpha", FokkerDR1_Crash is an EDM AlaAlpha is an EDM Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2), ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9) 3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs
NRG-Vampire Posted April 17, 2013 Posted April 17, 2013 Hi to all. I'm trying to understand how the system that allows you to bring up the model "plane hit." how do you want to use these models ? by SFM (FC3) or by DCS: Mustang ?
Markindel Posted April 17, 2013 Author Posted April 17, 2013 @NRG-Vampire: I am using the folder "Mod". I'm helping with the classic example "Wunderluft", some data i got them also from Bf109E. @SkateZilla. The argument that I'm using is "[" WING_L_IN "] = {critical_damage = 5, args = {225}, {deps_cells =" WING_L_CENTER "," FLAP_L "," WHEEL_L "}},". FokkerDR1_Crash is a file Edm aside, while "AlaAlpha" is a model inside the EDM FokkerDR1.edm file (the main file). The argument I have assigned using the "Graph Editor" of 3Dmax, using the "Graph Editor", "Track Visibility", "Visibility" and finally "Assign Controller". In fact, the animation "whole wing" - "wing hit" works with ModelViewer but not inside the sim.
NRG-Vampire Posted April 17, 2013 Posted April 17, 2013 (edited) @NRG-Vampire: I am using the folder "Mod". I'm helping with the classic example "Wunderluft", some data i got them also from Bf109E. AFAIK "Mods" folder use mainly SFM with your EFM lua supplements, so i think it's working with FMBase.dll and FC3.dll especialliy if you have installed FC3 so i think you should use ArgVisibilityNode on Arg223-Arg225 for left wing (new models) or ArgVisibilityNode on Arg53, Arg67 for left wing (old models) Edited April 17, 2013 by NRG-Vampire
SkateZilla Posted April 17, 2013 Posted April 17, 2013 "[" WING_L_IN "] is supposed to be A Number or something specific IIRC, (Collision Box/Shell?) The Damage and Fire POS are there, it's not playing the Animation, so Make sure the Controller is ArgVisibility Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2), ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9) 3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs
Markindel Posted April 17, 2013 Author Posted April 17, 2013 (edited) @ NGR-Vampire. Yes, I have installed FC3, thanks. @ SkateZilla I try to change the name of collision_line in "WING_L_IN" inside the file Fokker_CollisionShell. In any case, thank you both so much for your answers. :) Mario. This is the Fokker_CollisionShell in wip. Edited April 17, 2013 by Markindel add image
Recommended Posts