Skip to main content

env_soundmark

env_soundmark icon
Point entityPorted from Featureful

An env_soundmark makes a sound or a smell each time you trigger it, which only monsters notice. With the sound type Danger, monsters that know about grenades run from the spot, and with Combat, they come to it.

Calm monsters within the radius that care about the sound type react at once, even when they were busy with something else, such as greeting a player. A monster that is fighting or plays a script doesn't react this way.

Attributes​

KeyDescriptionDefault
Nametargetname

Triggering the entity makes the sound. See Common keys.

Sound Radiusradius

Sets how far the sound reaches, in units, and monsters within it notice it.

If you leave this key empty or set 0, it is 384.

Default 384
Sound Durationduration

Sets how many seconds the sound lasts.

If you leave this key empty or set 0, it is 0.3.

Default 0.3
Positionposition

Sets where the sound is. It takes a locus position, so you can use a point such as 0 0 64, the name of an entity, or !activator for the entity that started the chain of triggers.

If you leave this key empty, the sound is at the env_soundmark itself.

Sound Typetype

Picks the kind of sound. Each monster reacts only to the kinds it listens for.

  • Combat (1) - The sound of a fight, which draws monsters in
  • World (2) - A noise of the world
  • Player (4) - A sound a player makes
  • Carcass (8) - The smell of a dead body
  • Meat (16) - The smell of meat
  • Danger (32) - A danger such as a grenade, which monsters run from
  • Garbage (64) - The smell of garbage
Default Danger (32)

Flags​

1Remove On fire

The entity is removed after it is used once

Making monsters run​

A monster that runs from Danger needs an info_node at least the radius away and hidden from the sound, and without one it stays where it is. Monsters side by side can block each other's way.

Notes​

  • If the entity can't find the position that Position names, it makes no sound for that trigger

See also​

Changes since 1.38​

  • env_soundmark is new in SBO 2.0.0