Re: [hlcoders] Sound only playing when player is not touching the ground

2008-09-01 Thread Ryan Sheffer
'this' is the weapon itself, so perhaps when it adds players by PVS, it doesn't find your player because the player isn't in the weapons PVS. On Mon, Sep 1, 2008 at 3:00 PM, Garrett <[EMAIL PROTECTED]> wrote: > Aha, got it to work by doing CPASAttenuationFilter filter( GetPlayerOwner() > ); > Tho

Re: [hlcoders] ob scratch sdk - weapons not showing

2008-09-01 Thread Joe Weasel
By default, it uses the incorrect entity name for the viewmodel in the 'from scratch' code. Within VS, do a search for 'predicted_viewmodel' within the solution's files. You should come across a single line. Replace 'predicted_viewmodel' with 'viewmodel'. On Mon, Sep 1, 2008 at 5:17 PM, Baer <[EMA

[hlcoders] ob scratch sdk - weapons not showing

2008-09-01 Thread Baer
I haven't messed with hl2 coding for a while and was gonna make a mod and mess around with it. I didn't have weapons nor a hud when I first compiled the dlls and went into sdk_vehicles map. I added some teams, classes, and gave each their own weapon and they still don't show up. They fire, the b

Re: [hlcoders] Sound only playing when player is not touching the ground

2008-09-01 Thread Garrett
Aha, got it to work by doing CPASAttenuationFilter filter( GetPlayerOwner() ); Though it makes me kinda wonder what it was about filter( this ) that didn't always work correctly. - Original Message From: Ryan Sheffer <[EMAIL PROTECTED]> To: Discussion of Half-Life Programming Sent: Mo

Re: [hlcoders] Sound only playing when player is not touching the ground

2008-09-01 Thread Ryan Sheffer
I only have suggestions but they are worth a try. Change your CPASAttenuationFilter filter( this ); filter to NULL or a filter which has no rules to see if its a bad filter, and if that's the problem then figure out what isn't passing. If its not that then check if CHAN_STATIC is causing the proble

Re: [hlcoders] Sound only playing when player is not touching the ground

2008-09-01 Thread Garrett
Hmm...apparently Yahoo mail doesn't like to reply to the list anymore when I hit reply. So I couldn't find anything particularly interesting in CSoundPatch. I also did some more testing, and things just got more confusing. Apparently, the sound will work when I'm standing on some surfaces, bu