home *** CD-ROM | disk | FTP | other *** search
- /* Barrel.cfg - default */
-
- /* Barrel tags
-
- max_velocity [float] Maximum horizontal velocity
- rolling_anim [string] Animation used for rolling
- shattering_anim [string] Animation used for shattering barrels
- rolling_anim_velocity [float] Velocity the barrel is moving with in the animation.
- clear_collision_spheres [none] Clears the list of spheres used for collision.
- collision_sphere [float x, y, z, r] Adds a sphere to the list used for collision.
- start_velocity [float] Initial horizontal velocity
- acceleration [float] A measure for how fast the barrels should accelerate / decelerate
- */
-
- // GameObject configurations
- object_name "Barrel"
- scene_file "Objects/Barrel/Barrel.scene"
- load_root "barrel_root"
- move_root "barrel_root"
- anim_root "anim_root"
- clear_hide_nodes
- hide_node "barrel_root"
- lighten_shadows true
-
- // Barrel configurations
- max_velocity 3.0
- rolling_anim "barrel_roll"
- shattering_anim "barrel_shatter"
- rolling_anim_velocity 3.0
- clear_collision_spheres
- collision_sphere 0.0 0.0 0.0 0.3
- start_velocity 0.0
- acceleration 100.0
-
- sound_rolling "barrel_rolling.wav"
- sound_shattering "barrel_shattering.wav"
-
- hit_effect "generic2"
-