start player on 3D floor

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

User avatar
TaBaR
Posts: 33
Joined: Tue Sep 12, 2006 15:40

start player on 3D floor

Post by TaBaR »

tried to start player with a z-hight of 128 , floor is -128 , celing is 256 , 3D sector is Floor 8 Celing 0. player allways starts at -128 floor.???
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Players always start on floor level. You may need to add a dummy sector at the player start and immediately after starting the map change its height.
User avatar
TaBaR
Posts: 33
Joined: Tue Sep 12, 2006 15:40

Post by TaBaR »

thank you did not know if I was doing it wrong
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

Would it be much trouble to change the behaviour? The fact that one has to resort to the fix that you mentioned is rather tedious.
User avatar
Syfo-Dyas
Posts: 182
Joined: Sun Oct 09, 2005 21:54
Location: Ohio
Contact:

Post by Syfo-Dyas »

Can't you just do it with Fraggle Script?
Planky
Posts: 25
Joined: Sun Sep 04, 2005 8:41

Post by Planky »

Changing the player obj position with FS is easy enough, ACS would be able to do it too:

setobjposition(playerobj(0),X,Y,Z)

But it's really no different than changing the height of a dummy sector.
User avatar
Syfo-Dyas
Posts: 182
Joined: Sun Oct 09, 2005 21:54
Location: Ohio
Contact:

Post by Syfo-Dyas »

What do you guys mean when you say "change the height of the dummy sector"

In all my years of DOOM editing, I don't think I've ever messed with "dummy sectors".
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

This what you had in mind?

If you want to remove the clunk at the start when the supporting sector drops, just stick a silent sound sequence in it.
Attachments
3dstart.zip
Starting on a 3D floor
(2.3 KiB) Downloaded 219 times
User avatar
Syfo-Dyas
Posts: 182
Joined: Sun Oct 09, 2005 21:54
Location: Ohio
Contact:

Post by Syfo-Dyas »

EDIT:


Nevermind, I'm off work, I'll see for myself! :)
User avatar
BlazingPhoenix
Posts: 488
Joined: Sun Aug 28, 2005 5:11
Contact:

Post by BlazingPhoenix »

Why can't we put player starts on 3D Floors anyway? wouldn't it be too much trouble to add it in?
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

What I usually do is I put a map spot with gravity at the 3-d floor, and at the start, use ACS to silently teleport the player to the map spot.
User avatar
Flame Spawn
Posts: 13
Joined: Tue Jul 18, 2006 18:23
Location: Somewhere

Post by Flame Spawn »

I tried just raising the Z-Height of the Player 1 start thing to get it on the 3D floor, but it just started on the floor of the non-3D sector. :?
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

Which, of course, is exactly what Graf said it would do. I know that player starts have special handling anyway, so a Z position player start spot may not be possible. If they were, they should be additional to the original item, rather than a modification of it. I'm sure that there must be many WADs out there where the author has inadvertantly given the P1 start a Z value and these may look bad, or even get broken, by a change in behaviour. There have certainly been many WADs where the author has mistakenly given other items a Z value.

Of course, whether the game can handle 2 types of player 1 start, I have no idea.
User avatar
Syfo-Dyas
Posts: 182
Joined: Sun Oct 09, 2005 21:54
Location: Ohio
Contact:

Post by Syfo-Dyas »

I opened the map, it has a floor raised up for the player to stand and start on, but in the game that floor is not there.

how do I do that?

Could save me some scripting time! :)
User avatar
Flame Spawn
Posts: 13
Joined: Tue Jul 18, 2006 18:23
Location: Somewhere

Post by Flame Spawn »

Maybe give the floor lowering action a delay before it should lower? Like a delay of 1 tic or something like that.
Locked

Return to “GZDoom”