MantisBT - Zandronum
View Issue Details
0001032Zandronum[All Projects] Suggestionpublic2012-09-11 16:392018-09-30 22:21
Disguise 
Torr Samaho 
normalfeatureN/A
closedfixed 
MicrosoftWindowsXP/Vista/7
1.0 
3.03.0 
0001032: Z-Height support for player starts
I already asked this on the ZDoom forums:'http://forum.zdoom.org/viewtopic.php?f=18&t=34020 [^]'

So apparently it was added in 2.6.1. Now my question is... can it be back-ported? Because it would be extremely useful, especially for us, mappers, who would like to spawn players in the air and/or on 3D Floors. It would be greatly appreciated!

UsePlayerStartZ = By default, the Z height of player starts is ignored because of compatibility code needed to make player starts work correctly in certain levels. If this property is set, the Z height is enforced. This can be used to have the player start on a 3D floor.
No tags attached.
related to 0001499closed  Slight chance that players will spawn on each other (same spawnpoint) 
related to 0001634closed Edward-san Weird spawn telefragging behavior on Duel32 + Transfer Heights 
related to 0001253closed  Team telefrag issue: G_CheckSpot always returns true if the spawn spot is > player height for the sector it's in 
child of 0002172closed Torr Samaho Upgrade GZDoom base to 1.8.6 
? ZHeightTest.wad (10,421) 2015-05-29 01:22
/tracker/file_download.php?file_id=1513&type=bug
Issue History
2012-09-11 16:39DisguiseNew Issue
2012-09-11 18:12DuskNote Added: 0004644
2014-06-11 15:46WatermelonRelationship addedrelated to 0001253
2014-06-11 15:48WatermelonRelationship addedrelated to 0001499
2014-06-11 15:48WatermelonRelationship addedrelated to 0001634
2014-06-11 15:48WatermelonStatusnew => acknowledged
2014-06-11 15:49WatermelonStatusacknowledged => confirmed
2015-04-05 11:05DuskRelationship addedchild of 0002172
2015-04-05 11:07DuskTarget Version => 3.0
2015-05-09 13:56DuskStatusconfirmed => assigned
2015-05-09 13:56DuskAssigned To => Torr Samaho
2015-05-09 13:58DuskStatusassigned => needs testing
2015-05-11 02:29StrikerMan780Note Added: 0012236
2015-05-29 00:47StrikerMan780Note Added: 0012447
2015-05-29 01:22StrikerMan780File Added: ZHeightTest.wad
2015-05-29 01:23StrikerMan780Note Edited: 0012447bug_revision_view_page.php?bugnote_id=12447#r7213
2015-08-23 18:30Ru5tK1ngNote Added: 0013251
2015-08-25 10:32DuskNote Added: 0013265
2015-08-25 10:33DuskStatusneeds testing => needs review
2015-08-25 19:35cobaltStatusneeds review => needs testing
2015-08-25 19:35cobaltDescription Updatedbug_revision_view_page.php?rev_id=7948#r7948
2015-08-25 19:35cobaltNote Added: 0013271
2015-09-01 02:45Ru5tK1ngNote Added: 0013345
2015-09-05 15:05DuskStatusneeds testing => resolved
2015-09-05 15:05DuskFixed in Version => 3.0
2015-09-05 15:05DuskResolutionopen => fixed
2018-09-30 22:21Blzut3Statusresolved => closed

Notes
(0004644)
Dusk   
2012-09-11 18:12   
'http://zdoom.org/Changelog/3746/files [^]'
(0012236)
StrikerMan780   
2015-05-11 02:29   
Works so far in Singleplayer. I haven't had the opportunity to test this online yet due to a new crash preventing me from testing it.
(0012447)
StrikerMan780   
2015-05-29 00:47   
(edited on: 2015-05-29 01:23)
Works, sort of. You spawn at the right height, but your starting weapon becomes invisible permanently, and you keep doing the spectator bob until you move. The cl_showspawns particle fountains don't show at the appropriate height either(stuck on ground below).

EDIT: Uploaded a test wad with two DM starts set on top of 3D Floors.

(0013251)
Ru5tK1ng   
2015-08-23 18:30   
I played the test wad on my own server with 3.0-alpha-150819-2351. I spawned correctly on the 3d floor each time I died. I didn't come across any weapon invisibility or odd bobbing. The spawn particles however, were still on the floor and not on the 3d floor.

A small quirk I noticed was that bots didn't move when they spawned and only did so after being pushed off the 3d floor or into the chaingun.
(0013265)
Dusk   
2015-08-25 10:32   
'https://bitbucket.org/Torr_Samaho/zandronum/pull-requests/12 [^]' should take care of the cl_showspawns problem.
(0013271)
cobalt   
2015-08-25 19:35   
Issue addressed by commit 22e7014efedc: Take useplayerstartz into account in cl_showspawns
Committed by Teemu Piippo [Dusk] on Tuesday 25 August 2015 13:31:08

Changes in files:

 src/p_effect.cpp | 15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

(0013345)
Ru5tK1ng   
2015-09-01 02:45   
Tested with 3.0-alpha-150831-1814 and the spawn particles are at the correct height now.