Re: [hlcoders] HL2MP:SDK - Fire while Zoomed

2006-02-08 Thread Jason Houston
-- [ Picked text/plain from multipart/alternative ] Look for the variable for whether you are zoomed or not, if you have trouble finding it, look for the function that handles the zoom key(theres a file for imput isn't there? search for the command name the zoom key is bound to). You should be

Re: Re: [hlcoders] HL2MP:SDK - Fire while Zoomed

2006-02-08 Thread Michael Kramer
-- [ Picked text/plain from multipart/alternative ] I did this once, look in like env_suitzoom.cpp or something similiar. It is also in hl2player.cpp look for suit :D On 2/8/06, Gus [EMAIL PROTECTED] wrote: Hello, Jason Houston, So basicly the target file I should be looking for is the zoom

Re: Re: Re: [hlcoders] HL2MP:SDK - Fire while Zoomed

2006-02-08 Thread Gus
Hello, Michael Kramer, Okay, am getting closerI found this on HL2_Player.cpp ...line 00522 .is this file also valid for HL2MP? Any thoughts on what to do on these lines tom enable firing while zoomed? For reference:

Re: Re: Re: [hlcoders] HL2MP:SDK - Fire while Zoomed

2006-02-08 Thread Michael Kramer
-- [ Picked text/plain from multipart/alternative ] Yes it will work for hl2mp as well change it too // if ( m_nButtons IN_ZOOM ) // { //FIXME: Held weapons like the grenade get sad when this happens // m_nButtons = ~(IN_ATTACK|IN_ATTACK2); // } }

Re: Re: Re: Re: [hlcoders] HL2MP:SDK - Fire while Zoomed

2006-02-08 Thread Gus
Hello, Michael Kramer, It did kinda work, I can zoom and all..but something is missing...the weapon sound and the projectile...there's no weapon sound nor the bullet hits anything... === At 2006-02-08, 13:20:35 you wrote: === -- [ Picked text/plain from

Re: Re: Re: Re: [hlcoders] HL2MP:SDK - Fire while Zoomed

2006-02-08 Thread Jason Houston
-- [ Picked text/plain from multipart/alternative ] Well, there must be more checks to it, also check out the hud element for the zoom as well. This sort of thing could be hidden all over. If you get reallly fed up with it, make a zoom yourself, with SetFov and maybe some sort of scope effect.

Re: Re: Re: Re: Re: [hlcoders] HL2MP:SDK - Fire while Zoomed

2006-02-08 Thread Gus
Hello, Jason Houston, Thing is I need hand holding here...I need guidance in this stuff, am a beginner in this field.. P.S. Draco, I've noticed you guys added extra smoke on the rifles of BG2.can you guide me on how to do that? === At 2006-02-08, 15:03:42 you wrote:

Re: Re: Re: Re: Re: [hlcoders] HL2MP:SDK - Fire while Zoomed

2006-02-08 Thread Jason Houston
-- [ Picked text/plain from multipart/alternative ] The other coder, Tjoppen, was the one who did that, here's a paste of the function that handles it http://www.rafb.net/paste/results/roN7bD43.html it all seems to be done in MuzzleFlash_Pistol_Shared, but the code is available if you want to

Re: Re: Re: Re: Re: Re: [hlcoders] HL2MP:SDK - Fire while Zoomed

2006-02-08 Thread Gus
Hello, Jason Houston, Okay am studying this, thanks for sharing === At 2006-02-08, 15:27:23 you wrote: === -- [ Picked text/plain from multipart/alternative ] The other coder, Tjoppen, was the one who did that, here's a paste of the function that handles it