[ZP] Zombie Class: L4D TANK
Description:
this is a Zombie Class of Famous Game, "L4d" with the ability to throw rocks at enemies, either killing him, infecting, taking life, etc. (controlled by a cvar)
Cvars:
zp_tank_rockspeed // Rock Speed Launched by Tank
zp_tank_rockdamage // damage done by the rock
zp_tank_rockreward // Ammo Pack's Reward by touching the enemy with the rock
zp_tank_rockmode // Rock Mode :
1 = Take Damage
2 = Killing
3 = Infect
4 = Bad Aim
zp_tank_rock_energynesesary // energy nesesary to launch a rock
zp_tank_reload_power // energy time reload to launch rock
Customizations:
PHP Code:
new const zclass_name[] = { "L4D Tank Zombie" } //name
new const zclass_info[] = { "Launch Rocks" } //info
new const zclass_model[] = { "l4d_tank" } //tank model
new const zclass_clawmodel[] = { "v_tank.mdl" } //clawmodel
const zclass_health = 1800 //health
const zclass_speed = 240 // speed
const Float:zclass_gravity = 1.0 //gravity
const Float:zclass_knockback = 1.0 //knoback
new g_trail[] = "sprites/xbeam3.spr" // rock trail sprite
new rock_model[] = "models/rockgibs.mdl" // rock model
new tank_rocklaunch[] = "zombie_plague/tank_rocklaunch.wav" // tank scream sound
Screenshots:
Rock Mode 1 :
http://img35.**************/img35/5605/rockmode1.jpg
Rock Mode 2 :
http://img689.**************/img689/9374/rockmode2.jpg
Rock Mode 3 :
http://img716.**************/img716/3218/rockmode3.jpg
Rock Mode 4 :
http://img233.**************/img233/5596/rockmode4.jpg
Credits:
MisterDeath: Test Plugin
Changelog:
Code:
v1.0: public release
v1.1: print messages changed to hudmessages (for spam), fix time reload bug,add effect touching rock
v1.2: fix a survivor bugs', To break an entity "func_breakable" when the rock touches the entity, fix a problem with logs : native error : get_user_origin.
Have Fun ;)