MAD-MM Posted April 1, 2023 Posted April 1, 2023 Hello, i want for SP Mission you can only select 1x pre defined Loadout option on FARP Helipad. (Screenshot is random taken) Dont really how to do this? LUA? Anyone can Help? Allready limited in the EDITOR the aviable payload on the Helicopter but that doesnt change the aviable pre select Loadout, only does nothing when you click on it in the Rearm Refuel Menu. Once you have tasted Flight, you will forever walk the Earth with your Eyes turned Skyward. [sIGPIC][/sIGPIC] 9./JG27
kira_mikamy Posted April 3, 2023 Posted April 3, 2023 i didnt think the preset can be linked to the farp or airbase, they are linked to the aricraft itself, probably in the core dcs game folder where that aircraft is installed there is some configuration file that manage the preset. for some aircraft, the path is in the install folder -> DCS World\MissionEditor\data\scripts\UnitPayloads you can modify the one for the F16 and setting to have only one preset, but this means this is the only one available for the F16 in entire game. you of course can modify that from the loadout menu in mission editor, dont need to directly edit the Lua but you can make a backup of original one. im not so expert to know if there a possibility to dynamically reload the payload.lua, for example using the one with only one preset when you are in a trigger zone over the airbase, and then come back to the original when you are away from it. 1
MAD-MM Posted April 4, 2023 Author Posted April 4, 2023 13 hours ago, kira_mikamy said: i didnt think the preset can be linked to the farp or airbase, they are linked to the aricraft itself, probably in the core dcs game folder where that aircraft is installed there is some configuration file that manage the preset. for some aircraft, the path is in the install folder -> DCS World\MissionEditor\data\scripts\UnitPayloads you can modify the one for the F16 and setting to have only one preset, but this means this is the only one available for the F16 in entire game. you of course can modify that from the loadout menu in mission editor, dont need to directly edit the Lua but you can make a backup of original one. im not so expert to know if there a possibility to dynamically reload the payload.lua, for example using the one with only one preset when you are in a trigger zone over the airbase, and then come back to the original when you are away from it. Thx for the Reply, also found the LUA payload und unitplayload after some searching, so far came for the same conclusion nothing what you can edit per se over the SP Mission and more DCS Core feature linked to each Modul/Aicraft itsellf. Right can edit these but afterwards only limited to my game not the mission itself. Thought myself that's would be nice you have not accidently scroll to the list of pre selected loadouts that is not even there in the SP Mission because of the limited Weapon loadout in the Editor. littel bit of loop hole that i tought must be easier to fix, can understand from where it comes Once you have tasted Flight, you will forever walk the Earth with your Eyes turned Skyward. [sIGPIC][/sIGPIC] 9./JG27
Recommended Posts