Workshop Maps
Power trajectory
Up = buffed, down = nerfedPatch history
- ▲✨Newsave data—→1MB MB
Workshop maps can now save and load up to 1MB of data via Steam Cloud, allowing for persistent progress across sessions.
Added Instance.SetSaveData and Instance.GetSaveData
- ≈🔁Reworkdamage event handlingInstance.OnBeforePlayerDamage→Instance.OnModifyPlayerDamage
Replaced OnBeforePlayerDamage with OnModifyPlayerDamage, providing hitgroup data and triggering after damage calculations but before health modification.
Replaces old damage event
- ▲✨Newdamage flags—→IGNORE_ARMOR
Added a new damage flag to allow scripts to ignore player armor when calculating damage.
Added CSDamageFlags.IGNORE_ARMOR
- ▲✨Newinput detection—→Added
New scripting functions allow map creators to detect specific player input presses and releases.
Added IsInputPressed, WasInputJustPressed, and WasInputJustReleased
- ≈🐛Bug fixCSDamageTypes exportCSDamageType→CSDamageTypes
Fixed a bug where CSDamageTypes was incorrectly exported as CSDamageType.
Fixed naming bug
- ≈🎯Behaviortrigger behavior
Fixed inconsistent trigger behavior when players are crouching in workshop maps.
behavior