Game Development Community

Level building

by Ariel · in Game Design and Creative Issues · 04/08/2011 (5:08 am) · 4 replies

Hello all,
Is it possible to use a different level for outdoor and for indoors?
for example when a character enters a building, he gets into another level, when he gets out of the building he returns to the main level.
and if it's possible, how to that?
Thanks in advance.

About the author

Recent Threads


#1
04/08/2011 (8:50 am)
Hi Ariel

yes its very possible and you dont need to change "level"

you can use the DIF interior filetype and add portals then its simply a matter of walking through the door :)

or you can use normal models and setup zones and portals manually (but ive found this is horribly tricky to setup and time wasting to implement if you need to do it a lot)

#2
04/08/2011 (9:19 am)
Do a search for "zoning". It's the same as that method: Basically, you hit a trigger, which either sends you to another server, or loads the level which represents the next area.
#3
04/09/2011 (7:59 am)
Thanks for the quick response.
Tried to find information about what you have recomended, could not find anything :(
If you could please answer me this:
1) I've tried to add a trigger to the scene, the only thing that I saw over there was in the 'General" section, commads as enterCommand, leaveCommad, tickCommand.
I've tried to enter the echo("Hello World")command into them, with no success. haven't got a thing. How do I operate this?

2) I've made a "zone" in the game scene, I'v noticed that when the player enters the "zone" the imported 3D objects and the sky disapper.
What should I do to make it work?

Thanks
#4
04/10/2011 (8:47 am)
hi Ariel

1) the triggers run torque script commands so if you want a trigger to print "hello world" you need to use an echo or output command for examples of this look in the scripting tutorials, or Steve Acasters 12 part fps game starter tutorial series in the resouces, he shows how to script spawning ai through triggers.

in fact id advise doing the whole series if your a begginer as it will teach you loads of key torque skills

2) read zoning tutorials

if you want to make dif interiors you can use torque constructor its free