TDRR's DECORATE tips and tricks

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

Moderator: GZDoom 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.

TDRR's DECORATE tips and tricks

Postby TDRR » Thu Apr 18, 2019 4:52 pm

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!
User avatar
iDeas from the deep (pit of hacks)
Joined: 11 Mar 2018
Location: Venezuela
Operating System: Windows Vista/7 64-bit
Graphics Processor: Intel (Modern GZDoom)

Return to Tutorials

Who is online

Users browsing this forum: [Bot] and 0 guests