Open up player skin setting to ZScript and/or ACS

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

violgamba
Posts: 41
Joined: Wed Apr 10, 2024 4:53 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10

Open up player skin setting to ZScript and/or ACS

Post by violgamba »

I play coop a lot, frequently making my own coop-centric maps. We have a mod with a collection of skins to choose from and it'd be fun if, rather than navigating the menu system, a map could include a line mirror and a switch to progress the player's skin.

Unfortunately, while ZScript wraps the engine's GetSkin() function, it does not wrap the engine's SkinNumChanged(int skinnum) function.

I THINK it'd be a simple thing to add a ZScript wrapper for SkinNumChanged(int skinnum) and would allow for a fun feature for multiplayer maps. I'd even be willing to implement this and make a pull request if the dev's give their consent.
violgamba
Posts: 41
Joined: Wed Apr 10, 2024 4:53 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10

Re: Open up player skin setting to ZScript and/or ACS

Post by violgamba »

I've submitted a pull request for this here:
viewtopic.php?t=79169
https://github.com/ZDoom/gzdoom/pull/2546

Return to “Feature Suggestions [GZDoom]”