diff --git a/Game/Config/DefaultSpatialGDKSettings.ini b/Game/Config/DefaultSpatialGDKSettings.ini index 556ee16d..19490179 100644 --- a/Game/Config/DefaultSpatialGDKSettings.ini +++ b/Game/Config/DefaultSpatialGDKSettings.ini @@ -23,7 +23,7 @@ bUseDevelopmentAuthenticationFlow=False DevelopmentAuthenticationToken= DevelopmentDeploymentToConnect= DefaultWorkerType=(WorkerTypeName="UnrealWorker") -bEnableOffloading=True +bEnableOffloading=False ActorGroups=(("AI", (OwningWorkerType=(WorkerTypeName="AIWorker"),ActorClasses=(/Game/Characters/Turret/BP_Turret_Base.BP_Turret_Base_C,/Game/Controllers/BP_TurretController.BP_TurretController_C,/Game/Characters/Turret/BP_TurretShield.BP_TurretShield_C,/Game/Blueprints/Weapons/BP_HeavyMachineGun_ForTurret.BP_HeavyMachineGun_ForTurret_C,/Game/Blueprints/Weapons/Grenades/Turret_Rocket_Propelled.Turret_Rocket_Propelled_C,/Game/Blueprints/Weapons/BP_RocketLauncher_Continuous.BP_RocketLauncher_Continuous_C))),("CrashBot", (OwningWorkerType=(WorkerTypeName="CrashBotWorker"),ActorClasses=(/Game/Characters/BP_CrashBot.BP_CrashBot_C,/Game/Controllers/BP_CrashBotController.BP_CrashBotController_C)))) ServerWorkerTypes=("UnrealWorker","AIWorker","CrashBotWorker") MaxDynamicallyAttachedSubobjectsPerClass=3 diff --git a/Game/Content/Characters/BP_Base_Character.uasset b/Game/Content/Characters/BP_Base_Character.uasset index 2635b036..906734a2 100644 Binary files a/Game/Content/Characters/BP_Base_Character.uasset and b/Game/Content/Characters/BP_Base_Character.uasset differ diff --git a/Game/Content/Characters/BP_FPS_Character.uasset b/Game/Content/Characters/BP_FPS_Character.uasset index 96e952c1..af2d1787 100644 Binary files a/Game/Content/Characters/BP_FPS_Character.uasset and b/Game/Content/Characters/BP_FPS_Character.uasset differ diff --git a/README.md b/README.md index f573b906..ace8a4ca 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,24 @@ -# SpatialOS Unreal GDK Example Project +# SpatialOS GDK for Unreal 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). +The SpatialOS Game Development Kit (GDK) for Unreal is an Unreal Engine fork and plugin with associated projects. It gives you the features of [SpatialOS](https://spatialos.improbable.io/docs/reference/latest), within the familiar workflows and APIs of Unreal Engine. For more information, please see the GDK's [documentation website](https://docs.improbable.io/unreal/latest). -The project contains gameplay and assets that are representative of a basic first-person shooter running on SpatialOS. If you want to make your own project from scratch, use the [Starter Template](https://docs.improbable.io/unreal/alpha/content/get-started/gdk-template). +> The SpatialOS GDK for Unreal is in alpha. It is ready to use for development of single-server games, but not recommended for public releases. We are committed to rapid development of the GDK to provide a performant release - for information on this, see our [development roadmap](https://github.com/spatialos/UnrealGDK/projects/1) and [Unreal features support](https://docs.improbable.io/unreal/latest/unreal-features-support) pages, and contact us via our forums, or on Discord. + +This is the repository for the Example Project, an example shooter game that uses the GDK. + +In addition to the Example Project, the GDK also contains: + +* [The SpatialOS Unreal Engine fork](https://github.com/improbableio/UnrealEngine) + + You must be a member of the [Epic Games organization](https://github.com/EpicGames) on GitHub to access this. If you aren't, the link returns a 404 error. +* [The GDK plugin](https://github.com/spatialos/UnrealGDK) + +## About the Example Project +The Example Project contains gameplay and assets that are representative of a basic first-person shooter running on SpatialOS. If you want to make your own project from scratch, use the Starter Template by following the [Starter Template guide](https://docs.improbable.io/unreal/alpha/content/get-started/gdk-template) in the GDK for Unreal documentation. For setup instructions, follow the [Example Project guide](https://docs.improbable.io/unreal/latest/content/get-started/example-project/exampleproject-intro) in the GDK for Unreal documentation. @@ -39,16 +51,6 @@ This repository contains a set of helper scripts to get you started. We have released the GDK for Unreal this early in development because we want your feedback. Please come and talk to us about the software and the documentation via: [Discord](https://discordapp.com/channels/311273633307951114/339471548647866368) - [Forums](https://forums.improbable.io/) - [GitHub issues in this repository](https://github.com/spatialos/UnrealGDK/issues). -#### Where to get the GDK and related projects - -The GDK and related projects are available on GitHub. - -- [GDK: github.com/spatialos/UnrealGDK](https://github.com/spatialos/UnrealGDK) -- [The SpatialOS Unreal Engine](https://github.com/improbableio/UnrealEngine/tree/4.20-SpatialOSUnrealGDK) - **NOTE:** This link may give you a 404. See the [Unreal GDK documentation](https://docs.improbable.io/unreal/alpha/content/get-started/build-unreal-fork) for more information. -- [Third-Person Shooter](https://github.com/spatialos/UnrealGDKThirdPersonShooter) (Not actively developed) -- [The Test Suite](https://github.com/spatialos/UnrealGDKTestSuite) - #### Public contributors We are not currently accepting public contributions. However, we are accepting [issues](https://github.com/spatialos/UnrealGDK/issues) and we do want your feedback. diff --git a/spatial/two_worker_test.json b/spatial/two_worker_test.json new file mode 100644 index 00000000..b1d6fa88 --- /dev/null +++ b/spatial/two_worker_test.json @@ -0,0 +1,73 @@ +{ + "template": "w2_r0500_e5", + "world": + { + "dimensions": + { + "x_meters": 2000, + "z_meters": 2000 + }, + "chunk_edge_length_meters": 5, + "streaming_query_interval": 4, + "legacy_flags": [ + { + "name": "bridge_qos_max_timeout", + "value": "0" + }, + { + "name": "bridge_soft_handover_enabled", + "value": "false" + }, + { + "name": "enable_chunk_interest", + "value": "false" + } + ], + "legacy_javaparams": [], + "snapshots": + { + "snapshot_write_period_seconds": 0 + } + }, + "load_balancing": + { + "layer_configurations": [ + { + "layer": "UnrealWorker", + "rectangle_grid": + { + "cols": 2, + "rows": 1 + }, + "options": + { + "manual_worker_connection_only": false + } + } + ] + }, + "workers": [ + { + "worker_type": "UnrealWorker", + "flags": [], + "permissions": [ + { + "all": + { + } + } + ] + }, + { + "worker_type": "UnrealClient", + "flags": [], + "permissions": [ + { + "all": + { + } + } + ] + } + ] +} \ No newline at end of file