View Single Post
  #26  
Old 08-26-2007, 07:03 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Predefining nodes is how its done in most 3D games. Its certainly a good option.
PHP Code:
//#CLIENTSIDE
function onCreated() {
  
this.level.nodes = {
    {
5130},
    {
20240},
    {
30300},
  };

It could be defined in that manner for compatibility with the vector functions.

Or probably a better idea for nodes is to store them all serverside in a database and have them sent to player on login or such. Also you could make some staff tool that highlights nodes in levels with lights and allows you to place new ones and such.
__________________
Reply With Quote