UFO: Alien Invasion
Loading...
Searching...
No Matches
terrainType_t Struct Reference

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

#include <scripts.h>

Collaboration diagram for terrainType_t:
Collaboration graph

Data Fields

const char * texture
const char * footstepSound
const char * particle
float bounceFraction
float footstepVolume
struct terrainType_s * hash_next

Detailed Description

Different terrain definitions for footsteps and particles.

Definition at line 215 of file scripts.h.

Field Documentation

◆ bounceFraction

float terrainType_t::bounceFraction

the impact on the bounce fraction given in the weapon definition

Definition at line 219 of file scripts.h.

Referenced by Com_ParseTerrain(), and SV_GetBounceFraction().

◆ footstepSound

const char* terrainType_t::footstepSound

sound to play when walking on this terrain type

Definition at line 217 of file scripts.h.

Referenced by LE_PlaySoundFileAndParticleForSurface(), and SV_GetFootstepSound().

◆ footstepVolume

float terrainType_t::footstepVolume

footstep sound volume

Definition at line 220 of file scripts.h.

Referenced by Com_ParseTerrain(), and LE_PlaySoundFileAndParticleForSurface().

◆ hash_next

struct terrainType_s* terrainType_t::hash_next

next entry in the hash list

Definition at line 221 of file scripts.h.

Referenced by Com_ParseTerrain().

◆ particle

const char* terrainType_t::particle

particle to spawn when walking on this type of terrain

Definition at line 218 of file scripts.h.

Referenced by LE_PlaySoundFileAndParticleForSurface().

◆ texture

const char* terrainType_t::texture

script id is the texture name/path

Definition at line 216 of file scripts.h.

Referenced by Com_ParseTerrain().


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