CombineSlayer24 / Black-Mesa-Character-Expansion-SNPC

A VJBase addon for Garry's Mod. This addon brings over popular Black Mesa addon "Black Mesa Character Expansion" overall, NPCS for VJ Base.
GNU General Public License v3.0
3 stars 0 forks source link

Moving NPCs prints error, "vj_bmce_disaster_status" breaks models #4

Open civvie17 opened 1 year ago

civvie17 commented 1 year ago

Checklist

Versions

NOTE 1: Github version of VJ Base is the more up-to-date version, as it's constantly getting updated, rather than the workshop version that has the complete stable version.

NOTE 2: Cracked versions of GMod will not be supported. Garry's Mod is cheap, and having a cracked version of Garry's Mod doesn't have the updated Lua function stuff, making addons in Cracked GMod broken.

Description

Bug 1. Setting the cvar "vj_bmce_disaster_status" to 1 causes any NPCs spawned to be errors, except for the male scientist Bug 2. Whenever an NPC moves, it gives this error in the console [black-mesa-character-expansion-snpc-main] addons/black-mesa-character-expansion-snpc-main/lua/entities/npc_vj_bmce_base/init.lua:784: attempt to call method 'CustomOnFootStepSound_Walk' (a nil value)

  1. FootStepSoundCode - addons/black-mesa-character-expansion-snpc-main/lua/entities/npc_vj_bmce_base/init.lua:784
    1. unknown - addons/vj-base-master/lua/entities/npc_vj_human_base/init.lua:2566 (x14)

      Steps to reproduce

      Bug 1. Set the cvar "vj_bmce_disaster_status" to 1 and spawn an NPC Bug 2. Spawn an NPC and wait for them to move

CombineSlayer24 commented 1 year ago

Hey, thanks for reporting this. This is due to the disaster status not fully coded in yet. While the Scientist is partially coded for Disaster behavior, it's not fully completed for others as I'm in the process of reworking the voices for the NPCs.