Behavior
Jump to navigation
Jump to search
A behavior basically is a script describing how an object shall behave. The original behavior scripts can be found in data/behavior_data.c.
Native code
Behavior script can do a lot with the object they are attached to. Additional code can be added natively in C. Original behavior code is located in src/game/behaviors.
Actors
Actors basically describe the appearance of an object, including 3D models, textures and animations. Original actors are located in sub-folders in actors.
An actor usual contains the following data:
- Unique texture files (might be hardcoded in C if exported from an editor)
- model.inc.c file describing 3D models including UV coordinates and vertex colors
- geo.inc.c file
- anims sub-folder