diff --git a/.gitignore b/.gitignore index 1287f31..7051eaa 100644 --- a/.gitignore +++ b/.gitignore @@ -55,6 +55,7 @@ SourceArt/**/*.tga # Binary Files Binaries +Plugins/**/Binaries/* # Builds Build/** @@ -70,6 +71,7 @@ Saved # Compiled source files for the engine to use Intermediate +Plugins/**/Intermediate/* # Cache files for the editor to use DerivedDataCache diff --git a/Config/DefaultEngine.ini b/Config/DefaultEngine.ini index 1c05324..8836317 100644 --- a/Config/DefaultEngine.ini +++ b/Config/DefaultEngine.ini @@ -204,3 +204,60 @@ ActiveTilesUpdateInterval=1.000000 SupportedAgentsMask=(bSupportsAgent0=True,bSupportsAgent1=True,bSupportsAgent2=True,bSupportsAgent3=True,bSupportsAgent4=True,bSupportsAgent5=True,bSupportsAgent6=True,bSupportsAgent7=True,bSupportsAgent8=True,bSupportsAgent9=True,bSupportsAgent10=True,bSupportsAgent11=True,bSupportsAgent12=True,bSupportsAgent13=True,bSupportsAgent14=True,bSupportsAgent15=True) DirtyAreasUpdateFreq=40.000000 +[/Script/Engine.CollisionProfile] +-Profiles=(Name="NoCollision",CollisionEnabled=NoCollision,ObjectTypeName="WorldStatic",CustomResponses=((Channel="Visibility",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore)),HelpMessage="No collision",bCanModify=False) +-Profiles=(Name="BlockAll",CollisionEnabled=QueryAndPhysics,ObjectTypeName="WorldStatic",CustomResponses=,HelpMessage="WorldStatic object that blocks all actors by default. All new custom channels will use its own default response. ",bCanModify=False) +-Profiles=(Name="OverlapAll",CollisionEnabled=QueryOnly,ObjectTypeName="WorldStatic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Overlap),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldStatic object that overlaps all actors by default. All new custom channels will use its own default response. ",bCanModify=False) +-Profiles=(Name="BlockAllDynamic",CollisionEnabled=QueryAndPhysics,ObjectTypeName="WorldDynamic",CustomResponses=,HelpMessage="WorldDynamic object that blocks all actors by default. All new custom channels will use its own default response. ",bCanModify=False) +-Profiles=(Name="OverlapAllDynamic",CollisionEnabled=QueryOnly,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Overlap),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldDynamic object that overlaps all actors by default. All new custom channels will use its own default response. ",bCanModify=False) +-Profiles=(Name="IgnoreOnlyPawn",CollisionEnabled=QueryOnly,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="Pawn",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore)),HelpMessage="WorldDynamic object that ignores Pawn and Vehicle. All other channels will be set to default.",bCanModify=False) +-Profiles=(Name="OverlapOnlyPawn",CollisionEnabled=QueryOnly,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="Pawn",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Ignore)),HelpMessage="WorldDynamic object that overlaps Pawn, Camera, and Vehicle. All other channels will be set to default. ",bCanModify=False) +-Profiles=(Name="Pawn",CollisionEnabled=QueryAndPhysics,ObjectTypeName="Pawn",CustomResponses=((Channel="Visibility",Response=ECR_Ignore)),HelpMessage="Pawn object. Can be used for capsule of any playerable character or AI. ",bCanModify=False) +-Profiles=(Name="Spectator",CollisionEnabled=QueryOnly,ObjectTypeName="Pawn",CustomResponses=((Channel="WorldStatic",Response=ECR_Block),(Channel="Pawn",Response=ECR_Ignore),(Channel="Visibility",Response=ECR_Ignore),(Channel="WorldDynamic",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore),(Channel="PhysicsBody",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore),(Channel="Destructible",Response=ECR_Ignore)),HelpMessage="Pawn object that ignores all other actors except WorldStatic.",bCanModify=False) +-Profiles=(Name="CharacterMesh",CollisionEnabled=QueryOnly,ObjectTypeName="Pawn",CustomResponses=((Channel="Pawn",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore),(Channel="Visibility",Response=ECR_Ignore)),HelpMessage="Pawn object that is used for Character Mesh. All other channels will be set to default.",bCanModify=False) +-Profiles=(Name="PhysicsActor",CollisionEnabled=QueryAndPhysics,ObjectTypeName="PhysicsBody",CustomResponses=,HelpMessage="Simulating actors",bCanModify=False) +-Profiles=(Name="Destructible",CollisionEnabled=QueryAndPhysics,ObjectTypeName="Destructible",CustomResponses=,HelpMessage="Destructible actors",bCanModify=False) +-Profiles=(Name="InvisibleWall",CollisionEnabled=QueryAndPhysics,ObjectTypeName="WorldStatic",CustomResponses=((Channel="Visibility",Response=ECR_Ignore)),HelpMessage="WorldStatic object that is invisible.",bCanModify=False) +-Profiles=(Name="InvisibleWallDynamic",CollisionEnabled=QueryAndPhysics,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="Visibility",Response=ECR_Ignore)),HelpMessage="WorldDynamic object that is invisible.",bCanModify=False) +-Profiles=(Name="Trigger",CollisionEnabled=QueryOnly,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Ignore),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldDynamic object that is used for trigger. All other channels will be set to default.",bCanModify=False) +-Profiles=(Name="Ragdoll",CollisionEnabled=QueryAndPhysics,ObjectTypeName="PhysicsBody",CustomResponses=((Channel="Pawn",Response=ECR_Ignore),(Channel="Visibility",Response=ECR_Ignore)),HelpMessage="Simulating Skeletal Mesh Component. All other channels will be set to default.",bCanModify=False) +-Profiles=(Name="Vehicle",CollisionEnabled=QueryAndPhysics,ObjectTypeName="Vehicle",CustomResponses=,HelpMessage="Vehicle object that blocks Vehicle, WorldStatic, and WorldDynamic. All other channels will be set to default.",bCanModify=False) +-Profiles=(Name="UI",CollisionEnabled=QueryOnly,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Block),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldStatic object that overlaps all actors by default. All new custom channels will use its own default response. ",bCanModify=False) ++Profiles=(Name="NoCollision",CollisionEnabled=NoCollision,bCanModify=False,ObjectTypeName="WorldStatic",CustomResponses=((Channel="Visibility",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore)),HelpMessage="No collision") ++Profiles=(Name="BlockAll",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="WorldStatic",CustomResponses=,HelpMessage="WorldStatic object that blocks all actors by default. All new custom channels will use its own default response. ") ++Profiles=(Name="OverlapAll",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="WorldStatic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Overlap),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldStatic object that overlaps all actors by default. All new custom channels will use its own default response. ") ++Profiles=(Name="BlockAllDynamic",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="WorldDynamic",CustomResponses=,HelpMessage="WorldDynamic object that blocks all actors by default. All new custom channels will use its own default response. ") ++Profiles=(Name="OverlapAllDynamic",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Overlap),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldDynamic object that overlaps all actors by default. All new custom channels will use its own default response. ") ++Profiles=(Name="IgnoreOnlyPawn",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="Pawn",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore)),HelpMessage="WorldDynamic object that ignores Pawn and Vehicle. All other channels will be set to default.") ++Profiles=(Name="OverlapOnlyPawn",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="Pawn",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Ignore)),HelpMessage="WorldDynamic object that overlaps Pawn, Camera, and Vehicle. All other channels will be set to default. ") ++Profiles=(Name="Pawn",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="Pawn",CustomResponses=((Channel="Visibility",Response=ECR_Ignore)),HelpMessage="Pawn object. Can be used for capsule of any playerable character or AI. ") ++Profiles=(Name="Spectator",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="Pawn",CustomResponses=((Channel="WorldStatic"),(Channel="Pawn",Response=ECR_Ignore),(Channel="Visibility",Response=ECR_Ignore),(Channel="WorldDynamic",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore),(Channel="PhysicsBody",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore),(Channel="Destructible",Response=ECR_Ignore)),HelpMessage="Pawn object that ignores all other actors except WorldStatic.") ++Profiles=(Name="CharacterMesh",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="Pawn",CustomResponses=((Channel="Pawn",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore),(Channel="Visibility",Response=ECR_Ignore)),HelpMessage="Pawn object that is used for Character Mesh. All other channels will be set to default.") ++Profiles=(Name="PhysicsActor",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="PhysicsBody",CustomResponses=,HelpMessage="Simulating actors") ++Profiles=(Name="Destructible",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="Destructible",CustomResponses=,HelpMessage="Destructible actors") ++Profiles=(Name="InvisibleWall",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="WorldStatic",CustomResponses=((Channel="Visibility",Response=ECR_Ignore)),HelpMessage="WorldStatic object that is invisible.") ++Profiles=(Name="InvisibleWallDynamic",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="Visibility",Response=ECR_Ignore)),HelpMessage="WorldDynamic object that is invisible.") ++Profiles=(Name="Trigger",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility",Response=ECR_Ignore),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldDynamic object that is used for trigger. All other channels will be set to default.") ++Profiles=(Name="Ragdoll",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="PhysicsBody",CustomResponses=((Channel="Pawn",Response=ECR_Ignore),(Channel="Visibility",Response=ECR_Ignore)),HelpMessage="Simulating Skeletal Mesh Component. All other channels will be set to default.") ++Profiles=(Name="Vehicle",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="Vehicle",CustomResponses=,HelpMessage="Vehicle object that blocks Vehicle, WorldStatic, and WorldDynamic. All other channels will be set to default.") ++Profiles=(Name="UI",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility"),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldStatic object that overlaps all actors by default. All new custom channels will use its own default response. ") ++DefaultChannelResponses=(Channel=ECC_GameTraceChannel1,DefaultResponse=ECR_Ignore,bTraceType=True,bStaticObject=False,Name="check") +-ProfileRedirects=(OldName="BlockingVolume",NewName="InvisibleWall") +-ProfileRedirects=(OldName="InterpActor",NewName="IgnoreOnlyPawn") +-ProfileRedirects=(OldName="StaticMeshComponent",NewName="BlockAllDynamic") +-ProfileRedirects=(OldName="SkeletalMeshActor",NewName="PhysicsActor") +-ProfileRedirects=(OldName="InvisibleActor",NewName="InvisibleWallDynamic") ++ProfileRedirects=(OldName="BlockingVolume",NewName="InvisibleWall") ++ProfileRedirects=(OldName="InterpActor",NewName="IgnoreOnlyPawn") ++ProfileRedirects=(OldName="StaticMeshComponent",NewName="BlockAllDynamic") ++ProfileRedirects=(OldName="SkeletalMeshActor",NewName="PhysicsActor") ++ProfileRedirects=(OldName="InvisibleActor",NewName="InvisibleWallDynamic") +-CollisionChannelRedirects=(OldName="Static",NewName="WorldStatic") +-CollisionChannelRedirects=(OldName="Dynamic",NewName="WorldDynamic") +-CollisionChannelRedirects=(OldName="VehicleMovement",NewName="Vehicle") +-CollisionChannelRedirects=(OldName="PawnMovement",NewName="Pawn") ++CollisionChannelRedirects=(OldName="Static",NewName="WorldStatic") ++CollisionChannelRedirects=(OldName="Dynamic",NewName="WorldDynamic") ++CollisionChannelRedirects=(OldName="VehicleMovement",NewName="Vehicle") ++CollisionChannelRedirects=(OldName="PawnMovement",NewName="Pawn") + diff --git a/Content/Floors/GroundF/GroundFloorCap.uasset b/Content/Floors/GroundF/GroundFloorCap.uasset index a93b388..ca38936 100644 Binary files a/Content/Floors/GroundF/GroundFloorCap.uasset and b/Content/Floors/GroundF/GroundFloorCap.uasset differ diff --git a/Content/JSONS/areas.json b/Content/JSONS/areas.json new file mode 100644 index 0000000..aa2affe --- /dev/null +++ b/Content/JSONS/areas.json @@ -0,0 +1 @@ +[{"id":1,"name":"A","floor":1,"visible":true},{"id":2,"name":"B","floor":1,"visible":true},{"id":3,"name":"C","floor":1,"visible":true},{"id":4,"name":"D","floor":1,"visible":true},{"id":5,"name":"E","floor":1,"visible":true},{"id":6,"name":"A","floor":2,"visible":true},{"id":7,"name":"B","floor":2,"visible":true},{"id":8,"name":"C","floor":2,"visible":true},{"id":9,"name":"D","floor":2,"visible":true},{"id":11,"name":"A","floor":3,"visible":true},{"id":12,"name":"B","floor":3,"visible":true},{"id":13,"name":"C","floor":3,"visible":true},{"id":16,"name":"A","floor":4,"visible":true},{"id":17,"name":"B","floor":4,"visible":true},{"id":18,"name":"C","floor":4,"visible":false},{"id":21,"name":"A","floor":5,"visible":true},{"id":22,"name":"B","floor":5,"visible":true},{"id":26,"name":"A","floor":6,"visible":true},{"id":27,"name":"B","floor":6,"visible":true},{"id":31,"name":"A","floor":7,"visible":true},{"id":36,"name":"A","floor":8,"visible":true},{"id":41,"name":"A","floor":0,"visible":true},{"id":42,"name":"B","floor":0,"visible":true},{"id":43,"name":"C","floor":0,"visible":true},{"id":44,"name":"D","floor":0,"visible":true},{"id":45,"name":"E","floor":0,"visible":true}] \ No newline at end of file diff --git a/Content/JSONS/cats.json b/Content/JSONS/cats.json new file mode 100644 index 0000000..2ff8348 --- /dev/null +++ b/Content/JSONS/cats.json @@ -0,0 +1 @@ +[{"id":1002,"name":"Reception","editable":false,"quickSearch":true},{"id":1003,"name":"Pharmacy","editable":false,"quickSearch":true},{"id":1004,"name":"Common area","editable":false,"quickSearch":true},{"id":1005,"name":"Prayer Room","editable":false,"quickSearch":true},{"id":1006,"name":"Catering","editable":false,"quickSearch":true},{"id":1007,"name":"Shops","editable":false,"quickSearch":true},{"id":1008,"name":"Toilets","editable":false,"quickSearch":true},{"id":1009,"name":"Patient rooms","editable":false,"quickSearch":true},{"id":1010,"name":"Medical rooms","editable":false,"quickSearch":true},{"id":1011,"name":"Staff rooms","editable":false,"quickSearch":true},{"id":1012,"name":"Tech rooms","editable":false,"quickSearch":true},{"id":1013,"name":"Utility rooms","editable":false,"quickSearch":true},{"id":1014,"name":"VIP rooms","editable":false,"quickSearch":true},{"id":1025,"name":"External buildings","editable":false,"quickSearch":true},{"id":1034,"name":"TEST1","editable":true,"quickSearch":false},{"id":100000,"name":"Elev. lobby","editable":false,"quickSearch":true},{"id":100001,"name":"Doctor on call","editable":false,"quickSearch":true},{"id":100002,"name":"Nurse station","editable":false,"quickSearch":true},{"id":100003,"name":"Lab","editable":false,"quickSearch":true},{"id":100004,"name":"Corridor","editable":false,"quickSearch":true},{"id":100005,"name":"Pantry","editable":false,"quickSearch":true},{"id":100006,"name":"Waiting area","editable":false,"quickSearch":true},{"id":100007,"name":"Store","editable":false,"quickSearch":true},{"id":100008,"name":"Anaesthetic room","editable":false,"quickSearch":false},{"id":100009,"name":"Dialysis room","editable":false,"quickSearch":true},{"id":100010,"name":"Treatment room","editable":false,"quickSearch":true},{"id":100011,"name":"Isolation room","editable":false,"quickSearch":true},{"id":100012,"name":"Vip suite","editable":false,"quickSearch":true},{"id":100013,"name":"Lobby","editable":false,"quickSearch":true},{"id":100014,"name":"Dinning area","editable":false,"quickSearch":true},{"id":100015,"name":"MRI room","editable":false,"quickSearch":true},{"id":100016,"name":"Chest pain unit","editable":false,"quickSearch":true},{"id":100017,"name":"Exam room","editable":false,"quickSearch":true},{"id":100018,"name":"Records room","editable":false,"quickSearch":true},{"id":100019,"name":"CT scan room","editable":false,"quickSearch":true},{"id":100020,"name":"Xray room","editable":false,"quickSearch":true},{"id":100021,"name":"Billing office","editable":false,"quickSearch":true},{"id":100022,"name":"Seminar room","editable":false,"quickSearch":true},{"id":100023,"name":"Auditorioum room","editable":false,"quickSearch":true},{"id":100024,"name":"Lecture room","editable":false,"quickSearch":true},{"id":100025,"name":"Warehouse","editable":false,"quickSearch":true},{"id":100026,"name":"Electrical room","editable":false,"quickSearch":true},{"id":100027,"name":"Wheel chair storage room","editable":false,"quickSearch":true},{"id":100028,"name":"Rehab room","editable":false,"quickSearch":true},{"id":100029,"name":"CCTV room","editable":false,"quickSearch":true},{"id":100030,"name":"Bakery","editable":false,"quickSearch":true}] \ No newline at end of file diff --git a/Content/JSONS/deps.json b/Content/JSONS/deps.json new file mode 100644 index 0000000..59abc9a --- /dev/null +++ b/Content/JSONS/deps.json @@ -0,0 +1 @@ +[{"id":1,"name":"GM1","reception":"G-1C37F","idHIS":"11111","idQMS":"qqqqq","qmsSOW":"http://localhost:1234"},{"id":2,"name":"deparment 2","reception":"G-1C10","idHIS":"22222","idQMS":"qqqqq","qmsSOW":"http://localhost:1234"},{"id":4,"name":"deparment 4","reception":"000003","idHIS":"44444","idQMS":"qqqqq","qmsSOW":"http://localhost:1234"},{"id":5,"name":"deparment 5","reception":"G-1C40","idHIS":"55555","idQMS":"qqqqq","qmsSOW":"http://localhost:1234"},{"id":1002,"name":"DIT","reception":"G-3A06","idHIS":"","idQMS":"","qmsSOW":""},{"id":1003,"name":"General Medicine","reception":"G-1C40","idHIS":"77777","idQMS":"1111","qmsSOW":""},{"id":1005,"name":"gjhgh","reception":"G-1C40","idHIS":"747667","idQMS":"","qmsSOW":""}] \ No newline at end of file diff --git a/Content/JSONS/ext.json b/Content/JSONS/ext.json new file mode 100644 index 0000000..85c0522 Binary files /dev/null and b/Content/JSONS/ext.json differ diff --git a/Content/JSONS/floors.json b/Content/JSONS/floors.json new file mode 100644 index 0000000..6dcd462 --- /dev/null +++ b/Content/JSONS/floors.json @@ -0,0 +1 @@ +[{"id":0,"number":0,"visible":true},{"id":1,"number":1,"visible":true},{"id":2,"number":2,"visible":true},{"id":3,"number":3,"visible":true},{"id":4,"number":4,"visible":true},{"id":5,"number":5,"visible":true},{"id":6,"number":6,"visible":true},{"id":7,"number":7,"visible":true},{"id":8,"number":8,"visible":false}] \ No newline at end of file diff --git a/Content/JSONS/locations.json b/Content/JSONS/locations.json new file mode 100644 index 0000000..711fdf6 Binary files /dev/null and b/Content/JSONS/locations.json differ diff --git a/Content/Widgets/MainMenu.uasset b/Content/Widgets/MainMenu.uasset index 9520132..a999753 100644 Binary files a/Content/Widgets/MainMenu.uasset and b/Content/Widgets/MainMenu.uasset differ diff --git a/Content/Widgets/floorSelectPanel.uasset b/Content/Widgets/floorSelectPanel.uasset index a19d7ba..17a4e55 100644 Binary files a/Content/Widgets/floorSelectPanel.uasset and b/Content/Widgets/floorSelectPanel.uasset differ diff --git a/Content/blueprints/gameMode/MKCCGameMOde.uasset b/Content/blueprints/gameMode/MKCCGameMOde.uasset index 7d81d43..873b5a5 100644 Binary files a/Content/blueprints/gameMode/MKCCGameMOde.uasset and b/Content/blueprints/gameMode/MKCCGameMOde.uasset differ diff --git a/Content/blueprints/playerController/MKCCPlayerController.uasset b/Content/blueprints/playerController/MKCCPlayerController.uasset index 29aadf1..337df5d 100644 Binary files a/Content/blueprints/playerController/MKCCPlayerController.uasset and b/Content/blueprints/playerController/MKCCPlayerController.uasset differ diff --git a/Source/MKCC/Private/MKSSBlueprintFunctionLibrary.cpp b/Source/MKCC/Private/MKSSBlueprintFunctionLibrary.cpp index e7abd1c..ed380d7 100644 --- a/Source/MKCC/Private/MKSSBlueprintFunctionLibrary.cpp +++ b/Source/MKCC/Private/MKSSBlueprintFunctionLibrary.cpp @@ -22,11 +22,11 @@ FString UMKSSBlueprintFunctionLibrary::LoadFileToString(FString Directory, FStri return result; } -bool UMKSSBlueprintFunctionLibrary::SaveTxt(FString Directory, FString FileName) +bool UMKSSBlueprintFunctionLibrary::SaveTxt(FString Directory, FString FileName, FString text) { - FString SaveText = ""; + FString directory = Directory; - return FFileHelper::SaveStringToFile(SaveText, *(directory +"/" + FileName)); + return FFileHelper::SaveStringToFile(text, *(directory +"/" + FileName)); } FString UMKSSBlueprintFunctionLibrary::getAppData() { diff --git a/Source/MKCC/Public/MKSSBlueprintFunctionLibrary.h b/Source/MKCC/Public/MKSSBlueprintFunctionLibrary.h index 295ae4b..590dea1 100644 --- a/Source/MKCC/Public/MKSSBlueprintFunctionLibrary.h +++ b/Source/MKCC/Public/MKSSBlueprintFunctionLibrary.h @@ -20,7 +20,7 @@ class MKCC_API UMKSSBlueprintFunctionLibrary : public UBlueprintFunctionLibrary static FString LoadFileToString(FString Directory, FString Filename); UFUNCTION(BlueprintCallable, Category = "File", meta = (Keywords = "Save Text File")) - static bool SaveTxt(FString Directory, FString FileName); + static bool SaveTxt(FString Directory, FString FileName, FString text); UFUNCTION(BlueprintCallable, BlueprintPure, Category = "Dir", meta = (Keywords = "get Appdata dir")) static FString getAppData();