CrazyBouncingNadesv1.0
Author: regalis (
[email protected])
Version: 1.0
Screenshots
Description
Quote:
This plugin spawns CrazyBouncingNades(HE, Flashbang and Smokegrenades) which explode in a random amount of time.
The time is configurable! Also new is that the Nades emit a specific sound if they hit the ground..
The CrazyBouncingNades are spawned everytime around another random player and are able to bounce and maybe have a glowshell.
Players can collect a CrazyBouncingNade and receive either Health, Armor or Money.
Players take damage if they are in a certain radius of the CrazyBouncingNade-HE.
Players get flashed or a dlight is emitted if they are in a certain radius of the CrazyBouncingNade-FB.
The SmokeGrenades explode into smokepuffs which are adjustable to extreme smoke.
If Glowshells are configured they are adjustable to either random color or Grenade-specific color(HE=RED, FB=BLUE, SG=GREEN)
Also adjustable is the occurance of certain nades...if you want only HE-Grenades or HE and SG or SG and FB...all combinations are possible.
All settings are configurable by CVARS!
If you have questions then feel free to ask...
And now --> Have Fun!!! ^^
|
Installation
Quote:
Get the models and extract them to: "...\dedicated server\cstrike\models\"
Now get the sprites and put them in: "...\dedicated server\cstrike\sprites\"
The CrazyBouncingNades.amxx goes to: "...\dedicated server\cstrike\addons\amxmodx\plugins\"
And the CrazyBouncingNades.sma goes here: "...\dedicated server\cstrike\addons\amxmodx\scripting\"
The CVARS should be in amxx.cfg which is here: "...\dedicated server\cstrike\addons\amxmodx\configs\"
|
And the CVARS should look like this:
Code:
CBN_givepresents "1"
CBN_makedamage "1"
CBN_damagetype "1"
CBN_bounce "1"
CBN_time "5.0"
CBN_effects "1"
CBN_explodetimemin "1.5"
CBN_explodetimemax "5.0"
CBN_healthmin "10"
CBN_healthmax "50"
CBN_armormin "10"
CBN_armormax "50"
CBN_moneymin "300"
CBN_moneymax "5000"
CBN_nadescount "25"
CBN_emitsound "1"
CBN_nadetypes "0"
CBN_colortype "1"
CBN_extremesmoke "0"
CBN_flashmode "0"
CBN_dlightradius "50"
CBN_flashcolor "1"
CBN_flashred "255"
CBN_flashgreen "255"
CBN_flashblue "255"
CVARS
Quote:
"CBN_givepresents" - Should the Player recieve a present by touching the CrazyBouncingNade? [1|0] (on|off) Default: 1 (on)
"CBN_makedamage" - Should the CrazyBouncingNade make Damage to Players in a defined Radius? [1|0] (on|off) Default: 1 (on)
"CBN_damagetype" - Which damagetype should be given? [1|2|3|4|5] (10%|20%|30%|40%|50% of current health is subtracted)
............................Default: 1 (10% of health)
"CBN_bounce" - Should the CrazyBouncingNade bouncing or laying around? [0|1] (laying|bouncing) Default: 1 (bouncing)
"CBN_time" - The time period of spawning random CrazyBouncingNades. Default "5.0" (spawn every 5 seconds a CrazyBouncingNade)
"CBN_effects" - Should the CrazyBouncingNade have a glowshell? [0|1] (off|on) Default: 1 (on)
"CBN_explodetimemin" - This CVAR sets the minimum time the CrazyBouncingNade will bounce till it explodes. Default "1.5"
"CBN_explodetimemax" - This CVAR sets the maximum time the CrazyBouncingNade will bounce till it explodes. Default "5.0"
"CBN_healthmin" - Here you adjust the minimum amount of healthpoints the CrazyBouncingNade will contain. Default "10"
"CBN_healthmax" - Here you adjust the maximum amount of healthpoints the CrazyBouncingNade will contain. Default "50"
"CBN_armormin" - Here you adjust the minimum amount of armor the CrazyBouncingNade will contain. Default "10"
"CBN_armormax" - Here you adjust the maximum amount of armor the CrazyBouncingNade will contain. Default "50"
"CBN_moneymin" - Here you adjust the minimum amount of money the CrazyBouncingNade will contain. Default "300"
"CBN_moneymax" - Here you adjust the maximum amount of money the CrazyBouncingNade will contain. Default "5000"
"CBN_nadescount" - This is the maximum amount of CrazyBouncingNades on the server on the same time. Default "25"
"CBN_emitsound" - Should the CrazyBouncingNades emit sound when they hit the floor (worldspawn)? Default "1"
"CBN_nadetypes" - Here you can configure the Nadetypes [0|1|2|3|4|5|6] (ALL NADES|HE|FB|HE+FB|SG|HE+SG|FB+SG) Default "0"
"CBN_colortype" - The Colortype sets the glowshell color [1|0] (One Color per Nadetype|Random Color) Default "1"
.........................(HE=RED,FB=BLUE,SG=G REEN)
"CBN_extremesmoke" - This option sets the smoke to normal or extreme which means you can't see trough. [1|0] (on|off) Default "0"
"CBN_flashmode" - Here you can enable flashing or dlight (dynamic light) emitting. [1|0] (flash|dlight) Default "0"
"CBN_dlightradius" - Sets the radius of the emitted dlight (dynamic light) Default "50"
"CBN_flashcolor" - Here you can choose the color of the FB either the cvar colors see below or random. [1|0] Default "1" (random)
"CBN_flashred" - Choose the red part of the flashcolor [0..255]. Default "255"
"CBN_flashgreen" - Choose the green part of the flashcolor [0..255]. Default "255" (255,255,255) = white
"CBN_flashblue" - Choose the blue part of the flashcolor [0..255]. Default "255"
|
Changelog
Code:
v0.2:
+ Added alot of CVARS to customize the plugin more...
v0.3:
- Removed all modules but fakemeta
! Fixed a Bug where SpecialNades never going to explode
+ Added a new CVAR (nadescount)
v0.4:
! Optimized the code:
+ Added more global variables
! Now the CVARS are read only once
! Commented the hole code
v0.5:
+ Added Flashbangs
+ Added SmokeGrenades
+ Added Billions of CVARS
+ Added SoundEmittion if the SpecialNade hits the Worldspawn
v0.6:
! Fixed the Problem with the Webcompiler (Thanks to Sawce for hunting this down)
+ Added a little more smoke to the SmokeGrenades
v0.7:
+ Added dynamic light emission for FlashBang
+ Added new CVAR for the radius of the emitted light and on for the flash/dlight color
! Changed the CBN_flashmode CVAR to configure the flash/dlight effect
! Changed the name of the plugin to somewhat more matching the behaviour
- Removed a little smoke from the SmokeGrenades
v1.0:
@ Approved: Changed version to 1.0
- Removed global static declarations...heard that would be dumb..
- Removed the "stock"-functions because this is also dumb
+ Added real-armor to the nades..(now you get armor like you bought it..only the amount differs)
Todo
Code:
- nothing at the moment
Credits
Grenades by
Quote:
-----------------------------------
M61 Frag Grenade Replacement
Model: TS Team
Skins: Insulaner, Snake, The Expert
Scaling Fix: Mall Security
Recompile: The Expert
Arms: Ritual
-----------------------------------
|
Module needed
(Downloaded earlier versions: 91)