[Closed] Spawn player at height of starting point.

Moderator: GZDoom Developers

Spawn player at height of starting point.

Postby Ian Maxwell » Wed Jun 08, 2005 12:20 pm

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.)
Ian Maxwell
 
Joined: 16 Mar 2004
Location: Malden, MA, USA

Postby TheDarkArchon » Wed Jun 08, 2005 12:21 pm

Try altering the ZHeight of the start (Hexen format only).
User avatar
TheDarkArchon
OUT!
 
Joined: 07 Aug 2004
Location: Some cold place

Postby Graf Zahl » Wed Jun 08, 2005 12:30 pm

Doesn't work. Players are always spawned on the floor.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Postby TheDarkArchon » Wed Jun 08, 2005 12:32 pm

Hack: Teleport as soon as the level starts.
User avatar
TheDarkArchon
OUT!
 
Joined: 07 Aug 2004
Location: Some cold place

Postby anonone » Wed Jun 08, 2005 5:28 pm

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.
User avatar
anonone
Decidedly average
 
Joined: 10 Dec 2003
Location: Unfired!

Postby Ian Maxwell » Wed Jun 08, 2005 9:53 pm

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.
Ian Maxwell
 
Joined: 16 Mar 2004
Location: Malden, MA, USA

Postby farlowj » Wed Jun 08, 2005 10:40 pm

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.
farlowj
If at first you don't succeed, skydiving is not for you.
 
Joined: 16 Feb 2004
Location: Michigan


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 2 guests