Raised This Month: $32 Target: $400
 8% 

[L4D, L4D2] Self Revive


Post New Thread Reply   
 
Thread Tools Display Modes
chinagreenelvis
Senior Member
Join Date: Dec 2009
Old 11-21-2010 , 00:41   Re: [L4D, L4D2] Self Revive
Reply With Quote #21

I've had one or two players who didn't seem to get it, or the key wasn't working for them. I'll work on creating an option for the keys, might take me a day to get around to it.

Any suggestions on what keys could or should be options? Maybe you should try using the L4D menus to set duck to different keys and see which keyboard key works for you (ctrl is default), then find out what you normally bind to that key.

I assume use might be an option, maybe alt attack...
chinagreenelvis is offline
MasterMind420
BANNED
Join Date: Nov 2010
Old 11-21-2010 , 01:03   Re: [L4D, L4D2] Self Revive
Reply With Quote #22

i personally am used to the USE key. I have been using incap meds munch for awhile now...yours is definately a better option, but incap meds munch works everytime. hmm i wonder could u look at the incap meds munch mod and see how they do it, maybe it can help...
MasterMind420 is offline
chinagreenelvis
Senior Member
Join Date: Dec 2009
Old 11-21-2010 , 06:27   Re: [L4D, L4D2] Self Revive
Reply With Quote #23

According to the code

PHP Code:
if (buttons IN_DUCK || buttons IN_USE || buttons IN_ATTACK2
this plugin should actually be allowing the use button or attack 2. Forgot I had put those in there.

Try the use key and see if it works if you haven't already.
chinagreenelvis is offline
MasterMind420
BANNED
Join Date: Nov 2010
Old 11-21-2010 , 12:00   Re: [L4D, L4D2] Self Revive
Reply With Quote #24

ok i'll give it a shot and let u know....
MasterMind420 is offline
MasterMind420
BANNED
Join Date: Nov 2010
Old 11-21-2010 , 12:13   Re: [L4D, L4D2] Self Revive
Reply With Quote #25

yeah neither attack2 or use are working....
MasterMind420 is offline
chinagreenelvis
Senior Member
Join Date: Dec 2009
Old 11-21-2010 , 14:36   Re: [L4D, L4D2] Self Revive
Reply With Quote #26

I'm fresh out of ideas.
chinagreenelvis is offline
chinagreenelvis
Senior Member
Join Date: Dec 2009
Old 11-21-2010 , 14:37   Re: [L4D, L4D2] Self Revive
Reply With Quote #27

You're free to play around with the sourcecode and compile your own version. Maybe you can work it out so that it works for you? That's how I got this far myself. Before three weeks ago I knew nothing about writing plugins or how they even worked.
chinagreenelvis is offline
MasterMind420
BANNED
Join Date: Nov 2010
Old 11-23-2010 , 15:57   Re: [L4D, L4D2] Self Revive
Reply With Quote #28

Hmm very strange, putting IN_USE for the key doesn't seem to work at all, incap medsmunch works fine, gonna compare the 2 and break it down, see whats wrong, thanks btw for all your help.
MasterMind420 is offline
chinagreenelvis
Senior Member
Join Date: Dec 2009
Old 11-23-2010 , 22:45   Re: [L4D, L4D2] Self Revive
Reply With Quote #29

I discovered earlier today that duck, use, and attack 2 all work for me. CTRL, E, and right-click, respectively.
chinagreenelvis is offline
chinagreenelvis
Senior Member
Join Date: Dec 2009
Old 11-23-2010 , 22:50   Re: [L4D, L4D2] Self Revive
Reply With Quote #30

Quote:
Originally Posted by MasterMind420 View Post
Hmm very strange, putting IN_USE for the key doesn't seem to work at all, incap medsmunch works fine, gonna compare the 2 and break it down, see whats wrong, thanks btw for all your help.
It would seem that the two deal with the button pressing in very different ways. Mine tests whether or not the buttons are being pushed during a timer which runs at 1.0/10. In Meds Munch the plugin uses OnPlayerRunCmd for when the buttons are pressed at any time during the game, and it then tests for whether or not certain conditions are present before deciding whether or not it produces an action.

I'd have to rewrite the whole thing in order to get this to work like that one does... :[

Experiment with the timer values. Maybe that will produce some kind of result?
chinagreenelvis is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode