Status
SteamPeaks
ChartsSalesUpcomingPatchesNewsCalculator
New on SteamEvery app, DLC and depot the minute Steam creates itAppsEvery app on Steam, newest change firstPackagesSubs and bundles, and what each containsDepotsDepots, manifests and install sizesTagsSteam's user tags and the games under themDevelopers & publishersCompanies and their cataloguesTechnologiesEngines, SDKs and anti-cheat found in the filesChange historyEvery PICS changelist as it lands
SignalsNineteen readings of the whole catalogueCompareAny games side by sideRecordsAll-time peaks and the days they were setReportsWeekly and monthly write-upsAlerts & newsroomWatch a game, get told when it movesSteam statusIs Steam up, right nowWeb API explorerTry the endpoints in the browser
NewsSteam's own announcements and the sales calendarCalculatorWhat a Steam account is worth, and its pile of shame
/
Sign in
/
SteamPeaks
The ultimate resource for Steam data.
ExploreChartsSalesSales and festsUpcomingPatchesNewsRecordsTrendingSignals
DatabaseAppsPackagesDepotsTagsDevelopersTechnologiesChange history
ToolsCalculatorCompareSearchAlertsSteam statusAPI
SiteMethodologyFAQDiscordSupportSign in via Steam
Not affiliated with Valve or Steam. Game names and artwork belong to their owners. All times UTC.
PrivacyCookiesFair useStatus
OnsetNewsOnset 1.4.2
In-game event

Onset 1.4.2

Onset · published 22 Jan 2021, 11:48 UTC

All newsPlayers around this dateRead on Steam

Onset 1.4.2 (Protocol Compatibility 4)

Remote WebUI whitelisting

Until now remote WebUIs could only display websites that have been whitelisted in the game config.

To give you more freedom, servers can now request the client to whitelist additional domains. Only domain names with a top level domain (TLD) can be whitelisted.

Use the new function AddWebUIWhitelist in your index.lua or any other package script. When a player connects they will be asked.

Example whitelisting from the above picture:

--index.lua
AddWebUIWhitelist("vimeo.com")
AddWebUIWhitelist("vimeocdn.com")
AddWebUIWhitelist("firebaseio.com")
AddWebUIWhitelist("sentry-cdn.com")
AddWebUIWhitelist("vimeo.magisto.com")
AddWebUIWhitelist("akamaized.net")

The following Lua event is called in your scripts once the player reacted to the request screen:


-- The 1st parameter "domains" is a table containing the domains which the player allowed on the whitelist.
AddEvent("OnWhitelistAccepted", function(domains)
print("OnWhitelistAccepted", #domains)
for k, v in pairs(domains) do
print(k, v)
end
end)

Loading screen download progress

The following Javascript functions are now called in your custom connect screen.

function OnDownloadComplete(file)
{
console.log("OnDownloadComplete " + file);
}// (string) msg: The message that is usually displayed to the player.
// (string) file: What file is currently being downloaded.
// (int) remaining_files: Number files still needed to download.
// (string) bytes_received: The number of bytes already received for the current file downloading as a string.
function OnDownloadProgress(msg, file, remaining_files, bytes_received)
{
console.log("OnDownloadProgress " + msg + " " + file + " " + parseInt(remaining_files) + " " + bytes_received)
}

Clientside variable storage

Saving data on the client can be useful for some client settings. For example the ordering of an inventory in your UI.

Saving variables:

SetStorageValue("var_str", "Some long string variable")
SetStorageValue("var_int", 1337)
SetStorageValue("var_float", 3.1415)
SetStorageValue("var_bool", true)

Reading variables:

print(GetStorageValue("var_str"))
print(GetStorageValue("var_int"))
print(GetStorageValue("var_float"))
print(GetStorageValue("var_bool"))

Apocalypse_02 battle car

Spawnable using the function CreateVehicle with vehicle model id 56.

Other changes and additions

  • Add Lua function IsInputKeyDown.
  • Add UnrealLua function USkeletalMeshComponent:SetAllBodiesBelowSimulatePh ysics(BoneName, bNewSimulate, bIncludeSelf)
  • Fix Set/GetPlayerPropertyValue for the local player.
  • Negative player identifiers passed to Set/GetPlayerPropertyValue will now be treated as local player.
  • Fix error logging in exported functions.
  • Allow the default Lua function "error" on the client.
  • WebUIs now check files if they have been modified before they are loaded.
  • Support .otf and .woff font files.
  • The Truck02 vehicle has completely new collisions.
  • Fix backfire not working since the last update.
  • Some weird proxy LOD meshes should be fixed now.
  • Custom maps using world composition and streaming levels had a bug where the streaming levels are not loaded after reconnecting to a server. This is now fixed.
  • The game files have been optimized and reduced by another 1GB.
  • The winter edition is now disabled.

Server

  • Fix crash in exported functions where returned tables contain functions.
More from Onset

Other announcements

All news
In-game event9 Mar 2022Onset 1.5.5Onset 1.5.5 (Protocol Compatibility 5) 3D sound for 3D Web UIs There is a new parameter for the function CreateWebUI3D and CreateRemoteWebUI3D to set the sound falloff distance. New Lua functions SetWebVolume(web, volume) SetWebPitch(web, pitch) New Lua events The following events allow you to block certain input when you return false . OnActionKey(EventType, ActionName, KeyName) OnAxisKey(Even…In-game event5 Feb 2022Onset 1.5.4Onset 1.5.4 (Protocol Compatibility 5) This update removes the old server query mechanism & master server system. It is being replaced with the solution that the Steamworks library offers. Server operators must update their servers to be shown in the game main menu. Game · You can view a list of servers (outside of Onset) in Steam. Go to View -> Servers -> Change Filter to Onset. · The main men…Game update7 Jan 2022Onset 1.5.3 Patch 1Update WebUI library. · Update object images. · Update copyright year.