Quantcast
Channel: ZDoom
Viewing all articles
Browse latest Browse all 3391

Scripting • Re: Regarding ACS/ZScript compatibility and expansion

$
0
0
While it's possible to actually transform the player to a different class temporarily using PowerMorph, it sounds like approach Project Brutality 2.03 uses for revenant transformation would suit you better. It implements it in player pawn, showing the right graphics depending on whether the player is transformed, also checking if transformation was triggered.
Transformation key reaction can be done as an ACS function with NET attribute similar to those setting Kicking/Taunting/etc. in COMMANDS.txt from Project Brutality 2.03 or Brutal Doom.
3rd person view can also be done based on CHASECAM from PB 2.03 or BD or similar.
Combining Decorate/ACS/ZScript is fine, there's ScriptCall for calls from Decorate/ASC to ZScript and CallACS and similar for calls to ACS.
Thanks for the response. I've decided to convert important code over to Zscript. Right now I'm trying to get the morphing part down, so I'll check out the Revenant transformation code you mentioned.

Statistics: Posted by surfacing — Mon Nov 18, 2024 3:20 am



Viewing all articles
Browse latest Browse all 3391

Trending Articles