Change log/5.12

From Sven Co-op
< Change log
Revision as of 16:53, 12 December 2020 by AdamR (talk | contribs) (Category.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

1 Notable changes

  • Fixed several prominent or recurring crash issues.

2 Code

2.1 Game library

  • Fixed crash caused by access violation in CBaseMonster::NoFriendlyFireToPos().
  • Fixed crash caused by access violation in CFuncTank::ControllerPostFrame().
  • Fixed crash caused by players being equipped with weapons and items.
  • Fixed game freeze when throwing weapons into teleporters.
  • Func_train: New target will be ignored if it's same as the previous one (to avoid recursion).
  • Mirrors/Portals/Monitors: Added min and max render distance.
  • Mirrors/Portals/Monitors: Changing targets of monitors and portals is now possible.
  • Mirrors/Portals/Monitors: Fixed rare bug where the brush model of the entity isn't updated when the entity sets itself up, causing it to render like a normal brush model.
  • Mirrors/Portals/Monitors: Fixed resolution scaling (max resolution now comes from actual OpenGL setting + texture resolution scaling is now proportional to actual screen resolution).
  • Mirrors/Portals/Monitors: Fixed several bugs in portal tracing code.
  • Mirrors/Portals/Monitors: Fixed shaders not working.
  • Portals: Made shooting through portal a spawnflag option.
  • Trigger_camera: Added "m_iszTurnedOffTarget" to allow mappers to trigger something when the camera is turned off (e.g. when time ran out).
  • Trigger_camera: Fixed killtarget not working anymore.

3 Maps

3.1 Persia

  • Adjusted camera entity spawnflags to prevent players dying during cutscene near sniper rifle\grenades.
  • Moved HWGrunt a little forward, so he will not stuck between sandbags.
  • Adjusted monster clip a little more to prevent first sneaky snipers hiding behind building.

3.2 Stadium 4

  • Fixed friendly turrets/miniturrets not deploying after being spawned.

4 Scripts

4.1 They Hunger

  • [TheyHunger] Observer mode status is now updated not only in MapActivate() but in EnableObserver() function as well. This is necessary because players/server operators can toggle survival mode at any time and this could disable observer mode all together (which is undesired for th_ep1_05).

5 SDK

5.1 FGD

  • Added "m_iszTurnedOffTarget" to trigger_camera, to allow mappers to trigger something when the camera is turned off (e.g. when time ran out)
  • Added min and max render distance to Mirrors/Portals/Monitors.
  • Added spawnflag "Shoot through" to func_portal.