View Single Post
Plugin Info:     Modification:          Category:         
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 01-30-2007 , 18:51   amx_apache (KRoT@L)
Reply With Quote #1

Plugin originally ported by XxAvalanchexX for fattoney, fixed by me.

Original AMXMOD thread: http://djeyl.net/forum/index.php?sho...mx_apache&st=0
Quote:
Originally Posted by KRoT@L
AMX Apache


Authors: KRoTaL & Fox-NL
Version: 0.1.9

0.1 Release
0.1.1 Fixed crouch bug
0.1.2 Added apache_ff cvar
0.1.3 Added 2 actions: dropping bombs and grabbing entities
0.1.4 drop bomb: +reload, grab entities: +use, stealth mode: +moveleft or +moveright
Rotors don't kill instantly, you have to keep touching the player for nearly 2s
0.1.5 Fixed crash that happened when you grabbed a hostage
+moveleft => +left, +moveright => +right, stealthmode: nightvision key
0.1.6 Updated for VexdUM 1.0. You can now break windows by shooting them or touching them.
0.1.7 Fixed the problem with the apache looking down when you were looking up (and vice-versa)
0.1.8 Added cvar apache_active

This plugin 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.

If you want friendly fire on, set "sv_friendlyfire" to 1.


Commands:

amx_apache - creates the helicopter
amx_destroyapache - destroys the helicopter

shoot bullets: +attack
shoot rockets: +attack2
grab entities: +use
drop bomb: +reload
stealthmode: nightvision key
+moveleft => +left
+moveright => +right


Cvars:

apache_active 1
0: disables the plugin
1: enables the plugin

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


Setup:

Install the amx file.
Enable VexdUM.
Install the amxx file.
Enable fun, engine, and fakemeta
Put the rc_apache_final.mdl file in the cstrike/models folder.

Credits:

Jedi Grab plugin by SpaceDude

v 0.1.8 - Initial AMXX port.
v 0.1.9 - Fixed bug where owner of helicopter died from almost any rocket. (Thanks for the help again Avalanche)
v 0.2.0 - pcvars
Attached Files
File Type: zip amx_apache.zip (348.0 KB, 8393 views)
File Type: sma Get Plugin or Get Source (amx_apache.sma - 6643 views - 28.4 KB)

Last edited by SweatyBanana; 01-31-2007 at 18:04. Reason: v 0.2.0
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana