Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
ArneSaknussemm

Putting player start on a 3d floor.

Recommended Posts

I'm trying make a map using gzdoom builder.

I've made some 3D floors, and want my character to spawn on top of one of them (he one at the very top).
Currently, he only spawns on the bottom floor, even if I've adjusted his height to the correct one.

Below a few pictures that illustrate my problem:

Here is how the 3D floors were made in the builder:


Here is how doomguy is placed (3d view mode), as you can see he is on the top floor:


Here is how he ends up in game, on the floor level:

Share this post


Link to post
ArneSaknussemm said:

I'm trying make a map using gzdoom builder.

I've made some 3D floors, and want my character to spawn on top of one of them (he one at the very top).
Currently, he only spawns on the bottom floor, even if I've adjusted his height to the correct one.

Yes, player starts behave differently from other things. However, you can toggle to a more predictable behavior with ZMAPINFO.

As always, when you have ZDoom editing questions, don't hesitate to look at the ZDoom wiki: the player start article explains all that.

Share this post


Link to post

I gave a reading into it, and added a MAPINFO file to the wad using SLADE3.

This is the code of it:

map MAP01 lookup MAP01
{
	UsePlayerStartZ
}
It doesn't seem work though, as now I get a "could not find MAP01" error when I start the game.
It doesn't matter what I put in it as well:
map MAP01 my_map
{
	UsePlayerStartZ
}
map MAP01 lookup my_map
{
	UsePlayerStartZ
}
also don't work.

Share this post


Link to post

"lookup" tells it to look up a LANGUAGE string, so don't use that for now.

What's the error message, if any, for when you use the following?

map MAP01 "my map"
Also keep in mind you'll have to define a sky, a music, a next map, etc.

Share this post


Link to post

it says "could not find map MAP01"

Also keep in mind you'll have to define a sky, a music, a next map, etc.


I've also used an example MAPINFO to make mine, see below, but still got the same message.

map MAP01 "my map"
{
	levelnum 1
	titlepatch CWILV00
	next MAP02
	secretnext MAP02
	sky1 SKY1 0
	cluster 5
	par 30
	music D_RUNNIN
	UsePlayerStartZ
	
}
Sorry, giving another read to the MAPINFO documentation on ZDoomwiki I've managed to fix my code:
map MAP01 "my map"
{
	levelnum = 1
	titlepatch = "CWILV00"
	next = "MAP02"
	secretnext = "MAP02"
	sky1 = "SKY1", 0
	cluster = 5
	par = 30
	music = "D_RUNNIN"
	UsePlayerStartZ
	
}
I was clearly missing syntax.

As for the "could not find map MAP01" message, it seems to me no configuring DOOM Launcher properly. Launching it directly from Doom Builder (or directly on gzdoom) is working fine and the original problem, the player's start z being ignored, has been fixed.

Share this post


Link to post

I've had this problem in the past with other objects like weapons and health, and it it's like any other Thing, you can adjust the height of the item. Click the arrows and change the number and you'll see the height of the object change in 3D view.

Hope this helps!

Share this post


Link to post
CrimCuttle said:

I've had this problem in the past with other objects like weapons and health, and it it's like any other Thing, you can adjust the height of the item. Click the arrows and change the number and you'll see the height of the object change in 3D view.

Hope this helps!

You should really look at a thread before responding :D

Share this post


Link to post
VGA said:

You should really look at a thread before responding :D

dammit dammit dammit, coulda sworn I did.
I need some sleep.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×