Garry's Mod

Garry's Mod

评价数不足
npc rescueng helicopter
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: NPC
插件标签: 风景, 写实
文件大小
发表于
更新日期
4.915 KB
10 月 24 日 下午 12:29
10 月 24 日 下午 9:34
2 项改动说明 ( 查看 )

订阅以下载
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.