Thread
:
[CS:S] Poison Smoke (Version 1.2, Updated 2011-11-29)
View Single Post
Author
Message
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
06-03-2011 , 18:17 [CS:S] Poison Smoke (Version 1.2, Updated 2011-11-29)
#
1
Poison Smoke
Description
This plugin turns every smokegrenade into a damagedealing poison smoke, damaging everyone who walks through the smoke.
The smoke damage obeys the mp_friendlyfire setting and frags are awarded to the player throwing the grenade.
This has been
requested
by Anta and i always wanted to create such a plugin;)
Thanks to
Zero's mate
for his idea to place a colored light inside the smoke to change the color!
The usage of this plugin is
restriced to admins with the
custom1
flag
. If you want to enable it for everyone, you have to add an
override
for "
poison_grenade
" "" in your configs/admin_overrides.cfg.
Requirements
SDKHooks 2
ConVars
sm_posionsmoke_version
- ...
sm_poisonsmoke_damage
- How much damage should we deal to the players in the smoke? (Default: 5)
sm_poisonsmoke_seconds
- Deal damage every x seconds. (Default 1)
sm_poisonsmoke_color_t
- What color should the smoke be for grenades thrown by terrorists? Format: \"red green blue\" from 0 - 255. (Default: "20 250 50")
sm_poisonsmoke_color_ct
- What color should the smoke be for grenades thrown by counter-terrorists? Format: \"red green blue\" from 0 - 255. (Default: "20 250 50")
sm_poisonsmoke_team
- Which teams should be allowed to use poison smokes? 0: Both, 1: T, 2: CT (Default: 0)
Total downloads prior update: 198
Changelog
Quote:
2011-11-29 Version 1.2:
Different smoke colors per team
Ability to set damage to 0, so it only colors the smoke
2011-11-16 Version 1.1:
Added color to smokes
Added admin only override
Added team restriction convar
2011-06-04 Version 1.0:
Initial release
Note
: This plugin won't compile in the forum due to the need of SDKHooks.
Attached Files
Get Plugin
or
Get Source
(poisonsmoke.sp - 2434 views - 10.4 KB)
poisonsmoke.smx
(7.7 KB, 1913 views)
__________________
SourcePawn .smx disassembler in your browser
Detour any function from your plugin:
DHooks 2 + detours
Tab-autocompletion in SRCDS command line
Bot Mimic
|
SM:CTF
|
SM:Conquest
|
SM:Error Mail
|
Websocket
|
PostgreSQL
Retrogames:
Connect4
|
Tetris
|
Snake
|
Pong
|
Blackjack
Last edited by Peace-Maker; 11-29-2011 at
05:57
. Reason: Released 1.2
Peace-Maker
View Public Profile
Send a private message to Peace-Maker
Visit Peace-Maker's homepage!
Find More Posts by Peace-Maker