Soundent: Difference between revisions
Jump to navigation
Jump to search

Warning:Killing this entity will crash the game unless the entity gets created again through the ent_create command or a save gets made then loaded quickly before a crash occurs.
SirYodaJedi (talk | contribs) No edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
{{LanguageBar}} | {{LanguageBar}} | ||
{{ | {{TabsBar|main=gs|base=soundent}} | ||
{{Ent not in fgd|codeonly=1}} | {{Ent not in fgd|codeonly=1}} | ||
{{Preserved entity}} | |||
{{CD|CSoundEnt|file1=soundent.cpp}} | {{CD|CSoundEnt|file1=soundent.cpp}} | ||
{{ | {{This is a|logical entity|name=soundent}} It's created automatically and manages sounds that AI hears | ||
{{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.}} | ||
==ConVars== | |||
== ConVars == | |||
{{varcom|start}} | {{varcom|start}} | ||
{{varcom|displaysoundlist|0||Prints and visualizes sounds added/removed info. 1 {{=}} all sound, 2 {{=}} danger sounds}} | {{varcom|displaysoundlist|0||Prints and visualizes sounds added/removed info. 1 {{=}} all sound, 2 {{=}} danger sounds}} |
Latest revision as of 08:21, 12 May 2025




This is a preserved entity in 









If the game has round restart mechanics this entity may not behave as expected.










If the game has round restart mechanics this entity may not behave as expected.
![]() |
---|
CSoundEnt |
![]() |
soundent
is a logical entity available in all Source games. It's created automatically and manages sounds that AI hears

ConVars
Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
displaysoundlist | 0 | Prints and visualizes sounds added/removed info. 1 = all sound, 2 = danger sounds |