1. Contagion
  2. News

Contagion News

Small patch: 2.2.1.24

[h2]Changelog[/h2]
  • Added "bool CTakeDamageInfo.HasDamageType( int bitsDamageType ) const;" function
  • Added "void Utils.SetAmmoMaxCarry(int &in iAmmoIndex, int &in iMaxCarrySize);" function
  • Added "void Utils.ResetAmmoMaxCarry(int &in iAmmoIndex);" function
  • Added "Globals.AllowThirdPersonCamera( bool &in state );" function
  • Added "Engine.StartCampaign( const string& in CampaignName, const int &in SessionID );" function (only available for dedicated servers)
  • Added "ThePresident.SetAllowedToDropAmmo( bool state );" function
  • Added "ThePresident.IsAllowedToDropAmmo();" function
  • Added "string @CASConVarRef.GetHelpText()" function
  • Added forward function "void ThePresident_OnCampaignFinished()" (only works if playing in Campaign mode)
  • Added new weapon "Upgrade Package". This new weapon will now deprecate the old "item_upgrademodule" used in Flatline.
  • Added new entity "prop_mounted_machine_gun".


  • Updated "Schedule::Task", it now accepts dictionary inputs
  • Updated blackhawk model, added new animations for mappers to use
  • Updated "CTerrorPlayer.SetMaxSpeed( int &in iSpeed );" to "CTerrorPlayer.SetMaxSpeed( float &in flSpeed, bool &in bRunSpeed );"
  • Updated Spanish translations, by Lucio: Ratchet Lombax
  • Updated Simplified Chinese & Traditional Chinese translation, by OldDriver佬撕雞
  • Updated Italian translation, by Simone Calvani

  • Fixed some video cards & laptop integrated video cards causing the game to crash on boot, because Windows is failing to find the video memory
  • Fixed cl_showfps not showing the map name properly on larger resolutions
  • Fixed Campaign throwing Lobby Error when the internet dies / not connected (now it forcefully reverts back to LAN and Solo mode)
  • Fixed BLR, Sniper, AR15, Garand, Arlene, Grenade Launcher not firing event weapon_reload
  • Fixed event weapon_pump never triggering for Angelscript
  • Fixed ch_unionstation spawn problem, where survivors spawned outside the playable space
  • Fixed disconnected players avatars showing on the scoreboard if the player slot is taken by a BOT
  • Fixed map voting not being populated
  • Fixed a few voicelines not working (such as get inside the elevator) on the mansion map, due the number value exceeded 255
  • Fixed 2 lines not working in the sequence file (which also didn't work on AS)


Small patch: 2.2.1.23

[h2]Changelog[/h2]
  • Added "CTerrorPlayer.DropUnusedAmmo" function
  • Cleaned up Command register function

  • Updated "Schedule::Task", it now accepts dictionary inputs
  • Updated "CTerrorPlayer.DropWeapon" function

  • Fixed EOR (End Of Round) showing incorrect data
  • Fixed a few official plugins not being up to date
  • Fixed the "Bank" in Flatline not resetting on each map, this caused the money to transfer from map to map (Flatline only).
  • Fixed player_revived event applying SetBool instead of SetInt

  • Removed old debugging information for DrawASUI

Small patch: 2.2.1.22

[h2]Changelog[/h2]
  • Added missing "grapple kill icon" for the kill feed
  • Updated lighting issues on ch_biotec
  • Fixed the kill feed not properly showing the attacker, if the attacker was a player
  • Fixed Campaign not writing the SteamID property for the session file, this would cause a crash
  • Fixed bots not hunting players properly on Hunted

Small patch: 2.2.1.21

[h2]Changelog[/h2]
  • Added "void SQL::TryReconnect(CSQLConnection@ hConnection )"
  • Added "SQL::SendQueryEx(CSQLConnection@ hConnection, string &in strQuery, SQLQueryFuncDict @pCallback, dictionary@ dict)"
  • Added "Events:: Player ::OnPlayerInfectedEx.Hook( @OnPlayerInfectedEx )"
  • Added "bool ASGameEvent.DumpEventStrings(string filename)"
  • Fixed Campaign causing crashes due to the new "*check for splitscreen inventory"
  • Updated Survivor BOT AI:
    • Fixed bots causing crashes when they somehow fail to select a new enemy.
    • Fixed bots not responding right away when being hit by a zombie and/or player.


*Note: Splitscreen is unsupported, but still in the game. UI related bugs will therefor not be fixed.

Small patch: 2.2.1.20

[h2]Changelog[/h2]

  • Fixed official plugins not being up to date
  • Updated ce_roanokepd and ce_roanokepd_halloween

    • Removed most of the survivors on normal Roanoke PD, and they only spawn on the first round.
    • Fixed old trigger_teleport triggers not being updated (teleported everything but clients)
    • Fixed doors becoming non solid when the round restarts (happened randomly)
    • Fixed zombies not spawning when the round restarts (happened randomly)
    • Fixed helicopter rescue being called when the round restarts (I/O wasn't being properly cleared, it has now been switched to AS Task Schedule instead)

  • Updated ce_laststop_06

    • Fixed a possible bug where the map could temporarily softlock when fighting the bride