Using no external resources; this plugin simulates pilotable helicopters in-game equipped with rockets. If an enemy is within targeting distance and sight of the helicopter; rockets will become homing missiles when fired and follow the targeted player until collision with target or solid. If a missile is not homing, they will fire straight until collision with solid or max distance has been reached, and explode. This is pieced together with various entities so it is not perfect, but it can be pretty fun.
For CS:GO players, you may be more interested in my Attack Drones plugin instead.
[youtube]https://youtu.be/xf_3y7b3TL8[/youtube]
General Notes:
Use Notes:Supported Games: CS:GO, CS:S, HL2DM
I would not recommend spawning/using too many at once. The spawn limit is set to 8.
The admin flag for use is set to ADMFLAG_CHEATS
CommandsMissiles by default will fire straight ahead, if an enemy is in sight, it will become a homing missile and follow the target (if enabled).
You are forced out of the helicopter at round/map end to avoid crash, so you may die from falling.
Changing server gravity may affect the flying physics.
Code: Select all
sm_helicopter
> Spawn a pilotable helicopter where you are looking.
> Press E (use) on the helicopter to enter.
> Press E (use) to exit.
Code: Select all
sm_helicopter_missile_interval
> Controls the wait time between firing missiles. Default is 1.2 seconds
_____________
sm_helicopter_missile_damage
> Controls the damage dealt by all missiles. Default is 55
sm_helicopter_missile_speed
> Controls the travel speed of all missiles. Default is 1100
> NOTE: The faster the missile, the sooner it explodes when approaching target
_____________
sm_helicopter_missile_distance
> Controls the max distance for regular missiles before self detonation. Default is 8000.0
_____________
sm_helicopter_homing_enabled
> Enable or Disable the use of homing missiles on all helicopters. Default is enabled
Installation:[SPACE] (Jump) - Move Upwards
[CTRL] (Duck) - Move Downwards
[W] (Forward) - Move Forward
[S] (Backward) - Move Backward
[A] (Left) - Move Left
[D] (Right) - Move Right
Download1. Tap on "Get Plugin" below
2. Put the downloaded file Helicopters.smx in your servers plugins folder: SERVER/GAME/addons/sourcemod/plugins/
(optional) Put the source file Helicopters.sp in your servers scripting folder: SERVER/GAME/addons/sourcemod/scripting/
Source