Garry's Mod

Garry's Mod

Military SNPCs - Emplacements
Showing 1-5 of 5 entries
Update: 19 Apr @ 3:00pm

Delete files

Update: 28 Jan, 2023 @ 7:03pm

  • Bullets will now spawn at the exact location of the muzzle
  • Major optimizations were applied by revamping old code
  • Revamped the alert menu that pops up when VJ Base is missing
  • Fixed couple of possible console errors

Update: 20 Dec, 2019 @ 11:49am

=-=-=-=-= Version - 2.10.0 =-=-=-=-=
FULL CHANGELOG: Link
  • New
    • Added aquatic base and revamped the aerial base!
    • Added a Secondary Fire system for the weapon base! (NPC-exclusive)
    • Added a rifle grenade entity which can now be fired by NPCs that are using the VJ SMG1
    • Added a flag entity (Cosmetic)
    • Added Properties Menu for SNPCs! (Right Click SNPCs while holding C):
      • The options appear at the bottom of all VJ SNPCs and is separated from rest of the settings by a bar to make it organized
      • Ability to control SNPCs from the menu without needing the NPC Controller weapon
      • Ability to toggle guarding, which makes the SNPC guard its current position and hold it for as long as possible
      • Ability to toggle wandering
      • Ability to make the SNPC a medic or not
      • Ability to quickly make an SNPC allied or hostile to you
      • Ability to slay the SNPC
      • Ability to enable developer mode (For debugging purposes while creating an SNPC)
    • New AI Changes:
      • Added a conversation system (Dialogue)
      • Added a grenade flush-out AI for humans! (Basically, throwing grenades at enemy cover positions to flush them out)
      • Added Neutral system!
        • Neutral SNPCs will not attack until provoked
        • When provoked it will attack ANY SNPC or player it finds threatening
        • Aid any ally SNPCs that are under attack
        • Responds to nearby movements and threatening sounds
        • Once it has killed an enemy or lost sight of the enemy, it will calm down until provoked again
      • Humans will now crouch run when moving to a covered position
      • Creatures will now randomly move around if the enemy is unreachable
      • Humans will now interrupt their reloading if the enemy is close
      • Humans can now jump up or down places where they are able to
      • Increased the default grenade throwing distance from 1,000 to 1,500 world units
      • If an SNPC is following a player and an ally of that SNPC turns against the player, it will now unfollow the player and become enemy
      • Updated the jumping system for creature SNPCs, they are now able to jump down/up from many locations instead of being restricted to certain places like before
      • Chasing Navigation will now update every 1 second if the SNPC is 2,000 units away from its target, this change was made to lower frame drops due to navigation
      • Now properly know if all of the visible enemies and will not randomly reset enemy when one of them is killed
      • Fixed humans bobbing their heads when firing a weapon
      • Fixed the "Scared behavior" for humans not working properly (The animations for it are also a lot smoother now!)
      • Fixed when humans moving to a covered position, they would sometimes get stuck
      • Fixed player-friendly SNPCs that are supposed to be friendly to each other, were sometimes attacking each other
      • Fixed not resetting enemy if an ally has seen an enemy but it's not in range (This was often a problem with stationary SNPCs, such as turrets)
      • Fixed flinching animation often getting cut off
    • Redid the blood decal system:
      • Decals will now spawn from attacks that don't have damage position! (Ex: Melee attacks from other NPCs)
      • Now has a 50% chance of spawning 1 - 2 decals on the floor (below the damage location)
      • Decreased the default decal distance from 300 to 150 world units
      • Fixed sometimes the decal not spawning because it's not filtering the SNPC itself
    • Updated the NPC Spawner tool:
      • Can now make NPCs spawn with their default weapon(s) by setting their equipment to "default"
      • "None" and "Default" are now listed at the bottom of the weapon list
      • Fixed "None" being named as "Unknown" (Weapon selection)
    • Updated the SNPC menu:
      • Updated "Current Enemy" in the developer menu to show more information
      • Removed the option "Print Alerted" in the developer settings (vj_npc_printalerted also removed)
  • General Changes & Improvements
    • SNPCs no longer damage players if "ignore players" is on
    • SNPCs that are playing a death animation can now continue bleeding if hit
    • Better dynamic light positioning code for weapons, it also has a safe check to avoid any possible errors
    • Major optimizations have been done for the SNPC & Weapon base
    • RPG and Flare Gun now have much better spawning position and landing positions (Especially for NPCs)
    • SNPCs no longer get gibbed by "shock" damages
    • Decreased the speed of the rocket fired from an RPG
    • By default, creature SNPCs now have a minimum pitch of 90 rather than 80
    • Revamped the tank base!
    • Renamed some of the main files to shorter and better names
    • Renamed ob_vj_bullseye & ob_vj_npccontroller to obj_vj_bullseye & obj_vj_npccontroller
    • Reduced Lua file count by removing 16 Lua files
    • Changed the directory for many of the models and materials to avoid any possible confliction with other addons
    • Deleted 2 unused models
  • General Fixes
    • Fixed a major rendering bug that caused particles or effects to glitch through the SNPC's models
    • Fixed Medic SNPCs not removing the health vial prop if the ally moves or gets killed
    • Fixed MP40's muzzle flash spawning at an incorrect location
    • Fixed an animation stuttering issue with the human base (Rare issue, was only present in certain models)
    • Fixed the white blood decal texture flickering in certain situations
    • Fixed many overlapping sounds in SNPCs
    • Fixed a turning animation bug for SNPCs

  • Black Mesa SNPCs
    • Fixed a bug with the Security Guard that caused it not to fire its weapon
    • Changed the directory of the Glock (Same with materials)

  • Military SNPCs - Emplacements
    • Optimized for VJ Base 2.10.0

  • Left 4 Dead Common Infected SNPCs
    • Updated AI Director:
      • Added support for Special Infected SNPCs
      • Made some optimizations
      • Fixed an issue where common infected wouldn't get removed from the AI Director's table when they died

Update: 28 Aug, 2018 @ 3:22pm

  • Added friendly variants of all the SNPCs
  • Added bullet shells when the SNPCs are firing
  • Added lerping when the gun is going left-to-right or up-and-down, this will make the gun move smoothly!
  • Added more support for the NPC Controller
  • Shortened the length of all the firing sounds to allow more instances of the sound at the same time!
  • Fixed bullets spawning at the wrong position!
  • Fixed when a emplacement kills something, it didn't print the correct naming at the top right

Update: 24 Aug, 2018 @ 8:40pm

Addon Released!