Garry's Mod

Garry's Mod

289 个评价
Desired's Path Track Creator
3
2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 写实
文件大小
发表于
更新日期
10.838 KB
2020 年 11 月 13 日 上午 6:45
2020 年 11 月 21 日 下午 3:56
3 项改动说明 ( 查看 )

订阅以下载
Desired's Path Track Creator

在 desivistia 的 1 个合集中
Desired's AI Addons
7 件物品
描述
A simple STool that allows you to create path track entities for Combine Gunships and Hunter Choppers to follow.

This STool was made with blood, sweat and tears.

Left-click to spawn a path_track (with given name) on your position and facing the direction you are. Reload to clear all path_track entities. Click the button in the control panel to enable all paths and to spawn your chosen NPC.

Control Panel usage:
Dropdown list - The combo box at the top is where you select which NPC you want to have follow the path.

Path Name - The name of the path you are planning to spawn. Automatically names tracks, just keep unique path names for different paths!

Path Track Delay - The delay in seconds until the NPC moves to the next track. Good for keeping the NPC lingering in a certain area to continue suppressing fire.

Path Track Radius - How far (in Hammer units) that the NPC can move away from the track.

Path Track Orientation Type - How the track faces other tracks in the path.

Spawn NPC - Determines whether you spawn the NPC or not.

Enable tracks and spawn NPC - Enables (well, actually spawns at this stage) the path tracks and spawns the NPC to follow them.


Tip: if you're lazy like me, put an asterisk at the end of the Path Track Name for the tool to automatically number the track for you. That means you can place multiple tracks in succession without going to the Control Panel to manually name them!

Note: for whatever god-forsaken reason, the Hunter Chopper refuses to shoot when you spawn it in through enabling tracks. To resolve, enable the tracks, remove the NPC you spawned, spawn in a Hunter Chopper manually, then type this into the console:

ent_setname <path name here>npc (NOTE THAT YOU MUST BE LOOKING AT THE HUNTER CHOPPER).
ent_fire pathtracknpc FlyToSpecificTrackViaPath <path name here>2

Alternative method:
1.) Download my addon, Desired's Entity Editor.
2.) After enabling paths, remove the Hunter Chopper and add your own in.
3.) In the fields, put in this:
Targetname - <path name here>npc
Fire input to entity - check
Input Name - FlyToSpecificTrackViaPath
Input Parameter - <path name here>2
4.) Click on the Hunter Chopper with the Tool Gun and it should work just fine.

When I say "<path name here>npc", that means you put the path's name down and then right after you add 'npc' to the end without quotation marks. Same with <path name here>2 - add a '2' at the end without quotation marks.

Note 2: you won't need this with maps that already support path tracks that automatically assign air NPCs to them.
热门讨论 查看全部(1)
2
2022 年 3 月 22 日 下午 4:56
A few suggestions
uncommon saucers
55 条留言
krabby krust 8 月 4 日 下午 6:19 
fix hunter chopper
robercooinn 2024 年 7 月 19 日 下午 6:47 
Could you do anything else that works in apache from half life source since it comes with the base game
Lapa_20 2024 年 3 月 10 日 上午 6:01 
Can this be done with Striders?
Bamcublam 2023 年 8 月 21 日 下午 8:48 
thank you for creating this
DIOLINKSID 2023 年 5 月 20 日 上午 4:32 
Can you add One for Dropship (With Container Or Strider on it)?
toby 2023 年 4 月 25 日 上午 7:50 
How to make the hunter chopper shoot
CsakEgySuttyó 2023 年 4 月 17 日 下午 4:16 
It also works for "apc".
MaxAttack 2023 年 1 月 17 日 下午 6:53 
Was always sad to see gunships and helicopters stay in one place in this game, thank you for your service :p2cube:
Autumnis 2022 年 8 月 11 日 上午 8:03 
It'd be nice if you added dropships as an option for npcs.
Home (KOD) 2022 年 6 月 9 日 上午 8:53 
Please add a tool that can make path_corners to allow the apc to drive.