Soundent: Difference between revisions
Jump to navigation
Jump to search

Important:This is a preserved entity.
If the game has round restart mechanics this entity may not behave as expected:
Warning:Killing this entity will crash the game unless the entity gets created again through the
No edit summary |
(its position in the world irrelevant so it's logical entity) |
||
| Line 4: | Line 4: | ||
{{Ent not in fgd|codeonly=1}} | {{Ent not in fgd|codeonly=1}} | ||
{{CD|CSoundEnt|file1=soundent.cpp}} | {{CD|CSoundEnt|file1=soundent.cpp}} | ||
{{This is a|entity|name=soundent}} It's created automatically and manages sounds that AI hears | {{This is a|logical entity|name=soundent}} It's created automatically and manages sounds that AI hears | ||
{{PreservedEnt|all}} | {{PreservedEnt|all}} | ||
{{warning|Killing this entity will crash the game unless the entity gets created again through the {{code|ent_create}} command or a save gets made then loaded quickly before a crash occurs.}} | {{warning|Killing this entity will crash the game unless the entity gets created again through the {{code|ent_create}} command or a save gets made then loaded quickly before a crash occurs.}} | ||
Revision as of 07:03, 29 April 2025
| CSoundEnt |
soundent is a logical entity available in all
Source games. It's created automatically and manages sounds that AI hears
If the game has round restart mechanics this entity may not behave as expected:
|
ent_create command or a save gets made then loaded quickly before a crash occurs.ConVars
| Cvar/Command | Parameters or default value | Descriptor | Effect |
|---|---|---|---|
| displaysoundlist | 0 | Prints and visualizes sounds added/removed info. 1 = all sound, 2 = danger sounds |