[FS] Anti Aircraft Missle Launcher -
WrathOfGenesis - 17.04.2008
[FS] Anti Aircraft Missle Launcher
Ok, so you have somewhere in your server which you only want admins (or nobody) to go into, but people keep using planes or helecopters to fly in. What can you do? You could just SetPlayerHealth to kill them instantly, but where is the fun in that? Wouldnt it be more fun to see their plane / helecopter blown out of the sky?
This missle launcher script allows you to easily create anti aircraft missle launchers anywhere on the map. It only takes one line to add each one.
To create an Anti Aircraft Missle Launcher just add the following line to the OnFilterScriptInit line of the filterscript:
pawn Код:
Version V1: CreateMissleLauncher ( Float: X , Float: Y , Float: Z );
Version V2: CreateRocketLauncher ( Float: X , Float: Y , Float: Z );
This will return the missle id.
To change who the missles launch at, edit the LaunchAt variable at the top of the script to one of the following:
pawn Код:
new ROCKET_SHOOT_ADMINS = true; // Launches at all players within a ceartain distance.
new ROCKET_SHOOT_ADMINS = false; // Launches at all non-admins within a ceartain distance.
No more problems with people flying into your private areas!
__________________________________________________ ______________________
OLD VERSION 1.1 : Source:
http://pastebin.com/f496231d9
NEW VERSION 2.0 : Source:
http://pastebin.com/f50d1b64a
__________________________________________________ ______________________
Please feel free to post comments, critisism and sugestions for next version.
Kind regards,
WrathOfGenesis
( FUDDS
)
__________________________________________________ __________________________________________________ ________
UPDATE 2.0:
This is a completely new version of the script. The missles will no longer follow the players until they are killed, the rockets will now launch at and around the player when they fly nearby. This gives the player a chance to survive and dodge the explosions while still stopping them from landing. They can still be hit by the rockets and taken out but it makes it more fun because you can now try and using all of your flying skills to dodge them.
The way this new scripts work is hard to explain so i would recomend downloading it and testing it out to see what it does.
ADMIN COMMANDS:
Код:
/AAProtect [id] // Stops the AA Shooting a ceartain player
/AAUnprotect [id] // Allows the AA shoot that player again
[size=30pt]FAQ
Q. How do i make a missle launcher launch multiple rockets?
A. Put more launchers in that position. If you want a position to fire 3 rockets, put the CreateMissleLauncher or CreateRocketLauncher line 3 times with the same coords.
Credits
****** - GetXYInfrontOfPlayer
-
Wrath
Of
Genesis (
FUDDS)
Re: [FS] Anti Aircraft Missle Launcher -
Rambo_NL - 17.04.2008
cool .. i gonna test it now
Re: [FS] Anti Aircraft Missle Launcher -
sebihunter - 17.04.2008
Nice, gonna try it
Re: [FS] Anti Aircraft Missle Launcher -
WrathOfGenesis - 17.04.2008
Update - Text Draw Missle Warnings added. See first post for picture.
Re: [FS] Anti Aircraft Missle Launcher -
Karlip - 17.04.2008
Nice FUDDS!
Re: [FS] Anti Aircraft Missle Launcher -
WrathOfGenesis - 17.04.2008
Cheers karlip
Re: [FS] Anti Aircraft Missle Launcher -
cmg4life - 17.04.2008
gg
Re: [FS] Anti Aircraft Missle Launcher -
aroma - 17.04.2008
the textdraw doesnt hide in my server Missle detected it freezes
Nice SCRIPT :P
Re: [FS] Anti Aircraft Missle Launcher -
JaTochNietDan - 17.04.2008
That's very good work there man.
Re: [FS] Anti Aircraft Missle Launcher -
ALEXALEX303 - 17.04.2008
Nice FS
Re: [FS] Anti Aircraft Missle Launcher -
marka - 17.04.2008
can you make it but wiouth shooting admins and cops?
sry 4 bad english im spanish
Re: [FS] Anti Aircraft Missle Launcher -
Dalenor - 17.04.2008
@__________@
Good one i will use this [and modify somethings to be good to carrers(RPG)
PS: I will not modify the credits
]
Re: [FS] Anti Aircraft Missle Launcher -
Stratos - 18.04.2008
Very nice
and a very nice Idea =)
Re: [FS] Anti Aircraft Missle Launcher -
cmblego - 18.04.2008
Looks Good
Re: [FS] Anti Aircraft Missle Launcher -
tayama - 18.04.2008
damn nice dude!
Really nice
Re: [FS] Anti Aircraft Missle Launcher -
Tommy_Daichik - 18.04.2008
pawn Код:
for ( new playerid = 0; playerid < MAX_PLAYERS; playerid ++ )
{
new Float: TEXTX = 230 , Float: TEXTY = 350;
RocketWarning = TextDrawCreate ( TEXTX , TEXTY , "~r~WARNING~w~: Heat Seeking Missle ~r~Detected" );
TextDrawLetterSize ( RocketWarning , 0.55 , 2 );
TextDrawFont ( RocketWarning , 3 );
TextDrawSetOutline ( RocketWarning , 1 );
}
Why to do the same thing 200 times?
Re: [FS] Anti Aircraft Missle Launcher -
kmann - 19.04.2008
sweet im going to add this to my dm arena
Re: [FS] Anti Aircraft Missle Launcher -
[SOA]Spider - 19.04.2008
Awesome!!
Re: [FS] Anti Aircraft Missle Launcher -
Blt950 - 19.04.2008
Ok, this look nice. But when i do so it dont shoot at admins, so how it knows its a non-admin??
Re: [FS] Anti Aircraft Missle Launcher -
crazygood - 19.04.2008
good