The physgun is so broken it's not included in the project by default. I 
don't mean the "Gravity Gun". I don't see a function that gets called when 
it's picked up.

I didn't mess anything up as far as i know, the code is broken to hell and 
back. It doesn't even have a viewmodel by default, i had to code one in. The 
secondary fire (which makes a weld-ball) is tracing correctly, so i dunno 
why primary isn't.

Thanks,
James

----- Original Message ----- 
From: "Jonas 'Sortie' Termansen" <[email protected]>
To: "Discussion of Half-Life Programming" <[email protected]>
Sent: Sunday, May 10, 2009 5:16 PM
Subject: Re: [hlcoders] Setting a weapon to play the "draw" sequence when 
itisselected/picked up?


> Uhm, I didn't know the physgun was broken in the first place. For playing
> such a sequence, find the function that is called when the physgun is 
> picked
> up, and start the animation there? Or check some baseclass.
>
> The last one sounds like you messed something up related to model
> attachments on view models, maybe screwed up a few vectors or whatever, 
> but
> I am not sure what you mean.
>
> ----- Original Message ----- 
> From: "James Keith" <[email protected]>
> To: <[email protected]>
> Sent: Sunday, May 10, 2009 10:59 PM
> Subject: [hlcoders] Setting a weapon to play the "draw" sequence when it
> isselected/picked up?
>
>
>> I'm working on getting the Physics Gun (physgun) to work again, and one
>> step of that is getting it to play the model's "draw" sequence when the
>> player picks it up or switches to it in inventory. How can i do this?
>>
>> Unrelated to the topic title, i can't seem to get the beam that comes out
>> of the gun to follow the tracer the gun emits. It comes out of the gun,
>> but it goes to the origin. Any ideas on that?
>>
>> Thanks,
>> James
>> _______________________________________________
>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>>
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, 
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
> 


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to