BROKE PROTOCOL

Cylinder Studios · Simulation

BROKE PROTOCOL patch notes · Nov 6, 2023

Experiment

The Railway Update

What's new in The Railway Update: 64 changes to BROKE PROTOCOL, released Nov 6, 2023.

Balance · 4

  • Tank physics were tweaked and fixed.

    tank physic
  • The Biplane fire rate was boosted.

    biplane fire rate
  • All aircraft flight models were adjusted.

    aircraft flight model
  • The maxSpeed property on aircraft now actually matters.

    aircraft max speed effect

Content · 9

  • TowTruck has new emergency lights.

    towtruck emergency light
  • The Default map now has an active subway system.

    active subway system on default map
  • A TrainLicense item was added.

    train license item
  • Passengers now spawn randomly in all vehicles, and this is moddable via LifeSource.

    random passenger spawning in vehicle
  • A Random Spawns property lets NPCs spawn in any area.

    random spawns property for npc
  • New rideable and steerable trains were added to the game.

    rideable metro train
  • A new waypoint type for train spawning was added.

    train spawning waypoint type
  • A Delay field makes AI pedestrians or vehicles pause for any number of seconds.

    delay field for waypoint
  • Random AI spawning is supported in any interior level.

    random ai spawning in interior

Controls · 2

  • Some default keybinding conflicts with equipment were fixed.

    default keybinding conflicts with equipment
  • A new /MaxSpeed command was added for admins.

    maxspeed admin command

System · 22

  • An AI waypoint lookup was optimized.

    ai waypoint lookup performance
  • The Unity Engine was upgraded to 2023.1.

    unity engine version
  • Towing line renderer support was added.

    towing line renderer
  • Minor network optimizations cull useless packets.

    useless packet culling
  • Zero maxSteeringAngle is now supported.

    zero maxsteeringangle support
  • CanSee(Vector3 direction, float distance) was changed to CanSee(Vector3 position).

    cansee signature change
  • The mobsUpdate backwards compatibility hack was removed.

    mobsupdate backwards compatibility hack
  • One generic parameter was removed from the query of ClManager.GetVisualElement().

    clmanager.getvisualelement query generic parameter
  • maxSpeed = 0 is supported for modding or disabling vehicles.

    maxspeed zero support
  • ClPacket.RepositionSelf was renamed to RelocateSelf.

    clpacket repositionself renamed to relocateself
  • A new ShTrain class was added for modding.

    shtrain modding class
  • The targetVehicle parameter of SpawnBot() was removed in favor of SvMount() after spawn.

    spawnbot targetvehicle parameter removed
  • A major physics overhaul was made to the game.

    physics overhaul
  • These libraries were updated to their latest versions.

    litedb, voice, and steamworks library
  • Tow joint tweaks and improvements were made.

    tow joint
  • Fully serverside physics is supported on some entities.

    fully serverside physic
  • SvEntity.SvRepositionSelf() was changed to SvPhysical.SvRelocateSelf().

    svrepositionself renamed to svrelocateself
  • Util.Log() is now the recommended logging method.

    logging method
  • Some audio sources are now played with random pitch offsets.

    audio source random pitch
  • Torque is now a moddable property on all movable types.

    moddable torque property
  • Multiple ExitTransforms are supported on vehicles, with the one closest to the player selected.

    multiple vehicle exit transform
  • More accurate and better voice encoding is used.

    voice encoding

UI · 7

  • UI Elements modding received enhancements and fixes, including support for sliders, dropdowns, radio buttons, and toggles.

    ui elements modding enhancement
  • SvPlayer and ClManager.SetTextElementText(string element, string text) were added.

    settextelementtext method
  • New waypoint properties were added to World Builder.

    waypoint properties in world builder
  • New methods support Sliders, Dropdowns, Radio Buttons, Toggles, and more.

    ui elements modding api method
  • The tab menu now shows more ping and FPS info.

    tab menu ping and fps info
  • Equipment Menu layout was improved and fixed.

    equipment menu layout
  • The /ping command now also returns server FPS.

    /ping command output

Fix · 20

  • Restrained players are no longer embarked into the driver's seat.

    embarking restrained players into driver seat
  • Hit registration was rewritten and bugs were fixed.

    hit registration
  • A range bug in CanSeeEntity() was fixed.

    range bug in canseeentity
  • An issue where disabled or invisible elements blocked UI clicks was solved.

    disabled or invisible elements blocking ui click
  • A network correction feedback loop during desync was fixed.

    network correction feedback loop
  • Vehicles no longer instantly stop when entering the driver seat.

    vehicles stopping when entering driver seat
  • Input and UI coloring bugs on the Vote/Call Panel were fixed.

    vote/call panel input and coloring bug
  • TriggerSphere now has IsTrigger correctly set to true.

    triggersphere istrigger setting
  • Attack state handling for passengers was improved.

    passenger attack state handling
  • A cracking exploit was fixed.

    cracking exploit
  • A packet spam kick from SendFire() in some situations was fixed.

    sendfire packet spam kick
  • Bad spawns after disconnecting from an Interior Apartment were fixed.

    bad spawns after disconnecting from interior apartment
  • Restraint escape attempts are disallowed when being dragged or mounted.

    restraint escape attempts while dragged or mounted
  • The wrong packet sent by GetTextFieldText was fixed.

    gettextfieldtext wrong packet
  • Wheel rendering and physics for mods with scaling were fixed.

    wheel rendering and physics with scaling
  • InActionRange() now works correctly for animated entities.

    inactionrange for animated entity
  • ClManager.GetTextFieldText was sending the wrong packet and this was fixed.

    clmanager.gettextfieldtext wrong packet
  • A potential desync with relocating entities on clients was fixed.

    desync when relocating entity
  • Projectile collision handling was fixed.

    projectile collision handling
  • A clientside ammo desync in some situations was fixed.

    clientside ammo desync