Advertisement
NeuralStunner

Fixing the Infamous Gibbet Script Bug?

Dec 8th, 2011
379
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. * Original Relevant Scrips from Map23 (Hexen 1.1):
  2.  
  3. script 13 OPEN
  4. {
  5. until (thingcount(T_DEMON, 0) == 3)
  6. {
  7. delay(210);
  8. }
  9. Door_Open(28, 32);
  10. tagwait(28);
  11. Stairs_BuildDownSync(18, 8, 16, 0);
  12. }
  13.  
  14.  
  15. script 14 (void)
  16. {
  17. if (thingcount(T_FIREGARGOYLE, 12) == 0)
  18. {
  19. delay(70);
  20. Thing_Spawn(11, T_DEMON, 0);
  21. }
  22. }
  23.  
  24.  
  25. Script 14 spawns 3 Chaos Serpents once all the tagged Afrits are dead.
  26.  
  27. Script 13 waits, inexplicably, until the 3 Chaos Serpents spawn. Note that if you kill any of them while the 6 second delay (210) is still active, the Until is never satisfied and the script does not finish. The two closed rooms containing Dark Bishops will not be opened, and you can't finish the map, or the game.
  28.  
  29. Two Possibilities:
  30.  
  31. 1. The Chaos Serpents are supposed to be a separate wave between the Afrits and the Bishops. Script 13's Until should be changed to wait for there to be 0 Chaos Serpents.
  32.  
  33. 2. The Chaos Serpents and the Dark Bishops are meant to be fought at the same time. The Until should be changed into a simple Delay, and not look for 3 Chaos Serpents at all.
  34.  
  35. In either case, Script 14 should call Script 13 after the Chaos Serpents are spawned, rather than making it an Open script. This also reduces the number of scripts active at map start.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement