Just Cause 2: Multiplayer Mod

Avalanche Studios · Action

Just Cause 2: Multiplayer Mod patch notes · Mar 12, 2014

Experiment

0.1.4 Update

What's new in 0.1.4 Update: 46 changes to Just Cause 2: Multiplayer Mod, released Mar 12, 2014.

Content · 4

  • Vehicles can now be made invulnerable.

    vehicle invulnerability
  • SAM sites no longer spawn in the game.

    sam sites spawning
  • Any effect or sound from the original game is now available, with sounds playing in 3D.

    effects and sounds access
  • Client-side static objects were added so hats and attachments to cars can now be created easily.

    client-side static object

Controls · 1

  • 'force_connect' was aliased to 'connect'.

    force_connect command alia

System · 16

  • Client-side ClientEffect and ClientSound were added.

    client effect and sound api
  • SteamId can now be passed in Events:Fire and Network:Send/Broadcast.

    steamid passing in events and network call
  • Game functions GetHeat, SetHeat, and ResetHeat were added.

    heat function
  • Player:GetBoneAngle was added.

    player bone angle api
  • Timer can now be passed in Events:Fire.

    timer passing in event
  • Client events EntitySpawn and EntityDespawn were added.

    client entity spawn/despawn event
  • Server functions GetLoadedModules and GetAvailableModules were added.

    server module query function
  • StaticObject was split into BaseStaticObject and StaticObject.

    staticobject class split
  • A global Lua include directory under lua/autorun/ was added for injecting code into other modules under IKnowWhatImDoing.

    global lua include directory
  • An optional second argument to 'class' lets a parent table be specified.

    class parent table argument
  • AssetLocation was moved to shared.

    assetlocation availability
  • An 'entity' field was added to Physics:Raycast.

    raycast entity field
  • Vehicle functions GetBoundingBox and GetCenterOfMass were added.

    vehicle bounding box and center of mass function
  • Custom values can be set on players and are synchronized across modules and optionally server/client.

    custom player value
  • Server events EntitySpawn, EntityDespawn, and EntityRemove were added.

    server entity event
  • Player:GetBones now returns a table of {position, angle} tables.

    player bones return format

UI · 11

  • Game:ShowPopup was added.

    popup display
  • Lua error messages were vastly improved and made more usable.

    lua error message
  • BaseWindow functions SetSizeAutoRel, SetWidthAutoRel, and SetHeightAutoRel were added so controls resize automatically based on their parent.

    auto-relative resizing of control
  • Button functions SetTextNormalColor, SetTextPressedColor, SetTextHoveredColor, and SetTextDisabledColor were added.

    button text color function
  • GroupBox:SetPadding no longer affects the title text.

    groupbox padding behaviour
  • TreeNode functions for getting and setting various text colors were added.

    tree node text color function
  • TextBox cursor behaviour was improved.

    textbox cursor behaviour
  • BaseWindow functions SetWidthRel, SetHeightRel, GetWidthRel, and GetHeightRel were added.

    relative width and height function
  • ListBox and SortedList are now affected by SetBackgroundVisible.

    listbox and sortedlist background visibility
  • The GWEN skin was edited to give Trees and PropertyTrees a dark theme.

    gwen skin dark theme
  • TreeNode:GetLabel was added.

    tree node label getter

Fix · 14

  • Mouse cursor not updating immediately after Mouse:SetVisible was fixed.

    mouse cursor update after setvisible
  • Vector3 compression was removed when using Network:Send due to severe precision loss.

    vector3 precision loss in network send
  • Crashes when removing a TabButton or its page were fixed, and pages no longer sometimes stay around.

    tabcontrol crashes and lingering page
  • The player color generation algorithm was improved; the saturation range is now between 0.5 and 0.75.

    player color generation
  • An occasional crash when removing GWEN controls, including a control and its parent at the same time, was fixed.

    crash when removing gwen control
  • The hard limit of 65536 entities was increased to about 4 billion.

    entity limit
  • A crash when a Lua event was broadcast during unloadall was fixed.

    crash when broadcasting lua event during unloadall
  • Some GWEN events that were not working were fixed.

    gwen events not working
  • A StaticObject crash when updating position of a non-existent model was fixed.

    staticobject crash on non-existent model position update
  • Vehicle:SetColors now updates the vehicle's colors immediately.

    vehicle color update delay
  • Client-side protection against the edge case of spawning invalid weapon models was added.

    invalid weapon model spawn crash
  • A SortedList:Sort crash with a bad column was fixed.

    sortedlist:sort crash with bad column
  • A crash when calling GetPosition/GetAngle on a partially-spawned StaticObject was fixed.

    crash on partially-spawned staticobject position query
  • 'reconnect' not working on a passworded server was fixed.

    reconnect on passworded server