Game Development Community

Loading the game

by Grant Kessler · in Torque Game Engine · 08/23/2007 (8:50 pm) · 8 replies

I was wondering if something is possible. i know, technically almost anything is possible if you mod, but, i was kind of wondering how you would go about to load the map with torque differently.
what i want is a huge world on one map, but, that would be very slow and take a long time to load if it loaded it all at once like the fps example in the beginning. is there a way to load like a 10 square radius around the player when you start a map and thats all? and as the player moves around it loads what is around him? thinking about it, this would probably be slow too, but its the fastest way i can think of instead of making a player wait 30 mins to get connected. if anyone has better ideas please let me know.

#1
08/24/2007 (2:11 pm)
Instead of constantly loading, load bits and peices of the world once the player enters that area or nears that area. So if he is in a mountain, load the mountain. Once he starts approaching the forest, load the forest as well, and once he is completely in the forest, discard the loaded mountain.
#2
08/24/2007 (2:13 pm)
It would require a rather huge chunk of coding to add this mission chunking into the engine, especially in terms of things crossing chunks such as paths, interiors, models, etc.
#3
08/25/2007 (10:33 pm)
Ok, i think what i want to do is load it area by area. The world is completely open, so you can walk almost anywhere on it, but, every inch of the world is part of some area name, so if i load each area as you enter it, it should be better. But, im not familiar with the engine coding or the best coder, does anyone know of any info on this? ive searched and found none. What parts would i be looking at to change if i were to go about this?
#4
08/27/2007 (8:20 pm)
Ok ive searched even longer and found absolutely nothing about it. I might be searching the wrong things. Honestly, I'm not exactly sure on what i should search on. I've tried things like loading game, loading map, ect. I'm not sure exactly what I will/should be editting in code to change this, were to look at in the engine, or anything. Hopefully there is a resource or something on something at least similiar to this. Anyone have any ideas? Hopefully someone knows something about this, it might be helpful to other people as well? I'm not sure.
#5
09/02/2007 (5:32 am)
Guess this is a pretty unknown field for Torque...
If no one replies to then, many moons after this when i figure it out, ill post it as a resource. But, still, if anyone has any idea, please let me know to make life a tad easier.
#6
09/02/2007 (5:45 am)
Sounds like you want a portal based engine with conditional background zone loading, nothing anyone could say will make life a tad easier. :)

I would consider the above feature to be quite an undertaking and not for the faint of heart.

There are other engines that already do this natively, but an engine change will probably be just as daunting.
#7
09/03/2007 (8:54 am)
I know others do it, but i wanted to use torque, especially since i paid for it.
it would make my life easier if someone knew where to start, or something about this. :(
But like i said, ill figure it out if no one else can help.
#8
09/26/2007 (9:40 pm)
So ive been reading through a few threads here and there ive found that slightly touch on this subject. from what ive read, most mmorpgs have servers, or at least ports for each area of the game, and when someone loads another area, they are disconnected from one server at the area they were in, and connect to the server and area they are heading to. i also read people attempting to dynamically load areas to avoid this. thats kind of what im looking for. is there any information or does anyone know anything on dynamically loading areas, to where you could cut server amount?