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

Bazooka Advanced (Version 1.3d Source released)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Geesu (62)
Major_victory
Member
Join Date: Nov 2005
Location: Illinois
Old 11-16-2005 , 00:25   Bazooka Advanced (Version 1.3d Source released)
Reply With Quote #1

Hello all, I've recently started learning scripting for AMXX and i decided to start on this awesome Bazooka plugin by More.
His original post is here:
http://forums.alliedmods.net/showthread.php?p=72047

I've taken his plugin and added some features i thought would be really cool.
CHANGES LIST

Version 1.0
1. More CVARs for more customization
2. More realistic explosions
3. Added a much needed admin "give" command
4. Added help system (say "bazookahelp" and it shows the html help file)

Version 1.1
5. added gib deaths from mike_cao's gore plugin, can be turned on/off with "amx_bazooka_gib [1|0]"
6. made the text messages a little more fun

Version 1.1b
7. Fixed disappearance problem caused by gore coding

Version 1.2
8. CAN BE USED ON DEFUSION MAPS!
9. added more sounds
10. changed "buy_weapon" command to "buybazooka"
11. you can now destroy breakable entities when you hit them without deleting them from the map

Version 1.3
12. completely revamped the mode selection code, now allows use of flags to restrict certain modes via amx_bazooka restrict
13. added Bazooka Arena start and end commands
14. added mode status next to ammunition status
15. fixed minor glitch where commands with perameters didn't display help info
16. removed some precache items to help with memory

THE HEADER
Quote:
/* AMX Mod X script

:: Bazooka ::

!!IMPORTANT!!
There is only ONE known bug:
If you are user-guiding a rocket and the round ends before that rocket blows up,
you will NOT be able to fire again unless you restart the plugin.

Commands:

amx_bazooka | spawn a bazooka in front of you (works in spectator mode too, admin only)

amx_bazooka_give <@all or name/id> <amount> | give someone a bazooka (admin only)

amx_bazooka_startround <mode restrictions> <round restart 1|0> | start the bazooka arena (admin only)

amx_bazooka_endarena <set ammo> | specify new ammo for everyonea nd end bazooka arena (set to -1 to leave everyone's ammo alone, admin only)

Say buybazooka in chat to open a buy menu. (everyone)

Say bazookahelp in chat to open the help file. (everyone)

Cvars:

amx_bazooka_dropping :: can a player drop his bazooka?? (default: 1)

amx_bazooka_ammo :: how much ammo has the bazooka?? (default: 3)

amx_bazooka_arena :: If set to 1 every player will recieve a bazooka with unlimited ammo
at the start of the next round. While this mode is activated it requires
a direct hit to kill someone. It is also advisable to restrict the other modes.

amx_bazooka_cost :: how much does the bazooka cost to buy it?? (default: 8000)

amx_bazooka_buyable :: is it possible to buy the bazooka?? (default: 1)

amx_bazooka_damageradius :: How big is the damage radius (default: 250)

amx_bazooka_maxdamage :: when you are in the center, how much HP do you loose?? (default: 150)

amx_bazooka_restrict :: resrict certain modes: a = Normal, b = Heat-Seeking, c = User-Guided

amx_bazooka_reloadtime :: how much time (in seconds) it takes to reload the bazooka (default: 2.5)

amx_bazooka_trailtime :: How long the bazooka trails stay in the air (best at 30)

amx_bazooka_velocity :: This only affects how fast the heat-seeking and normal rockets go (best at 700)

amx_bazooka_teamcolors :: set to 1 to use team colors (CT = blue, T = red) or set to anything else to have random colors

amx_bazooka_gib :: set to 1 to cause gib explosion if the damage is > 100 and also enough to kill the person

Special thanks to:

-=STN=- MaGe
KaOs
RadidEskimo
Freecode
EJL
JTP10181
PaintLancer
Kaddar
Vexd
twistedeuphoria
XxAvalanchexX
pimp daddy
Ronkkrop
More for making the original bazooka plugin
mike_cao for his awesome gore plugin

Notes:
1. From what i've tested on my server people seem to like team colors better than random colors.
2. I've bound some keys to bazooka arena like so:
bind "PGDN" "amx_bazooka_arena 0;amx_bazooka_maxdamage 150;amx_bazooka_damageradius 250;amx_bazooka_restrict 1;sv_gravity 800;amx_say Bazooka Arena OFF"
bind "PGUP" "amx_bazooka_arena 1;amx_bazooka_maxdamage 999999;amx_bazooka_damageradius 40;amx_bazooka_restrict 1;sv_gravity 150;amx_bazooka_give @all 1;amx_say Bazooka Arena ON;amx_say say 'bazookahelp' for more information on Bazookas"
3. When you have Bazooka arena enabled it's fun to change the reload times.
Skill mode: reloadtime is 2.5
Rapid Fire mode: reloadtime is 0
This has gotten good feedback on my test server.
4. people are intrigued by a bazooka in CS 1.6, advertise this in your server name.
*/
The zip file contains:
bazooka_help.htm Needed for Plugin
entity_maths.inc Needed for compiling
nuke_fly.wav Needed for Plugin

All of them are in the proper folders, just unzip to your cstrike directory.
The Help file can be altered to your liking

There is one major bug:
If you are user-guiding a rocket and the round ends before that rocket blows up, you will NOT be able to fire again unless you restart the plugin.


Sorry the pictures have been lost due to an accidental deletion of my images folder

Hope you all enjoy it!
-Major
Attached Files
File Type: zip bazooka_files.zip (27.7 KB, 34686 views)
File Type: amx bazooka_mod_1.3.amx (41.2 KB, 25122 views)
File Type: sma Get Plugin or Get Source (bazooka_mod_1.3.sma - 35049 views - 43.8 KB)
File Type: sma Get Plugin or Get Source (bazookamod1.3d.sma - 25531 views - 57.9 KB)
__________________
Games i've screwed with:
Battlefield 1942, CNC Generals, Red Faction, Incoming/Incoming Forces, The Sims, Sim City 3k, Unreal Tournament, Fallout 1/2, Ragnarok, Goonzu, and CS 1.6.

Last edited by Major_victory; 04-03-2007 at 18:10.
Major_victory is offline
Send a message via AIM to Major_victory Send a message via Yahoo to Major_victory
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 11-16-2005 , 00:26  
Reply With Quote #2

Can I get a screenshot of the
Quote:
More realistic explosions
please?
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
Major_victory
Member
Join Date: Nov 2005
Location: Illinois
Old 11-16-2005 , 00:28  
Reply With Quote #3

i'll have em by tomorrow hopefully, but basically it's the generic explosion that warcraft 3 frozen thone uses for the suicide bomber guy.

also i'll get some ingame shots too
__________________
Games i've screwed with:
Battlefield 1942, CNC Generals, Red Faction, Incoming/Incoming Forces, The Sims, Sim City 3k, Unreal Tournament, Fallout 1/2, Ragnarok, Goonzu, and CS 1.6.
Major_victory is offline
Send a message via AIM to Major_victory Send a message via Yahoo to Major_victory
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 11-16-2005 , 02:04  
Reply With Quote #4

Could you also list the differences between the two plugins? I know you said you added more cvars and such, so list them ;)
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
uTg | bigpapajiggs
Senior Member
Join Date: Sep 2005
Location: Bellingham, WA
Old 11-16-2005 , 02:22  
Reply With Quote #5

He did list them.

Quote:
Cvars:

amx_bazooka_dropping :: can a player drop his bazooka?? (default: 1)

amx_bazooka_ammo :: how much ammo has the bazooka?? (default: 3)

amx_bazooka_arena :: If set to 1 every player will recieve a bazooka with unlimited ammo
at the start of the next round. While this mode is activated it requires
a direct hit to kill someone. It is also advisable to restrict the other modes.

amx_bazooka_cost :: how much does the bazooka cost to buy it?? (default: 8000)

amx_bazooka_buyable :: is it possible to buy the bazooka?? (default: 1)

amx_bazooka_damageradius :: How big is the damage radius (default: 250)

amx_bazooka_maxdamage :: when you are in the center, how much HP do you loose?? (default: 150)

amx_bazooka_restrict :: set to 1 to restrict use of the Heat-Seeking and User-Guided modes (default: 0)

amx_bazooka_reloadtime :: how much time (in seconds) it takes to reload the bazooka (default: 2.5)

amx_bazooka_trailtime :: How long the bazooka trails stay in the air (best at 30)

amx_bazooka_velocity :: This only affects how fast the heat-seeking and normal rockets go (best at 700)

amx_bazooka_teamcolors :: set to 1 to use team colors (CT = blue, T = red) or set to anything else to have random colors
__________________
What's my confidence level? I do crossword puzzles with a pen.
uTg | bigpapajiggs is offline
Send a message via AIM to uTg | bigpapajiggs Send a message via MSN to uTg | bigpapajiggs Send a message via Yahoo to uTg | bigpapajiggs
Devilion
Member
Join Date: Oct 2004
Location: the Netherlands
Old 11-16-2005 , 10:39  
Reply With Quote #6

This is great, I remember requesting a give command a while ago Thx for making this!
Devilion is offline
Major_victory
Member
Join Date: Nov 2005
Location: Illinois
Old 11-16-2005 , 22:48  
Reply With Quote #7

okay, here are some nice pics for ya guys.

take note that I had rapid fire mode (amx_bazooka_reloadtime 0) turned on for the screenshots to show the trails.

Some explosions
http://turbostunts.bf1942files.com/i...er/CS_Pic1.png
Random trail colors
http://turbostunts.bf1942files.com/i...er/CS_Pic2.png
Team trail colors
http://turbostunts.bf1942files.com/i...er/CS_Pic3.png
More explosions (this is a good pic of it)
http://turbostunts.bf1942files.com/i...er/CS_Pic4.png
Some ingame text massages
http://turbostunts.bf1942files.com/i...er/CS_Pic5.png
__________________
Games i've screwed with:
Battlefield 1942, CNC Generals, Red Faction, Incoming/Incoming Forces, The Sims, Sim City 3k, Unreal Tournament, Fallout 1/2, Ragnarok, Goonzu, and CS 1.6.
Major_victory is offline
Send a message via AIM to Major_victory Send a message via Yahoo to Major_victory
eFrigid
Senior Member
Join Date: Aug 2005
Location: 3o3
Old 11-16-2005 , 23:20  
Reply With Quote #8

You should add that to master post.. But nice job!
__________________
lol
eFrigid is offline
Send a message via AIM to eFrigid Send a message via MSN to eFrigid Send a message via Skype™ to eFrigid
joka69
Senior Member
Join Date: Apr 2005
Old 11-16-2005 , 23:58  
Reply With Quote #9

Gj any chance of makin it use the knife slot ,then you could use it on all maps.
__________________
joka69 is offline
Send a message via MSN to joka69
NedStar
Senior Member
Join Date: Apr 2005
Location: The Netherlands
Old 11-17-2005 , 08:07  
Reply With Quote #10

Any change of getting this ported to ts
__________________
NedStar is offline
Send a message via MSN to NedStar
Reply


Thread Tools
Display Modes

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 05:55.


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