terrainType_s Struct Reference

Different terrain definitions for footsteps and particles. More...

#include <scripts.h>

Collaboration diagram for terrainType_s:
Collaboration graph
[legend]

Data Fields

const char * texture
const char * footStepSound
const char * particle
float bounceFraction
float footStepVolume
struct terrainType_shash_next

Detailed Description

Different terrain definitions for footsteps and particles.

Definition at line 212 of file scripts.h.


Field Documentation

the impact on the bounce fraction given in the weapon definition

Definition at line 216 of file scripts.h.

Referenced by Com_ParseTerrain(), and SV_GetBounceFraction().

sound to play when walking on this terrain type

Definition at line 214 of file scripts.h.

Referenced by LE_PlaySoundFileAndParticleForSurface(), and SV_GetFootstepSound().

footstep sound volume

Definition at line 217 of file scripts.h.

Referenced by Com_ParseTerrain(), and LE_PlaySoundFileAndParticleForSurface().

next entry in the hash list

Definition at line 218 of file scripts.h.

Referenced by Com_GetTerrainType(), and Com_ParseTerrain().

particle to spawn when walking on this type of terrain

Definition at line 215 of file scripts.h.

Referenced by LE_PlaySoundFileAndParticleForSurface().

script id is the texture name/path

Definition at line 213 of file scripts.h.

Referenced by Com_GetTerrainType(), and Com_ParseTerrain().


The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2