BROKE PROTOCOL

Cylinder Studios · Simulation

BROKE PROTOCOL patch notes · Oct 13, 2022

Experiment

The WAR Update

What's new in The WAR Update: 93 changes to BROKE PROTOCOL, released Oct 13, 2022.

Balance · 5

  • AI will block and zoom with weapons again.

    ai blocking and zooming
  • Player physics were adjusted for improved mantling.

    player mantling physic
  • All audio levels were rebalanced.

    audio level
  • AI selects the best Attachments in SetBestWeapon/Equipable.

    ai weapon attachment selection
  • AI gang war behavior was made more aggressive.

    ai gang war behavior

Content · 11

  • Traffic Lights are fully moddable with a new Class Script.

    traffic lights moddability
  • Players can play alongside a hundred advanced bots in Offline mode.

    offline bot match
  • Human and Mob meshes were updated for better Blender compatibility.

    human/mob mesh
  • A Plugin manager was added to Offline Mode.

    plugin manager in offline mode
  • A new Territory Prefab with text support was added; old maps should be updated.

    territory prefab
  • An example PVP plugin with custom skins, loadouts, and login flow was added.

    warsource example plugin
  • A team-based Territory Control mode was added for battling over the city of Eden with all weapons, vehicles, and armor.

    war game mode
  • AI can now navigate through doors.

    ai door navigation
  • A tracer audio effect was added and sprite rendering delayed.

    tracer effect
  • Garage doors can now be used outside Private Apartments, such as in Parking Garages.

    garage door usage
  • A new Billboard/Text class and objects support runtime text editing.

    billboard/text class

Controls · 5

  • Environment color commands accept byte values or hex color codes.

    environment color command
  • Default groups.json gives Offline players (Host) all commands.

    default groups permission
  • Microphone input selection and a Test button were added to Settings.

    microphone input selection
  • A Toggle Cursor keybinding was added in Controls, needed only for Text Panels.

    toggle cursor binding
  • Players can order AI around with pointing and alert commands and the Follow command.

    ai squad command

System · 33

  • A customData field was added to ConnectionData for pre-join modding.

    connectiondata customdata field
  • Connection data like deviceID and passwordHash moved to svPlayer.connectData.

    connection data location
  • The login and register flow was moved entirely to GameSource for modding.

    login/register flow
  • Events can return a boolean to stop further execution on that event chain.

    event boolean return
  • Jail, RestrictedArea, ThrowableTarget, Repair, and Rearm prefabs now use normal Triggers.

    prefab trigger type
  • All Managers and World classes are now Singletons with Instance accessors.

    manager singleton
  • New AI behaviors, improvements, and fixes were added.

    ai behavior
  • GroupManager was renamed to GroupHandler for consistency.

    groupmanager renaming
  • AI combat behavior was overhauled to use tactical movement, form squads, and use vehicles and mounted guns.

    ai combat behavior
  • All apartments are now loaded and precached for AI navigation and performance.

    apartment preloading
  • The BrokeProtocol.API.Types namespace was removed.

    api types namespace
  • Player and entity spawning initialization was cleaned up.

    player/entity spawning initialization
  • The Player Maintenance loop was moved to LifeSource.

    player maintenance loop
  • Networking and memory optimizations were made.

    networking and memory performance
  • A new CustomPacket event was added for pre-login UI handling.

    pre-login ui handling event
  • Manager references are no longer passed to Manager events.

    manager event parameter
  • The attribute was deprecated; override new Events classes for custom handling.

    attribute deprecation
  • AI navigation was improved with new pathfinding API methods.

    ai pathfinding
  • The ShScalable class was removed so every object can be scaled in World Builder and API.

    shscalable class removal
  • ExecutionMode.Additive was added, similar to Override but overridden events still execute.

    executionmode.additive
  • SetMaxSpeed() was added to the ShMovable class.

    shmovable max speed
  • Entity initialization was made more robust for modability.

    entity initialization
  • Null strings are handled by the network serializer as empty strings.

    null string serialization
  • All Crime related data, handling, and logic were moved to LifeSource.

    crime handling
  • DB, Networking, and Steamworks libraries were updated.

    db, networking, and steamworks library
  • ChatHandler was renamed to InterfaceHandler.

    chathandler renaming
  • Territory capturing and logic were moved to GameSource.

    territory capture logic
  • AI States were moved to GameSource for full modding support.

    ai state
  • Random spawning logic was moved to GameSource.

    random spawning logic
  • Menus must be manually destroyed with SvDestroyMenu(id) except when showing a new menu with the same ID.

    svdestroymenu requirement
  • BPAPI was changed to a static class.

    bpapi class type
  • The game was split into three parts: GameSource for core functionality, LifeSource for RP systems like Crimes and Jobs, and WarSource for PVP combat.

    modding framework
  • Dropping items sets the spawner field on entities.

    dropped item spawner field

UI · 17

  • World and map markers only mark overworld locations.

    map marker
  • A gizmo icon was added so Triggers stay visible even with clear alpha.

    trigger visibility
  • Territories can be named on the map.

    territory naming on map
  • Multiple progress bars can be used simultaneously using IDs.

    progress bar
  • Text on Billboards can now be altered.

    billboard text
  • Focusing an object updates the interior to match.

    world builder focusing
  • The Language setting moved to the Main Menu, with flags replacing text.

    language setting placement
  • Multiple TextPanels can stack with IDs, with better cursor support and color parsing.

    textpanel stacking
  • Color space, lighting, and shaders were adjusted.

    color space, lighting, and shader
  • Offline mode gained a Plugin Manager listing installed plugins and Steam Workshop subscriptions, allowing each to be enabled or disabled.

    plugin manager
  • Multiple menus can stack using IDs.

    menu stacking
  • World Builder now shows a warning when another door reference is set incorrectly.

    door reference warning
  • The Save/Load button appearance changes based on file path.

    file dialog save/load button
  • Unity UI Toolkit support was added for UI/HUD rendering and input handling.

    ui rendering
  • Other users' language settings are shown on the playerlist.

    language display
  • The language setting is shared on the playerlist to aid communication and RP.

    language sharing
  • Microphone input can be selected and tested in Settings.

    microphone setting

Fix · 19

  • The targeting reticle is no longer drawn in the opposite direction.

    targeting reticle direction
  • Color initialization for TriggerBox and Sphere was fixed.

    triggerbox/sphere color initialization
  • The data string field is restored after entity respawns.

    data string after respawn
  • The NavMesh volume check now includes all interiors.

    navmesh volume check
  • The MilkCarton and Bloodbag textures were fixed.

    milkcarton and bloodbag texture
  • Entity coroutines are stopped immediately on destruction to prevent race conditions.

    entity coroutine race condition
  • Some cleanup leaks on exit from World Builder were fixed.

    world builder cleanup leak
  • All object types have a Data field usable in World Builder and the API.

    world builder object data restoration
  • Translucent materials now render even on mobile shaders.

    translucent material rendering on mobile
  • Garage doors now check for a key in inventory when parking, like normal doors.

    garage door key check
  • The MSVC Runtime is included with the game to fix voice chat issues.

    voice chat issue
  • Damage inflicted at a hostage when firing at a mounted player was fixed.

    hostage damage when firing at mounted player
  • Some trigger and collider manipulation exploits and bugs were fixed.

    trigger/collider exploit
  • Lights and collider on the APC were fixed.

    apc lights and collider
  • A potential reload clip count error was fixed.

    reload clip count error
  • Many modded custom-scaled vehicles can now park in garages.

    modded vehicle garage parking
  • Mesh errors on SmashedCar were fixed.

    smashedcar mesh error
  • Voice volume is now applied correctly.

    voice volume
  • A potential inventory desync was fixed.

    inventory desync

Also in this patch3

  • Missions were removed for now.

    mission
  • GroupIndex.Gangster was removed; use Criminal instead.

    groupindex.gangster removal
  • ExecutionMode.Final was removed because it was easy to abuse.

    executionmode.final removal