diff --git a/scripts/HTN/Trees/Red/RedForceCoordinator.xml b/scripts/HTN/Trees/Red/RedForceCoordinator.xml index cf8a8067301763960f7017e427d7f151d185dea4..e72058612b0f2c172fc93e1f7763c7daab46aea6 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 902e7d7b8633851b1ab4caa0c903c99c63969101..9e353e8d2c0bc395eff305997b73a4057ed4d5ed 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