[2.6.1] Bug: DM telefrag spawn check fails when in the air

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
Watermelon
Posts: 36
Joined: Thu Jan 19, 2012 11:43 am

[2.6.1] Bug: DM telefrag spawn check fails when in the air

Post by Watermelon »

If you have 2 deathmatch spawns, there will be no telefragging done unless all the spots are blocked (I believe). If however you lift the deathmatch spawn spot off the ground to a height greater than the player (lets say DMSpotHeight > FloorZ + 64 map units), the check says its clear because it's based off of the Z height of 64, but the spawn happens on the ground, thus effectively telefragging the player, but the function to check if someone is in the way actually returns false despite the telefrag (which is not supposed to happen).

Therefore, the check should be made on the ground, or deathmatch spawn spots should not be subject to gravity. This was discovered when playing Zandronum online with CTF where an author made the map spawns 64 units off the ground for whatever reason, and ridiculous amounts of telefragging occurs in populated games.

In the map I attached, both spawns are in mid air. If you edit the map to have them at a height of 0, you will never telefrag the other player since the detection mechanism for something blocking the spawn will return true. I assume this is why there was Teleport / Teleport (Z height) / Teleport (Z height + gravity) was introduced.


Map: http://files.drdteam.org/index.php/file ... agtest.zip
Command line parameters: -deathmatch +sv_cheats true
Cheats are so that you don't have to spend forever killing them with a pistol or run out of ammo.
Gez
 
 
Posts: 17942
Joined: Fri Jul 06, 2007 3:22 pm

Re: [2.6.1] Bug: DM telefrag spawn check fails when in the a

Post by Gez »

Note that ZDoom has a MAPINFO option to make player starts spawn at their actual heights rather than the floor.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: [2.6.1] Bug: DM telefrag spawn check fails when in the a

Post by randi »

Fixed in r4070.
Post Reply

Return to “Closed Bugs [GZDoom]”