6.0
Entities Definitions - Hipnotic Effects

Last Updated : 2/5/98
©1998 Carl Glave
Back to Main Index

Hipnotic Effects Entities Index

- play_sound_triggered
- play_sound
- random_thunder
- random_thunder_triggered
- func_particlefield

play_sound_triggered (0.3 0.1 0.6) (-8 -8 -8) (8 8 8) TOGGLE

play a sound when it is used

TOGGLE determines whether sound should be stopped when triggered again.

"volume" how loud (1 default full volume)

"noise" sound to play

"impulse" channel on which to play sound (0-7) (0 automatic is default)

"speed" attenuation factor

-1 - no attenuation
1 - normal
2 - idle
3 - static

play_sound (0.3 0.1 0.6) (-8 -8 -8) (8 8 8)

play a sound on a periodic basis

"volume" how loud (1 default full volume)

"noise" sound to play

"wait" random time between sounds (default 20)

"delay" minimum delay between sounds (default 2)

"impulse" channel on which to play sound (0-7) (0 automatic is default)

"speed" attenuation factor

-1 - no attenuation
1 - normal
2 - idle
3 - static

random_thunder (0.3 0.1 0.6) (-10 -10 -8) (10 10 8)

"wait" random time between strikes (default 20)

"delay" minimum delay between strikes (default 2)

"volume" how loud (1 default full volume)

"speed" attenuation factor

-1 - no attenuation
1 - normal
2 - idle
3 - static

random_thunder_triggered (0.3 0.1 0.6) (-10 -10 -8) (10 10 8) TOGGLE

TOGGLE determines whether sound should be stopped when triggered again.

"volume" how loud (1 default full volume)

"speed" attenuation factor

-1 - no attenuation
1 - normal
2 - idle
3 - static

func_particlefield (0 .5 .8) ? USE_COUNT

Creates a brief particle flash roughly the size of the defining brush each time it is triggered.

USE_COUNT when the activator is a func_counter, the field will only activate when count is equal to "cnt". Same as using a func_oncount to trigger.

"cnt" is the count to activate on when USE_COUNT is set.

"color" is the color of the particles. Default is 192 (yellow).

"count" is the density of the particles. Default is 2.

"noise" is the sound to play when triggered. Do not use a looping sound here.

"dmg" is the amount of damage to cause when touched.