Jump to content

Is there a script to fasten the rearming of ground units?


Recommended Posts

Posted

It would be possible I should think from a server side POV, with a script written to sit in the hooks env, there's reload args for each unit in the database; (by which I mean the data loaded in via the me_mission lua on game start, no need to mess with your game files, just amend once the game is loaded.

 

["supply"] = {

                                ["count"] = 750,
                                ["reload_arg"] = 500,
                                ["reload_time"] = 7,
                                ["reload_every"] = 250,

 

The data would need to be amended with the hook script, then it might be enough to then load miz, but I suspect you'd need to run a function to amend again and reload on mission start. I have seen the func I think, or else rebuild the db on mission start before spawns. I've not tested this but its doable for sure.

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

  • Recently Browsing   0 members

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