Garry's Mod

Garry's Mod

721 ratings
[simfphys/Glide] Pursuit AI
7
3
4
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Roleplay, Realism
File Size
Posted
Updated
226.275 KB
23 Apr @ 7:02pm
9 Jul @ 11:26pm
25 Change Notes ( view )

Subscribe to download
[simfphys/Glide] Pursuit AI

Description
Allows (mostly) any Simfphys or grounded Glide vehicle to pursue players.
Inspired by (and somewhat a derivative of) Mad Vehicle.

Features
  • Navmesh pathfinding
  • Automatic reversing and unstucking
  • PIT/TVI maneuvers
  • Collision avoidance
  • Foot chases via NPC spawning
  • Customization

Instructions
Spawn the "Pursuit AI Enabler" NPC near any Simfphys or Glide vehicle to make it use the AI.
To change the addon's settings, go to the spawnmenu > Options > Pursuit AI > Settings.

Compatibility
The following Simfphys packs have been tested:
This addon only works with Simfphys and Glide.

ConVars
  • pursuitai_pursuitrange
  • pursuitai_detectionrange
  • pursuitai_spawneffects
  • pursuitai_npcsenabled
  • pursuitai_npcamount
  • pursuitai_npcclass
  • pursuitai_npcweaponclass
  • pursuitai_npcdespawnrange
  • pursuitai_aggressive
  • pursuitai_settings

Addons used in the thumbnail:

Uploaded with gmpublisher[github.com]
Popular Discussions View All (4)
21
23 Aug @ 6:51am
PINNED: Bug Reports
LoveingLiamGuy
15
5 Aug @ 1:47am
Suggestions
Chewy
3
7 Jul @ 3:42pm
Which maps work best?
Stinker
207 Comments
TheCrazedbreadmann 18 Aug @ 12:51pm 
Can we have an option to add a road rage option So cars actively try to kill you even if your out or in the car.
galesdeloscien 8 Aug @ 11:22am 
@barracuda there's a way to change it so they actuslly do so in the menu configuration, you should check it up.
Lunneth Arc 5 Aug @ 3:43pm 
I hope it works with Twisted Metal Black Vehicles; it can be resurrected in Gmod.
BARRACUDA! 31 Jul @ 2:27am 
works well but very disappointed that the vehicles do not try to ram/kill me.
high_ends 27 Jul @ 9:24am 
is there a way to make the npc use the weapon on the vehicles
初音E5新干线Sama 26 Jul @ 10:46pm 
SOME LOOK LIKE GTA........(Gameplay)
L1NTER 23 Jul @ 9:57am 
bro just summoned two combines in my car
Lynch 19 Jul @ 6:19am 
I recorded a video showing this addition: https://www.youtube.com/watch?v=SbOGKJFA1i4
Lynch 19 Jul @ 2:57am 
I have extracted some sounds from the police officers in GTA V when they use the megaphone and implemented a function in your code to play said sounds during the chase. If you think it's okay, send me a friend request and I'll send you the .gma so you can update your addon with that addition.
rgary 14 Jul @ 9:14pm 
can you make flee'ing ai?