Content · 10
Scripters can now create their own client-side NPCs via the new ClientActor class.
scriptable client actorAdded support for streaming image resources with AssetLocation.Resource.
streamed image resourceAdded functions to set a vehicle's stream position and stream angle.
vehicle stream position and angleAdded getters and setters for vehicle spawn position and spawn angle.
vehicle spawn position and angleAdded FontAwesome and League Gothic fonts to resources.
fontSteam achievements were added, unlocked by completing tasks with players.
steam achievementAdded GameRender event allowing rendering inside the game world with depth testing.
depth-tested renderingAll civilian models are now available to use, including those previously unsupported.
civilian model supportAdded ClientActor class providing a basic client-side NPC interface.
clientactor interfaceAdded Player:GetAvatar and AvatarSize enum.
player avatar
Controls · 4
Added a setting to toggle the vehicle stunt camera.
vehicle stunt camera settingRemoved the apostrophe keybind opening the console and added a setting to configure the console keybind.
console keybindAdded chat key and chat toggle key settings.
chat key settingAdded a setting to toggle vehicle camera snap and adjust its timeout.
vehicle camera snap setting
System · 43
LocalPlayerBulletHit event now includes a bone argument.
bullet hit bone argumentAdded VehicleTransmission with gear and clutch delay methods.
vehicle transmission apiImproved Lua errors with event argument printout.
lua error messageImproved Timer precision.
timer precisionScripts are now loaded in alphabetical order on all platforms.
script loading orderAdded LocalPlayer:IsFriend accepting steamid or player.
local player friend checkAdded entity and impulse arguments to the VehicleCollide event.
vehicle collide event argumentAdded config variable SendAutorunWhenEmpty, default false, controlling whether autorun scripts are sent for empty modules.
autorun script sending for empty moduleAdded ShapeTrigger with enter and exit events plus TriggerType and VehicleTriggerType enums.
shape triggerAdded accessors for vehicle transmission, suspension and aerodynamics.
vehicle subsystem accessorStorage of values extended from player-only to all entities.
entity value storageAdded Vehicle.GetClassByModelId, Vehicle:GetClass and the VehicleClass enum.
civilian vehicle class apiThe marshaller now accepts table keys of any type.
marshaller table key typeAdded a suppressible PlayerAchievementUnlock event.
achievement unlock eventAdded VehicleSuspension with chassis direction and strength methods.
vehicle suspension apiAdded Render:GetDepthEnabled.
render depth state queryAdded StreamableObject:GetStreamedPlayers.
streamableobject streamed players queryAdded vehicle linear and angular velocity setters.
vehicle velocity setterAdded CursorType enum and Mouse:SetCursor function.
mouse cursor typeAdded ClientModulesLoad event.
client modules load eventAdded queries for vehicle torque, wheel count, RPM, max RPM and top speed.
vehicle performance queryAdded Server:GetFrameTime.
server frame time queryAdded Character:GetSeat.
character seat queryAdded SLED debugger support.
debugger supportAdded SharedObject, NetworkObject and WorldNetworkObject classes greatly improving client/server communication.
client/server communication classLuabind now checks parent classes when looking up class members.
luabind parent class member lookupAdded LocalPlayerEjectVehicle event.
local player eject vehicle eventAdded getter and setter for character left arm state.
character left arm stateAdded VehicleAerodynamics for land vehicles with air density and drag methods.
vehicle aerodynamics apiAdded ClientStreamableObject as a base class to Vehicle and Player.
streamable client base classCollisions between two different types can now be disabled and re-enabled.
collision toggling between typeAdded Player:Damage.
player damage functionAdded Client:GetFrameTime.
client frame time queryAdded basic UTF-8 support to Lua strings and a SetUnicode(boolean) global function, allowing more languages.
basic unicode supportAdded Character class common to Player and ClientActor.
character base classAdded GetClimateZone method to streamed and client entities along with the ClimateZone enum.
climate zone queryAdded SetOxygen and GetOxygen functions to LocalPlayer.
local player oxygenAdded optional boolean parameter to Physics:Raycast to disable the raycast filter.
raycast filter optionAdded Game:GetWeatherSeverity.
weather severity queryAdded netstat command and gui_show_netstat console command.
netstat diagnosticAdded Player:RequestGroupMembership with a callback.
player:requestgroupmembershipAdded LocalPlayer:SetLinearVelocity.
local player linear velocity setterAdded module metadata support on the server.
module metadata
UI · 14
Vastly improved the chat window with word wrap and chat history.
chat windowAdded window position and size launch parameters.
launch window parameterAdded Ctrl-Left and Ctrl-Right hotkeys to move the TextBox cursor word by word.
textbox word-by-word cursor movementAdded Camera functions SetFOV and GetFOV.
camera field of viewAdded support for correctly rendering the tab character in text.
tab character renderingServer browser filters are now consistent between restarts.
server browser filter persistenceAdded ability to navigate TextBox history using Up and Down arrow keys.
textbox history navigationAdded description field to the server browser.
server browser descriptionAdded a Featured tab to the server browser.
featured server browser tabMain menu was overhauled to provide convenient access to favourite servers.
main menu overhaulAdded TextBoxNumeric Get and SetNegativeAllowed.
textbox numeric negative value settingAdded Label:SetLineSpacing.
label line spacingAdded support for Unicode characters in CharPress.
unicode charpress supportAdded a Featured tab and a description field to the server browser.
server browser featured tab and description field
Fix · 13
Cleaned up streamer code, hopefully reducing server crashes.
server crashes from streamerFixed script profiler not counting network events.
network event profilingFixed the random number generator not being seeded at startup.
random number generator seedingFixed SteamId outputting the community id when printed on Windows.
steamid community id output on windowFixed a major bug causing random models and effects to become invisible.
random models/effects invisible bugFixed server memory not being freed on entity removal.
server memory leak on entity removalFixed a bug where scripts still ran even if the server failed to start.
server scripts running after failed startVector2, Vector3 and Color statics can no longer be edited.
vector and color static editingFixed script profiler not counting network events.
network events in script profilerAngles sent over the network no longer lose precision from compression.
angle network precisionFixed IsValid raising an exception for non-table/userdata types.
isvalid exception on non-table typeMajor sync improvement to vehicles and on-foot weapons.
vehicle and on-foot weapon syncComparing any API class with '==' should now work.
api class equality comparison
General · 1
General sync improvement.
general
Before the patch · 1


