Raised This Month: $99 Target: $400
 24% 

[L4D & L4D2] Self Help


Post New Thread Reply   
 
Thread Tools Display Modes
Author
panxiaohai
Senior Member
Join Date: Mar 2010
Plugin ID:
1726
Plugin Version:
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Self revive through medkid and pain pills.
    Old 06-12-2010 , 23:21   [L4D & L4D2] Self Help
    Reply With Quote #1

    This plugins is based on the assumption that special infected are allergic to drugs and survivors can use pills and medkid when incapacitated.

    If you incapacitated or dominated by a boss, you can do the following things:
    1: if you have pills , first aid kit or adrenaline, you can get up.
    2: Crawl around to find pills , first aid kit, adrenaline and pistol ( sever must enable crawling).
    3: Crawl to another incapacited survivor, and help him get up.
    All above actions are performed by holding DUCK.

    If there are any problem in plugin, please tell me.


    ConVars:
    "l4d_selfhelp_incap", "3", "self help for incap , 0:disable, 1:pill, 2:medkit, 3:both "
    "l4d_selfhelp_grab", "3", " self help for grab , 0:disable, 1:pill, 2:
    medkit, 3:both "
    "l4d_selfhelp_pounce", "3", " self help for pounce , 0:disable, 1:pill, 2:
    medkit, 3:both "
    "l4d_selfhelp_ride", "3", " self help for ride , 0:disable, 1:pill, 2:
    medkit, 3:both "
    "l4d_selfhelp_pummel", "3", "self help for pummel , 0:disable, 1:pill, 2:
    medkit, 3:both "
    "l4d_selfhelp_edgegrab", "3", "self help for edgegrab , 0:disable, 1:pill, 2:
    medkit, 3:both "
    "l4d_selfhelp_eachother", "1", "incap help each other , 0: disable, 1 :enable "
    "l4d_selfhelp_pickup", "1", "incap pick up , 0: disable, 1 :enable "
    "l4d_selfhelp_kill", "1", "kill attacker"
    "l4d_selfhelp_hintdelay", "3.0", "hint delay"
    "l4d_selfhelp_delay", "1.0", "self help delay"
    "l4d_selfhelp_durtaion", "3.0", "self help duration"

    "l4d_selfhelp_versus", "1", "0: disable in versus, 1: enable in versus"

    Updating:
    Add progress bar in l4d2 and sound effect.
    Add convar for versus mode.
    Fix some bug about when self help with pills, the health change to 1.

    Attached Thumbnails
    Click image for larger version

Name:	c2m1_highway0007.jpg
Views:	6532
Size:	58.5 KB
ID:	67780   Click image for larger version

Name:	c2m1_highway0008.jpg
Views:	4578
Size:	63.8 KB
ID:	67781   Click image for larger version

Name:	c2m1_highway0009.jpg
Views:	4974
Size:	53.3 KB
ID:	67782   Click image for larger version

Name:	c2m1_highway0011.jpg
Views:	3775
Size:	50.9 KB
ID:	67783   Click image for larger version

Name:	c2m1_highway0014.jpg
Views:	4984
Size:	61.4 KB
ID:	67784  

    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_selfhelp_en.sp - 12209 views - 27.7 KB)

    Last edited by panxiaohai; 10-17-2011 at 16:44.
    panxiaohai is offline
    hailtothegames
    Junior Member
    Join Date: Apr 2010
    Old 06-13-2010 , 03:33   Re: [L4D & L4D2] Self Help
    Reply With Quote #2

    Good Job, I tested it and it works well.
    hailtothegames is offline
    bao2012
    New Member
    Join Date: May 2010
    Old 06-13-2010 , 04:38   Re: [L4D & L4D2] Self Help
    Reply With Quote #3

    do you have screenshot or video?
    bao2012 is offline
    marvel
    BANNED
    Join Date: Dec 2009
    Old 06-13-2010 , 05:57   Re: [L4D & L4D2] Self Help
    Reply With Quote #4

    Looks good! Is it possible btw to bind it to the use key?

    thx!
    marvel is offline
    Fleepster99
    Senior Member
    Join Date: Apr 2010
    Old 06-13-2010 , 09:14   Re: [L4D & L4D2] Self Help
    Reply With Quote #5

    Omg i was looking for a plugin to do a very similar job to what yours does Thanks a lot.
    Fleepster99 is offline
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 06-13-2010 , 20:12   Re: [L4D & L4D2] Self Help
    Reply With Quote #6

    It is posssible it change the pick up type while you are incap ?
    I would like to pick up by aim the meds and press USE button
    alexip121093 is offline
    Send a message via MSN to alexip121093
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 06-13-2010 , 23:20   Re: [L4D & L4D2] Self Help
    Reply With Quote #7

    Quote:
    Originally Posted by alexip121093 View Post
    It is posssible it change the pick up type while you are incap ?
    I would like to pick up by aim the meds and press USE button
    en, I will try it.
    panxiaohai is offline
    Skorpion1976
    Veteran Member
    Join Date: Jun 2009
    Location: Austria
    Old 06-14-2010 , 17:30   Re: [L4D & L4D2] Self Help
    Reply With Quote #8

    Now that sounds like the long awaited "survivor upgrades" from left4dead 1 . Just thinking of the "knife". I do have some questions:

    1. you define "new slot" and "new solt". What´s "solt" for ?

    2. line 274: Timers[client]=CreateTimer(1.0/TICKS, PlayerTimer, client, TIMER_REPEAT); If TICKS = 10 the timer gets executed 10 times in a second ? I have some doubts this stuff is running lagfree as it reminds me of "restricted zones" for l4d1 which per default only checked 2x /second for all players (32 checks / second on a 16vs server) and the engine was lagging like hell. Can anyone confirm this plugin is working lagfree on non vanilla servers such as 8vs8 or 10vs10 ?

    3. please rename "medkid" in the code to "medkit".
    4. As far as I understood the code there is no limit about how often you can free yourself from a SI by using kit/pills. There´s a lot of servers running the !usepoints / !buy plugin where you can buy medkits/pills. So do I and I think it can become too easy for survivors to escape an attack. Sure, you could make medkit more expensive but then no one can afford it to buy and use it for healing...

    May I kindly ask you to make this plugin configurable? Add convars for every selfhelp action. The convars manage how often you can use the appropriate selfhelp. Then it would be like "survivor upgrades" in Left4Dead 1 where for example the "knife", "self revive" or "ledge grab" could be used exactly once in a round, not permanently.
    Skorpion1976 is offline
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 06-14-2010 , 23:49   Re: [L4D & L4D2] Self Help
    Reply With Quote #9

    Quote:
    Originally Posted by Skorpion1976 View Post
    Now that sounds like the long awaited "survivor upgrades" from left4dead 1 . Just thinking of the "knife". I do have some questions:

    1. you define "new slot" and "new solt". What´s "solt" for ?

    2. line 274: Timers[client]=CreateTimer(1.0/TICKS, PlayerTimer, client, TIMER_REPEAT); If TICKS = 10 the timer gets executed 10 times in a second ? I have some doubts this stuff is running lagfree as it reminds me of "restricted zones" for l4d1 which per default only checked 2x /second for all players (32 checks / second on a 16vs server) and the engine was lagging like hell. Can anyone confirm this plugin is working lagfree on non vanilla servers such as 8vs8 or 10vs10 ?

    3. please rename "medkid" in the code to "medkit".
    4. As far as I understood the code there is no limit about how often you can free yourself from a SI by using kit/pills. There´s a lot of servers running the !usepoints / !buy plugin where you can buy medkits/pills. So do I and I think it can become too easy for survivors to escape an attack. Sure, you could make medkit more expensive but then no one can afford it to buy and use it for healing...

    May I kindly ask you to make this plugin configurable? Add convars for every selfhelp action. The convars manage how often you can use the appropriate selfhelp. Then it would be like "survivor upgrades" in Left4Dead 1 where for example the "knife", "self revive" or "ledge grab" could be used exactly once in a round, not permanently.
    Thank you.
    1. "new slot", I do not know your exact meaning. According to the ConVars setting, when you incapacitated, there needs a algorithm to decide whether you can selfhelp and which items(pills,adrenaline, medkit) should be used to selfhelp.

    2. From the time I use it, I have not found this plugin will make the server get into perceived lagging state. If you still worry about it, you can set TICKS little small.

    3. I will change it, thank you.

    4. I run a server that only have four medkit no matter how many survivors in it, so I have not think your question before, I will try my best to design a convar to limit the using of selfhelp as you said, selfhelp could be used exactly X times in a round , but I am not sure It will satisfied you.
    panxiaohai is offline
    Herokim
    Senior Member
    Join Date: Mar 2010
    Location: In Fag-o-land
    Old 06-15-2010 , 12:53   Re: [L4D & L4D2] Self Help
    Reply With Quote #10

    Is there any way, so when you are incapped, or hang and you help yourself, you can force animation and progress bar like somebody could help you? This was possible in l4d1 Survivor Upgrades as one upgrade ( forgot the name of it ) and if you were hanging or incapped, you pressed and hold USE key like you use to save somebody else. And there was an animation of you getting up or getting up from ledge. If you don't understand PM me.
    Herokim is offline
    Reply


    Thread Tools
    Display Modes

    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 00:26.


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