Contagion

Monochrome LLC · Shooter

Contagion patch notes · Sep 20, 2024

Experiment

Small patch: 2.2.1.24

What's new in Small patch: 2.2.1.24: 25 changes to Contagion, released Sep 20, 2024.

Content · 3

  • Added the prop_mounted_machine_gun entity.

    new entity
  • Added the Upgrade Package weapon, which deprecates the old item_upgrademodule used in Flatline.

    new weapon
  • Updated the blackhawk model with new animations for mappers to use.

    blackhawk animation

System · 11

  • Added Globals.AllowThirdPersonCamera(bool state) function.

    third-person camera toggle
  • Added forward function ThePresident_OnCampaignFinished(), which only works in Campaign mode.

    campaign finished forward function
  • Schedule::Task now accepts dictionary inputs.

    schedule::task dictionary input
  • Added ThePresident.SetAllowedToDropAmmo(bool state) function.

    ammo drop permission
  • Added Utils.ResetAmmoMaxCarry(int iAmmoIndex) function.

    resetammomaxcarry function
  • Added ThePresident.IsAllowedToDropAmmo() function.

    ammo drop permission query
  • Added Utils.SetAmmoMaxCarry(int iAmmoIndex, int iMaxCarrySize) function.

    setammomaxcarry function
  • Added string CASConVarRef.GetHelpText() function.

    help text accessor
  • Added Engine.StartCampaign(CampaignName, SessionID) function, available only on dedicated servers.

    startcampaign function
  • CTerrorPlayer.SetMaxSpeed changed from taking an int speed to taking a float flSpeed and a bool bRunSpeed.

    setmaxspeed signature
  • Added a bool CTakeDamageInfo.HasDamageType(int bitsDamageType) const function.

    hasdamagetype function

Fix · 10

  • Fixed Campaign throwing a Lobby Error when the internet dies or is disconnected; it now reverts to LAN and Solo mode.

    lobby error on lost connection
  • Fixed map voting not being populated.

    map voting list
  • Fixed disconnected players' avatars showing on the scoreboard when their slot was taken by a BOT.

    scoreboard avatar
  • Fixed cl_showfps not showing the map name properly at larger resolutions.

    map name display
  • Fixed these weapons not firing the weapon_reload event.

    weapon_reload event not firing
  • Fixed 2 lines not working in the sequence file, which also did not work on AS.

    sequence file lines not working
  • Fixed the game crashing on boot on some video cards and laptop integrated GPUs because Windows failed to find video memory.

    crash on boot
  • Fixed survivors spawning outside the playable space on ch_unionstation.

    spawn position
  • Fixed the weapon_pump event never triggering for Angelscript.

    weapon_pump event not triggering
  • Fixed several voicelines (such as get inside the elevator) not working on the mansion map because the number value exceeded 255.

    voicelines not playing

General · 1

  • Updated Spanish translations by Lucio: Ratchet Lombax.; Updated Simplified Chinese and Traditional Chinese translations by OldDriver佬撕雞.; Updated Italian translation by Simone Calvani.

    general