User Tools

Site Tools


hpl1:documentation:content.creation.document.chap3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
hpl1:documentation:content.creation.document.chap3 [2013/04/13 14:28]
oilfan2
hpl1:documentation:content.creation.document.chap3 [2013/04/13 14:30] (current)
oilfan2 old revision restored (2010/11/04 07:38)
Line 18: Line 18:
  
  
-When making maps you must divide the entire map into rooms. A room can be an outdoor area, a corridor, several rooms, a room (off course), etc. To make a room in Maya all the main objects (more on this later) in the room should be grouped in a _fckg_QUOT__room____#" group, # being a string of characters, for example: ​_____fckg_QUOT__room1C", _fckg_QUOT__room3F4",​”_roomDeath”,​ etc. Note that the “_” character is **forbidden to use in the name except as a starting character, which is a must.** The easiest way to do this is to create all the main geometry for the room with the prefix "​room"​ + room number + _fckg_QUOT__"​ (i.e. room1_pBox22) and then place all these under a _fckg_QUOT__room____#" node in the hyper graph editor. **Do not** name the objects with the prefix ​_____fckg_QUOT__room". All names starting with _fckg_QUOT__"​ are special objects and the importer deals with these in a special way.  If all object names in a room has the same prefix it is easy to see in the hyper graph editor if some objects are placed under the wrong node and so on. So do it like this to avoid confusion and more work then needed. In the hyper graph nodes can just be placed under the right room by dragging them with the middle mouse button. ​ To make this as simple as possible the only things that are needed to be in a room is the **geometry** (no lights allowed) defining the room. This means most likely the walls in the room. All other stuff (except the portals) do **NOT** have to be placed in the _fckg_QUOT__room#"​ group. They will be added to the rooms they are in at load time. //See below for example.// ​+When making maps you must divide the entire map into rooms. A room can be an outdoor area, a corridor, several rooms, a room (off course), etc. To make a room in Maya all the main objects (more on this later) in the room should be grouped in a _fckg_QUOT__room#" group, # being a string of characters, for example: ​_fckg_QUOT__room1C", _fckg_QUOT__room3F4",​”_roomDeath”,​ etc. Note that the “_” character is **forbidden to use in the name except as a starting character, which is a must.** The easiest way to do this is to create all the main geometry for the room with the prefix "​room"​ + room number + _fckg_QUOT__"​ (i.e. room1_pBox22) and then place all these under a _fckg_QUOT__room#" node in the hyper graph editor. **Do not** name the objects with the prefix ​_fckg_QUOT__room". All names starting with _fckg_QUOT__"​ are special objects and the importer deals with these in a special way.  If all object names in a room has the same prefix it is easy to see in the hyper graph editor if some objects are placed under the wrong node and so on. So do it like this to avoid confusion and more work then needed. In the hyper graph nodes can just be placed under the right room by dragging them with the middle mouse button. ​ To make this as simple as possible the only things that are needed to be in a room is the **geometry** (no lights allowed) defining the room. This means most likely the walls in the room. All other stuff (except the portals) do **NOT** have to be placed in the _fckg_QUOT__room#"​ group. They will be added to the rooms they are in at load time. //See below for example.// ​ 
 + 
 {{:​hpl1:​documentation:​room_example.jpg?​nolink&​}}\\ ​ {{:​hpl1:​documentation:​room_example.jpg?​nolink&​}}\\ ​
 Note that objects that are in two or more rooms at the same time demand some extra cpu power at runtime so avoid this when it is not needed. Note that static geometry can be placed either in a _fckg_QUOT__room#"​ group or not (it does not have to be considered main geometry). However, lights and references are **forbidden** in room groups!\\ ​ Note that objects that are in two or more rooms at the same time demand some extra cpu power at runtime so avoid this when it is not needed. Note that static geometry can be placed either in a _fckg_QUOT__room#"​ group or not (it does not have to be considered main geometry). However, lights and references are **forbidden** in room groups!\\ ​
hpl1/documentation/content.creation.document.chap3.txt · Last modified: 2013/04/13 14:30 by oilfan2