I am trying to find a way to block the USE key on arena-type maps
on the mod Ricochet. If someone presses the USE key it will
block the push discs (primary fire). In deathmatch maps the
USE key is needed for pressing buttons for elevators, etc.

I found the section of code in players.cpp that calls the USE
key and was able to block it from use entirely (as a test) and
it will not allow elevator buttons to work in a map like
rc_stalkyard. However, pressing the use key will still allow
the push discs to be blocked partially. I am wondering if the
"THINK" process delaying the push disc hit on the player. Hullu
wrote a metamod dll which blocks all USE key usage and it is
blocked entirely but I want to be able to block it within the
SDK.

Anyone have an idea of where I should look?

Thanks,

desNotes
[EMAIL PROTECTED]

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

Reply via email to