• You are not yet a member of GhostingSquad. Applying is fast and simple.
USCCA Referral
Sponsored / Referral
Concealed carry protection made simple
Training, legal defense, and peace of mind with USCCA.
Disclosure: I may earn a referral commission.
Learn More

Counter-Strike 2 Update

\[ MAP SCRIPTING ]


  • Added Instance.SetSaveData


  • Added Instance.GetSaveData

    • Workshop maps can write up to 1MB of save data.


    • Workshop saves leverage Steam Cloud and persist across installs.


    • Save data size limit can be configured with sv_workshop_map_save_data_max_filesize_mb.

  • Added Instance.OnModifyPlayerDamage

    • Called after all damage properties have been calculated, just before armor and health are modified


    • Replaces Instance.OnBeforePlayerDamage


    • Includes hitgroup in event data

  • Added hitgroup to OnPlayerDamage event data


  • Added CSDamageFlags.IGNORE_ARMOR


  • Added CSPlayerPawn.IsInputPressed


  • Added CSPlayerPawn.WasInputJustPressed


  • Added CSPlayerPawn.WasInputJustReleased


  • Added enum CSInputs


  • Fixed bug where CSDamageTypes was exported under the name CSDamageType

\[ MISC ]


  • Map guides for de_ancient can now be used on de_ancient_night and vice versa.

Continue reading...
 
Back
Top