diff --git a/Game/Content/GameMode/BP_GDKGameState.uasset b/Game/Content/GameMode/BP_GDKGameState.uasset index f7db39b6..a321b05b 100644 Binary files a/Game/Content/GameMode/BP_GDKGameState.uasset and b/Game/Content/GameMode/BP_GDKGameState.uasset differ diff --git a/LaunchServer.bat b/LaunchServer.bat index 222bdcc6..702cdb6c 100644 --- a/LaunchServer.bat +++ b/LaunchServer.bat @@ -1,3 +1,3 @@ @echo off call "%~dp0ProjectPaths.bat" -"%UNREAL_HOME%\Engine\Binaries\Win64\UE4Editor.exe" "%~dp0%PROJECT_PATH%\%GAME_NAME%.uproject" ThirdPersonExampleMap -server -log -workerType UnrealWorker -stdout -nowrite -unattended -nologtimes -nopause -noin -messaging -SaveToUserDir -NoVerifyGC -windowed -resX=400 -resY=300 +"%UNREAL_HOME%\Engine\Binaries\Win64\UE4Editor.exe" "%~dp0%PROJECT_PATH%\%GAME_NAME%.uproject" FPS-Start_Medium -server -log -workerType UnrealWorker -stdout -nowrite -unattended -nologtimes -nopause -noin -messaging -SaveToUserDir -NoVerifyGC -windowed -resX=400 -resY=300 diff --git a/README.md b/README.md index da28ce0e..f573b906 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # SpatialOS Unreal GDK Example Project + + - **LICENSE:** Use of the contents of this repository is subject to the [license](LICENSE.md) This project is an example shooter game which uses the [SpatialOS GDK for Unreal](https://github.com/spatialos/unrealGDK). @@ -51,4 +53,4 @@ The GDK and related projects are available on GitHub. We are not currently accepting public contributions. However, we are accepting [issues](https://github.com/spatialos/UnrealGDK/issues) and we do want your feedback. -© 2019 Improbable \ No newline at end of file +© 2019 Improbable diff --git a/spatial/one_worker_test.json b/spatial/one_worker_test.json index d80ebb09..f88c5036 100644 --- a/spatial/one_worker_test.json +++ b/spatial/one_worker_test.json @@ -1,49 +1,50 @@ { "template": "small", "world": { - "dimensions": { - "x_meters": 2000, - "z_meters": 2000 + "chunkEdgeLengthMeters": 50, + "snapshots": { + "snapshotWritePeriodSeconds": 0 }, - "chunk_edge_length_meters": 50, - "streaming_query_interval": 4, "legacy_flags": [ - { - "name": "streaming_query_diff", - "value": "true" - }, - { - "name": "bridge_qos_max_timeout", - "value": "0" - }, { "name": "bridge_soft_handover_enabled", "value": "false" }, { - "name": "worker_start_connection_timeout_ms", - "value": "60000" + "name": "enable_chunk_interest", + "value": "false" } ], - "snapshots": { - "snapshot_write_period_seconds": 0 + "dimensions": { + "xMeters": 2000, + "zMeters": 2000 } }, + "load_balancing": { + "layer_configurations": [ + { + "layer": "UnrealWorker", + "rectangle_grid": { + "cols": 1, + "rows": 1 + } + }, + { + "layer": "DeploymentManager", + "rectangle_grid": { + "cols": 1, + "rows": 1 + }, + "options": { + "manual_worker_connection_only": true + } + } + ] + }, "workers": [ { "worker_type": "UnrealWorker", - "flags" : [], - "load_balancing": { - "points_of_interest": { - "num_workers": 1, - "points" : [ - { - "x": 0, - "z": 0 - } - ] - } - }, + "flags": [], "permissions": [ { "all": {} @@ -52,6 +53,7 @@ }, { "worker_type": "UnrealClient", + "flags": [], "permissions": [ { "all": {}