Jump to content

Recommended Posts

Posted

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?

Posted

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 :]

Posted

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.

  • 2 weeks later...
  • 9 months later...
Posted

@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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...