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

CrazyBouncingNades v1.0 - Bouncing Nade Spawner


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Hawk552 (427)
regalis
Veteran Member
Join Date: Jan 2007
Location: F*cking Germany
Old 05-10-2007 , 10:16   CrazyBouncingNades v1.0 - Bouncing Nade Spawner
Reply With Quote #1

CrazyBouncingNadesv1.0


Author: regalis ([email protected])

Version: 1.0


Screenshots
Quote:
see post below...



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

Quote:
SAMURAI - for his "New HeNades Effects" ...........(http://forums.alliedmods.net/showthread.php?t=53426)
MaximusBrood - for his "PresentsSpawner" ..........(http://forums.alliedmods.net/showthread.php?p=416962)
Angelina - for the initial Idea ............................(http://forums.alliedmods.net/showthread.php?t=54943)
Hawk552 - for his nice Tutorial .........................(http://forums.alliedmods.net/showthread.php?t=49829)
VEN - for his "fakemeta_utils" ...........................(http://forums.alliedmods.net/showthread.php?t=28284)
XxAvalanchexX for his flashbang_dlight ..............(http://forums.alliedmods.net/showthread.php?p=393894)
Simon Logic for his "Armour-Absence-Fix"............(http://forums.alliedmods.net/showthread.php?t=55591)



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

Code:
fakemeta

(Downloaded earlier versions: 91)
Attached Files
File Type: zip CrazyBouncingNades_Sprites.zip (1.04 MB, 2043 views)
File Type: zip CrazyBouncingNades_Models.zip (354.0 KB, 1787 views)
File Type: sma Get Plugin or Get Source (CrazyBouncingNades.sma - 3101 views - 36.6 KB)
__________________

Last edited by regalis; 05-29-2007 at 16:45. Reason: Uploaded new Version 1.0
regalis is offline
regalis
Veteran Member
Join Date: Jan 2007
Location: F*cking Germany
Old 05-10-2007 , 10:18   ...o0( Screenshots for this plugin )0o...
Reply With Quote #2

Version 1.0 uploaded

If you got questions feel free to ask!
Any bug reports, suggestions or other plugin related goes here CrazyBouncingNades Screenshots:
[IMG]http://img516.**************/img516/5498/82047643ol2um6.th.jpg[/IMG]
[IMG]http://img518.**************/img518/5721/99801429rx9pg9.th.jpg[/IMG]
[IMG]http://img522.**************/img522/2860/32680450vs1yi3.th.jpg[/IMG]
[IMG]http://img257.**************/img257/5531/74395932pl8eu5.th.jpg[/IMG]
[IMG]http://img503.**************/img503/3784/77754595ju2js2.th.jpg[/IMG]

Special CVAR adjustments...
[IMG]http://img244.**************/img244/2171/special3qh3fm0.th.jpg[/IMG]
[IMG]http://img292.**************/img292/2897/specialcq7vq7.th.jpg[/IMG]

__________________

Last edited by regalis; 05-29-2007 at 16:46. Reason: ~~ New Version 1.0 uploaded ~~
regalis is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 05-10-2007 , 10:23   Re: SpecialNades - Explosive Nade Spawner
Reply With Quote #3

nade sprites?...
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
regalis
Veteran Member
Join Date: Jan 2007
Location: F*cking Germany
Old 05-10-2007 , 10:25   Re: SpecialNades - Explosive Nade Spawner
Reply With Quote #4

oooops

Models and Sprites uploaded...have fun ;)
__________________

Last edited by regalis; 05-10-2007 at 10:28. Reason: thanks :)
regalis is offline
Old 05-10-2007, 14:45
Angelina
This message has been deleted by Angelina.
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 05-10-2007 , 16:40   Re: SpecialNades - Explosive Nade Spawner
Reply With Quote #5

Very organized, and well done.
__________________
bmann_420 is offline
Crusher918
Senior Member
Join Date: Feb 2007
Location: New York
Old 05-10-2007 , 17:12   Re: SpecialNades - Explosive Nade Spawner
Reply With Quote #6

can u post screenshots this looks like interesting
__________________
My Plugins
Newest plugin: semiclip , amx_bankrupt
Crusher918 is offline
regalis
Veteran Member
Join Date: Jan 2007
Location: F*cking Germany
Old 05-10-2007 , 17:20   Re: SpecialNades - Explosive Nade Spawner
Reply With Quote #7

Quote:
Originally Posted by bmann_420
Very organized, and well done.
Thanks
Nice to hear that from you!

Quote:
Originally Posted by Crusher918 View Post
can u post screenshots this looks like interesting
I will post them in 15 minutes ;)
Stay tuned!
__________________
regalis is offline
Crusher918
Senior Member
Join Date: Feb 2007
Location: New York
Old 05-10-2007 , 21:01   Re: SpecialNades - Explosive Nade Spawner
Reply With Quote #8

Suggestions:
Idk if this would make it cooler but I think u should add flashbang
so people would go crazy when they get flashed while shooting each other ^_^
__________________
My Plugins
Newest plugin: semiclip , amx_bankrupt
Crusher918 is offline
regalis
Veteran Member
Join Date: Jan 2007
Location: F*cking Germany
Old 05-11-2007 , 17:09   Re: Special Nades - Explosive Nade Spawner
Reply With Quote #9

New Version uploaded!
Now only fakemeta is needed and a big bug has been fixed which was in the new version.*lol*
Now it works fine...only the webcompiler still have a problem with this...

greetz regalis
__________________
regalis is offline
Old 05-11-2007, 18:18
Angelina
This message has been deleted by Angelina.
regalis
Veteran Member
Join Date: Jan 2007
Location: F*cking Germany
Old 05-12-2007 , 23:11   Re: SpecialNades - Explosive Nade Spawner
Reply With Quote #10

Quote:
Originally Posted by Crusher918 View Post
Suggestions:
Idk if this would make it cooler but I think u should add flashbang
so people would go crazy when they get flashed while shooting each other ^_^
New Version uploaded!

+Flashbangs added
+SmokeGrenades are also added...
!Code Optimized!


Have fun testing ;)

greetz regalis
__________________
regalis is offline
Reply



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 01:18.


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