Apache
Credits go to the original makers of the plugin AMX Apache KRoTaL & Fox-NL and to Rokell for helping me out
This hero allows you to control a small apache helicopter.
You can shoot bullets with mouse1 button (+attack) and shoot rockets with mouse2 button (+attack2).
You can drop a bomb with +reload, and grab entities (if you are just above them) with +use
(to release the entity, press +use again).
Entities can be: weapons, bomb, c4backpack, hostages.
You can stop the helicopter by pressing your "drop" key (your speed needs to be between -30 and 30).
You can enter stealth mode by pressing your nightvision key, and leave this mode by pressing
your nightvision key again. There is a delay between 2 uses of stealth mode.
Your rockets will be less powerful in stealth mode, and your maximum speed will be lower.
You can also kill players by simply touching them with your helicopter ( kill them with your rotors ;) ).
Your helicopter can be shot down.
If you have an helicopter and you are still alive at the end of a round, you will get a payback
proportionally to the health of your helicopter at the beginning of the next round, and your helicopter will
be removed.
How To Use :
shoot bullets: +attack
shoot rockets: +attack2
grab entities: +use
drop bomb: +reload
stealthmode: nightvision key
+moveleft => +left
+moveright => +right
Code:
Cvars:
apache_level 10 - level of the helicopter
apache_health 1000 - health of the helicopter
apache_maxspeed 400 - maximum speed of the helicopter
apache_stealth_amount 40 - amount of visibility of the helicopter in stealth mode
0: totally invisible, 255: totally visible
apache_stealth_maxspeed 60 - maximum speed of the helicopter in stealth mode
apache_stealth_regen 10 - time in seconds players have to wait between 2 uses of stealth mode
apache_bulletdmg 10 - damage done by each bullet shot by the helicopter
apache_bulletspeed 2000 - speed of the bullets, set it to 100 for Matrix bullet time ;)
apache_rocketspeed 1000 - speed of the rockets
apache_dist 70 - distance between the camera and the helicopter
apache_height 20 - height of the camera in relation to the helicopter
apache_beams 0 - 0: disables the red beam
1: enables the red beam indicating where your helicopter is aiming
apache_cost 5000 - cost of the helicopter for players who are not admins
apache_admins 0 - 0: all players can create a helicopter
1: only admins can create a helicopter
apache_ff 0 - 0: you cannot kill your friends with your rotors
1: you can kill your friends with your rotors
here are some screenshots
__________________