DMarkwick Posted June 14, 2020 Posted June 14, 2020 Hi guys. I'm after information on how to use DCS in a way that means I don't have to quit & reload DCS after every LUA file update, so the file is essentially live-loaded somehow. By way of a direct example: I'm currently trying to develop a fire & smoke change for my own uses, possibly will put it up somewhere for general download too. I did this a long time ago for Arma 2 and it was generally well received and appreciated. (JTD Fire & Smoke.) I'm fiddling with the file [path]\DCSWorld\Bazar\ParticleEffects\effects\FireVehicle.lua and as far as I can tell I need to quit DCS and restart before seeing any change in the visual results. My question: can I do something which means I don't have to quit & restart after every file edit?
Grajo Posted June 14, 2020 Posted June 14, 2020 Hi DMarkwick. It seems cool the development you are into. :thumbup: I am very interested also in the info you are asking for... it would make things a lot more easy for general modding. EDM reload would be great also. I imagine there is some kind of debug mode with a console or something so we can write command and flush/reload desired files ? Thanks in advance :] Link to my MODs - So far...
Balu010 Posted June 15, 2020 Posted June 15, 2020 Ye this would be cool. I know how to hot load a mission lua with a F10 radio message, I wonder what would happen if I call a unit lua there. You can find several tutorials how to do it in mission editor with mission files.
PravusJSB Posted June 27, 2020 Posted June 27, 2020 I can help you with that, can you contact me on my Discord, in my sig ;) Creator & Developer of XSAF ::An AI model that wants to kill you, and needs no help from humans. Discord: PravusJSB#9484 twitch.tv/pravusjsb https://www.patreon.com/XSAF https://discord.gg/pC9EBe8vWU https://bmc.link/johnsbeaslu Work with me on Fiverr: https://www.fiverr.com/pravusjsb
norman99 Posted March 28, 2021 Posted March 28, 2021 @DMarkwick Did you ever find a solution to this? I'm currently playing around with the spawn/parking positions on the Supercarrier, contained within the file USS_Nimitz_RunwaysAndRoutes.lua. Ideally I'd like to create 2-4 different "templates" so to speak, and activate the appropriate one during a mission. Unfortunately, as with your Firevehicle.lua, DCS needs to be entirely restarted for any changes to be recognised. If you have any info on how these unit/core .lua files can be refreshed/reloaded it would help greatly. I'm also on discord at Norman99#7277 if that's easier.
Recommended Posts