Content · 4
Vehicles can now be made invulnerable.
vehicle invulnerabilitySAM sites no longer spawn in the game.
sam sites spawningAny effect or sound from the original game is now available, with sounds playing in 3D.
effects and sounds accessClient-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 apiSteamId can now be passed in Events:Fire and Network:Send/Broadcast.
steamid passing in events and network callGame functions GetHeat, SetHeat, and ResetHeat were added.
heat functionPlayer:GetBoneAngle was added.
player bone angle apiTimer can now be passed in Events:Fire.
timer passing in eventClient events EntitySpawn and EntityDespawn were added.
client entity spawn/despawn eventServer functions GetLoadedModules and GetAvailableModules were added.
server module query functionStaticObject was split into BaseStaticObject and StaticObject.
staticobject class splitA global Lua include directory under lua/autorun/ was added for injecting code into other modules under IKnowWhatImDoing.
global lua include directoryAn optional second argument to 'class' lets a parent table be specified.
class parent table argumentAssetLocation was moved to shared.
assetlocation availabilityAn 'entity' field was added to Physics:Raycast.
raycast entity fieldVehicle functions GetBoundingBox and GetCenterOfMass were added.
vehicle bounding box and center of mass functionCustom values can be set on players and are synchronized across modules and optionally server/client.
custom player valueServer events EntitySpawn, EntityDespawn, and EntityRemove were added.
server entity eventPlayer:GetBones now returns a table of {position, angle} tables.
player bones return format
UI · 11
Game:ShowPopup was added.
popup displayLua error messages were vastly improved and made more usable.
lua error messageBaseWindow functions SetSizeAutoRel, SetWidthAutoRel, and SetHeightAutoRel were added so controls resize automatically based on their parent.
auto-relative resizing of controlButton functions SetTextNormalColor, SetTextPressedColor, SetTextHoveredColor, and SetTextDisabledColor were added.
button text color functionGroupBox:SetPadding no longer affects the title text.
groupbox padding behaviourTreeNode functions for getting and setting various text colors were added.
tree node text color functionTextBox cursor behaviour was improved.
textbox cursor behaviourBaseWindow functions SetWidthRel, SetHeightRel, GetWidthRel, and GetHeightRel were added.
relative width and height functionListBox and SortedList are now affected by SetBackgroundVisible.
listbox and sortedlist background visibilityThe GWEN skin was edited to give Trees and PropertyTrees a dark theme.
gwen skin dark themeTreeNode:GetLabel was added.
tree node label getter
Fix · 14
Mouse cursor not updating immediately after Mouse:SetVisible was fixed.
mouse cursor update after setvisibleVector3 compression was removed when using Network:Send due to severe precision loss.
vector3 precision loss in network sendCrashes when removing a TabButton or its page were fixed, and pages no longer sometimes stay around.
tabcontrol crashes and lingering pageThe player color generation algorithm was improved; the saturation range is now between 0.5 and 0.75.
player color generationAn occasional crash when removing GWEN controls, including a control and its parent at the same time, was fixed.
crash when removing gwen controlThe hard limit of 65536 entities was increased to about 4 billion.
entity limitA crash when a Lua event was broadcast during unloadall was fixed.
crash when broadcasting lua event during unloadallSome GWEN events that were not working were fixed.
gwen events not workingA StaticObject crash when updating position of a non-existent model was fixed.
staticobject crash on non-existent model position updateVehicle:SetColors now updates the vehicle's colors immediately.
vehicle color update delayClient-side protection against the edge case of spawning invalid weapon models was added.
invalid weapon model spawn crashA SortedList:Sort crash with a bad column was fixed.
sortedlist:sort crash with bad columnA 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


