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.
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# support. The client will follow in one of the next updates.
To get started take a look at the documentation. Remember it's still in experimental state. Things can change a bit until the stable release.
Getting started with C#
A big thank you to DasDarki for working with me on the implementation. For his efforts he received a special rank on our Discord server.
New landscape material
The landscape material has been replaced to offer better variation and tiling at large distances.
Tractor
Vehicle made by PolySquid studios. Id to spawn is 63.
https://www.artstation.com/artwork/680yA6
Van
Vehicle made by PolySquid studios. Id to spawn is 61.
News Van
Vehicle made by PolySquid studios. Id to spawn is 62.
https://www.artstation.com/artwork/kDd3Xd
Apocalypse Cars
Vehicles added for apocalypse servers. Ids to spawn: 59 & 60.
Improved vehicle handling
Several improvements have been made to the vehicle handling.
Vehicles no longer get unstable at high speeds. Steering is more attached to the road. Generally the vehicles feel much heavier now. Acceleration has been adjusted accordingly.
Breakable vegetation
Many bushes and smaller trees can now be run over by cars. This feature can also be added to vegetation on custom maps selectively.
Dynamic vehicle camera
The vehicles camera now follows the car while driving. You can still move the camera freely with your mouse. The camera will reset behind the vehicle after a few seconds if there is no mouse input and while not standing still.
Improved UnrealLua Wiki
The wiki now finally has been updated to reflect all of the games Unreal functions showing their proper signature. There will be more usage examples too.
https://dev.playonset.com/wiki/UnrealLua
Other changes
New
- Add function FlashInTaskbar()
- Add function IsGameWindowFocused()
- Add function IsDoorInteractable(door)
- Add function GetGameLanguage()
- Add event OnGameLanguageChange()
- Add function GetServerPath()
- Add function GetFilesInDirectory()
- Add function GetDirectoriesInDirectory()
- Add function SteamId3ToSteamId64()
- Add function SteamId64ToSteamId3()
- Add possibility to disable collision with vehicle tires if hit actor has DisableVehicleCollision tag. This is useful when moving roadblocks to avoid collision with vehicles.
- Add developer mode whitelist server side setting to server config. "dev_whitelist" and "dev_whitelist_steamid". See https://dev.playonset.com/wiki/server_config
- The address in the direct connect window is now saved on game restarts.
- Add loading screen (with progress) on game startup to prevent lags in the main menu.
- Add hostage animations to animation list:
Code:
Hostage_HandsCuffed_LayOnFloor_Start Hostage_HandsCuffed_ReleasedGetUp Hostage_HandsCuffed_LayOnFloor_Loop Hostage_HandsCuffed_ReleasingTheVictim Idle_HandCuffed_Sit_Loop Idle_HandcuffHostage_Kneel_End Idle_HandcuffHostage_Kneel_Loop Idle_HandcuffHostage_Kneel_Start Idle_HandsUpHostage_Kneel_Start Idle_HandsUpHostage_Kneel_End Idle_HandsUpHostage_Kneel_Loop Paired_HandcuffHostage_Start_Att Paired_HandcuffHostage_Start_Vic
Code:
- Enums: EMovementMode, EEasingFunc - APawn::GetController - UKismetMathLibrary.RLerp, REase - UCharacterMovementComponent:SetMovementMode - UPrimitiveComponent:GetPhysicsLinearVelocity, GetPhysicsLinearVelocityAtPoint, GetPhysicsAngularVelocityInDegrees - AActor:GetVelocity
Fixes
- Fix vehicle steering on level streaming load hitches.
- Fix firetruck front license plate position.
- Fix firetruck wheel collision.
- Fix firetruck ladder becoming invisible at certain angles.
- Fix vehicles behaving very unstable at high speeds.
- Fix vehicle 24 front suspension height.
- Fix jumping on vehicles sometimes causes weird collision responses.
- Fix police sedan bullbar collision.
- Fix vehicle gear sync.
- Fix height fog not being reset on level reset.
- Some minor map fixes. Thanks to everyone reporting them.
Improvements
- New grass bush has been added to the desert part of the landscape.
- Improve bike handling a little bit.
- Increase ground friction for vehicles.
- Improve fence meshes collision to prevent players glitching through them.
- Set default license plate text to "0123456789" on the server.
- Print "[autostart]" next to the package name if this specific package was started from the autostart folder.
Comment