Garry's Mod

Garry's Mod

Enhanced Sandbox NPCs
Showing 1-10 of 14 entries
< 1  2 >
Update: 25 Jan, 2019 @ 5:21pm

It's been nearly 5 months since the last update. I considered this addon "finished" and moved on to my other projects. Suggestions were still coming in, but I was no longer set up to update this addon, so I just waited until a game-breaking bug popped up that would require a patch before adding anything.

Well, it's not exactly game-breaking, but an irritating bug has finally been reported. I fixed it and have temporarily returned with the inclusion of new features and a couple of old suggestions.

  • The following maps now have aircraft tracks: cityruins2, gm_excess_construct, gm_bigcity_d, gm_bigcity_winter
  • The Settings menu has been heavily revised and admin/developer settings have been moved to a new tab.
  • The hunter-chopper "Attack Mode" setting's default option has been changed to "StartAlwaysLeadingVehicle". This was done for two reasons: One is because it's more aggressive and spend less time trying to get in front of the player's vehicle, not hesitating to use its gun. The other reason is the discovery that this option drops bombs regardless of which direction the player is moving in, which is a lot friendlier than the other options.
  • With Half-Life 2: Episode Two installed and the Episodic version of Alyx's model (see Episodic NPC Fix at https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1095903501), you can make Alyx enter the EP2 jalopy's passenger seat when the player starts driving it and exit when the player gets out, similar to her behavior in Episode Two.
  • You can now specify a chance for claw/shield scanners to carry hopper mines. Once an armed scanner spots an enemy, it will drop its mine after a few seconds...but I haven't figured out how to make it leave yet. Hopefully this is good enough.
  • You can now have citizens and soldiers spawn patrolling.
  • There is now an option to make all NPCs like the player that spawned them. This means when you spawn a NPC with this option enabled, it will like you, even if it's a Combine soldier or an antlion guard. Relationships with other players will not be affected. Server admins can disable this feature with a new option.
  • Removed "Expanded Visibility" after testing revealed it was never functional in the first place.
  • Fixed turrets attempting to shoot their enemies through walls when "Make All NPCs Squad-Capable" is enabled. Unfortunately, turrets can no longer take advantage of squad capabilities.
  • Striders moving automatically now search for the nearest track instead of the first one.

Please let me know if there are any issues.

Update: 1 Sep, 2018 @ 2:21pm

  • Added strider warp cannon AI with option to enable/disable, off by default
  • Squad capability support now only prints to console when it actually gives NPCs a squad
  • Forgot NPCs can take down hunter-choppers, changed "Allies Hate Gunships" option to "Allies Hate Aircraft" (convar name retained)
I meant to put this out last night. Please let me know if there are any issues or if I forgot to mention anything.

Update: 31 Aug, 2018 @ 9:38am

  • Fixed striders throwing an error on maps without strider nodes
  • Added option for striders to start impaling players
  • Made a bunch of serverside options start saving

Update: 30 Aug, 2018 @ 9:18pm

  • Added option to add squad capabilities to NPCs which lack them (gunships, turrets, Dr. Kleiner, etc.)
  • Added option for model-based squad mixing, which mixes into squads based on the soldier's model name instead of the regular pre-set squads.
  • Added option to enable arrest behavior on metrocops.
  • Fixed strider path debug messages (for real this time)

Update: 30 Aug, 2018 @ 10:55am

  • Added aircraft movement support to rp_bigcity
  • Added aircraft movement support to gm_construct_15 (more or less)
  • Added aircraft movement support to gm_construct_in_flatgrass (more or less)
  • Made generated strider paths more random, as well as an option to change it back
  • Fixed a case in which scanners and cameras notifying other NPCs threw an error when a non-NPC's classname starts with "npc_combine"
  • When a player reverses the aircraft tracks in the map, their name is now printed to the console for all players to see. (10/10 security)

Update: 29 Aug, 2018 @ 3:54pm

  • Fixed small mistake from previous update

Update: 29 Aug, 2018 @ 3:37pm

  • Added aircraft support to gm_fork
  • Added "Reverse Tracks" option to reverse helicopter tracks, mostly useful for hunter-chopper bombing
  • Fixed strider path generation messages
  • Fixed turret ammo being depleted while Expanded Visibility is on

Update: 27 Aug, 2018 @ 2:58pm

  • Made Dog fetch again. I accidentally broke fetching in the last update! D:
  • Added optional "All NPCs" feature. This has not been fully tested, so be wary.
  • Slightly revised "Allies Hate Gunships" setting description.

Update: 27 Aug, 2018 @ 9:50am

  • Added option to make player's allies hate gunships
  • With scanner updating enabled, cameras can now notify combine NPCs as well

Update: 26 Aug, 2018 @ 2:22pm

Release build