RagnarDa Posted January 27, 2014 Posted January 27, 2014 I am having issues making the wheels collidable in my model. I can extend and retract the gears (through ED_FM_SUSPENSION_0_GEAR_POST_STATE in the EFM) but the aiplane just rests on its belly, and the wheels go under the ground. Any help please? DCS AJS37 HACKERMAN There will always be bugs. If everything is a priority nothing is.
aaron886 Posted January 27, 2014 Posted January 27, 2014 A few quick searches would have found you the answer. This should get you started: http://forums.eagle.ru/showpost.php?p=1606628&postcount=33
SkateZilla Posted January 27, 2014 Posted January 27, 2014 was about to say, sounds familiar... 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
RagnarDa Posted January 27, 2014 Author Posted January 27, 2014 Thank you for your answers! However, I have already read those threads, only I couldn't get it to work. Am I missing something here? Am I supposed to just write:TYPE = "collision_shell"; OBJECT = WHEEL_L;in the User Defined Properties of the object in 3DS Max? DCS AJS37 HACKERMAN There will always be bugs. If everything is a priority nothing is.
SkateZilla Posted January 27, 2014 Posted January 27, 2014 (edited) The Mesh Name Should be "WHEEL_L" and Under Object Properties/user Defined: TYPE = collision_shell (not sure if I had parenthesis) I'll post a screenshot when I get off work if needed. (in about 2.5 hours) is this related to the F-16? as I think I still have the MAX File for the F-16C Cpt.Smiley purchased, As we were going to eventually replace the stock EDM with the better looking purchased one. Edited January 27, 2014 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
RagnarDa Posted January 27, 2014 Author Posted January 27, 2014 Thanks! PM sent. DCS AJS37 HACKERMAN There will always be bugs. If everything is a priority nothing is.
SkateZilla Posted January 28, 2014 Posted January 28, 2014 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
RagnarDa Posted January 28, 2014 Author Posted January 28, 2014 Make wheels collidable with EFM? Thanks! Will try it out. DCS AJS37 HACKERMAN There will always be bugs. If everything is a priority nothing is.
RagnarDa Posted January 28, 2014 Author Posted January 28, 2014 collision_shell doesn't work for me... https://www.dropbox.com/s/ijng5s9rt82gp81/just%20a%20wheel.png DCS AJS37 HACKERMAN There will always be bugs. If everything is a priority nothing is.
SVKSniper Posted January 28, 2014 Posted January 28, 2014 Ragnar you have definition lods for damage model.... My lua code for F4U.lods model={ lods={ {"F4U.edm",100000.0}; }; collision_shell="F4U-collision.edm"; } What you see in Modelviewer if you open your collision model....?? Send screen.... Here is my collision model in MW... Support my work
SkateZilla Posted January 28, 2014 Posted January 28, 2014 ^ That, I tried just putting Splines/Cylinders for Gear before, but if there isnt a Main Collision Mesh to link it to, it wont export it, So you need a Low Poly Fuselage, low poly wings, low Poly gear strut and low poly tire, with TYPE=collision_shell. Everything has to be linked and animated to match the actual 3d model Then you need to set left or right viewport active in MAX, and trace the outline of the plane from the side w/ a Line Spline, set it as TYPE=collision_line. then set MAX to top viewport, trace the outline of the plane with a second line and set it as TYPE=collision_line not sure of a bounding box is required. 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
SkateZilla Posted January 28, 2014 Posted January 28, 2014 (edited) collision_shell doesn't work for me... https://www.dropbox.com/s/ijng5s9rt82gp81/just%20a%20wheel.png the yellow object properties text doesnt match what I have in my projects. Mine just say: TYPE=collision_shell, I read some where that user defined box was supposed to say - TYPE = "collision_line"; Then again lately when I Hide the Main Mesh and Export just the collision shells/lines I get a 1KB EDM with nada in it... Sooo... Maybe something isnt being done right by myself either. Edited January 28, 2014 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
RagnarDa Posted January 28, 2014 Author Posted January 28, 2014 No still doesnt work. Would it be possible I could send you the max file so you could have a look? DCS AJS37 HACKERMAN There will always be bugs. If everything is a priority nothing is.
SkateZilla Posted January 28, 2014 Posted January 28, 2014 Im at my office till 7pm EST tonight, but yeah, you can email it to me or upload and PM me the link. I need to verify with another 3rd party the correct way to export, cuz the 1KB .EDM file I've been getting has no mesh names or anything in it. 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
SVKSniper Posted January 28, 2014 Posted January 28, 2014 (edited) Skate...."collision_shell" is for mesh and "collision_line" is for line around this mesh...... And i have one max file for collision model and one is model what you see in game....Ragnar you reading my comments....?? Edited January 28, 2014 by SVKSniper Support my work
RagnarDa Posted January 28, 2014 Author Posted January 28, 2014 Skate...."collision_shell" is for mesh and "collision_line" is for line around this mesh...... And i have one max file for collision model and one is model what you see in game....Ragnar you reading my comments....?? Yes I tried your suggestion with the .lod file. I used the same model for both the visible model and the collision model. Still didn't work... DCS AJS37 HACKERMAN There will always be bugs. If everything is a priority nothing is.
SVKSniper Posted January 28, 2014 Posted January 28, 2014 You see collision model in Modelviewer....?? Support my work
SkateZilla Posted January 28, 2014 Posted January 28, 2014 Skate...."collision_shell" is for mesh and "collision_line" is for line around this mesh...... And i have one max file for collision model and one is model what you see in game....Ragnar you reading my comments....?? So Let me get this straight before I kick myself for doing it wrong. Spline Line Traced Around Side View of Airframe (( Centered to X=0.0, Object Properties TYPE=collision_line) Spline Line traced Around Top View of Airframe (( Aligned with Wings on Z Axis, Object Properties TYPE=collision_line) Low Poly Fuselage (Object Properties TYPE=collision_shell) -Low Poly Vertical Stabilizer (Object Properties TYPE=collision_shell) -Low Poly Left Elevator (Object Properties TYPE=collision_shell) -Low Poly Right Elevator (Object Properties TYPE=collision_shell) -Low Poly Main Gear Strut (Object Properties TYPE=collision_shell) -Gear Strut Spline (Object Properties TYPE=collision_line) --Low Poly Main Gear Tire (Object Properties TYPE=collision_shell) -Low Poly Left Wing (Object Properties TYPE=collision_shell) --Low Poly Left Gear Strut (Object Properties TYPE=collision_shell) --Gear Strut Spline (Object Properties TYPE=collision_line) ---Low Poly Left Tire (Object Properties TYPE=collision_shell) -Low Poly Right Wing (Object Properties TYPE=collision_shell) --Low Poly Right Gear Strut (Object Properties TYPE=collision_shell) --Gear Strut Spline (Object Properties TYPE=collision_line) ---Low Poly Right Tire (Object Properties TYPE=collision_shell) No Other Meshes, Export as EDM. i think that's my issue I only have the Side and Top Outline Splines(set as Collision_Lines), the Gear Strut Splines (set as Collision_Lines), And the Cylinders (set as collision_shell). I need to build the entire Collision mesh and link it all together. then when everything is done, go back and make a more detailed collision mesh for each part. (Airlerons etc) 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
SVKSniper Posted January 28, 2014 Posted January 28, 2014 Skate your obj. properties is ok..... but my lines copy the mesh border....now i work....if you want tomorrow uploading my render from max....And mesh need correct name from damage.lua..... Support my work
SkateZilla Posted January 28, 2014 Posted January 28, 2014 (edited) Skate your obj. properties is ok..... but my lines copy the mesh border....now i work....if you want tomorrow uploading my render from max....And mesh need correct name from damage.lua..... I'm just trying to get the Gear to interact with the ground on the F-16AFM with a new External 3D Model, But was wondering why it was exporting a 1KB Empty EDM when I Exported the Collision lines and shells. I know the Names and stuff for damage. I also dont really use a separate MAX Scene for Collisions, But I do use a "GROUP" that I Hide/Unhide as needed, that way I can make sure the gear animations match. I also think I completely forgot to assign "shell material" to the meshes... < -- Major Brainfart, will check that tonight, But I dont remember EVER setting that, so that could be the problem I have. Edited January 28, 2014 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
Jediteo Posted January 28, 2014 Posted January 28, 2014 DCS development at its finest, beating you head against the wall until something breaks :). [sIGPIC][/sIGPIC]
SkateZilla Posted January 28, 2014 Posted January 28, 2014 DCS development at its finest, beating you head against the wall until something breaks :). Breaking through the walls for others is something I dont mind doing, regardless if I'm using my hammer or head. 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
Jediteo Posted January 28, 2014 Posted January 28, 2014 Well Skate, we all are thankful for your service :). [sIGPIC][/sIGPIC]
SkateZilla Posted January 28, 2014 Posted January 28, 2014 Well Skate, we all are thankful for your service :). Im actually well behind the 3rd Party Developers.... shrug. 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
SVKSniper Posted January 28, 2014 Posted January 28, 2014 I'm just trying to get the Gear to interact with the ground on the F-16AFM with a new External 3D Model, But was wondering why it was exporting a 1KB Empty EDM when I Exported the Collision lines and shells. I know the Names and stuff for damage. I also dont really use a separate MAX Scene for Collisions, But I do use a "GROUP" that I Hide/Unhide as needed, that way I can make sure the gear animations match. I also think I completely forgot to assign "shell material" to the meshes... < -- Major Brainfart, will check that tonight, But I dont remember EVER setting that, so that could be the problem I have. I think here is problem....use separate max file for collision model,any group and hide/unhide(only animation for gear,flaps etc)...and second i dont use material for collision meshes.....try this.... Support my work
Recommended Posts