Game Development Community

Portals and basements

by Jean-Pierre Cuerrier · in Artist Corner · 11/20/2006 (7:55 am) · 4 replies

Hi everyone,
1) I have spent about three hours making a large structure, with three stories. I have attempted to bring this object into Torque, which works :o)
Okay, here is the question... The top floor is the only floor that I would like to be visible. The other two are underground... kinda like a dungeon. I have a staircase that goes down, but the grass from the outside world is blocking me from going down the staircase. Anyone know what is going on?

2) I would like to utilize the portal rendering in Torque, but when I insert a portal brush into my map (using Quark btw) it crashes the map2dif every time! Any Ideas?

3) Lastly (I know its alot, sorry), when relighting the world (in torque) after importing my structure, it crashes Torque. Hmmmmmmmmmmm :o)

Thank for your help in advance everyone,
Realtime

About the author

Software Engineer for the Department of National Defence (Canada) during the day, I work part time on game projects and attempt to do so as professionally as possible by leveraging my experience. Blog: http://instantcarnage.tumblr.com/


#1
11/20/2006 (8:39 am)
1) Set terrain empty , found in the world editor tools, used to make polygons in the terrain empty( No render, no collision).

2) No clue, Portals should be slightly thiner than the walls you are making the doorway, but overlap the walls. Whats the error it gives you?

3) Need console log to identify issue. Most likely you have invalid shapes in your DIFF.
#2
11/20/2006 (9:30 am)
Try to rebuild map2dif, i know ive had problems with portals crashing with quark and hammer... i havent tested with the latest release of tge though (prolly should get around to that one of these days)
#3
11/20/2006 (5:49 pm)
The rules I try and stick to with quark portals are:
1. Keep them really thin say 1unit think
2. DO NOT line any of the portal faces with the faces of any of the brushes you are trying intersect the portal with.
3 Try and use a simple thin box type brush (eg. no octagonal shaped brushes)
4. Make sure the portal brush overlaps the surrounding brushes (on 4 sides)
5. DO NOT overlap more than one brush face with each side of the portal

The other general rule is to look for anything unusual with the portal.
Mybe someone else can give you the definitive rules on portals, but the above generally works.
If all else fails, remove or move the portal until it works.
#4
12/10/2006 (7:51 am)
I never did say thank you... so Thanks everyone ;o)