BROKE PROTOCOL

Cylinder Studios · Simulation

BROKE PROTOCOL patch notes · Sep 2, 2021

Experiment

The Multimedia Update

What's new in The Multimedia Update: 68 changes to BROKE PROTOCOL, released Sep 2, 2021.

Balance · 2

  • All AudioSources were set to a 128ft maxDistance, enforced by the FixPrefab script.

    audio max distance
  • AI air traffic was slightly reduced to prevent collisions.

    ai air traffic spacing

Content · 6

  • A new fully scalable VideoPlayer entity with dynamic volume was added.

    video player entity
  • A new Retriever job with a new mob hat was added to GameSource and the Default map.

    retriever job
  • SignExit and SignNoSmoking objects were added.

    new sign object
  • An example /coinflip command was added to GameSource to demonstrate the new TextPanel API.

    example coinflip command
  • A mountable, animated Ferris Wheel was added as a synced Animator example.

    mountable ferris wheel
  • A working Cinema interior was added to the Default map.

    cinema interior

Controls · 5

  • Seat position can be changed by pressing Jump or Crouch.

    seat position change
  • Shift or Ctrl while dragging now adds or removes from selections.

    multi-select drag modifier
  • Players now sit in the closest seat when entering vehicles.

    vehicle entry seating
  • World Builder now requires holding Ctrl to enable snapping.

    snapping activation
  • Mobile input fixes and changes were made.

    mobile input

System · 28

  • SvAdd/RemoveSelfAction methods were added to ShPlayer.

    self action menu method
  • SvPlayer.SvSetEquipable now uses a ShEquipable reference instead of an index.

    svsetequipable parameter
  • Client-side checks on Suicide were removed; the server DestroySelf event handles everything.

    suicide handling
  • Mobs can get jobs if the new characterType property on JobInfo matches.

    mob job eligibility
  • SvAdd/RemoveTypeAction methods were added to ShPlayer.

    type action menu method
  • Unity's internal Newtonsoft package is used to avoid conflicts.

    json library dependency
  • Extra speedhack checks were added and player rotation is validated in addition to position.

    speedhack and rotation validation
  • Relative delta updates are sent for more accurate on-water and vehicle physics.

    relative delta update
  • Vehicle minSteeringAngle is now calculated in-engine instead of exposed.

    vehicle minimum steering angle
  • Profile URLs must now use a full URL on any domain, requiring https.

    profile url requirement
  • A serverside restraint check was added before dismounting vehicles.

    vehicle dismount restraint check
  • All emergency lights now use Animators, so old mod sirens may need reconfiguring.

    emergency light implementation
  • The initiator player was added as a parameter to the PlayerRestrain and PlayerUnrestrain events.

    restrain event parameter
  • A new GameSource event PlayerSetEquipable was added.

    player set equipable event
  • HideTextPanel() was replaced by DestroyTextPanel(menuID).

    text panel hide function
  • The game was updated to the latest Game Engine release.

    game engine version
  • Memory allocations when syncing animators and inventories were reduced.

    memory allocations on sync
  • Plugins can add new jobs via JobsAdditive or replace defaults via JobsOverride.

    multi-plugin jobs support
  • Door connections reverse auto-connect when one is assigned.

    door auto-connect
  • Job metadata was extracted to a JSON file in the game directory for easier modding.

    job metadata file
  • Mods can use synced Animators by assigning an Animator and checking Sync Animator; old player mods must reassign the Animator reference and re-export.

    synced animators for mod
  • A DestroyMenu function with an optional menuID parameter was added.

    destroy menu function
  • A unique Device ID is sent on Register/Login with ConnectionData for plugins.

    device id on login
  • A referencePrefab modding property was added to copy instead of replacing default entities.

    referenceprefab modding property
  • ShowTextPanel(text) was replaced by SendTextPanel(text, menuID, options).

    text panel send function
  • More entity types can now be modded.

    moddable entity type
  • Handling of RigidBody and ground check updates was simplified and optimized.

    rigidbody and ground check update
  • SvAdd/RemoveDynamicAction methods were added to ShEntity.

    dynamic action menu entity method

UI · 9

  • Action menus are now scrollable.

    action menu scrolling
  • TextPanels can now have a dropdown menu with optional buttons.

    text panel dropdown
  • The position tool gizmo is now always World-aligned.

    position tool gizmo
  • Placement of new objects was improved to ignore ceilings and backfaces.

    object placement
  • A new Custom Profiles/Videos Setting toggle was added.

    custom profiles/videos setting
  • A new adjustable Framerate Limit was added to the Settings menu.

    framerate limit setting
  • A Video Panel menu was added to Computers, Laptops and TVs.

    video panel menu
  • TextPanels now parse shorthand color codes.

    text panel color code
  • Mods are now organized into sub-folders.

    mod organization

Fix · 18

  • Hitscan and visibility checks now always use proper masks and range.

    hitscan and visibility check
  • Deployed parachutes now keep forward velocity from the player.

    parachute forward velocity
  • A server crash related to votekicking was fixed.

    votekick server crash
  • NPCs now equip and wear correct job-specific items after restocking.

    npc job item equipping
  • Firefighters are now rewarded when putting out fires.

    firefighter fire reward
  • Copying MeshCollider when overriding or referencing default assets was fixed.

    meshcollider copying
  • Motorcycle physics and colliders were improved.

    motorcycle physics and collider
  • A rare seating position desync when players return to network range was fixed.

    seating position desync
  • A naming error for ToyCat and ToyMouse was fixed.

    toycat/toymouse naming
  • Completely messed up consumable boosts and nerfs were fixed.

    consumable boosts and nerf
  • Swim animation is now set correctly when spawned or activated on water.

    swim animation
  • Random mobs no longer receive human jobs.

    mob job assignment
  • GetRandom() is now safer and works on any ICollection type.

    getrandom extension method
  • A time desync bug affecting movement and hit registration was fixed.

    time desync bug
  • Some Scalable entities missing scale controls in Builder were fixed.

    scale controls in builder
  • World bounds and action range checks for scaled entities were fixed.

    world bounds calculation
  • A collider error on FloorEdge prefabs was fixed.

    collider error
  • Error handling when reading server files was improved.

    server file read error handling