Spawn player at height of starting point.

Moderator: GZDoom Developers

Post Reply
Ian Maxwell
Posts: 12
Joined: Tue Mar 16, 2004 3:27 pm
Location: Malden, MA, USA
Contact:

Spawn player at height of starting point.

Post by Ian Maxwell »

Particularly now that people are using bridge things all over the place, it would be nice to have a simple way to start the player at something other than the floor of the sector. Currently, givin the player start a height other than zero doesn't acomplish this. If that could be changed, it would be the most intuitive way to set the player's starting height from the floor. (Likewise for all other spawnspots, if that's not already how they work.)
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Post by TheDarkArchon »

Try altering the ZHeight of the start (Hexen format only).
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Doesn't work. Players are always spawned on the floor.
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Post by TheDarkArchon »

Hack: Teleport as soon as the level starts.
User avatar
anonone
Posts: 243
Joined: Wed Dec 10, 2003 10:50 pm
Location: Unfired!
Contact:

Post by anonone »

Or, prop the player start up on one of those bridge objects and remove it with an ACS script at the map opening.

Or, use an instant-lift instead of a bridge object, using ACS to lower it right at the map opening.
Ian Maxwell
Posts: 12
Joined: Tue Mar 16, 2004 3:27 pm
Location: Malden, MA, USA
Contact:

Post by Ian Maxwell »

Altering the ZHeight does not work, as I said in the original post.

Using the bridge thing does not work, because altering the ZHeight does not work. The player spawns on the floor of the sector, not on top of the highest thing there.

The instant lift and teleport might work, but they are in fact hacks. I think the teleport in particular might look downright ugly, with the player seeing the screen load and then instantly being propelled into the air.

Having the player spawn at the ZHeight of the player start would be the Right Thing.
farlowj
Posts: 389
Joined: Mon Feb 16, 2004 1:33 pm
Location: Michigan

Post by farlowj »

Hmm, borrowing some John Carmack lingo there.

Instead of the floor lower instant thing, put the player start in a black room, with black walls and stuff while the level loads, then teleport. Make sure the player can't see anything in the starting room, or it ruins the effect, but it should work, without messing with floor heights and stuff.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”