Changelog
Achievements
- Fixed "Grand Theft Auto" (hotwire Zomboeing's truck) being increased twice.
- Fixed last client on the server not earning achievements when round ends.
Admin system
- Added unauthorized command usage logging to the console for dedicated servers.
- Fixed dedicated server crash when going to hibernate after an admin gets self-banned from the warning command.
Angelscript
- Added "[url=https://api.zombiepanicsource.com/#cat=Utilities&page=Vector&function=DotProduct]float Vector.DotProduct(Vector)[/url]".
- Added "[url=https://api.zombiepanicsource.com/#cat=Utilities&page=Vector&function=VecToYaw]float Vector.VecToYaw()[/url]".
- Added "[url=https://api.zombiepanicsource.com/#cat=Entities&page=CBasePlayer&function=GetPoints]int CBasePlayer.GetPoints()[/url]".
- Added "[url=https://api.zombiepanicsource.com/#cat=Entities&page=CBasePlayer&function=GetScore]int CBasePlayer.GetScore()[/url]".
- Added "[url=https://api.zombiepanicsource.com/#cat=Entities&page=CZP_Player&function=GetAmmoBank]int CZP_Player.GetAmmoBank(AmmoBankSetValue)[/url]".
- Added values checks to "[url=https://api.zombiepanicsource.com/#cat=Entities&page=CBaseEntity&function=SetSize]void CBaseEntity.SetSize(Vector, Vector)[/url]" to prevent a Source engine error from being triggered.
- Added "[url=https://api.zombiepanicsource.com/#cat=Entities&page=CBaseEntity&function=GetSize]Vector CBaseEntity.GetSize()[/url]".
- Added "[url=https://api.zombiepanicsource.com/#cat=Entities&page=CGameTrace&function=GetPlaneNormal]Vector CGameTrace.GetPlaneNormal()[/url]".
- Added "[url=https://api.zombiepanicsource.com/#cat=Entities&page=CZP_Player&function=AddPoints]void CZP_Player.AddPoints(int)[/url]".
- Added "[url=https://api.zombiepanicsource.com/#cat=Globals&page=Forwards&function=OnEntityBreakEx]void OnEntityBreakEx(CBaseEntity@, CBaseEntity@, string)[/url]" forward whenever an entity is broken.
- Added "[url=https://api.zombiepanicsource.com/#cat=Utilities&page=Utils&function=ShowImage]Utils.ShowImage(...)[/url]"
- Added missing "const" to "strTargetName" argument to existing "[url=https://api.zombiepanicsource.com/#cat=Globals&page=Forwards&function=OnEntityBreak]OnEntityBreak[/url]" forward. [b]Update your Angelscript code if you are using this![/b]
- Fixed menu item #0 not being signaled to the server.
- Fixed "[url=https://api.zombiepanicsource.com/#cat=Globals&page=Forwards&function=OnEntityUsed]void OnEntityUsed(CZP_Player@, CBaseEntity@)[/url]" being called twice.
Entities
- Added the ability to control the spawning of event-related weapons (snowball) in "logic_player_manager".
- Added "game_image" entity for community mappers.
- Fixed "item_deliver" with the "drop on switch" setting enabled not adding weight.
- Optimized weapon and "item_deliver" pickup code.
Events
- Updated all events CVARs descriptions to match the changes made in the previous update.
FGD
- Added "activator only" spawnflag to "env_fade".
- Added sphere helper to "info_beacon".
- Removed leftovers of CSM (Cascaded Shadow Mapping) from v3.0 era.
- Updated descriptions of "trigger_itemreceiver" to be easier to read.
Game Rules
- Changed team balancing to no longer happen when Zombies run out of lives (even if they do gain one).
- Fixed ammo limiter deleting shotgun shells if only Winchester were spawned. (Thanks n00kie)
- Fixed team balancing ignoring player who is trying to join a team.
General
- Fixed collisions and smoothing groups for a bunch of prop models.
- Fixed "map cameras" (aka "cutscenes"/"point_viewcontrol" for mappers) not resetting players view when round restart/map changes.
- Removed some duplicated and unused assets.
Localization
- Added French translation for the Angelscript Rock The Vote plugin.
- Updated several French, Russian and Simplified Chinese translation strings.
Maps
Corpsington
- Improved Zombie spawn timings in several areas.
Frozenheart
- Converted several dynamic/physics props models to static ones.
- Disabled collisions on a bunch of static props that didn't need them.
- Improved chainlink door in generator room (players should no longer get stuck on it while it opens).
- Minor performance tweaks and visual improvements.
- Moved item receiver trigger on the roof away from Helicopter landing zone.
- Moved "objective list" logic to Angelscript.
- Updated all 'game_text' entities to use translation tokens instead of raw text.
- Various entity I/O optimization.
Harvest
- Added more item clips in the basement and barn (for fuse and keys respectively).
- Adjusted outer basement entrance to match player's height.
- Changed police car headlights colors and brightness to be similar to older versions of Harvest.
- Improved optimization around the House and Barn.
- Improved "blast wall" sequence in the basement.
- Improved player clipping, texture alignments and prop placement around the map.
- Migrated some entity logic from I/O to Angelscript.
- Removed capture point objective sequences (fuse and truck).
- Removed "item cloning".
- Swapped around some physics props inside the house.
Score System
- Reduced "Survivor" badge score to 100.
- Reduced Survivor turned score to 100 (normal) and 50 (Carrier).
- Removed Zombie Starter points.
Sounds
- Fixed some soundscripts referring to files that did not exist.
User Interface
- Added two informative messages to the random infected player being chosen for team balance (one for the selection, one for the cure if it happens).
- Potential fix for inoculator HUD staying on player's screen.
- Removed buggy close button on HL2:DM's MOTD for SourceMod plugins. (Thanks SuperConker)
Weapons
- Added "sv_zps_green_inoculator_mode" boolean server CVAR. If enabled, green inoculators will cure infection. If disabled (default), they will delay the infection as usual.
- Fixed a bug where Hammer and Fists weren't doing proper damage on legs.
- Increased Axe's damage multiplier on head by 0.1
- Increased Cleaver's and Spanner's dmg range slightly.
- Increased Crowbar's base damage by 1 and adjusted its firerate slightly.
- Reduced Fist's dmg range sightly.
- Reduced Magnum's anti-recoil skip glitch time.
- Reduced Plank's base damage slightly and damage multiplier on body by 0.1
- Reduced Pipe's base damage by 1.
- Slightly increased Baseball Bat (Wood) base damage.
- Slightly increased both Baseball Bats (Aluminum and Wood) dmg range.
- Updated all firearms and melees to have better and consistent damage multipliers (head and body).
- Updated Magnum's firerate back to 0.75, tweaked recoil and spread to better match old values.
- Updated MP5 head damage multiplier slightly by 0.1
- Updated two-handed light melee animations.
- Updated Winchester's body damage multiplier significantly by 10%.
