Housing?
by AzraelK · in Torque Game Engine · 09/27/2001 (1:50 pm) · 6 replies
How can you add or substract buildings to the map? during real time?
this could be very useful for housing in an online world.
=)
this could be very useful for housing in an online world.
=)
#5
Dark
*Edit: The time on this post is totally screwed. I posted this at about 4:30 PM, and it says it was posted at 9:11 MST. It looks like it doesn't know the differenct between AM and PM? I'm not sure.
09/28/2001 (9:11 am)
That's weird, I wrote that after I read Rick and Labrat's replies, but for some reason it put it before their posts.Dark
*Edit: The time on this post is totally screwed. I posted this at about 4:30 PM, and it says it was posted at 9:11 MST. It looks like it doesn't know the differenct between AM and PM? I'm not sure.
#2
09/28/2001 (9:50 am)
Er.. thanks, but I was expecting perhaps a more elaborate answer? not too elaborate though just a hint on how to do it.
#3
position = "-30.7149 -428.03 112.265";
rotation = "0 0 -1 8.59438";
scale = "1 1 1";
interiorFile = "~/interiors/test/maps/test3.dif";
showTerrainInside = "0";
}
09/28/2001 (10:19 am)
%house = new InteriorInstance() {position = "-30.7149 -428.03 112.265";
rotation = "0 0 -1 8.59438";
scale = "1 1 1";
interiorFile = "~/interiors/test/maps/test3.dif";
showTerrainInside = "0";
}
#6
The client crash occurs because the new interior doesn't know where to find it's non-existing mission lighting data. There is a work-around which allows it to work if your in the mission editor, but any other client connected to the server will probably crash. This problem could be fixed.
The mission lighting system does light each object one at a time, a good project would be to provide an interface to re-light a single object. This would address all the issues.
09/29/2001 (7:25 am)
There are several issues with adding interiors "on-fly": they will not be mission lit (so unless they provide their own exterior lights, they'll be black), they won't cast shadows onto the terrain, and there is a crash problem with clients.The client crash occurs because the new interior doesn't know where to find it's non-existing mission lighting data. There is a work-around which allows it to work if your in the mission editor, but any other client connected to the server will probably crash. This problem could be fixed.
The mission lighting system does light each object one at a time, a good project would be to provide an interface to re-light a single object. This would address all the issues.
Torque Owner Chris "Dark" Evans
You could even add a new sun, or even make the sun so it moves across the sky.
There's virtually no limit to the things you can add.
Dark