Open up player skin setting to ZScript and/or ACS

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Open up player skin setting to ZScript and/or ACS

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

by Player701 » Tue Nov 19, 2024 2:19 am

The PR has already been merged, so this should probably be moved to "Closed Feature Suggestions".

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

by violgamba » Sun Apr 28, 2024 6:09 pm

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

Open up player skin setting to ZScript and/or ACS

by violgamba » Thu Apr 25, 2024 10:36 pm

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.

Top