Raised This Month: $12 Target: $400
 3% 

[L4D1 & L4D2] Incapped Pills Pop


Post New Thread Reply   
 
Thread Tools Display Modes
Hawkins
Senior Member
Join Date: Jul 2021
Old 09-26-2021 , 17:22   Re: [L4D1 & L4D2] Incapped Pills Pop
Reply With Quote #31

Quote:
Originally Posted by Dragokas View Post
Yeah, it still happens rarely.
I didn't come up with a better idea yet.
Maybe adding a function to start a sound (for example hunter pounce audio) for half a second, then ending it ,after using pills/adre to self help up?
Or, is there a code line to prevent certain audio files from being played at all?

I know i can disable the music audio client side for myself, but when people join my server and hear non stop jockey they are getting annoyed and leave.
Hawkins is offline
santdrback
Member
Join Date: Apr 2020
Old 10-26-2021 , 15:04   Re: [L4D1 & L4D2] Incapped Pills Pop
Reply With Quote #32

how can change the duration on selfhelp to 3 seconds for self help faster
PD: sorry for my bad english
santdrback is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 10-26-2021 , 15:22   Re: [L4D1 & L4D2] Incapped Pills Pop
Reply With Quote #33

Quote:
// How long before an Incapped Survivor can use pills/adrenaline
l4d_incappedpillspop_delaytime "0.2"
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 11-01-2021 , 13:59   Re: [L4D1 & L4D2] Incapped Pills Pop
Reply With Quote #34

Quote:
Originally Posted by Hawkins View Post
Maybe adding a function to start a sound (for example hunter pounce audio) for half a second, then ending it ,after using pills/adre to self help up?
Or, is there a code line to prevent certain audio files from being played at all?

I know i can disable the music audio client side for myself, but when people join my server and hear non stop jockey they are getting annoyed and leave.
Well, I would glad if somebody donate a code for reliable stop the music.
Above scenario willn't work. Already tested. New music will just overlap the old.

When I'll have more time for experiments, I'll try to dig it more, maybe integrate Silver's hook for music usermessage ids interception, because they appears to be a dynamic.
Our previous test was success, but the values seems have a habit to change depending on map.

Updated.

Quote:
2.7 (01-Nov-2021)
- Prevented "Get off infected" message from appearing in "allow_kill" mode.
- Added protection from self-help when you press Ctrl + E (prevents a conflict with "Revive and CPR" plugin).
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 11-01-2021 at 14:06.
Dragokas is offline
Black714
Junior Member
Join Date: Jun 2020
Old 12-11-2021 , 06:23   Re: [L4D1 & L4D2] Incapped Pills Pop
Reply With Quote #35

I Found Problem When Second Incap

Black and White Not Shown Up.
The Heartbeat Sound Won't Stop After Heal.
Black714 is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 12-11-2021 , 08:26   Re: [L4D1 & L4D2] Incapped Pills Pop
Reply With Quote #36

Try install https://forums.alliedmods.net/showthread.php?t=322132 and check again.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
thewintersoldier97
Senior Member
Join Date: Aug 2021
Location: Vietnam
Old 12-21-2021 , 03:47   Re: [L4D1 & L4D2] Incapped Pills Pop
Reply With Quote #37

Another great plugin, thank Dragokas

A small feature request, could you make a convar that let us choose how to display the instruction message (to chat box or hint box or center message or menu etc)?
__________________

Looking for some fun!

Last edited by thewintersoldier97; 12-21-2021 at 03:59.
thewintersoldier97 is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 12-22-2021 , 04:05   Re: [L4D1 & L4D2] Incapped Pills Pop
Reply With Quote #38

Updated.

Quote:
3.0 (22-Dec-2021)

WARNING: this release breaking ConVar compatibility with any 1.x and 2.x versions. Remove your l4d_incappedpillspop2.cfg file!

Now, you can split items allowed for stand up, and items allowed for releasing from infected.

* Added ConVars:
- "l4d_incappedpillspop_msg_pos" - Position of the selfhelp message (0 - Don't show, 1 - Chat, 2 - Hint, 4 - Center screen).
- "l4d_incappedpillspop_help_items" - Allow to pop with these items (1 - Medkit, 2 - Pills, 4 - Adrenaline (can be combined)
- "l4d_incappedpillspop_release_items" - Allow to release from infected with these items (0 - Don't allow, 1 - Medkit, 2 - Pills, 4 - Adrenaline (can be combined)

* Removed the following ConVars:
- "l4d_incappedpillspop_allow_adrenaline"
- "l4d_incappedpillspop_allow_medkit"
- "l4d_incappedpillspop_allow_pills"
- "l4d_incappedpillspop_allow_kill"
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
thewintersoldier97
Senior Member
Join Date: Aug 2021
Location: Vietnam
Old 12-22-2021 , 07:13   Re: [L4D1 & L4D2] Incapped Pills Pop
Reply With Quote #39

Thanks for the update
__________________

Looking for some fun!
thewintersoldier97 is offline
thewintersoldier97
Senior Member
Join Date: Aug 2021
Location: Vietnam
Old 12-23-2021 , 02:32   Re: [L4D1 & L4D2] Incapped Pills Pop
Reply With Quote #40

Good day Dragokas,

I think there's a misunderstanding about what I said on my #37 post earlier, what I mean is this message

Cause often players jump on my sv didn't know about this feature although I already has setup a menu with information lol.
__________________

Looking for some fun!

Last edited by thewintersoldier97; 12-23-2021 at 02:34.
thewintersoldier97 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:41.


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