Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Commit

Permalink
[UNR-890] - Tidy Up Content (#45)
Browse files Browse the repository at this point in the history
* Change StarterProjectCharacter_BP to be generic
- Changed name of StarterProjectCharacter_BP to Character_BP to be more
generic for creating a project template

* Remove EntityBlueprints folder

* Tidy Up StarterProject
- Removed redundant cpp & h files
- Tidied project content folder

* Disable Seamless Travel

* Update Spatial Launch Configs
- Updated launch configs to prevent template warnings with new runtime

* Update SDK version
- Updated SDK version in spatialos.json
- Added comment about seamless travel

* Updated world dimensions and chunk size

* Revert EngineAssociation

* Rollback DefaultEngine changes
- Rolling back automatically applied changes to DefaultEngine
  • Loading branch information
jnicholas-io authored Feb 4, 2019
1 parent 5270018 commit 196ff1a
Show file tree
Hide file tree
Showing 31 changed files with 21 additions and 80 deletions.
7 changes: 3 additions & 4 deletions Game/Config/DefaultEngine.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[/Script/EngineSettings.GameMapsSettings]
GameDefaultMap=/Game/ThirdPersonCPP/Maps/ThirdPersonExampleMap
EditorStartupMap=/Game/ThirdPersonCPP/Maps/ThirdPersonExampleMap
GameDefaultMap=/Game/StarterProject/Maps/ThirdPersonExampleMap.ThirdPersonExampleMap
EditorStartupMap=/Game/StarterProject/Maps/ThirdPersonExampleMap.ThirdPersonExampleMap
GlobalDefaultGameMode=/Script/StarterProject.StarterProjectGameMode
GameInstanceClass=/Script/StarterProject.StarterProjectGameInstance
GameInstanceClass=/Script/SpatialGDK.SpatialGameInstance

[/Script/IOSRuntimeSettings.IOSRuntimeSettings]
MinimumiOSVersion=IOS_8
Expand Down Expand Up @@ -68,4 +68,3 @@ AsyncSceneSmoothingFactor=0.990000
InitialAverageFrameRate=0.016667
PhysXTreeRebuildRate=10


Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed Game/Content/ThirdPerson/Meshes/CubeMaterial.uasset
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion Game/Source/StarterProject/StarterProjectCharacter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "GameFramework/Controller.h"
#include "GameFramework/SpringArmComponent.h"
#include "Kismet/GameplayStatics.h"
#include "StarterProjectGameStateBase.h"
#include "SpatialNetDriver.h"

#include "UnrealNetwork.h"
Expand Down
3 changes: 0 additions & 3 deletions Game/Source/StarterProject/StarterProjectGameInstance.cpp

This file was deleted.

13 changes: 0 additions & 13 deletions Game/Source/StarterProject/StarterProjectGameInstance.h

This file was deleted.

10 changes: 4 additions & 6 deletions Game/Source/StarterProject/StarterProjectGameMode.cpp
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
// Copyright (c) Improbable Worlds Ltd, All Rights Reserved

#include "StarterProjectGameMode.h"
#include "StarterProjectGameStateBase.h"
#include "StarterProjectPlayerState.h"
#include "UObject/ConstructorHelpers.h"

AStarterProjectGameMode::AStarterProjectGameMode()
{
//set default pawn class to our Blueprinted character
static ConstructorHelpers::FClassFinder<APawn> PlayerPawnBPClass(TEXT("/Game/EntityBlueprints/StarterProjectCharacter_BP"));
static ConstructorHelpers::FClassFinder<APawn> PlayerPawnBPClass(TEXT("/Game/StarterProject/Characters/PlayerCharacter_BP"));
if (PlayerPawnBPClass.Class != NULL)
{
DefaultPawnClass = PlayerPawnBPClass.Class;
}

GameStateClass = AStarterProjectGameStateBase::StaticClass();
PlayerStateClass = AStarterProjectPlayerState::StaticClass();
// Seamless Travel is not currently supported in SpatialOS [UNR-897]
bUseSeamlessTravel = false;
}
3 changes: 0 additions & 3 deletions Game/Source/StarterProject/StarterProjectGameStateBase.cpp

This file was deleted.

13 changes: 0 additions & 13 deletions Game/Source/StarterProject/StarterProjectGameStateBase.h

This file was deleted.

7 changes: 0 additions & 7 deletions Game/Source/StarterProject/StarterProjectPlayerState.cpp

This file was deleted.

16 changes: 0 additions & 16 deletions Game/Source/StarterProject/StarterProjectPlayerState.h

This file was deleted.

8 changes: 4 additions & 4 deletions spatial/default_launch.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"template": "small_entity_db_v2",
"template": "small",
"world": {
"dimensions": {
"x_meters": 200,
"z_meters": 200
"x_meters": 2000,
"z_meters": 2000
},
"chunk_edge_length_meters": 5,
"chunk_edge_length_meters": 50,
"streaming_query_interval": 4,
"legacy_flags": [
{
Expand Down
8 changes: 4 additions & 4 deletions spatial/one_worker_test.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"template": "small_entity_db_v2",
"template": "small",
"world": {
"dimensions": {
"x_meters": 200,
"z_meters": 200
"x_meters": 2000,
"z_meters": 2000
},
"chunk_edge_length_meters": 5,
"chunk_edge_length_meters": 50,
"streaming_query_interval": 4,
"legacy_flags": [
{
Expand Down
4 changes: 2 additions & 2 deletions spatial/spatialos.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "unreal_gdk_starter_project",
"project_version": "0.0.1",
"sdk_version": "13.3.1",
"sdk_version": "13.5.0",
"dependencies": [
{
"name": "standard_library",
"version": "13.3.1"
"version": "13.5.0"
}
]
}
8 changes: 4 additions & 4 deletions spatial/two_worker_test.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"template": "small_entity_db_v2",
"template": "small",
"world": {
"dimensions": {
"x_meters": 200,
"z_meters": 200
"x_meters": 2000,
"z_meters": 2000
},
"chunk_edge_length_meters": 5,
"chunk_edge_length_meters": 50,
"streaming_query_interval": 4,
"legacy_flags": [
{
Expand Down

0 comments on commit 196ff1a

Please sign in to comment.