| closedCatch players desire to go prone... |
| Started by =|[76AD]|= TatsuSaisei on 12-24-2006, 01:35 PM |
Threads: 54
Joined: May 2005
I am having an issue with a plugin I have designed... There comes a point where I lock a player down into a crouch position (to simulate damaged legs) but have found that once the legs are locked, the player can no longer go prone either, which is not the behavior I was expecting. I tried catching prone as a defined button but can not seem to find it. DoD is the only mod that even allows a player to go prone (that I know of, nothing in HL or CS)n nWhat I would like to ulitmately do is catch a players attempt at going prone, and "helping" them along (i know what needs to be done to get player to go prone on call) I just do not want players to have to bind a custom key to go prone... the point is to use zero binds so there is never anythign for a player to have to "setup"n nso.... any suggestions ??
Threads: 54
Joined: May 2005
jumping on my own post... let me ask this as well...n nwhat are these two "buttons" in DoD ??n nIN_ALT1nIN_CANCELn nall the rest are pretty self explanatory to the game, but these 2 I am unsure about... IN_CANCEL I would assume is possibly ESC by default... but IN_ALT1 I have been unable to locate, and originally hoped it was assigned to "prone" but it is not...
Threads: 57
Joined: Oct 2005
The only way to hook it is maybe to register_clcmd("prone") but I'm not sure if that gets sent to the server.rnrnDoes dod_get_pronestate(id) work for what you're doing?
Threads: 54
Joined: May 2005
;2920']The only way to hook it is maybe to register_clcmd("prone") but I'm not sure if that gets sent to the server.n nDoes dod_get_pronestate(id) work for what you're doing?ntried hooking "prone" as both a clcmd and a concmd, neither worked...n nand dod_get_pronestate(id) works enough to report 0 if the player is not prone, but will not help me without being able to detect that a player has in fact pushed their prone key...
Threads: 75
Joined: Jun 2006
Well I have just thought of two new forwards I can work on for the DoDx, one will be a forward when someone goes prone, the other will be for when they zoom...will have to look at this, note to self! Plz remind me TatsuSaisei as I get into programming and get pissed at it and put it away until later! Hehehe...things like these forwards, if you guys have plugins that use things like catching prone states or when someone zooms a weapon, etc let me know about things you would like to see forwards for so that I can add them in...Im on leave until the 21st Jan, so TELL ME!!!nnCheers!

