Announcement

Collapse
No announcement yet.

Onset 1.0.3

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Onset 1.0.3

    Onset 1.0.3 (Protocol Compatibility 1)

    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.

    Click image for larger version

Name:	DevTools.png
Views:	939
Size:	907.5 KB
ID:	1936

    New street lamp objects

    Click image for larger version

Name:	lamps.png
Views:	825
Size:	299.7 KB
ID:	1937

    New worker clothing asset

    Code:
    /Game/CharacterModels/Clothing/Meshes/SK_Worker
    Click image for larger version

Name:	workeroutfit.PNG
Views:	811
Size:	545.7 KB
ID:	1938

    It's advised that you set a body mask to prevent mesh clipping.


    Moving lips while VoIP talking
    You have to add the piece of code below to your client script.


    Code:
    AddEvent("OnPlayerTalking", function(player)
        SetPlayerLipMovement(player)
    end)
    Each player model now has 3 morph targets: "A", "E" and "O". You can change them individually using the new UnrealLua functions (see SetMorphTarget below).
    If you have a custom player model modded, then you will have to add these morph targets to the mesh in order to make the SetPlayerLipMovement work.


    Other changes
    • Increase pak mount limit to 32.
    • Fix rare VoIP crash when a player streams out.
    • Fix helicopter crash sound being not 3D.
    • Add missing gamepad controls for helicopters.
    • Fix helicopter spinning sideways when being the only passenger without a pilot.
    • Fix falling through map when jumping in ragdoll
    • Cancel aim when going into ragdoll.
    • Fix main menu bug with languages not able to select different languages.
    • Fix clipping on the cargo pants.
    • Enable Async loading thread which shouild improve loading times on some systems.
    • Fix SetWebLocation for 3D WebUIs
    • Fix SetSound3DLocation
    • Fix OnSoundFinished
    • Add GetNPCBoneNames, GetNPCBoneLocation
    • Add SetPlayerLipMovement
    • Add OnPlayerTalking
    • Add IsPlayerPlayingAnimation
    • Add UpdateStreamingLevels
    • Add Lerp, LerpVector
    • Fix Lua instruction limit bug.
    • SetIgnoreMoveInput(true) now also disables player jumping as this was requested by a lot of users.


    New UnrealLua API functions.
    Light functions are now exposed. I know there isn't any good documentation for the UnrealLua API functions yet. If you need help with them please tag me in #scripting.
    I also will create some example package for the UnrealLua API soon.
    Code:
    - Add UObject::IsA
    - Add AActor::GetComponents()
          AActor::GetComponentsByClass()
    - Add USkeletalMeshComponent::SetMorphTarget
          USkeletalMeshComponent::GetMorphTarget
    - Add UStaticMeshComponent::GetStaticMesh
    - Add UPrimitiveComponent::SetSimulatePhysics
          UPrimitiveComponent::SetAngularDamping
          UPrimitiveComponent::SetLinearDamping
    - Add USceneComponent::GetMobility
    - Add UParticleSystemComponent::SetTemplate
          UParticleSystemComponent::SetFloatParameter
          UParticleSystemComponent::SetColorParameter
          UParticleSystemComponent::SetEmitterEnable
          UParticleSystemComponent::HasCompleted
    - Add ULightComponentBase::SetCastShadows
        - ULightComponent::SetIntensity
        - ULightComponent::SetLightColor
            - ULocalLightComponent::SetAttenuationRadius
            - ULocalLightComponent::SetIntensityUnits
                - UPointLightComponent::SetLightFalloffExponent
                - UPointLightComponent::SetSoftSourceRadius
                - UPointLightComponent::SetSourceLength
                - UPointLightComponent::SetSourceRadius
                    - USpotLightComponent::SetOuterConeAngle
                - URectLightComponent::SetBarnDoorAngle
                - URectLightComponent::SetBarnDoorLength
                - URectLightComponent::SetSourceHeight
                - URectLightComponent::SetSourceTexture
                - URectLightComponent::SetSourceWidth

    Server changes
    • Fix SetPlayerName not correctly overriding Steam name.
    • Fix crash "remote_endpoint: Transport endpoint is not connected".
    • Fix Start/StopPackage not sending package commands to all clients.
    • Fix crash in print log function.
    • Add GetAllObjects()
    • Add OnScriptError(error_msg)
    • Add GetPlayerBySteamId(steamid)
    • Add Lerp(t, a, b), LerpVector(t, x1, y1, z1, x2, y2, z2)
    • Add http client (working on documentation) Example: https://gist.github.com/BlueMountain...46f465148ec5cf
    Code:
    url_encode(str)
    http_count()
    http_get_all()
    http_is_valid(http)
    http_create()
    http_destroy(http)
    http_is_error(http)
    http_result_error(http)
    http_result_body(http)
    http_result_header(http)
    http_result_status(http)
    http_set_protocol(http, protocol)
    http_set_resolver_protocol(http, resolver_protocol)
    http_set_host(http, host)
    http_set_port(http, port)
    http_set_target(http, target)
    http_set_verb(http, verb)
    http_set_timeout(http, timeout)
    http_set_verifymode(http, verifymode)
    http_set_version(http, httpversion)
    http_set_keepalive(http, keepalive)
    http_set_field(http, field, value)
    http_set_body(http, body)
    http_send(http)
    Zeus Admin package now ships with the server by default. (Source https://github.com/DasDarki/onset-zeus)
    Thank you to DasDarki

    Zeus is an Administration Tool for Onset created for all Players free to use. Zeus is module-based, which means that it can be expanded easily and without much effort. All you have to do is write modules for Zeus in LUA and enter them into the system. See below under "Module API". Zeus also provides a complete ban and permission system, which even has a simple command interface for commands with permissions.

    Admin Menu (/zeus)

    Click image for larger version

Name:	ZeusAdmin.PNG
Views:	818
Size:	44.7 KB
ID:	1939

    #2
    Great! but your first three images are broken on your post

    Comment


      #3
      I didn't expected that much new features for 1.0.3. Congratulations and thanks for listening to the community!

      Comment


        #4
        Damn great work!

        Comment


          #5
          Thank you for the update! I think it will be better if you add the link to new version of server (I mean add the instruction how to update) in the post.
          Last edited by LocCodE; 01-20-2020, 03:49 PM.

          Comment


            #6
            LocCodE

            Make a backup of your server_config.json

            you need to open steamcmd

            do
            login anonymous

            do force_install_dir <onsetserverdir>

            do app_update 1204170 validate

            and (when it's done ) quit

            replace the new server_config.json with your backup

            Comment


              #7
              Thanks Talos, changes are looking awesome. <3

              Comment

              Working...
              X