Update guns in place with the ACE menu tool - #319
Conversation
0096fe4 to
dd9c56e
Compare
|
Will bring over hydraulic stuff since acf-3 has it for a reason I assume. I guess there might be an edge case of a person using hydraulics to steer the gun. Also those helper functions could be used for any other ace ent now. |
|
The test failing should be fixed by @Ally-for-Hire , I don't understand why I need to add the function to the curated list for backwards compatibility if it is a new function. I might be wrong (please correct me) |
will look into it |
|
@Ally-for-Hire any update ? 🥲 |
|
should be outdated now, you can safely ignore that |
|
small correction: will fix on dev. the test isnt necessary on new functions and already passes on old functions |
|
fixed on dev, just needs to be fixed on your branch now |
What does this PR do: makes it possible now to alter the model for the guns by saving entity data and preserving its constraints and links. Previously you wouldn't be able to swap your 100mm C to 120mm C, now it is possible with this.
Was manually tested in Gmod, code was also reviewed. Logic taken straight from acf-3, basically what it does according to gmod wiki is reusing what gmod basic duplicator does by saving entity data.

Co-authored by Opus 5