View Single Post
Author Message
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 09-17-2022 , 09:31   [L4D2] Vomitjar Puddle Spit [v1.0.2 | 27-September-2022]
Reply With Quote #1

L4D2 ONLY

Description

This plugin creates a puddle of spit where the vomitjar broke.

It's similar to the "Chemical Grenade" from [L4D & L4D2] Prototype Grenades but with less features.

If you need more features I recommend you using trying the plugin mentioned instead.

Features
  • Allow configuring a maximum of puddles created.
  • Attach a spitter slime trail particle to the vomitjar thown.

Preview



Cvars

A configuration file named "l4d2_vomitjar_spit.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder.

PHP Code:
// Attach a spitter slime trail particle to the vomitjar thown.
// 0 = OFF, 1 = ON.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d2_vomitjar_spit_attach_particle "1"

// Enable/Disable the plugin.
// 0 = Disable, 1 = Enable.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d2_vomitjar_spit_enable "1"

// Maximum spit puddles (inferno flames).
// Note: Must be at least 2 to display particles.
// -
// Default: "2"
// Minimum: "1.000000"
// Maximum: "64.000000"
l4d2_vomitjar_spit_puddle_max "2" 
Admin Commands
  • sm_print_cvars_l4d2_vomitjar_spit => Print the plugin related cvars and their respective values to the console. (z flag required)

Change Log

Spoiler


Known Issues
  • The sound isn't reproduced the same way as when you stand on a puddle created from a Spitter spit.
  • The puddle of spit isn't created while survivors don't exit the safe room. (game-design, search for l4d2_spit_spread_patch plugin to fix this behavior)

Notes

Thank you!

Related Plugins

Post Reply
  • Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.

Requirements

Installation
  • Put the "l4d2_vomitjar_spit.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_vomitjar_spit.sp - 166 views - 16.8 KB)
__________________

Last edited by Marttt; 02-13-2023 at 06:30.
Marttt is offline