Author Topic: Problem with levelflags  (Read 3507 times)

LeSanglier

• Rookie
• Posts: 35
Problem with levelflags
« on: August 23, 2007, 10:42:27 pm »
Hello !

I made a simple map with 3 levels, my player can go to second level but impossible to go the third level.
This is my map : http://sitelibre.free.fr/archives/niveau04.map

I don't know where is my problem. Could you help me ??

BTAxis

• PHALANX Commander
• Posts: 2607
Re: Problem with levelflags
« Reply #1 on: August 23, 2007, 11:30:45 pm »
Firstly, the orange brush on the second floor is set to stepon, not actorclip.
Secondly, the third level floor is too high. Move it downwards so the bottom of the floor is at 128.

Also make sure that your stepon and actorclip brushes are aligned to multiples of 32 (the 6 grid).

LeSanglier

• Rookie
• Posts: 35
Re: Problem with levelflags
« Reply #2 on: August 24, 2007, 12:36:07 am »
Thanks BTAxis !! :-)

Your advices are okay !! My player can walk on my 3 levels !!

On my map, the height of the wall are 58 px (and  8px for the floor) , it is very small, what is the maximun height of a wall ?

BTAxis

• PHALANX Commander
• Posts: 2607
Re: Problem with levelflags
« Reply #3 on: August 24, 2007, 01:52:40 am »
There is no maximum height for your wall, but keep in mind that you want parts of walls to disappear when you look at lower levels, so make walls per-level and set their level flags accordingly.

I usually stick to the following convention:
- Make floors either 8 or 4 units high (one or two squares on the 3 grid). For normal floors stick to 4, make it 8 when you want to make a sturdy-looking bridge or something.
- Floors should always have their base at the bottom of that level (0 for level 1, 64 for level 2, 128 for level 3, etc). On your niveau04 map, the bottom floor is actually below 0. Try to avoid that.
- The bases of walls should be raised to sit on top of the floor. Alternatively, you can make the walls reach all the way to the bottom of the level and make the floor brushes go around the walls. That looks better if you don't like the floor brush showing at the sides of the map, but you need more brushes for the floor.
- No ceiling brushes.

Hope that helps.
« Last Edit: August 24, 2007, 01:56:37 am by BTAxis »

Mattn

• PHALANX Commander
• Posts: 4831
• https://github.com/mgerhardy/vengi
Re: Problem with levelflags
« Reply #4 on: August 24, 2007, 08:39:13 am »

LeSanglier

• Rookie
• Posts: 35
Re: Problem with levelflags
« Reply #5 on: August 24, 2007, 10:31:37 am »