Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Addon: A. Human Class[v1.5a]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Excalibur.007
Veteran Member
Join Date: Sep 2009
Location: Singapore
Old 08-15-2010 , 03:43   [ZP] Addon: A. Human Class[v1.5a]
Reply With Quote #1

Advanced Human Classes

Description:
By default(Unless you edited the file), there is 5 human classes.
- Weapon Specialist[Faster Rate.Of.Fire]
- Medic[Heal/Disinfect]
- Marksman[Lesser recoil]
- Improved Bullet[Damage multiplier]
- Hardened Bullet[Knockback]

CVars(Everything in the " " is the default):
Code:
 
zp_hclass_ROF_*WeaponName* "0.85" - Rate of fire multiplier
zp_hclass_recoil_*WeaponName* "0.8" - Recoil multiplier
zp_hclass_heal_amt "66" - Amt. of HP should be healed.
zp_hclass_disinfect_mindist "300" - The least distance to disinfect zombies(NOT NEMESIS)
zp_hclass_medic_cmd_delay "0.5" - To prevent spamming.
zp_hclass_max_medic "3" - The max numbers of medic to prevent overpowered class
zp_hclass_dmg_multi "1.1" - Damage multiplier
zp_hclass_kbpower_*WeaponName* "10" - Knockback
Instructions on how medic works:
Yes. It's complicated during you first used it.
If you press the fire button, it would heal you if you have 99 HP or below.
If you press the zoom in/out button, it would change the mode of your medkit(knife)
If you press the defuse/plant button, it would disinfect the aimed zombie OR heal the aimed teammate.

Commands:
PHP Code:
Weapon Specialist None
Medic 
Attack button Heal self Altfire Change mode of med kit. | Defuse/Plant button Disinfect aimed zombie/Heal aimed teammate
Marksman 
None
Improved Bullets 
None
Hardened Bullets 
None
 
Open menu
: /hclass
Reset saving current 
class: /hclass_reenable 
Changelog:
PHP Code:
v1.0 Intial Release
v1.1 
Bug fixNo more disinfect during Swarm/Plague mode.
v1.2 Saving of classesa little bug fix that survivor can choose class at plague round.
v1.2a Optimization
v1.3 BETA 
- New class(Just a testoptional)
v1.3a BETA Optimization
v1.3 
Fixed save current class not working
     
Removed "Made by:" I trust you all :)
v1.4 Fixed when not medicknife model is medkit.
v1.5 Round start CVars caching instead of restarting server
     
ZPA supportLook below for ZPA support.
     - 
Support zp_human_health
v1.5a 
Register CZ Bots spawn and take damage
     
attacker != victim 
ZPA SUPPORT
How to use ZPA support:
Open the sma file, In the first few lines, you will see this
PHP Code:
#include < amxmodx >
#include < fakemeta >
#include < hamsandwich >
#include < fun >
#include < zombieplague >
//#include < zombie_plague_advance > 
Change it to this to make it works for ZPA

PHP Code:
#include < amxmodx >
#include < fakemeta >
#include < hamsandwich >
#include < fun >
//#include < zombieplague >
#include < zombie_plague_advance > 

You need the new natives to work(ZPA Supported as well)

http://forums.alliedmods.net/showthread.php?t=119431

Credits:
ot_207 - Recoil Control
fxfighter - Fire Rate Control
Emp` - New AMXX menu system tutorial
Attached Files
File Type: zip models.zip (300.9 KB, 5770 views)
File Type: sma Get Plugin or Get Source (zp_addon_hclass.sma - 7126 views - 15.3 KB)

Last edited by Excalibur.007; 12-31-2010 at 06:34. Reason: 1.5a
Excalibur.007 is offline
 



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 15:53.


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