diff --git a/index.html b/index.html index 7a6576f..b0afa11 100644 --- a/index.html +++ b/index.html @@ -28,6 +28,9 @@ Shared Log Databases Servers + Spawners + Ships +
@@ -1089,6 +1092,138 @@
+
+ + +
+ +
+
+ + + + + + +
+ +
+ + MaxDesiredNumEnemiesMultiplier +
+
+
+
+ +
+
+ + +
+
+
+ + + + + +
+ +
+ + PathId +
+
+
+ +
+ + AutoSpawnEveryUTCInterval +
+
+
+ +
+ +
+
+ autoSpawn +
+
+
+ +
+ +
+
+ isLooping +
+
+ + + + + + + + + + + + + + + + + + + + +
DistanceXYRotation
+
+
+ +
diff --git a/js/atlas_reparser.js b/js/atlas_reparser.js index ca7637a..72070e9 100644 --- a/js/atlas_reparser.js +++ b/js/atlas_reparser.js @@ -52,6 +52,9 @@ function deparseArray(input) { if (input[0] === "BlueprintGeneratedClass") { return "BlueprintGeneratedClass" + "'" + input[1] + "'"; } + if (input[0] === "Blueprint") { + return "Blueprint" + "'" + input[1] + "'"; + } if (input[0] === "SoundWave") { return "SoundWave" + "'" + input[1] + "'" } diff --git a/js/main.js b/js/main.js index b099290..70bc8b2 100644 --- a/js/main.js +++ b/js/main.js @@ -454,4 +454,46 @@ function addTotalExtraSubLevels(obj) { obj.totalExtraSublevels.push(newSubLevel); } -function removeTotalExtraSubLevels(obj, e) { ko.contextFor(e.target).$parent.totalExtraSublevels.remove(obj) } \ No newline at end of file +function removeTotalExtraSubLevels(obj, e) { ko.contextFor(e.target).$parent.totalExtraSublevels.remove(obj) } + +function addSpawner() { + var newSpawner = { + "Name": ko.observable("New Spawner"), + "NPCSpawnEntries": ko.observable(""), + "NPCSpawnLimits": ko.observable(""), + "MaxDesiredNumEnemiesMultiplier": ko.observable(1) + }; + viewmodel.spawnerOverrideTemplates.push(newSpawner); +} + +function removeSpawner(obj) { + viewmodel.spawnerOverrideTemplates.remove(obj); +} + +function addShip() { + var newShip = { + "PathName": ko.observable("New Ship"), + "PathId": ko.observable(1), + "AutoSpawnShipClass": ko.observable(""), + "AutoSpawnEveryUTCInterval": ko.observable(21600), + "autoSpawn": ko.observable(true), + "Nodes": ko.observableArray([]) + }; + viewmodel.shipPaths.push(newShip); +} + +function removeShip(obj) { + viewmodel.shipPaths.remove(obj); +} + +function addShipNode(obj) { + var newNode = { + "controlPointsDistance": ko.observable(0), + "worldX": ko.observable(0), + "worldY": ko.observable(0), + "rotation": ko.observable(0) + } + obj.Nodes.push(newNode); +} + +function removeShipNode(obj, e) { ko.contextFor(e.target).$parent.Nodes.remove(obj) } \ No newline at end of file diff --git a/parser_test.html b/parser_test.html index cca4c14..f3d4d0d 100644 --- a/parser_test.html +++ b/parser_test.html @@ -24,7 +24,7 @@
Atlas Crazy Config -
(SoundOverrides=(NavalCombatMusicDay=SoundWave'/Game/Atlas/Music/ATL_SeaCombatArcticDay_v1.ATL_SeaCombatArcticDay_v1',NavalCombatMusicNight=SoundWave'/Game/Atlas/Music/ATL_SeaCombatArcticNight_v1.ATL_SeaCombatArcticNight_v1',CombatMusicDay=SoundWave'/Game/Atlas/Music/ATL_LandCombatArcticDay_v2.ATL_LandCombatArcticDay_v2',CombatMusicNight=SoundWave'/Game/Atlas/Music/ATL_LandCombatArcticNight_v1.ATL_LandCombatArcticNight_v1',CombatMusicDay_Heavy=SoundWave'/Game/Atlas/Music/ATL_LandCombatArcticDay_v2.ATL_LandCombatArcticDay_v2',CombatMusicNight_Heavy=SoundWave'/Game/Atlas/Music/ATL_LandCombatArcticNight_v1.ATL_LandCombatArcticNight_v1',Sound_TransitionToMorning=SoundWave'/Game/Atlas/Stingers/ATL_Sting_ArcticMorning.ATL_Sting_ArcticMorning',Sound_TransitionToMidDay=SoundWave'/Game/Atlas/Stingers/ATL_Sting_ArcticNoon.ATL_Sting_ArcticNoon',Sound_TransitionToNight=SoundWave'/Game/Atlas/Stingers/ATL_Sting_ArcticNight.ATL_Sting_ArcticNight',Sound_SetSail=SoundWave'/Game/Atlas/Stingers/ATL_Sting_ArcticSetSail.ATL_Sting_ArcticSetSail',Sound_Respawn=None,Sound_CreateNewCharacter=None),OceanHarvestEntriesOverrides=((RenderComponent=BlueprintGeneratedClass'/Game/Atlas/AtlasCoreBP/Render_Components/OceanHarvestable_Seaweed_Tall_35.OceanHarvestable_Seaweed_Tall_35_C',HarvestComponent=BlueprintGeneratedClass'/Game/Atlas/AtlasCoreBP/HarvestComponents/00_OceanFloor/HerbHarvestComponent_RedAlgae.HerbHarvestComponent_RedAlgae_C',Weight=0.100000,RandomOffsetPercentageOfPlacementInterval=3.000000),(RenderComponent=BlueprintGeneratedClass'/Game/Atlas/AtlasCoreBP/Render_Components/OceanHarvestable_Seaweed_Tall_36.OceanHarvestable_Seaweed_Tall_36_C',HarvestComponent=BlueprintGeneratedClass'/Game/Atlas/AtlasCoreBP/HarvestComponents/00_OceanFloor/HerbHarvestComponent_RedAlgae.HerbHarvestComponent_RedAlgae_C',Weight=0.010000,RandomOffsetPercentageOfPlacementInterval=5.400000),(RenderComponent=BlueprintGeneratedClass'/Game/Atlas/AtlasCoreBP/Render_Components/OceanHarvestable_Seaweed_Tall_37.OceanHarvestable_Seaweed_Tall_37_C',HarvestComponent=BlueprintGeneratedClass'/Game/Atlas/AtlasCoreBP/HarvestComponents/00_OceanFloor/FiberHarvestComponent_Seaweed.FiberHarvestComponent_Seaweed_C',Weight=0.200000,RandomOffsetPercentageOfPlacementInterval=2.100000),(RenderComponent=BlueprintGeneratedClass'/Game/Atlas/AtlasCoreBP/Render_Components/OceanHarvestable_Seaweed_Short_16.OceanHarvestable_Seaweed_Short_16_C',HarvestComponent=BlueprintGeneratedClass'/Game/Atlas/AtlasCoreBP/HarvestComponents/00_OceanFloor/FiberHarvestComponent_Seaweed.FiberHarvestComponent_Seaweed_C',Weight=0.010000,RandomOffsetPercentageOfPlacementInterval=1.400000),(RenderComponent=BlueprintGeneratedClass'/Game/Atlas/AtlasCoreBP/Render_Components/OceanHarvestable_Seaweed_Short_40.OceanHarvestable_Seaweed_Short_40_C',HarvestComponent=BlueprintGeneratedClass'/Game/Atlas/AtlasCoreBP/HarvestComponents/00_OceanFloor/FiberHarvestComponent_Seaweed.FiberHarvestComponent_Seaweed_C',Weight=0.050000,RandomOffsetPercentageOfPlacementInterval=4.000000),(RenderComponent=BlueprintGeneratedClass'/Game/Atlas/AtlasCoreBP/Render_Components/OceanHarvestable_Seaweed_Short_41.OceanHarvestable_Seaweed_Short_41_C',HarvestComponent=BlueprintGeneratedClass'/Game/Atlas/AtlasCoreBP/HarvestComponents/00_OceanFloor/FiberHarvestComponent_Seaweed.FiberHarvestComponent_Seaweed_C',Weight=0.400000,RandomOffsetPercentageOfPlacementInterval=0.600000),(RenderComponent=BlueprintGeneratedClass'/Game/Atlas/AtlasCoreBP/Render_Components/OceanHarvestable_Seaweed_Short_42.OceanHarvestable_Seaweed_Short_42_C',HarvestComponent=BlueprintGeneratedClass'/Game/Atlas/AtlasCoreBP/HarvestComponents/00_OceanFloor/FiberHarvestComponent_Seaweed.FiberHarvestComponent_Seaweed_C',Weight=0.800000,RandomOffsetPercentageOfPlacementInterval=0.800000),(RenderComponent=BlueprintGeneratedClass'/Game/Atlas/AtlasCoreBP/Render_Components/OceanHarvestable_Seaweed_Short_43.OceanHarvestable_Seaweed_Short_43_C',HarvestComponent=BlueprintGeneratedClass'/Game/Atlas/AtlasCoreBP/HarvestComponents/00_OceanFloor/FiberHarvestComponent_Seaweed.FiberHarvestComponent_Seaweed_C',Weight=0.400000,RandomOffsetPercentageOfPlacementInterval=0.500000),(RenderComponent=BlueprintGeneratedClass'/Game/Atlas/AtlasCoreBP/Render_Components/OceanHarvestable_Coral_Brain.OceanHarvestable_Coral_Brain_C',HarvestComponent=BlueprintGeneratedClass'/Game/Atlas/AtlasCoreBP/HarvestComponents/00_OceanFloor/CoralHarvestComponent_Brain.CoralHarvestComponent_Brain_C',Weight=0.500000,RandomOffsetPercentageOfPlacementInterval=10.000000)),bDisableClaimFlags=False)
+
Blueprint'/Game/Atlas/ShipPaths/PathFollowingGhostShip_BP.PathFollowingGhostShip_BP'