Game Development Community

Interiors?

by Firas · in Torque Game Engine · 09/19/2005 (1:44 pm) · 5 replies

Guys I have a question about interiors, I read some of the .cc files and I found there is a zone system , and here is it in the TGE document:
http://www.garagegames.com/docs/tge/engine/structInterior_1_1Zone.php#o6
but as you see the document exaplin nothing about it so colud anyone here please exaplain a lettile about it

and how can we use it ? and what exactly is the zone is every room in the interior is a zone or what? please a little explaintion will help here.

thanks in advance.

#1
09/21/2005 (4:37 am)
These zones are just for faster rendering. They let the engine know which things are in what areas so it can not render them if they're not seen. They're set up automatically by a properly portalized interior.
#2
09/22/2005 (11:17 am)
Can I access these zones from script?

coz what I wont to do here is when I enter a room the mostores from the next room will come to fight you? so can I do this??
#3
09/22/2005 (11:25 am)
Firas,
Setup triggers inside of the room that you want the player to be in when the monsters are released. Have the trigger activate a door or make a function call to unleash the monsters.
#4
09/23/2005 (9:09 am)
I think thats my only solustion
thanks guys :)
#5
09/23/2005 (9:32 pm)
The zones are for rendering - may not relate to rooms or anything else that makes sense from a gameplay perspective. Though it might be interesting to try to expose them to scripting and see what you get... You'd be on your own for that one, though, Triggers will work quite well for what you _need_. :)