Quote:
Originally Posted by Alienmario
Thanks for gamesounds! Just what I needed :)
btw can't get it to precache npc sounds from npc_sounds_antlionguard.txt
PHP Code:
PrecacheScriptSound("NPC_AntlionGuard.StepHeavy");
Console: SV_StartSound: npc/antlion_guard/foot_heavy1.wav not precached (0)
Game is hl2dm
|
What's the return value from PrecacheScriptSound?
PrecacheScriptSound and GetGameSoundParams are actually wrappers for a function call within the SDK, so it
should be able to precache sounds from any of a game's game_sound files (including TF2's MvM sound files that aren't loaded by default?). However... if this is in HL2's game_sounds and not HL2:DM's game sounds, it may not see it.
__________________