Page 1 of 1

Lua to alter a mount's capacity?

Posted: Wed Jun 25, 2025 10:03 pm
by Redeye43
I've been playing around with Lua a lot more lately and I've come upon something I seemingly can't do. Since the Mount wrapper is read only, it's impossible to alter the capacity of a mount through Lua. I'd like to be able to do this to simulate having a portion of the ready launchers on a mount destroyed, or having a custom mount of some form with MORE launchers than the original. Is there any way this can be done? The setter just outright doesn't exist for mounts.

Re: Lua to alter a mount's capacity?

Posted: Thu Jun 26, 2025 7:00 am
by blu3s
That's not possible, you can only use the weapon records that are in the DB to add more weapons to an existing mount, or add new mounts to an unit