project-navigation
Personal tools

Author Topic: Problem with levelflags  (Read 3507 times)

Offline LeSanglier

  • Rookie
  • ***
  • Posts: 35
    • View Profile
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 ??

Thanks in advance ! :-)

Thanks in advance.

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
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).

Offline LeSanglier

  • Rookie
  • ***
  • Posts: 35
    • View Profile
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 ?
 

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
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 »

Offline Mattn

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

Offline LeSanglier

  • Rookie
  • ***
  • Posts: 35
    • View Profile
Re: Problem with levelflags
« Reply #5 on: August 24, 2007, 10:31:37 am »
One more time, thanks a lot for your advices !! :-)

I made a little tutorials for creating level (for a newbie ! :-) ): http://sitelibre.free.fr/didacticiels/gtkradiant_didac/
Modifications will be made more later.
I am sorry but it is in french, but i think it will be easy to translate in english.