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
2 changes: 1 addition & 1 deletion Game/Config/DefaultSpatialGDKSettings.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file modified Game/Content/Characters/BP_Base_Character.uasset
Binary file not shown.
Binary file modified Game/Content/Characters/BP_FPS_Character.uasset
Binary file not shown.
28 changes: 15 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
# SpatialOS Unreal GDK Example Project
# SpatialOS GDK for Unreal 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).
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.

Expand Down Expand Up @@ -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.
Expand Down
73 changes: 73 additions & 0 deletions spatial/two_worker_test.json
Original file line number Diff line number Diff line change
@@ -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":
{
}
}
]
}
]
}