No announcement yet.

Onset 1.5.0

  • Filter
  • Time
  • Show
Clear All
new posts

    Onset 1.5.0

    Click image for larger version  Name:	Header.PNG Views:	1 Size:	406.7 KB ID:	2704
    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)

    Click image for larger version  Name:	120px-C_Sharp_wordmark.svg.png Views:	0 Size:	5.8 KB ID:	2703

    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.

    Click image for larger version  Name:	HighresScreenshot00012.png Views:	1 Size:	850.3 KB ID:	2700

    Click image for larger version  Name:	HighresScreenshot00014.png Views:	1 Size:	852.0 KB ID:	2701

    Click image for larger version  Name:	HighresScreenshot00011.png Views:	1 Size:	845.3 KB ID:	2702


    Vehicle made by PolySquid studios. Id to spawn is 63.

    Click image for larger version  Name:	HighresScreenshot00010.png Views:	0 Size:	861.1 KB ID:	2698


    Vehicle made by PolySquid studios. Id to spawn is 61.

    Click image for larger version  Name:	HighresScreenshot00006.png Views:	0 Size:	824.9 KB ID:	2696

    News Van

    Vehicle made by PolySquid studios. Id to spawn is 62.

    Click image for larger version  Name:	HighresScreenshot00008.png Views:	0 Size:	857.6 KB ID:	2697

    Apocalypse Cars

    Vehicles added for apocalypse servers. Ids to spawn: 59 & 60.

    Click image for larger version  Name:	ApocalypseCars.jpg Views:	0 Size:	177.6 KB ID:	2699

    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.

    Other changes

    - 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
    - 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:
    New exposed UnrealLua functions:
    - Enums: EMovementMode, EEasingFunc
    - APawn::GetController
    - UKismetMathLibrary.RLerp, REase
    - UCharacterMovementComponent:SetMovementMode
    - UPrimitiveComponent:GetPhysicsLinearVelocity, GetPhysicsLinearVelocityAtPoint, GetPhysicsAngularVelocityInDegrees
    - AActor:GetVelocity
    - Add tools to object list:
    Click image for larger version  Name:	tools.png Views:	1 Size:	661.2 KB ID:	2705

    - 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.

    - 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.

    Great work on the update guys!


      Update 1.5.1

      - 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.

      - 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.