View Single Post
bigbud
Member
Join Date: Jan 2008
Old 08-24-2008 , 12:02   Re: Zombie Plague Mod 4.03
#1258

[ZP] Extra Item: Jetpack+Bazooka 3.2

This item allows humans to buy a Jetpack with a rocket Luncher(like the origenal Plugin AMX Jetpack by KleeneX)!
PHP Code:
/*|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|*
*. 
* [ZP] Extra Item Jetpack+Bazooka 3.2 
*
*|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|*
*
* Original Plugin:
*       AMX Jetpack
*           BY
* (c) Copyright 2005, KleeneX 
* This file is provided as is (no warranties)
*
*|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|*
*
* CREDITS:
*            KleeneX   |>>>|  Original Plugin (http://forums.alliedmods.net/showthread.php?p=119727)
*            Bad_Bud   |>>>|  TS_Jetpack (http://forums.alliedmods.net/showthread.php?t=55709&highlight=TS_Jetpack)
*            MeRcyLeZZ |>>>|  bug fix, some code from [ZP] Stamina (http://forums.alliedmods.net/showpost.php?p=675697&postcount=1300)
*            mogel     |>>>|  Icon code form Predator-Mod (http://forums.alliedmods.net/showthread.php?t=67305&highlight=predator)
*
*|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|*
*
* Plagued Version 3.2 by B!gBud
*

* Allows Humans buy a Jetpack+Bazooka in Zombie Plague [4.0]

*
* CVARS:    
*    zp_jetpack 2         // 0 = Off / 1 = have Knive & Hold ATTACK / 2 = Hold JUMP and DUCK 
*
*    zp_jp_forward_speed 300 // Set the forward speed(when you fly and press FORWARD)
*    zp_jp_up_speed 35    // Set the UP speed(when you press ATTACK and JUMP up)
*    zp_jp_accelerate 100    // How fast you get to the max ForwardSpeed
*
*    zp_jp_rocket_delay 12    // How long you got to wait to shoot the next rocket(in sec.)
*    zp_jp_rocket_speed 1500 // Set the rocket Speed
*    zp_jp_rocket_damage 1500    // Set the max rocket Damage
*    zp_jp_damage_radius 350 // Set the radius of a rocket explosion
*    
*    zp_jp_max_engery 100     // Set the max Energy for the Jetpack
*    zp_jp_engery 10     // Set how many Energy need the JP to fly (time interval is "zp_jp_energy_cal")
*    zp_jp_regain_energy 3    // Set how fast you get JP_Energy back, when you on the ground (time interval is "zp_jp_energy_cal")
*    zp_jp_energy_cal 1.0     // Set time interval for "zp_jp_engery" & "zp_jp_regain_energy"
*    zp_jp_oneround 1    // 0 = jetpack stay on a new round if someone alive / 1 = jetpack for One Round only
*
*|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|**|_/=\_|*/ 
Screenshot

How to use:
========
  • If zp_jetpack 0 = Off / 1 = choose/have Knive(Bazooka)& use ATTACK / 2 = use/hold JUMP & DUCK /- to fly
  • choose/have Knive(Bazooka) & use ATTACK2 /-to shoot a Rocket
  • say /jphelp / -for info's inGame
========

changes:
========
1.0
  • first release
2.0
  • fixed bugs
  • added Jetpack Energy System
  • code optimized
3.0
  • fixed bugs
  • add new cvar "zp_jp_energy_cal"
  • code optimized
3.0b
  • add new cvar "zp_jp_oneround"
3.1
  • code optimized
3.2
  • add new cvar "zp_jetpack"
  • code optimized
==========================
Attached Files
File Type: rar zp_extra_Jepack+Bazooka3.2.rar (72.2 KB, 59416 views)
__________________

Last edited by bigbud; 09-14-2008 at 12:42. Reason: plugin update
bigbud is offline