- Onset 1.5.5 - 9 March 2022
Onset 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(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 New Ambient Night Lighting 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. Other notable changes WebUIs now follow the audio volume multiplayer from the main menu settings. Snow funct…
- Onset 1.5.4 - 5 February 2022
Onset 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 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. Server All servers can now make use of bbcodes and UTF8 icons in hostnames. https://dev.playon…
- Onset 1.5.3 Patch 1 - 7 January 2022
Update WebUI library. Update object images. Update copyright year.
- Winter Update 1.5.3 - 14 December 2021
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 == nil then print("Usage: x ") return true end local code = input:sub(string.len(args) + 4) print("Package…
- Update 1.5.2 - 19 November 2021
Onset 1.5.2 (Protocol Compatibility 5) Motorboat_02 Helicopter_06 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.
- Update 1.5.1 - 18 July 2021
Game Fix UCharacterMovementComponent not working with GetComponentsByClass Increase tow truck acceleration. Fix door model number 6 collision. Fix game freezes mostly happening in fullscreen mode. Fix ambient sound near the northern desert mountain. Fix tractor, van and news van body coloring. Server Fix some Lua natives that broke due to C#. Fix reported C# errors (Thanks to DaskDarki). Fix crash on multi-dimensional tables. Add function EnableObjectStreamEvents (bEnable) which enables OnObjectStreamIn/Out events. Add optional bSync parameter to SetObjectLocation/Rotation and SetVehicleLocation/Rotation. This parameter is true by default. Setting it to false updates the internal location/rotation of the entity but does not sync it to the clients. Useful for stuff like physics sync and attached vehicle sync for tow trucks.
- Onset 1.5.0 - 1 July 2021
Onset 1.5.0 (Protocol Compatibility 5) The game compatibility has changed in this release. Server owners must update their server via steamcmd in order to allow clients to connect. https://dev.playonset.com/wiki/DedicatedServer Experimental C# support (server side) Onset now features C# as a secondary scripting language. Why C#? Lua hits its limits when it comes to large projects. Becoming difficult to keep track of structure due to it's missing type safety and limited OOP. Onset is and was always about learning and having fun coding. C# is a popular and stable language loved by many. Will it split the scripting community? It might cause distraction to some extent but the C# implementation and Lua work very well together. You can mix both in a package and also communicate between the two languages. In the end we think the pros will surpass the cons. In this version only the server has C…
- Onset 1.4.3 - 11 February 2021
Onset 1.4.3 (Protocol Compatibility 4) Firetruck Keybindings for the ladder: E, Q - Extend ladder Numpad 4, 6 - Rotate ladder Numpad 2, 8 - Move ladder up and down The ladder and water mesh is a skeletal mesh with an attachment point named "water". You can use that to spawn and attach water particles through Lua. Lua function SetWebFocus for WebUIs This is a great addition to WebUIs. Until now you couldn't focus an input on purpose. For example for a custom chat system. function OnKeyPress(key) if key == "Space Bar" then if IsCtrlPressed() then AddPlayerChat("Focus mapeditor") SetWebFocus(EditorGui) ExecuteWebJS(EditorGui, "FocusInput();") end end AddEvent("OnKeyPress", OnKeyPress) After calling SetWebFocus you must also focus the HTML (input) element through Javascript. Other changes Add button to the main menu to open the server content cache folder. Add SetHeightFogDensity, GetHeight…
- Onset 1.4.2 - 22 January 2021
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 play…
- Onset 1.4.1 - 11 January 2021
Onset 1.4.1 (Protocol Compatibility 4) Package index.lua Each package can now register package files and scripts in a special Lua file. The index.lua is executed before the server loads the package.json file. In this Lua file you can register scripts and files to this package. The following functions are only available to the index.lua script. Besides that, only Lua library functions are exposed the index.lua but no other Onset server functions. AddServerScript AddClientScript AddSharedScript AddFile Example for an index.lua script: AddServerScript("server/*_s.lua") AddClientScript("client/*_c.lua") AddSharedScript("shared/*.lua") AddFile("audio/sound.mp3") AddFile("ui/*.html") For the package to work, there has to be either an index.lua or a package.json config file. Both at the same time are also supported. Package autostart folder To autostart packages place them into the folder "aut…
- Winter Update - 20 December 2020
Enable new winter functions: EnableSnowParticles(bEnable) Enable snow particles in player view. SetLandscapeSnowAlpha(Alpha) Changes how much snow is visible on the landscape. A value of 0 means no snow at all and a value of 1 means fully covered with snow. Both functions are client side. This update also includes a maintenance update for the WebUIs. Please report any problems with scripted WebUIs or the main menu of the game.
- Onset 1.4.0 - 15 December 2020
The game compatibility has changed in this release. Server owners must update their server via steamcmd in order to allow clients to connect. https://dev.playonset.com/wiki/DedicatedServer Gas Station Erwann reworked the gas station in the main city. It looks a lot more attractive now. A new sign on top the city hills fill some empty space. The restricted rooms in the townhall are now open for usage. Bikes Something that a lot have asked for. They are kind of experimental for now, so expect some bugs. The handling will also be further improved. Biker Suit /Game/CharacterModels/BikerSuit/Meshes/SK_BikerSuit New wheeled vehicles Apocalypse Sedan Tank Forklift You can lift up and down using the Q and E key. Shared Scripts Lua scripts can now be marked as "shared". These will run on both the server and client. New functions have been added to check if the current scripts runs on the server…
- Halloween Update 1.3.2 - 30 October 2020
Cemetery For the Halloween update Erwann designed a spooky cemetery near the race track and prison. Truck Other changes Support .m4a audio files. Increase SetSoundPitch limit to 10. Event OnPlayerCrouch can now be cancelled. Parameter "radius" in CreateSound3D is now optional. Pak files can now be placed in the %LocalAppData%\Onset\Saved\PakFiles directory, bypassing the 2GB download limit. Weapon equip should not be possible when playing certain animations. Add Set/GetPlayerJumpZVelocity. Adjust moon position so that it rises at ~21:00 and goes down at ~6:00, fixes dark lighting in early and late night. Prefer aiming over sprinting, sprinting will be stopped when a player wants to aim. Update Unreal Engine to 4.25.4 Function DrawTextureEx parameters now reflect the same parameters as described here: https://docs.unrealengine.com/en-US/...ure/index.html Add Cast function to cast between…
- Onset 1.3.1 - 19 October 2020
Apartment Prefab Erwann has been working on an apartment prefab that can be spawned anywhere on the map. Prefab 01a without furniture. /Game/Geometry/Prefabs/PF_Apartment_01a Prefab 01b with furniture as seen in the pictures. /Game/Geometry/Prefabs/PF_Apartment_01b Spawning the apartment interior from Lua. local BlueprintClass = "/Game/Geometry/Prefabs/PF_Apartment_01b" local Location = FVector(0.0, 0.0, 0.0) local Rotation = FRotator(0.0, 0.0, 0.0) GetWorld():SpawnActor(UClass.LoadFromAsset(BlueprintClass), Location, Rotation) New vehicles Hatchback Steampunk Buggy Buggy Hotrod Police Truck Fire Department Truck Firefighter /Game/CharacterModels/Firefighter/Meshes/SK_Firefighter Female model /Game/CharacterModels/Female/Meshes/SK_Firefighter Other changes - Add missing parameters to OnPlayerLeaveVehicle and make it work for streamed players as well. - ECC_GameTraceChannel3 now overlaps…
- Onset 1.3.0 - 8 October 2020
Client changes Custom maps The long awaited feature has finally arrived. You can now load maps/level from the Unreal Engine in Onset. See the Developer Wiki on how to get started with Custom Maps. https://dev.playonset.com/wiki/Custom_Maps First public playable custom maps: Office Factory Map Town Hall Elevator Lua package for the town hall elevator. https://github.com/BlueMountainsIO/OnsetLuaScripts/tree/master/elevator Pancake House Interior New City Skyscraper Rescue Helicopter Camper RV Hazard Suit /Game/CharacterModels/HazardSuit/Meshes/SK_HazardSuit Client Console For a more convenient development you can open the game console and add your own commands. OnConsoleInput o open the console press one of the default keys: ~, ß, ^ You can add console keys to this ini file: %LocalAppData%\Onset\Saved\Config\WindowsNoEditor\Input.ini ConsoleKeys=´ Note that developer mode (-dev) must be e…
- Onset 1.2.2 - 15 August 2020
Client changes Custom connect screen The client can now display a web UI while connecting and downloading files from a server. The page to show is hosted on the game server directly and can be configured in the server_config.json. This feature is optional. "connect_screen_url": "loadingscreen.html" Specifies the file/page to load in the web UI. Files are hosted in the public_html directory on your server. See WebUI load server content below to learn more about that. "connect_screen_show_cursor": true Setting to enable the cursor. This could be useful for interactive loading screens. Replace animation sequences You can replace default animations that are played by SetPlayerAnimation. ReplaceAnimationLibrarySequence With the new animation blueprint support you can also play custom animations directly in your animation blueprint. See the changes below for more information. Custom animation…
- Onset 1.2.1 - 30 June 2020
Due to the engine upgrade in this release, all modders and servers must update their .pak files. See below fore more information. As this release changes a lot of technical stuff you can switch back to v1.2.0 in the beta tab on Steam for testing purposes. (Onset -> Properties -> Betas -> v1.2.0) Client changes Unreal Engine upgrade to 4.25 Onset has been upgraded to use the latest Unreal Engine version 4.25. There are numerous improvements related to performance since 4.23. One requirement of this is that .pak files must be re-packaged with the new modding tool for 4.25. Otherwise the game crashes when loading a old pak file. Here's a guide for modders and server owners on how to update. If you need help with this please reach out to me. 1. Install Unreal Engine 4.25 from the Epic Games launcher. 2. Download and extract the new modding tool for 4.25 from here: https://dev.playonset.com/…
- Onset 1.2.0 - 23 May 2020
The game compatibility has changes in this release. Server owners must update their server via steamcmd in order to allow clients to connect. https://dev.playonset.com/wiki/DedicatedServer Client changes New vehicle handling The old handling has been completely replaced. Vehicles now feel much more refined and fun to drive. This consumed a large portion of the development time of this update. Progress has also been made towards vehicle modding which will follow in a future update. I also aim to expose the handling settings of each car then. Vehicles have a lot of settings and dependencies. I aim to make it as easy as possible so that still needs some time. Fix pushing of vehicles Players can no longer push/move vehicles by running against them in certain angles. This fix required a lot of research in the physics engine and therefore also took some time to implement. This means you can f…
- Onset 1.1.0 (Protocol Compatibility 2) - 8 March 2020
The game compatibility has changes in this release. Server owners must update their server via steamcmd in order to allow clients to connect. https://dev.playonset.com/wiki/DedicatedServer Client changes New Police Department Interior YuriCustoms (@SLB2k11) has been working on a new interior for the police department. New doors have been added to the WorldDoors.lua script in the default package. Female characters As requested by some users I've been working on introducing female characters to Onset. Thanks to @FlowPX3 for his initial research. Most clothing items from the male model have been adjusted to fit the female body. You can use the function SetPlayerVoiceTone(player, VoiceTone) to switch between male and female character sounds. Female body, hair and clothing items. /Game/CharacterModels/Female/Meshes/SK_Female01 /Game/CharacterModels/Female/Meshes/SK_Female02 /Game/CharacterMo…
- Onset 1.0.3 - 19 January 2020
Client changes Remote WebUI whitelist The whitelist for remote web UIs can now be configured in a config file. This is subject to further improvements. %AppData%/../Local/Onset/Saved/Config/remotewebui_whitelist.cfg Enabling WebUI logs WebUIs now log errors to the following file. This is helpful to debug JS errors. (Only works if started with the -dev flag) AppData%/../Local/Onset/Saved/Logs/cef3.log WebUI Remote Debugging (Dev Tools) Inspect your Onset UI in Google Chrome. Start Onset with the -dev flag and connect to localhost:9222 in Chrome. You can specify a different port to Onset like this: -cefdebug=1337 The image below shows the dev mode being used on the main menu. New street lamp objects New worker clothing asset /Game/CharacterModels/Clothing/Meshes/SK_Worker It's advised that you set a body mask to prevent mesh clipping. Moving lips while VoIP talking You have to add the pie…