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

[L4D & L4D2] Prototype Grenades (1.46) [22-Nov-2023]


Post New Thread Reply   
 
Thread Tools Display Modes
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-10-2019 , 04:04   Re: [L4D & L4D2] Prototype Grenades (1.3) [10-Oct-2019]
Reply With Quote #21

Quote:
1.3 (10-Oct-2019)
- Added support for "Gear Transfer" plugin. For persistent grenade types when "preferences" is set to random grenade mode.
- Changed Vaporizer to inflict full damage on Common instead of range scaled. Original functionality before 1.1.
If you use Gear Transfer plugin and want random grenade types, you'll need to update Gear Transfer also.
__________________
Silvers is offline
KRUTIK
Senior Member
Join Date: Feb 2019
Location: Мос
Old 10-10-2019 , 05:32   Re: [L4D & L4D2] Prototype Grenades (1.3) [10-Oct-2019]
Reply With Quote #22

Added Russian language.
Attached Files
File Type: txt grenades.phrases.txt (1.9 KB, 155 views)

Last edited by KRUTIK; 10-10-2019 at 05:32.
KRUTIK is offline
KRUTIK
Senior Member
Join Date: Feb 2019
Location: Мос
Old 10-10-2019 , 07:00   Re: [L4D & L4D2] Prototype Grenades (1.3) [10-Oct-2019]
Reply With Quote #23

[SM] Exception reported: Invalid edict (118 - 11
L 10/10/2019 - 13:414: [SM] Blaming: l4d_grenades.smx
L 10/10/2019 - 13:414: [SM] Call stack trace:
L 10/10/2019 - 13:414: [SM] [0] GetEdictClassname
L 10/10/2019 - 13:414: [SM] [1] Line 900, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\l4d_grenades.sp::OnNextEquip
L 10/10/2019 - 13:42:25: Error log file session closed.
KRUTIK is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-10-2019 , 07:24   Re: [L4D & L4D2] Prototype Grenades (1.4) [10-Oct-2019]
Reply With Quote #24

Thank you! Updated and added translation.
__________________
Silvers is offline
3aljiyavslgazana
Member
Join Date: Dec 2018
Old 10-10-2019 , 07:49   Re: [L4D & L4D2] Prototype Grenades (1.4) [10-Oct-2019]
Reply With Quote #25

forget what i said Awesome plugin !!!!!

Last edited by 3aljiyavslgazana; 10-11-2019 at 10:43.
3aljiyavslgazana is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 10-13-2019 , 15:27   Re: [L4D & L4D2] Prototype Grenades (1.4) [10-Oct-2019]
Reply With Quote #26

Thanks for the very beautiful plugin.

Looks like crash in L4D1 caused by the same issue, wrong sig for OnStaggered.

Bugs:
"Flash" grenade causes "Screen of death" appear, however player is not dead and continue to play.

"Freezer" doesn't target commons.

Also, plugin conflicts with gear_transfer. When you press LMB + RMB and somebody accidentally runs past you, you give him a grenade instead of switching the mode.

Can you add optional ConVar to change the method of switching grenade mode,
e.g.
PHP Code:
// Grenade switch mode: 0 - switch by circle, 1 - switch by menu (list of modes will appear)
l4d_grenades_switchmode "0" 
New grenade type request:
"Tank" - force all tanks on the map to follow the grenade (e.g. use evil witch method - change angle OnThink).

"Antigravity" - force all players in the area to be pushed off the ground for some time (possibly, also not easy one, maybe force "+jump" hijack in OnPlayerRunCmd + changing velocity / gravity prop, and maybe check some abilities from VPhysics).

--
Also, it's very nice to see configs for default "stock" grenade mode, to be able to override them, e.g. ignite time (like,
Spoiler

), radius...

+ Like
__________________
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 10-13-2019 , 16:08   Re: [L4D & L4D2] Prototype Grenades (1.4) [10-Oct-2019]
Reply With Quote #27

Code:
		"damage_physics"		"2.0"		// Damage multiplier against Physics objects.
		"damage_special"		"2.0"		// Damage multiplier against Special Infected.
		"damage_survivors"		"0.05"		// Damage multiplier against Survivors.
		"damage_tank"			"1.0"		// Damage multiplier against the Tank.
		"damage_witch"			"1.0"		// Damage multiplier against the Witch.
		"damage"				"75.0"		// Amount of damage to deal each hit. Damage falls off over range.
How to differentiate damage done to common zombies (not specials) ?
I'm trying to hit zombie horde when horde runs next to a chemical grenade, but I can't even with extra high damage values.

Also, "Mod_Freezer" with "targets" "29" freeze survivors.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 10-13-2019 at 16:15.
Dragokas is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-14-2019 , 01:29   Re: [L4D & L4D2] Prototype Grenades (1.4) [10-Oct-2019]
Reply With Quote #28

Update coming soon with fixes for the above mentioned issues. Menu to select mode and some new grenade modes.


Quote:
Originally Posted by Dragokas View Post
How to differentiate damage done to common zombies (not specials) ?
I'm trying to hit zombie horde when horde runs next to a chemical grenade, but I can't even with extra high damage values.
Code:
		"damage_physics"		"0.2"		// Damage multiplier against Physics objects.
		"damage_special"		"0.2"		// Damage multiplier against Special Infected.
		"damage_survivors"		"0.1"		// Damage multiplier against Survivors.
		"damage_tank"			"0.1"		// Damage multiplier against the Tank.
		"damage_witch"			"0.1"		// Damage multiplier against the Witch.
		"damage"			"150.0"		// Amount of damage to deal each hit. Damage falls off over range.
		"damage_tick"			"0.5"		// How often to deal damage during the "effect_time".
		"effect_range"			"300.0"		// Distance the effect can influence.
Remember "Damage falls off over range". At 300 units away it will be 1 HP. The closer to the center the more damage. This would do 150.0 damage to common and 15.0 to survivors. This works nicely to kill the common instantly near center. I might use this for the default values.



Quote:
Originally Posted by Dragokas View Post
Also, plugin conflicts with gear_transfer. When you press LMB + RMB and somebody accidentally runs past you, you give him a grenade instead of switching the mode.
Menu will be added. Unless someone can recommend a good alternative key combination. Holding shoot + Use is bad because of interacting with objects. Reload key is also used by Gear Transfer.


Quote:
Originally Posted by Dragokas View Post
Also, it's very nice to see configs for default "stock" grenade mode, to be able to override them
This is something I'll write as an external plugin.
__________________
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-16-2019 , 20:00   Re: [L4D & L4D2] Prototype Grenades (1.5) [17-Oct-2019]
Reply With Quote #29

Large update:

Code:
1.5 (17-Oct-2019)
    - Added 6 new types: Extinguisher, Glow, Anti-Gravity, Fire Cluster, Bullets and Flak.
    - Added command "sm_grenade" to open a menu for choosing the grenade type. Optional args to specify a type.
    - Added "mode_switch" in the config to control how to change grenade type. Menu and/or key combination.
    - Auto display and close menu with "mode_switch" when selecting a different type via key combination.
    - Changed L4D2 vocalizations from "throwing pipebomb" or "throwing molotov" etc to "throwing grenade" when not stock.
    - Changed grenade bounce impact sound.
    - Cleaned up the sounds by changing some and adding a few missing ones.
    - Feature to push and stumble Common Infected now works in L4D1.
    - Fixed wrong Deafen offset for L4D1 Linux. Fixes Flashbang.
    - Fixed wrong OnStaggered signature for Linux L4D1. Fixes staggering clients.
    - Fixed Freezer type not following the "targets" setting.
    - Fixed "damage_tick" to function for most types. Values smaller than "effect_tick" will use the effect tick time.
    - Thanks to "Dragokas" for the menu ideas and reporting problems in L4D1.

    - Required updated files:
    - Config: l4d_grenades.cfg
    - Gamedata: l4d_grenades.txt
    - Translations: grenades.phrases.txt.
__________________
Silvers is offline
KRUTIK
Senior Member
Join Date: Feb 2019
Location: Мос
Old 10-18-2019 , 01:54   Re: [L4D & L4D2] Prototype Grenades (1.5) [17-Oct-2019]
Reply With Quote #30

: [SM] Exception reported: Entity -1 (-2137104103) is invalid
L 10/17/2019 - 20:52:45: [SM] Blaming: l4d_grenades.smx
L 10/17/2019 - 20:52:45: [SM] Call stack trace:
L 10/17/2019 - 20:52:45: [SM] [0] DispatchKeyValue
L 10/17/2019 - 20:52:45: [SM] [1] Line 3234, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\l4d_grenades.sp::Explode_Bullets
L 10/17/2019 - 20:52:45: [SM] [2] Line 2188, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\l4d_grenades.sp::Explode_Effects
L 10/17/2019 - 20:52:45: [SM] [3] Line 2144, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\l4d_grenades.sp::Timer_Repeat_Explod e
L 10/17/2019 - 20:52:45: [SM] Exception reported: Entity -1 (-2137104103) is invalid
KRUTIK 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 23:54.


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