From 9ad280008b9322bdce8f6c36a3ab319a8d1a5cf5 Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Tue, 18 Jun 2024 22:54:49 +0200 Subject: [PATCH] Attempt follow path for 'Back to Old Tricks' --- .../4405_Back to Old Tricks.json | 92 +++++++++++++++++-- Questionable/Windows/DebugOverlay.cs | 2 +- 2 files changed, 86 insertions(+), 8 deletions(-) diff --git a/QuestPaths/Endwalker/MSQ/C-MareLamentorum/4405_Back to Old Tricks.json b/QuestPaths/Endwalker/MSQ/C-MareLamentorum/4405_Back to Old Tricks.json index 8bd5f0181..b4acc9fd3 100644 --- a/QuestPaths/Endwalker/MSQ/C-MareLamentorum/4405_Back to Old Tricks.json +++ b/QuestPaths/Endwalker/MSQ/C-MareLamentorum/4405_Back to Old Tricks.json @@ -45,7 +45,7 @@ "Z": -269.24548 }, "TerritoryId": 959, - "InteractionType": "Instruction", + "InteractionType": "Interact", "Comment": "Follow Urianger" } ] @@ -54,15 +54,93 @@ "Sequence": 3, "Steps": [ { - "DataId": 2012185, "Position": { - "X": -5.416992, - "Y": -49.05786, - "Z": -269.24548 + "X": -6.025082, + "Y": -28.32315, + "Z": -215.77702 }, "TerritoryId": 959, - "InteractionType": "Instruction", - "Comment": "Follow Urianger" + "InteractionType": "WalkTo", + "Mount": false, + "Sprint": false, + "DisableNavmesh": true, + "DelaySecondsAtStart": 2 + }, + { + "DataId": 1038933, + "Position": { + "X": 15.536669, + "Y": -7.1210613, + "Z": -177.33519 + }, + "TerritoryId": 959, + "InteractionType": "WaitForNpcAtPosition", + "NpcWaitDistance": 3, + "StopDistance": 100, + "Mount": false, + "Sprint": false + }, + { + "Position": { + "X": 10.73667, + "Y": -5.0926046, + "Z": -171.87782 + }, + "TerritoryId": 959, + "InteractionType": "WalkTo", + "Mount": false, + "Sprint": false + }, + { + "DataId": 1038933, + "Position": { + "X": -22.370995, + "Y": 14.627041, + "Z": -132.87657 + }, + "TerritoryId": 959, + "InteractionType": "WaitForNpcAtPosition", + "NpcWaitDistance": 3, + "StopDistance": 100, + "Mount": false, + "Sprint": false + }, + { + "Position": { + "X": -25.210857, + "Y": 26.867788, + "Z": -109.43445 + }, + "TerritoryId": 959, + "InteractionType": "WalkTo", + "Mount": false, + "Sprint": false + }, + { + "DataId": 1038933, + "Position": { + "X": 1.7508065, + "Y": 46.95068, + "Z": -69.89246 + }, + "TerritoryId": 959, + "InteractionType": "WaitForNpcAtPosition", + "NpcWaitDistance": 3, + "StopDistance": 100, + "Mount": false, + "Sprint": false + }, + { + "Position": { + "X": 48.261765, + "Y": 74.98867, + "Z": -32.961533 + }, + "TerritoryId": 959, + "InteractionType": "WalkTo", + "Mount": false, + "Sprint": true, + "DelaySecondsAtStart": 1 } ] }, diff --git a/Questionable/Windows/DebugOverlay.cs b/Questionable/Windows/DebugOverlay.cs index 191a7d5cf..02f301397 100644 --- a/Questionable/Windows/DebugOverlay.cs +++ b/Questionable/Windows/DebugOverlay.cs @@ -53,7 +53,7 @@ internal sealed class DebugOverlay : Window for (int i = currentQuest.Step; i <= sequence.Steps.Count; ++i) { QuestStep? step = sequence.FindStep(i); - if (step == null || step.Position == null) + if (step == null || step.Position == null || step.Disabled) continue; bool visible = _gameGui.WorldToScreen(step.Position.Value, out Vector2 screenPos);