1. Onset
  2. News

Onset News

Onset 1.5.5

[h2]Onset 1.5.5 (Protocol Compatibility 5)[/h2]

[h3]3D sound for 3D Web UIs[/h3]

There is a new parameter for the function CreateWebUI3D and CreateRemoteWebUI3D to set the sound falloff distance.

[previewyoutube][/previewyoutube]

[h3]New Lua functions[/h3]
SetWebVolume(web, volume)

SetWebPitch(web, pitch)

[h3]New Lua events[/h3]
The following events allow you to block certain input when you return false.

OnActionKey(EventType, ActionName, KeyName)

OnAxisKey(EventType, AxisName, KeyName)

New constants (enum). Used for the new On*Key events.
    EInputEvent

IE_Pressed = 0
IE_Released = 1
IE_Repeat = 2
IE_DoubleClick = 3
IE_Axis = 4



[h3]New Ambient Night Lighting[/h3]

Lighting from street lamps and buildings in cities and towns have been improved to get a more accurate appearance from any distance on the map. This will further improve in the UE5.0 update later on.


[h3]Other notable changes[/h3]
  • WebUIs now follow the audio volume multiplayer from the main menu settings.
  • Snow functions have been removed.
  • Work has been done to decouple the map from the core game. This effort is being done to separate game assets from the core game in the future.

Onset 1.5.4

[h2]Onset 1.5.4 (Protocol Compatibility 5)[/h2]

[h3]This update removes the old server query mechanism & master server system. It is being replaced with the solution that the Steamworks library offers.[/h3]

[h3]Server operators must update their servers to be shown in the game main menu.[/h3]

[h3]Game[/h3]
  • You can view a list of servers (outside of Onset) in Steam. Go to View -> Servers -> Change Filter to Onset.
  • The main menu will now display the branch name and buildid if you're running on a beta branch.
  • Temporary fix: Setting audio master volume to 0 will no mute the audio completely to prevent the annoying stuttering.
  • Updated background image and adjusted colors.
  • Steam library has been updated.
  • Fix event OnSteamOverlayActivated.


New list of servers (outside of Onset). In Steam go to View -> Servers -> Change Filter to Onset.


[h3]Server[/h3]
  • All servers can now make use of bbcodes and UTF8 icons in hostnames. https://dev.playonset.com/wiki/DedicatedServer#Hostname_customization
  • server_config.json: Added "vac" setting. If enabled, VAC banned players won't be able to connect to your server. false by default.
  • Linux: steamclient.so should be loaded from "linux64" folder. Update will change the start_linux.sh to reflect this change.
  • Steam library has been updated. Linux console will no longer be spammed with Steam library messages when being loaded from the corrent folder.
  • Added a log message when a dev-mode enabled player is being kicked because he is not on the developer whitelist.
  • Printing a warn message when steam_appid.txt is not present at server startup.

Onset 1.5.3 Patch 1

  • Update WebUI library.
  • Update object images.
  • Update copyright year.

Winter Update 1.5.3

[h2]Onset 1.5.3 (Protocol Compatibility 5)[/h2]

[h3]Client update[/h3]

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 ")
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)

Update 1.5.2

[h2]Onset 1.5.2 (Protocol Compatibility 5)[/h2]

[h3]Motorboat_02[/h3]


[h3]Helicopter_06[/h3]


  • Fix roof collision of the marketplace building.
  • Fix scooter steer animation.
  • Update WebUI.


Add missing Lua functions to the client.
IsValidNPC(npcid)
IsValidDoor(doorid)
IsValidText3D(text3did)
GetText3DActor(text3did)
GetText3DText(text3did)


UnrealLua

AActor::GetActorTags()


Server
  • Add global event handler to C# "CallEventGlobally" (Thanks to DasDarki).
  • Fix C# context based registration process for commands.
  • Number of function fixes for C#.
  • Update DotNet runtime to 5.0.12.
  • Fix bullet sync where bullets are not spawned on each client.
  • Make CreateText3D rotation parameter optional.
  • Add OnServerLoaded event.