Toxic Water 0.8 [UPDATED]
Posted: Mon Nov 22, 2021 10:07 am
Toxic Water
v0.8
The Title says it all. When you touch water or you're near water you'll get some damage.
Cvars:
amx_toxicwater <1/0> (On/Off) (Default: 1)
tx_dmgfeet <damage> (How much damage you'll get when your feet touches the water) (Default: 7)
tx_dmgwaist <damage> (How much damage you'll get when your waist touches the water) (Default: 15)
tx_dmghead <damage> (How much damage you'll get when you're completely under water) (Default: 30)
tx_dmgnear <damage> (How much damage you'll get when you're near the toxic water) (Default: 5)
tx_dmgradius <units> (How far away from water you'll get tx_dmgnear damage) (Default: 100)
tx_fadegreen <1/0> (On/Off, screen will fade in a green color) (Default: 1)
I think there is no need for screenshots. Just a yellow Radioactivity icon and a sound warning. And of course a normal damage effect. Every second you're near/in water you'll get damaged. Of course the warning sound isn't going to annoy you every second XD. If you touch water: It plays a sound and sets the timer. After 10seconds it resets the sound. So if you touch the water after 10sec after you touched the water - only then it'll play the sound again. My english isn't good
If you don't like the sound. Which plays when you get near the toxic water. Just comment this line:
//#define SOUNDS_ON
And recompile the plugin.
Includes:
Wilson [29th ID] and v3x - For helping me with radius and tx_dmgnear.
Changes:
v0.8
*No need for fakemeta util anymore! Included stocks in plugin.
*Optimized code a little bit.
*Fixed some really big bugs.
*Added a cool screen fade effect.
v0.7
*Initial Release
get plugin
get source
v0.8
The Title says it all. When you touch water or you're near water you'll get some damage.
Cvars:
amx_toxicwater <1/0> (On/Off) (Default: 1)
tx_dmgfeet <damage> (How much damage you'll get when your feet touches the water) (Default: 7)
tx_dmgwaist <damage> (How much damage you'll get when your waist touches the water) (Default: 15)
tx_dmghead <damage> (How much damage you'll get when you're completely under water) (Default: 30)
tx_dmgnear <damage> (How much damage you'll get when you're near the toxic water) (Default: 5)
tx_dmgradius <units> (How far away from water you'll get tx_dmgnear damage) (Default: 100)
tx_fadegreen <1/0> (On/Off, screen will fade in a green color) (Default: 1)
I think there is no need for screenshots. Just a yellow Radioactivity icon and a sound warning. And of course a normal damage effect. Every second you're near/in water you'll get damaged. Of course the warning sound isn't going to annoy you every second XD. If you touch water: It plays a sound and sets the timer. After 10seconds it resets the sound. So if you touch the water after 10sec after you touched the water - only then it'll play the sound again. My english isn't good
If you don't like the sound. Which plays when you get near the toxic water. Just comment this line:
toQuote:
Change:
#define SOUNDS_ON
//#define SOUNDS_ON
And recompile the plugin.
Includes:
Credits:Quote:
#include <amxmodx>
#include <fakemeta>
Wilson [29th ID] and v3x - For helping me with radius and tx_dmgnear.
Changes:
v0.8
*No need for fakemeta util anymore! Included stocks in plugin.
*Optimized code a little bit.
*Fixed some really big bugs.
*Added a cool screen fade effect.
v0.7
*Initial Release
get plugin
get source