49 Minutes Ago
Minor cleanups Prevent NPC animation events firing pistol weapons * Alyx model has "fire pistol" event, and so do the pistols, so the weapon ends up being fired twice in the same tick. Now we ignore animation events coming from the NPC, so the weapons only fire once. For now, this is limited to Pistols that NPCs can use. Fix Alyx firing 357 spawning reload shells Add more entities to protected list * gmod_gamerules, ai_network, soundent * instanced_scripted_scene, ai_ally_speech_manager, manipulate_bone, manipulate_flex, scene_manager * These are internal runtime singletons Lua has no business touching StudioMDL: Make $maxverts optional * Since it causes unexpected issues by itself, make it do anything only when it is actually present in the .qc file Fixed nextbots in Source saves crashing on load Added CNewParticleEffect.Set/GetShouldSimulate Fixed multibone static props fast pass using garbage bone positions. More consistent checking for protected entities Basically more code de-duplication. Also adds npc_barnacle_tongue_tip to protected entities list Fix map load crashes with that one map I was sent Adjust "Invalid value %f for -maxlightmapdim" warning * Will now say that it is ignoring the value, and display the valid value range. VBSP now adds extra keyvalues to worldspawn about itself * 2 keyvalues that could be useful for debugging: * "vbsp_version" which will contain the VBSP compile date * "vbsp_exe" with 2 possible values "gmod" and "gmod_64". Indicates the map was compiled using GMod's VBSP Fix ManipulateBone issue Fixed a stack overflow crash with IK_ATTACHMENT Rework how trace whitelist works * It now better respects the collisiongroup/mask, using it when testing for whitelist, instead of inverting it after the entity failed to pass the whitelist Added game,GetMapChangeCount Entity:GetModel force lowercases weapon world models too * It was already forcing lowercase on all other entities Set min_use_angle to 0.8 in the FGD * 0.8 is the old default value, before the feature was added Fixed prop gibs stopping spawning after the 300th in multiplayer