Loading multiple missions
by Steve D · in Torque Game Engine · 11/14/2007 (10:29 am) · 6 replies
Maybe someone can give me some insight into this :)
Thinking in terms of baulder's gate type games where you have a group of party members walking around a town and then they enter a building which loads up a new screen with just the inside of the house. I was wondering if there was a way to accomplish this in torque or is there a better way?
I'm thinking in order to do this the town mission file would somehow need to be loaded once and stay loaded in the game. Once the party entered the building (in other words, walked up to the front door and a trigger would load the new mission?) this would be a new mission file that would have to be loaded? Then when they left they would be back on the town mission. Or am I completely going in the wrong direction and there is a simpler way of doing this? Hopefully someone understands what I am asking here! :)
Thinking in terms of baulder's gate type games where you have a group of party members walking around a town and then they enter a building which loads up a new screen with just the inside of the house. I was wondering if there was a way to accomplish this in torque or is there a better way?
I'm thinking in order to do this the town mission file would somehow need to be loaded once and stay loaded in the game. Once the party entered the building (in other words, walked up to the front door and a trigger would load the new mission?) this would be a new mission file that would have to be loaded? Then when they left they would be back on the town mission. Or am I completely going in the wrong direction and there is a simpler way of doing this? Hopefully someone understands what I am asking here! :)
#2
12/02/2007 (11:08 pm)
If you want to do that you should be able to do it without a mission. You could just have a dialog that pops up and shows what you want...put in a camera control and you are good to go. If I understand correctly. Then just disable it when you want to 'leave'.
#3
12/03/2007 (6:31 am)
Sorry I don't follow you...
#4
you put on the engine. Torque is built well as regards processing the necessary operations but it is always better to strip any excessive memory usage where possible.
Even though torque is built in such a way to deem this approach unecessary it is alot better memory wise on the
engine.
Now a days the top commercial do it to save on memory. Just look at oblivion and morrowind. It may be a bit troublesome with a loading screen every time you enter a room but it doesn't stop top commercial titles from selling and allows the engine to run smoother.
NOTE: if are concerned later on about the issue of variables between both mission files just make the necessary objects which affect the game global variables and then adjust them as you like.
12/03/2007 (3:42 pm)
Here steve the way you previously suggested is the best way as regards the amount of stressyou put on the engine. Torque is built well as regards processing the necessary operations but it is always better to strip any excessive memory usage where possible.
Even though torque is built in such a way to deem this approach unecessary it is alot better memory wise on the
engine.
Now a days the top commercial do it to save on memory. Just look at oblivion and morrowind. It may be a bit troublesome with a loading screen every time you enter a room but it doesn't stop top commercial titles from selling and allows the engine to run smoother.
NOTE: if are concerned later on about the issue of variables between both mission files just make the necessary objects which affect the game global variables and then adjust them as you like.
#5
12/03/2007 (5:11 pm)
You can do a search of the forum for loading mission files to find a single player example of how to do this. If you can't, I can give up the code again.
#6
12/04/2007 (12:22 pm)
Cheers dudw i will look right for it now
Torque Owner Kevin Summers
unusually huge there's plenty of room in one mission for your entire town with
several buildings you can enter.
I may be missing the point of why you would want it as part of a separate mission
though. From what I've seen in Torque it's not necessary.