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
OnsetNewsWinter Update 1.5.3
In-game event

Winter Update 1.5.3

Onset · published 14 Dec 2021, 18:25 UTC

All newsPlayers around this dateRead on Steam

Onset 1.5.3 (Protocol Compatibility 5)

Client update

Add function EnableSnowParticles(bEnable)

Add function SetLandscapeSnowAlpha(Val)

Example usage:


AddEvent("OnPackageStart", function()
EnableSnowParticles(true)
SetLandscapeSnowAlpha(1.0)
end)

The loadstring function now has a 2nd optional parameter for the package name. You can specify a different package where the code will be executed in.

For example you could create a console function that executes code in a specific package. In the above picture you can see the new snow function being executed in the package 'default'.

Code used:

AddEvent("OnConsoleInput", function(input)	local cmd
local args = {}
for word in input:gmatch("%w+") do
if cmd == nil then
cmd = word
else
table.insert(args, word)
end
end

if cmd == "x" then

if args[1] == nil then
print("Usage: x <package_name> <code>")
return true
end

local code = input:sub(string.len(args[1]) + 4)

print("Package Name:", args[1])
print("Code to be executed in package:", code)

loadstring(code, args[1])

return true

end

end)

Add two new constants to Lua.

_PACKAGENAME
Holds the name of the current package.

_ONSETVERSION
Contains the current Onset version as a string.

Example usage:

print("This message comes from", _PACKAGENAME)

Add the following missing members of the Lua math table.

pi
huge
mininteger
maxinteger

Example usage:

print(math.pi)
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.