[Resources] 3saster's ZScript Utilities (featuring MD5)

Post your example zscripts/ACS scripts/etc here.

[Resources] 3saster's ZScript Utilities (featuring MD5)

Postby 3saster » Mon Jan 18, 2021 5:16 pm

GZDoom Utilities is a collection of useful ZScript utilities I've made for other projects that I figured would be useful to others. I'll add any more here as necessary. Detailed usage instructions of each utility is included in each folder, on the main file. Be sure to read the check the permissions on the files inside as well, although you do not need my permission to use any of these.

MD5
A class to obtain the MD5 class of a string. This is specifically intended to be used with the output of `Wads.ReadLump`, but can be used with any string. Originally written for Fullscreen Status Bar Mod.

GhostMonsterHandler
An event handler to allow restoring the ghost monster bug as if it was exposed to MAPINFO (this replicates the effect of GZDoom's `vileghosts` compat parameter, which is not exposed to MAPINFO at the moment, and does not appear will be exposed anytime soon). Note this still requires the `compat_corpsegibs` compatibility option to be set (but this is exposed to MAPINFO).

AnimatedHandler
An event handler that determines what textures are animated, by parsing the ANIMDEFS and ANIMATED lumps. The animated textures are determined once, at start-up, then one can use the handler's `isAnimated` method to check if a texture is animated. Originally written for Beautiful Doom.

DEHACKEDHandler
An event handler that determines what actors were likely modified by DEHACKED, by parsing the DEHACKED lumps. The suspected modified actors are determined once, at start-up, then one can use the handler's `isDehacked` method to check if a class has likely been modified. It is relatively simple in what it checks (and does not provide specific information on what was modified for each actor), but is fairly effective. False negatives should not occur, but false positives may rarely occur. Originally written for Beautiful Doom.
Last edited by 3saster on Sat Jan 30, 2021 12:10 pm, edited 1 time in total.
User avatar
3saster
 
Joined: 11 May 2018
Location: Canada

Re: [Resources] 3saster's ZScript Utilities (featuring MD5)

Postby Dynamo » Tue Jan 19, 2021 4:31 am

Very useful! I wanted to mess about with ghost monsters a while back, so this comes in handy a lot! Thanks for sharing :)
User avatar
Dynamo
It's a jungle out there.
 
Joined: 07 Jun 2008
Location: Lygon Street, Carlton

Re: [Resources] 3saster's ZScript Utilities (featuring MD5)

Postby Warden » Sat Jan 30, 2021 6:35 am

This DEHACKED checker is exactly what I was looking for, thanks so much.
Warden
 
Joined: 24 May 2020


Return to Script Library

Who is online

Users browsing this forum: No registered users and 4 guests