Hexen Gibbet Re-Script

Sprites, textures, sounds, code, and other resources belong here. Share and share-alike!
Forum rules
Before posting your Resource, please make sure you can answer YES to any of the following questions:
  • Is the resource ENTIRELY my own work?
  • If no to the previous one, do I have permission from the original author?
  • If no to the previous one, did I put a reasonable amount of work into the resource myself, such that the changes are noticeably different from the source that I could take credit for them?
If you answered no to all three, maybe you should consider taking your stuff somewhere other than the Resources forum.

Consult the Resource/Request Posting Guidelines for more information.

Please don't put requests here! They have their own forum --> here. Thank you!

Hexen Gibbet Re-Script

Postby Dinosaur_Nerd » Tue Jun 11, 2019 11:50 pm

Here's a prototype re-write of the scripting handled on map23 of HEXEN.wad

This script should make it impossible for the gibbet bug to occur that traps the player in the room before the Heresiarch and prevents them from being able to finish the map.
This is still just a prototype, and any assistance from more masterful scripters in optimizing this is welcome and greatly appreciated.

This should be compatible with absolutely everything.

Downloads are here

Pure ZScript (GZDoom only)
Pure ACS (Should work with zandronum)
Combination ACS/ZScript (GZDoom only)

Spoiler:
Last edited by Dinosaur_Nerd on Wed Jun 12, 2019 6:57 pm, edited 1 time in total.
User avatar
Dinosaur_Nerd
RAWR!
 
Joined: 21 Feb 2018
Location: timelocked USA 1994
Discord: https://discord.gg/7Dd8GCD
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia (Modern GZDoom)

Re: Hexen Gibbet Re-Script

Postby leodoom85 » Wed Jun 12, 2019 5:18 am

You know that letting live exactly 3 serpents will open the walls and continue the map....right?
User avatar
leodoom85
Dodge this.....
 
 
 
Joined: 14 Sep 2014
Location: Earth-shaking Chile
Discord: leodoom85#6202

Re: Hexen Gibbet Re-Script

Postby DabbingSquidward » Wed Jun 12, 2019 5:28 am

Yeah, he does. I've run into this bug myself before. If you kill the serpents too fast or simultaneously, the game will become softlocked. The original script is supposed to execute when there are 3 serpents or less, but it only executes when there are exactly three.

Edit: I've attached the ACS source for Gibbet, so you can make a Zandronum or vanilla compatible version too :P
Attachments
MAP23.txt
(7.34 KiB) Downloaded 6 times
User avatar
DabbingSquidward
 
Joined: 08 Nov 2017
Location: Germany

Re: Hexen Gibbet Re-Script

Postby Dinosaur_Nerd » Wed Jun 12, 2019 6:52 pm

leodoom85 wrote:You know that letting live exactly 3 serpents will open the walls and continue the map....right?


That is exactly the problem.

If there isn't precisely 3 serpents alive when the script checks (once every 6 seconds) then the player is stuck, requiring the player to open the console and cheat.
This fixes that so that no cheating is required and the game can be played as intended.

DabbingSquidward wrote:I've attached the ACS source for Gibbet, so you can make a Zandronum or vanilla compatible version too :P


Thanks for the help, though I already used the decompiled ACS for gibbet to ensure that I was doing exactly what the original game was doing in the first place.
I am adding new files that will be compatible with Zandronum, more optimized for GZDoom, and an alternative method that combines both ACS and ZScript, just in case it is the fastest possible option.
User avatar
Dinosaur_Nerd
RAWR!
 
Joined: 21 Feb 2018
Location: timelocked USA 1994
Discord: https://discord.gg/7Dd8GCD
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia (Modern GZDoom)


Return to Resources

Who is online

Users browsing this forum: Yandex [Bot] and 1 guest