http://www.sendspace.com/file/wp5q64
When playing with this wad file (Duducrazy's Guns 3), nearly any death (getting shot by zombies, gibbed by a cyberdemon, typing Kill in the console) results in GZDoom freezing. Duducrazy sent me this wad himself, and I offered to look over it for him to see if I could find any obvious issues in his decorate coding - I found none. I honestly have no idea why the game would hang like this, but it is reproducible with this wad in particular.
[1.1.0] Game freezes upon death with le-guns3.wad
Moderator: Graf Zahl
- wildweasel
- DRD Team Admin (Inactive)
- Posts: 2132
- Joined: Wed Jun 29, 2005 22:00
- Location: the Admincave!
- Contact:
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
- wildweasel
- DRD Team Admin (Inactive)
- Posts: 2132
- Joined: Wed Jun 29, 2005 22:00
- Location: the Admincave!
- Contact:
I've noticed that as well - the only way to prevent GZDoom from freezing is to commit suicide with the BFG. The thing is, there is nothing in the custom player class that would cause this (as it inherits from DoomPlayer). I even tried working around it just now by including all of DoomPlayer's unchanged states, to little effect.
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
0-duration deselect states don't work. Plain and simple. There is no way that the player's death code can get out of the infinite loop. There has to be at least one non-zero-duration state eventually. If you want instant lowering you can put 10 or 20 0-duration states before that but it has to be there.