Question about dinamic cells
by Manticora · in Technical Issues · 04/11/2014 (2:48 pm) · 2 replies
Good day , gentlemen. I would like to ask a question engine Torque3D connoisseurs or those who may possess such information.
Aim to create a dynamic substitution of cells.
The whole world is divided into cells dynamically loadable, creating the illusion of a player seamless world. Example : TESIII Morrowind. Need to develop a dynamic substitution of cells.
Suppose we have 9 cells stacked together (a, b, c, d, e, f, g, n, i). We need to replace the cell E1, E2 cell replacing it with another terrain and other objects. Here is an example picture
http://s006.radikal.ru/i213/1404/c5/b5803c0680b2.jpg
http://s43.radikal.ru/i099/1404/42/3dd607bffaab.jpg
My skype - manticora80
E-mail - manticora80@gmail.com
Aim to create a dynamic substitution of cells.
The whole world is divided into cells dynamically loadable, creating the illusion of a player seamless world. Example : TESIII Morrowind. Need to develop a dynamic substitution of cells.
Suppose we have 9 cells stacked together (a, b, c, d, e, f, g, n, i). We need to replace the cell E1, E2 cell replacing it with another terrain and other objects. Here is an example picture
http://s006.radikal.ru/i213/1404/c5/b5803c0680b2.jpg
http://s43.radikal.ru/i099/1404/42/3dd607bffaab.jpg
My skype - manticora80
E-mail - manticora80@gmail.com
Torque Owner Richard Ranft
Roostertail Games
First, you could use SimSets to store your block data to disk. You can use triggers to tell the system when to change the loaded blocks, though there might be an easier way.
Then the fun part begins - you will probably want to find a way to change the way the player moves in the world. The player needs to stay at the world origin and the rest of the scene contents needs to move "under" the player. If you don't do this then the floating-point precision beast will rear its ugly head and ruin your day. To make it even more exciting, this is probably most easily done for single-player games. All players must be simulated on the server so some scheme must be devised to support many players in whatever world location they happen to be in.