Garry's Mod

Garry's Mod

145 个评价
[VJ] City Scanner with Custom Pathfinding (NPC)
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: NPC
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
14.210 MB
3 月 28 日 下午 8:48
4 月 21 日 下午 5:26
9 项改动说明 ( 查看 )

订阅以下载
[VJ] City Scanner with Custom Pathfinding (NPC)

在 rycch 的 1 个合集中
Rycch's Custom NPCs
17 件物品
描述
4/21/2025: Due to an update to VJ Base this NPC is not working at full capacity. Pushed a fix to get its pathfinding working again and get it to stop throwing errors.

If you enjoy the addon, don't forget to leave a thumbs up!

This is a project I have been working on for a bit and decided to put it out in its current state for the world to try while I polish some other projects.

So, I was a bit let down by VJ Base's built in flying npc system, so I overrode that old system within this NPC. If all goes well this will be the foundation for some other npcs I want to work on. This NPC includes:

  • Custom AA_MoveTo function which includes my own custom implementation of the A* algorithm for 3D pathfinding in Garry's Mod
  • Optimized for large maps and large numbers of NPCs
  • The ability to dynamically adjust height when moving up and down slopes
  • Custom hover mechanics when in close range of the enemy (Warning can be wonky indoors or around walls)
  • Custom chase mechanics allowing the npc to follow the player through tight corridors
  • Custom idle wander mechanics allowing the npc to search the world without getting lost
  • The ability to flash bang the player
  • Animated tail, wheel, and other bits
  • Dynamic flashlight and sounds based on distance to target

Feedback is appreciated as it will help he in the future development of this and other addons.

If anyone is a Gmod dev out there and would be interested in helping me with some projects that would also be welcome.

Enjoy!
18 条留言
dyku 6 月 1 日 下午 9:50 
works well on my part
MrPad 4 月 7 日 下午 5:33 
map name plz
rycch  [作者] 4 月 5 日 下午 6:45 
@diomaskedhoodghost At the moment this is the only one I have posted publicly. I am working on others. I want to try doing a Hunter Chopper and Gunship at some point.
diomaskedhoodghost 4 月 5 日 下午 6:22 
@rycch do you have any other npcs with custom pathfinder I'd like to try it out :)
rycch  [作者] 4 月 5 日 下午 3:08 
@Goofygoober It does not have any logic around Striders right now
rycch  [作者] 4 月 5 日 下午 3:07 
@@Poison But I have already been working on some of these on and off for over a year, so I also thought it would be nice to finally release a few.
rycch  [作者] 4 月 5 日 下午 3:05 
@Poison I was doing that at one point, but the file sizes got very unwieldy will all the resources I was using, leading to testing taking forever. Each of the NPCs is pretty much a unique project, and the faster I can test the more steamlined my workflow can be. Therefore, the faster I can work, the faster everyone can get new NPCs. So in the end, I split them up as it makes working on and updating easier for me.

When I am done with all my projects, and I still have quite few in my backlog, I will probably make a large pack, or maybe even a few.
Spoon 4 月 5 日 下午 2:36 
Unless you can't then nvm
Spoon 4 月 5 日 下午 2:36 
Why aren't all your npcs placed into one pack you can download? Then it'd be up to the person if they want to spawn them or not.