From 39b99f45a2410e02b4d7a053285f99d508634ea5 Mon Sep 17 00:00:00 2001
From: "dereeves@nps.edu" <dereeves@nps.edu>
Date: Thu, 5 Aug 2021 14:09:33 -0700
Subject: [PATCH] * base locations between training locations

---
 scripts/HTN/Trees/Red/RedForceCoordinator.xml | 6 ++++--
 scripts/jump_start.py                         | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/scripts/HTN/Trees/Red/RedForceCoordinator.xml b/scripts/HTN/Trees/Red/RedForceCoordinator.xml
index cf8a806..e720586 100644
--- a/scripts/HTN/Trees/Red/RedForceCoordinator.xml
+++ b/scripts/HTN/Trees/Red/RedForceCoordinator.xml
@@ -316,7 +316,7 @@ UtilityFuncsExp.scheduleEvent(
     dm,
     info.getMyAssignedName(),
     "GoalTracker_CreateConvoy",
-    5,
+    0.002,
     al)
 
 # activate three
@@ -353,7 +353,7 @@ UtilityFuncsExp.scheduleEvent(
     dm,
     info.getMyAssignedName(),
     "GoalTracker_CreateConvoy",
-    10,
+    0.003,
     al)
 
 </Code>
@@ -519,6 +519,8 @@ for n in range(numDestinations):
     del borg.redDestinations[0]
     borg.redDestinations.append(destName)
     convoyDests.append(destName)
+    if n != numDestinations-1:
+        convoyDests.append("ASSEMBLY_LOCATION")
 
 # if it's an attack run (set in jump start) then the final destination will be a random
 # attack position
diff --git a/scripts/jump_start.py b/scripts/jump_start.py
index 902e7d7..9e353e8 100644
--- a/scripts/jump_start.py
+++ b/scripts/jump_start.py
@@ -34,7 +34,7 @@ borg.goalPath = "HTN/Trees/"
 # Scenario Parameters
 #################################################################################################################################################################
 # will the entities move to attack positions at the end of training?
-borg.isAttackRun = True
+borg.isAttackRun = False
 # red training positions
 borg.redDestinations=["TRAINING01", "TRAINING02", "TRAINING03", "TRAINING04", "TRAINING05", "TRAINING06", "TRAINING07", "TRAINING08", "TRAINING09", "TRAINING10", "TRAINING11", "TRAINING12", ]
 # red attack positions
-- 
GitLab