Skip to content

3.2.0

Latest

Choose a tag to compare

@DrVrej DrVrej released this 15 May 18:59
· 15 commits to master since this release

SHOWCASE VIDEO: https://www.youtube.com/watch?v=5nd1yQ4R2Vw

Additions & Revamps

  • Added new firing sounds for MP 40
  • Added player draw sounds for MP 40
  • Added a new view model for the Flare Gun:
    • New custom animations
    • New custom reload sound
    • Supports C-hands for player model compatibility
    • Improved textures
  • Added full tank driving support to the NPC Controller:
    • Can now drive in reverse
    • Can now turn left or right while driving
    • Can now drive faster when holding the sprint key (SHIFT)
    • No longer follows the mouse for turning
    • Now always moves when the appropriate keys are pressed, regardless of where the player is looking
    • Driving forward no longer reverses the vehicle if the player is aiming high up
  • Added a new NPC context menu option, Toggle Sounds, which can be used to mute or unmute an NPC's sounds
  • Added Allow Weapon Secondary Fire NPC weapon setting
  • Added Auto Pickup Weapons weapon client setting, allowing you to toggle between automatically picking up weapons or requiring USE key

Changes & Improvements

  • Tank NPCs now take half damage from strong melee attacks caused by boss NPCs
  • Crossbow bolts no longer deal damage to Tank NPCs
  • HL2 Antlion Guards are now considered as bosses
  • Human NPCs that pick up inactive HL2 grenades will now activate them when throwing
  • Human NPCs with a melee weapon as their primary will no longer switch to a secondary that's also a melee weapon
  • Human NPCs will no longer mark irrelevant entities as cover even if they blocks bullets (ground weapons, debris, etc)
  • Adjusted Flare Gun's world model to better match the new view model (longer barrel)
  • Developer Mode NPC Controller option is no longer saved between sessions to prevent misuse
  • Collision optimizations
  • Weapon Base optimizations
  • Removed view model skins from MP 40

Fixes

  • Fixed NPCs not playing death sounds after a recent Garry's Mod update
  • Fixed NPCs becoming hostile to and attacking non-living things that damaged them while idle
  • Fixed NPCs displaying the physics killicon instead of the default skull and crossbones when killing something
  • Fixed NPCs not appearing in the killfeed when killed by damage that does not have both an attacker and an inflictor
  • Fixed SPAS-12 cocking sounds cutting off the firing sounds for players
  • Fixed very rare cases where certain alert and combat AI behaviors would not reset when the NPC becomes idle
  • Fixed projectiles with radius damage not displaying their killicon
  • Fixed Tank NPCs taking Gravity Gun push damage
  • Fixed attacks that cause Combine Turrets to self-destruct resetting the destruction sequence every time the turret is hit
  • Fixed soundtracks playing at full volume for 1 second when an NPC is created
  • Fixed leap-attacking NPCs constantly facing the enemy when they are set to only face before jumping
  • Fixed errors when an NPC's weapon is forcibly dropped using an engine call
  • Fixed players being unable to pick up ground weapons that weren't dropped by NPCs when Players Can Pickup Dropped Weapons is disabled
  • Fixed view model sound errors for MP 40 and Glock 17
  • Fixed a rare initialization error with NPC spawners
  • Fixed an error when using NPC Controller on a non-VJ NPC

Notable Developer Changes

  • player.VJ_IsControllingNPC is now networked to the client side by the NPC Controller
  • OnNPCKilled hook is now always called for NPCs
  • Removed self:GetNPCHealth() and self:GetNPCMaxHealth() from the NPC Controller as Garry's Mod now networks these, thus Lua version is now obsolete
  • NPC Bases:
    • Added (Tank Base only): self.Tank_HasShellAttack
    • Fixed self.EnemyData.Target not resetting to NULL once the NPC sees an enemy
    • Fixed self.EnemyData.DistanceNearest briefly returning an incorrect value after detecting an enemy
    • Removed self.CurrentDeathSound from NPC bases as it's no longer relevant due to Garry's Mod update
    • Removed self.Tank_GunnerIsTurning
  • Weapon Base:
    • Removed: self.NPC_HasSecondaryFireSound, self.LastOwner, self.InitHasIdleAnimation