Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified Game/Content/GameMode/BP_GDKGameState.uasset
Binary file not shown.
2 changes: 1 addition & 1 deletion LaunchServer.bat
Original file line number Diff line number Diff line change
@@ -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
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# SpatialOS Unreal GDK Example Project

<img src="https://user-images.githubusercontent.com/2433131/58086122-f28af200-7bb5-11e9-9b96-b13b747130d0.png" height="70%" width="70%">

- **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).
Expand Down Expand Up @@ -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.

&copy; 2019 Improbable
&copy; 2019 Improbable
60 changes: 31 additions & 29 deletions spatial/one_worker_test.json
Original file line number Diff line number Diff line change
@@ -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": {}
Expand All @@ -52,6 +53,7 @@
},
{
"worker_type": "UnrealClient",
"flags": [],
"permissions": [
{
"all": {}
Expand Down