Raised This Month: $12 Target: $400
 3% 

amx_apache (KRoT@L)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
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, 8386 views)
File Type: sma Get Plugin or Get Source (amx_apache.sma - 6623 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
Old 01-30-2007, 18:52
Da_sk8rboy
This message has been deleted by Da_sk8rboy. Reason: didnt see the first part O_O
Da_sk8rboy
Veteran Member
Join Date: Jul 2006
Old 01-30-2007 , 18:54   Re: amx_apache (Krot@L)
Reply With Quote #2

Do you get any warnings when you compiled this? loose indentions? anything?

EDIT:
I found a bug in his code. when you type amx_apache etc you start flying (i was at scoutz knivez) I shot @ the house by spawn & suddenly i got slayed then i shot totally away from my player the next round but i got slayed again. here is an example:
1)

2)


3)


That was a play by play of it.
__________________
i stop around here and there.

Last edited by Da_sk8rboy; 01-30-2007 at 19:11.
Da_sk8rboy is offline
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 01-30-2007 , 19:16   Re: amx_apache (Krot@L)
Reply With Quote #3

wow cool, i though apache u meant webserver lol
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME
kp_uparrow is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 01-31-2007 , 00:09   Re: amx_apache (Krot@L)
Reply With Quote #4

Quote:
Originally Posted by Da_sk8rboy View Post
Do you get any warnings when you compiled this? loose indentions? anything?

EDIT:
I found a bug in his code. when you type amx_apache etc you start flying (i was at scoutz knivez) I shot @ the house by spawn & suddenly i got slayed then i shot totally away from my player the next round but i got slayed again.
1.) No.. I did not, why?

2.) Working on this bug.. (Recognized as a bug..)
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 01-31-2007 , 00:11   Re: amx_apache (Krot@L)
Reply With Quote #5

Wow, this is amazing... Ive seen this in videos and such but ive never taken the time to look for it. W00t!

Edit: I lost Karma for this message?
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."

Last edited by soccdoodcss; 02-03-2007 at 11:48.
soccdoodcss is offline
Send a message via AIM to soccdoodcss
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 01-31-2007 , 01:16   Re: amx_apache (Krot@L)
Reply With Quote #6

Updated with a fix thanks to Avalanche..

(See bottom of source code)



v 0.1.9
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
bonafide
Senior Member
Join Date: Feb 2006
Location: Venice Beach!
Old 01-31-2007 , 01:31   Re: amx_apache (KRoT@L)
Reply With Quote #7

Nice. Love it.
__________________
bonafide is offline
Send a message via ICQ to bonafide Send a message via AIM to bonafide Send a message via MSN to bonafide Send a message via Skype™ to bonafide
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 01-31-2007 , 12:25   Re: amx_apache (KRoT@L)
Reply With Quote #8

Quote:
Originally Posted by bonafide View Post
Nice. Love it.
Thanks. I will be adding a Multi-Lingual system in the next version.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
SuB-Zer0
Junior Member
Join Date: Mar 2006
Old 01-31-2007 , 14:28   Re: amx_apache (KRoT@L)
Reply With Quote #9

Nice port SweatyBanana !

Would it be possible to make a non cs version (without the cs module).

To example you could give the player a health bonus instead of money.
SuB-Zer0 is offline
OmgHi
Junior Member
Join Date: Jan 2007
Old 01-31-2007 , 15:27   Re: amx_apache (KRoT@L)
Reply With Quote #10

When I try to compile it it says things like

unknown command DONT_IGNORE_MONSTERS
unknown command DAMAGE_AIM
unknown command DAMAGE_NO

on lines..

305
997
1012
OmgHi is offline
Reply


Thread Tools
Display Modes

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 17:58.


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