EDIT:
this fix gets the entire game mode working correctly again (the initial displays are still wonky but I think this is on my end). It seems to be an issue of when exactly a frag is counted versus the timing of the PlayerDied event?
[original post below, originally titled "EventHandler no longer resets correctly"]
I'm still trying to unpack this one, but:
1. HD latest release:
https://github.com/MatthewTheGlutton/Hi ... -3.7.2b.7z
2. Run a game with the following:
Code: Select all
+map range +set hd_forceloadout lau,rkt5 -deathmatch +set teamplay true +set fraglimit 105 +set sv_cheats true +set sv_nomonsters true
3. Summon as many bots as are allowed.
4. Turn on god mode and kill opfor bots until the endgame message shows up.
5. Wait for the map to restart and repeat step 4.
Expected: In each of 4 and 5, the bots stop respawning after a certain number of casualties.
Actual: In step 5, you start out with a number of frags and no endgame sequence ever happens.
I'm still trying to see if I can "fix" this for the level refactor at which point I might have enough to figure out how to even start doing a standalone - I can't even tell at which point it's messing up.
EDIT: [url=https://github.com/MatthewTheGlutton/HideousDestructor/commit/c0dd2c26c291aa94031abe6e4e4d3cd92dab98f3#diff-74cc5d35e483f9fa413300060cc480f4L221]this fix[/url] gets the entire game mode working correctly again (the initial displays are still wonky but I think this is on my end). It seems to be an issue of when exactly a frag is counted versus the timing of the PlayerDied event?
[original post below, originally titled "EventHandler no longer resets correctly"]
I'm still trying to unpack this one, but:
1. HD latest release: https://github.com/MatthewTheGlutton/HideousDestructor/releases/download/v3.7.2b/hd-3.7.2b.7z
2. Run a game with the following:
[code]+map range +set hd_forceloadout lau,rkt5 -deathmatch +set teamplay true +set fraglimit 105 +set sv_cheats true +set sv_nomonsters true[/code]
3. Summon as many bots as are allowed.
4. Turn on god mode and kill opfor bots until the endgame message shows up.
5. Wait for the map to restart and repeat step 4.
Expected: In each of 4 and 5, the bots stop respawning after a certain number of casualties.
Actual: In step 5, you start out with a number of frags and no endgame sequence ever happens.
I'm still trying to see if I can "fix" this for the level refactor at which point I might have enough to figure out how to even start doing a standalone - I can't even tell at which point it's messing up.