dresoccer4 Posted September 7, 2016 Posted September 7, 2016 warning: this is probably a dumb question, but i at least tried to search if someone else had asked it first and came up empty handed. now, with that out of the way, i wanted to ask how the flight models were implemented in the game's directory structure. is it just a handful of files in a plane's subfolder? i wanted to know if you could swap different modules' flight models. aka give the mig-29 the flight model of the su-27. i'm sure you probably can't and, buy hey, can't hurt to ask. thanks y'all Acer Predator Triton 700 || i7-7700HQ || 512GB SSD || 32GB RAM || GTX1080 Max-Q || FFB II and Thrustmaster TWCS Throttle || All DCS Modules
razo+r Posted September 7, 2016 Posted September 7, 2016 You can by changing and copying some files in the flaming cliffs folder, but you probably will have some problems or troubles since it will be modded and the flight model isn't adjusted to the Fulcrum
dresoccer4 Posted September 7, 2016 Author Posted September 7, 2016 You can by changing and copying some files in the flaming cliffs folder, but you probably will have some problems or troubles since it will be modded and the flight model isn't adjusted to the Fulcrum thanks for quick response! so you CAN do it, eh? great news! you say by "changing and copying some files", any ideas which ones? or can you point me in the direction of a good explanation? Acer Predator Triton 700 || i7-7700HQ || 512GB SSD || 32GB RAM || GTX1080 Max-Q || FFB II and Thrustmaster TWCS Throttle || All DCS Modules
razo+r Posted September 7, 2016 Posted September 7, 2016 Everything is in your :DCS/Mods/aircraft/flaming cliffs First, open your entry.lua file with for example c++, scroll to the bottom and replace the :"nil, current_mod_path..'/Comm/MiG-29A.lua')" line from the mig you want with :"{self_ID,'MiG-29A',old = true}, current_mod_path..'/Comm/Su-27.lua') or something like this Then go to the FM folder and copy and rename the "DataSu27" folder to "DataMiG-29A" Last step: try it out I might have missed something or messed up, so you have to try a bit on your own...
dresoccer4 Posted September 7, 2016 Author Posted September 7, 2016 Everything is in your :DCS/Mods/aircraft/flaming cliffs First, open your entry.lua file with for example c++, scroll to the bottom and replace the :"nil, current_mod_path..'/Comm/MiG-29A.lua')" line from the mig you want with :"{self_ID,'MiG-29A',old = true}, current_mod_path..'/Comm/Su-27.lua') or something like this Then go to the FM folder and copy and rename the "DataSu27" folder to "DataMiG-29A" Last step: try it out I might have missed something or messed up, so you have to try a bit on your own... so basically replace the "nil" with "{self_ID,'MiG-29A',old = true}" where did that piece of code come from? i did the rest of what you suggested and i could load the game, but when i tried to hop in a mig-29a, i couldn't get to the cockpit. it started in the external view and the AI started took control. strange huh? i know you said you may have missed things and i should try on my own, but i've really no idea where to go from here Acer Predator Triton 700 || i7-7700HQ || 512GB SSD || 32GB RAM || GTX1080 Max-Q || FFB II and Thrustmaster TWCS Throttle || All DCS Modules
SkateZilla Posted September 7, 2016 Posted September 7, 2016 it will not work. as Each FM has Specific Model Node names and arguments, Not to mention all the DLLs are protected. 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
dresoccer4 Posted September 7, 2016 Author Posted September 7, 2016 it will not work. as Each FM has Specific Model Node names and arguments, Not to mention all the DLLs are protected. lol this is the opposite of the first response i got. bummer! guess it would be a little funny to give the mustang the eagle FM. as i said though, my original goal was to just have a stand-in FM for the nice new MiG-29A model until the PFM gets here thanks for your response anyway Acer Predator Triton 700 || i7-7700HQ || 512GB SSD || 32GB RAM || GTX1080 Max-Q || FFB II and Thrustmaster TWCS Throttle || All DCS Modules
SkateZilla Posted September 8, 2016 Posted September 8, 2016 Replace nil with {self_ID,'Su27',old = true} make_flyable('MiG-29A' , current_mod_path..'/Cockpit/KneeboardLeft/', {self_ID,'Su27',old = true}, current_mod_path..'/Comm/MiG-29A.lua') Might have to replace old = true with old = "number" to get the mig29 cockpit... I am not sure. Enjoy your sfm while you can though... If you want more examples check F18 Mods etc. using f15 cockpit and stuff. Beware that using su27 FM with mig-29 might not be advisable... the aircraft will feel like a su27 indeed, but it will maintain mig29 characteristics (weight for example) ;) By the way you will be limited to SP and non-IC servers online if you make these modifications. make_flyable(PARAM1, PARAM2, PARAM3, PARAM4) PARAM1 = OBJ NAME PARAM2 = Optional Cockpit Path PARAM3 = FM DLL Name and Avionics Type/DLL name. PARAM4 = COMMS FILE This will only work partially, and will cause a lot of problems for the user, Like I said, trying to swap PFM by switching PARAM3 will swap the DLLs, however they are protected, and the Argument IDs and Model Mesh Names are not an exact Match from Model to Model, so issues will pop up. Not to mention failing IC. So Swapping the nil for MiG-29s Optional FM DLL w/ the Su-27 FM DLL String is not recommended. 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
dresoccer4 Posted September 10, 2016 Author Posted September 10, 2016 Replace nil with {self_ID,'Su27',old = true}... thanks for the clarification, i'll give it a try make_flyable(PARAM1, PARAM2, PARAM3, PARAM4) PARAM1 = OBJ NAME PARAM2 = Optional Cockpit Path PARAM3 = FM DLL Name and Avionics Type/DLL name. PARAM4 = COMMS FILE This will only work partially, ... thanks for the warning, i'll be sure to keep it in mind Acer Predator Triton 700 || i7-7700HQ || 512GB SSD || 32GB RAM || GTX1080 Max-Q || FFB II and Thrustmaster TWCS Throttle || All DCS Modules
Recommended Posts