Nalfeyn Posted June 16, 2020 Posted June 16, 2020 Hey everybody. Is there a way to fasten the rearming/reloading of ground units - like the SMERCH - with a script or sth else?
Pikey Posted June 18, 2020 Posted June 18, 2020 No, this would be done by editing the lua and breaking the IC. However respawning the group would achieve the same thing and you would not notice unless you were interested in partly damaged states. ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *
PravusJSB Posted June 23, 2020 Posted June 23, 2020 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
Recommended Posts