Game Development Community

Loading Missions

by Thanhda Tie · in Torque Game Engine · 05/01/2006 (12:24 pm) · 3 replies

Okay. quick question, how do i load from one mission to another mission. for example if i was running around in a forest and wanted to enter this cave. and wanted to load another mission.

Also if i was to build for example a castle type lvl, would it be better for me to keep each room in one mission rather then seperating them in different ones? and if so, how do i set teleporters, any tutorials on that?

About the author

Digital Shock President & CEO, Thanhda's main role is to direct the business development team, and all other technical development. Thanhda began as a business relations manager & programmer, and has since worked on many projects.


#1
05/01/2006 (6:36 pm)
Look into the code in starter.fps where it ends a game at the kill limit. It loads end a mission and loads a new map from there. Unless your castle is absolutely huge, you would not want to make each room it's own mission. Using portals in your interior creations should be enough. Teleporters can be done a lot of ways, I usually use triggers and and a dummy target object to send them to.
#2
05/01/2006 (6:59 pm)
Alright cool. totally new to torque, and was just wondering if there were any tutorials to them. still waiting on my book to arrive through mail.
#3
05/01/2006 (8:24 pm)
Do a search for Ace's single player kit. He had mission transission's and triggers working pretty well.