Raised This Month: $51 Target: $400
 12% 

SourceMod 1.6.1, Metamod:Source 1.10.2 Released


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-18-2014 , 11:11   Re: SourceMod 1.6.1, Metamod:Source 1.10.2 Released
#11

Quote:
Originally Posted by Alienmario View Post
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.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 08-18-2014 at 11:14.
Powerlord is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode