BROKE PROTOCOL

Cylinder Studios · Simulation

BROKE PROTOCOL patch notes · Sep 9, 2024

Experiment

The Optimization Update

What's new in The Optimization Update: 42 changes to BROKE PROTOCOL, released Sep 9, 2024.

Balance · 2

  • All NPCs can now be knocked out and recover after a while.

    npc knockout
  • Laser behavior was changed; this is a work in progress.

    laser behavior

Content · 3

  • Cloud positions are now randomized.

    cloud position
  • New destroy effects were added that modders can use, letting destructible objects spawn any gameobject or particle system when they break.

    destroy effects for modding
  • Destroy effects were added to light poles and fire hydrants.

    destroy effect

System · 19

  • EntityCollections.RandomNPC now returns any NPC, not just randomSpawns.

    randomnpc selection
  • Static camera limits were added due to culling.

    static camera limit
  • Added SvPlayer.ResetPath() to clear pathing data.

    pathing data reset
  • Logging for failures to find UI elements was improved.

    ui element failure logging
  • sectorRange was renamed to netSectorRange.

    sectorrange renamed to netsectorrange
  • visibleRangeSqr was renamed to netVisibleRangeSqr.

    visiblerangesqr renamed to netvisiblerangesqr
  • The Voice Chat library was updated and rebuilt with better settings.

    voice chat library
  • Permissions are now synced to clients when the groups file changes.

    group permission sync
  • Added SvPlayer.LookTarget() for aiming and shooting at a target separately from movement.

    aim/shoot targeting separate from movement
  • The respawnable parameter is no longer optional.

    addnewentityexisting respawnable parameter
  • manhattanRange was renamed to netPerpendicularRange.

    manhattanrange renamed to netperpendicularrange
  • SvPlayer.randomSpawn was moved to the GameSourceEntity type.

    randomspawn location
  • Sector was renamed to NetSector.

    sector renamed to netsector
  • The game engine and packages were updated.

    game engine and package
  • Some Sector methods were removed and reimplemented in GameSource where needed.

    sector methods removal
  • SvPlayer.PlayerData was removed; CustomData should be used directly.

    playerdata removal
  • visibleRange was renamed to netVisibleRange.

    visiblerange renamed to netvisiblerange
  • Game memory usage was optimized.

    game memory usage
  • Client-side level streaming was added, loading and unloading parts of the level based on render distance.

    client-side level streaming

UI · 4

  • Asset snapshot preview lighting was unified for built-in and custom assets.

    asset snapshot preview lighting
  • Added svPlayer.VisualElementCursorVisibility(string elementName) to bind cursor visibility to a VisualElement, disabling the cursor automatically when the element is destroyed.

    cursor visibility binding to visualelement
  • The HUD is now fully moddable through the BPResources package.

    hud moddability
  • Default menus will try to clone Custom UIs with the same UXML name if available.

    custom ui cloning for default menu

Fix · 14

  • Strange item bounds in asset snapshot thumbnails were fixed.

    strange item bounds in asset thumbnail
  • A client error related to Deformable components is now caught.

    client error with deformable component
  • A missing face on the stair mesh was fixed.

    missing stair mesh face
  • RegisterMenu no longer sometimes shows stale data.

    registermenu stale data
  • World Builder no longer loses events and other string data.

    world builder event and string data loss
  • Some input limitations when the cursor is active were fixed.

    input limitations when cursor is active
  • World Builder issue when adding prefabs with Select Object active was fixed.

    world builder prefab adding with select object active
  • World Builder item selection and spawning were fixed.

    world builder item selection and spawning
  • Broken Action Menus that required disconnecting and rejoining were fixed.

    broken action menu
  • An attempt was made to fix a UI element loading error with Android AssetBundles.

    ui element loading error on android
  • UI QuerySelector now works on paths with mixed types.

    ui queryselector with mixed type path
  • Thai language rendering was corrected.

    thai language rendering
  • Broken AI when chasing airborne targets was fixed.

    ai chasing airborne target
  • Player ground detection and physics on some surfaces were improved.

    player ground detection and physic