TDRR's DECORATE tips and tricks

Handy guides on how to do things, written by users for users.

Moderators: GZDoom Developers, Raze Developers

Forum rules
Please don't start threads here asking for help. This forum is not for requesting guides, only for posting them. If you need help, the Editing forum is for you.
Post Reply
User avatar
TDRR
Posts: 815
Joined: Sun Mar 11, 2018 4:15 pm
Operating System Version (Optional): Manjaro/Win 8.1
Graphics Processor: Intel (Modern GZDoom)
Location: Venezuela

TDRR's DECORATE tips and tricks

Post by TDRR »

As we all know, ZScript is obviously superior to DECORATE, having a much higher level of control over the whole game than DECORATE could ever allow. It also has stuff like anonymous functions to make your life easier, however Zandronum has no ZScript, neither does ZDoom 2.8.1, and some of those things you get in ZScript definitely would come in handy in DECORATE, so here are some methods to somewhat recreate that missing functionality.

Obviously all of these work in GZDoom 4.0 but if you are making a mod for it you should just go full ZScript and avoid using these tricks, as they are intended for ZDoom 2.8.1 or Zandronum.
Spoiler: Custom codepointers
More tips and tricks in the future!
Post Reply

Return to “Tutorials”