npc rescueng helicopter
that took me 1 h 58 mins
NPC Rescueng Addon for Garry’s Mod
Version: 1.0
Author: [im thy spyh]
Description:
Heli Rescue is a Garry’s Mod addon that allows players to convert a spawned helicopter prop into a rescue helicopter. The helicopter can pick up NPCs (or all NPCs) on the map and then fly away after a rescue mission is complete. The addon is fully configurable and works with any helicopter-like prop.
Features
Attach the rescue system to any spawned helicopter prop (e.g., Combine helicopter prop).
The helicopter picks up all NPCs within a configurable radius.
Players control the mission using simple console commands:
rescue_object – Attach the rescue system to a prop. Helicopter stays on the ground and waits.
end_rescue – Starts the mission. Helicopter lifts vertically, flies horizontally, and eventually exits the map.
Smooth movement: vertical lift, horizontal flight, and final takeoff.
Visual and audio feedback when NPCs are picked up:
cball_explode effect.
Engine stop sound.
The system works for all NPCs on the map (configurable to filter certain types if needed).
Fully server-side script; no client-side installation required.
How to Use
Spawn a helicopter prop (prop_physics) somewhere on the map.
Stand near it and open the console.
Run the command:
rescue_object
This attaches the rescue system to your helicopter prop. It will now wait on the ground and automatically pick up NPCs in the radius.
Once NPCs are ready or the player wants to start the rescue mission, use:
end_rescue
The helicopter will:
Lift vertically to a predefined height.
Fly horizontally across the map.
Remove itself from the game after leaving the map.