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

Subplugin Submission [ZP] Bazooka + New Modes v1.6


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Vechta
Veteran Member
Join Date: Jun 2010
Old 11-07-2010 , 03:58   [ZP] Bazooka + New Modes v1.6
Reply With Quote #1

[ZP] Extra item: Bazooka + New Modes

Description: Here you can download a custom Bazooka for Zombie Plague,
it has new modes you'll see it under Cvars.
The modes are switchable by Pressing Attack2 (Right mouse click).
Alot of people requested it on this and other forums, i had using this
private for some weeks but now I want to release it and only here
you can download it now. Have fun with it

Included:
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <engine>
#include <hamsandwich>
#include <zombieplague>
#include <xs> 
Cvars:
You will also find all Cvars in the zp_bazooka_modes.cfg files, you
can change them there.
PHP Code:

// Delay - How long it will be taken to reload Bazooka
zp_bazooka_delay 10 // Standart - 10

// Damage - How many damagen taken if touching ground
zp_bazooka_damage 650 // Standart - 800

// Radius - Radius of damage if rocket touch ground
zp_bazooka_radius 250 // Standart - 500

// Map - Bazooka just one Round or full map?
zp_bazooka_map 0 // 0 - Disabled | 1 - Enabled

// Award - How many packs gain if taken more damage then -
// zp_human_damage_reward cvar
zp_bazooka_awardpacks 1 // Standart 1

// Normal shoot speed - Bazooka's rocket Speed on Normal shoot
zp_bazooka_speed 800 // Standart 1000

// Homing shoot speed - Bazooka's rocket Speed on Homing shoot
zp_bazooka_homing_speed 350 // Standart 350

// Camera shoot speed - Bazooka's rocket Speed on Camera shoot
zp_bazooka_camera_speed 300 // Standart 300

// Count - How many bazooka can hold in hand by all players
zp_bazooka_count 4 // Standart 4 
Defines:
PHP Code:
#define CUSTOM_MODEL 
- Set " // " before if you want using original half life models
PHP Code:
#define ADMIN_BAZOOKA 
- Set " // " before if you want disable free Bazooka for Admin
PHP Code:
#define BAZOOKA_ACCESS ADMIN_LEVEL_H 
- Here you can put the flag what Admin need to get free Bazooka,
it disabled if ADMIN_BAZOOKA define is disabled
Modes:
  • Normal fire mode - Normal rocket shoot like other Bazookas
  • Homing fire mode - The rocket follows enemy (Zombie|Nemesis)
  • Camera fire mode - You can control the rocket
Models & Sounds:
-If you defined custom models you need to use custom models
or the models from the rar file i uploaded and you need 1 sound
from rar file, it doesnt exist on valve "nuke_fly.wav" be sure that
it is in weapons sound folder or you can't head shoot sound
in-game.

Credits:
G-Dog - For his original Bazooka code
NiHiLaNTh - Switching thing | Help on removing engine include
abdul-rehman - Help on removing engine include

Versions:
PHP Code:
v1.0 
Released

v1.1
-Removed engine module

v1.2
-Fixed Camera thing 
-Fixed switching modes bug

v1.3
-Fixed little mistake on Admin check

v1.4
-Fixed some little mistakes
-Fixed the zp_register_extra_item compile bug
-Added engine module again for better Camera quality
-Added 2 Cvars for Homing Camera mode rocket speed

v1.5
-Removed reload message (Was bugged)
-
Added new reload bar
-Added new stock for explosion and more
-Added that Mode can only changing while holding knife
-New explosion effects Screenshake
-Fixed some little bugs with modes

v1.6
-Fixed model bug on Knife
-Fixed pick up bug 
Notes:
-If you find any Bugs report them please.
-You can easily change Cvars in the zp_bazooka_modes.cfg file
-Nuke_fly.wav sound aren't exist in cs you need to download it yourself
-Please download zp_bazooka_new_update.sma file. Thanks!
Attached Files
File Type: zip zp_bazooka_files.zip (128.7 KB, 19081 views)
File Type: cfg zp_bazooka_modes.cfg (1.2 KB, 12837 views)
File Type: sma Get Plugin or Get Source (zp_bazooka_new.sma - 12809 views - 22.2 KB)
File Type: sma Get Plugin or Get Source (zp_bazooka_new_update.sma - 12684 views - 21.8 KB)

Last edited by Vechta; 04-03-2013 at 06:09.
Vechta is offline
omgitsme
Veteran Member
Join Date: Mar 2010
Old 11-07-2010 , 03:59   Re: [ZP] Bazooka + New Modes
Reply With Quote #2

wow! nice, so epic gunna try it one day
__________________
omgitsme is offline
Send a message via Skype™ to omgitsme
5c0r-|3i0
Veteran Member
Join Date: Nov 2008
Location: Việt Nam
Old 11-07-2010 , 04:17   Re: [ZP] Bazooka + New Modes
Reply With Quote #3

@Vechta: 1st nicest thing you ever done , huh . [ Jokin' ] . Good job.
5c0r-|3i0 is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 11-07-2010 , 04:20   Re: [ZP] Bazooka + New Modes
Reply With Quote #4

Nice Job My friend
But you dont need the engine include if you have included fakemeta

Instead of this:
Code:
create_entity("info_target");
You can use this
Code:
engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "info_target"));

2-Instead of this:
Code:
entity_set_int(ent, EV_INT_rendermode, 1)
You can use this:
Code:
set_pev(ent, pev_rendermode, 1)
Same goes for entity_set_vector/entity_get_vector/VelocityByAim

3-Instead of this :
Code:
attach_view(id, ent)
You can use FM's attach view function

And last
Instead of using Prethink to detect if the player pressed the fire key you can simply use FM_CmdStart forward and then check thier buttons through get_uc( UC_Handle, UC_Buttons) since it will be more effiecient and easy !!

Hope that you implement my suggestions in ur plugin
__________________

My Plugins For ZP

Inactive due to College and Studies

Last edited by abdul-rehman; 11-07-2010 at 04:28.
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
Vechta
Veteran Member
Join Date: Jun 2010
Old 11-07-2010 , 04:45   Re: [ZP] Bazooka + New Modes
Reply With Quote #5

example of attach_view please >.<

This is right?
PHP Code:
engfuncEngFunc_SetViewidid 

Last edited by Vechta; 11-07-2010 at 04:50.
Vechta is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 11-07-2010 , 04:53   Re: [ZP] Bazooka + New Modes
Reply With Quote #6

Quote:
Originally Posted by Vechta View Post
example of attach_view please >.<

This is right?
PHP Code:
engfuncEngFunc_SetViewidid 
Yep
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
Excalibur.007
Veteran Member
Join Date: Sep 2009
Location: Singapore
Old 11-07-2010 , 04:58   Re: [ZP] Bazooka + New Modes
Reply With Quote #7

Yes, and nice modes. Seems good.
Excalibur.007 is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 11-07-2010 , 05:08   Re: [ZP] Bazooka + New Modes
Reply With Quote #8

nice but have you asked nihilanth if he wants to make it public?
also is the bug where bazookas didn't get removed on new round if they were dropped fixed?
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Vechta
Veteran Member
Join Date: Jun 2010
Old 11-07-2010 , 05:17   Re: [ZP] Bazooka + New Modes
Reply With Quote #9

Quote:
Originally Posted by georgik57 View Post
nice but have you asked nihilanth if he wants to make it public?
Wtf?
Vechta is offline
Garrey
Member
Join Date: Jan 2010
Old 11-17-2010 , 06:03   Re: [ZP] Bazooka + New Modes
Reply With Quote #10

Can't use with Jetpack+Bazooka plugin. Because of the right click stuff.
__________________
People are like music, some speak the truth and others are just noise..
Garrey 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 00:15.


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