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 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); > // } > } > >On 2/8/06, Gus <[EMAIL PROTECTED]> wrote: >> >> Hello, Michael Kramer, >> >> Okay, am getting closer............I 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: >> http://www.totalretribution.com/sourcesdk/hl/HL2__Player_8cpp-source.html >> >> // Disallow shooting while zooming >> if ( m_nButtons & IN_ZOOM ) >> { >> //FIXME: Held weapons like the grenade get sad when this >> happens >> m_nButtons &= ~(IN_ATTACK|IN_ATTACK2); >> } >> } >> >> >> >> ======= At 2006-02-08, 11:27:14 you wrote: ======= >> >> >-- >> >[ 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 function >> >> itself........would you have a tip where or which file can lead me to >> the >> >> acutal cpp or h files?........ All I know right now is that Suit Zoom >> is >> >> binded to Z on the keyboard by default........also, Valve_english.txt >> has a >> >> line .... "Valve_Suit_Zoom" "Suit Zoom" ...... >> >> >> >> ======= At 2006-02-08, 09:35:32 you wrote: ======= >> >> >> >> >-- >> >> >[ 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 able to find where the game checks where you are >> >> zoomed >> >> >and prevents shooting. >> >> > >> >> > >> >> >-- >> >> >Draco >> >> >-- >> >> > >> >> >_______________________________________________ >> >> >To unsubscribe, edit your list preferences, or view the list archives, >> >> please visit: >> >> >http://list.valvesoftware.com/mailman/listinfo/hlcoders >> >> > >> >> >> >> = = = = = = = = = = = = = = = = = = = = >> >> >> >> >> >> Best regards. >> >> Gus >> >> [EMAIL PROTECTED] >> >> 2006-02-08 >> >> >> >> >> >> >> >> _______________________________________________ >> >> 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 >> > >> >> = = = = = = = = = = = = = = = = = = = = >> >> >> Best regards. >> Gus >> [EMAIL PROTECTED] >> 2006-02-08 >> >> >> >> _______________________________________________ >> 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 > = = = = = = = = = = = = = = = = = = = = Best regards. Gus [EMAIL PROTECTED] 2006-02-08 _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders