C3Fire

Difference between revisions of "Config/P4-F9L3R2Uav1-3x15min-To-P4-F8L2R2B1Uav1-3x15min"

From C3LearningLabs
Line 257: Line 257:
  
 
=== Roles Map Scroll Positions ===
 
=== Roles Map Scroll Positions ===
;Add the new roles and Update all roles map scroll positions.
+
;Update all roles map scroll positions.
  
 
Edit file:  
 
Edit file:  
Line 266: Line 266:
 
*.../Training-2/P4-F8L2R2B1Uav1-3x15min-T2-RolesScrollPos.coni
 
*.../Training-2/P4-F8L2R2B1Uav1-3x15min-T2-RolesScrollPos.coni
  
#Add new role
 
 
<br>
 
<br>
  

Revision as of 17:34, 25 August 2021


Create new configuration files

Copy Folder
Source : ...\C3LearningLabs\C3Fire\Client\SessionDef\Projects\P4-F9L3R2Uav1-3x15min
New Folder: ...\C3LearningLabs\C3Fire\Client\SessionDef\Projects\P4-F8L2R2B1Uav1-3x15min
Rename all files in folder
P4-F9L3R2Uav1-3x15min => P4-F8L2R2B1Uav1-3x15min


Update file references in config files
...\SessionDef\Projects\P4-F8L2R2B1Uav1-3x15min\Condition-1\P4-F8L2R2B1Uav1-3x15min-C1.con
...\SessionDef\Projects\P4-F8L2R2B1Uav1-3x15min\Condition-2\P4-F8L2R2B1Uav1-3x15min-C2.con
...\SessionDef\Projects\P4-F8L2R2B1Uav1-3x15min\Condition-3\P4-F8L2R2B1Uav1-3x15min-C3.con
...\SessionDef\Projects\P4-F8L2R2B1Uav1-3x15min\Training-1\P4-F8L2R2B1Uav1-3x15min-T1.con
...\SessionDef\Projects\P4-F8L2R2B1Uav1-3x15min\Training-2\P4-F8L2R2B1Uav1-3x15min-T2.con
P4-F9L3R2Uav1-3x15min => P4-F8L2R2B1Uav1-3x15min
<Config
  Type = "ForestFire"
  ConfigIncludeFile_ComunicationUI = ""
  ConfigIncludeFile_ComunicationUIEvents = ""
  ConfigIncludeFile_MapObjectTypes = "../P4-F8L2R2B1Uav1-3x15min-Global-ObjectsTypes.coni"
  ConfigIncludeFile_MapObjectsPos = "P4-F8L2R2B1Uav1-3x15min-C1-MapObjectsPos.coni"
  ConfigIncludeFile_People = "../P4-F8L2R2B1Uav1-3x15min-Global-People.coni"
  ConfigIncludeFile_PeoplePos = "P4-F8L2R2B1Uav1-3x15min-C1-PeoplePos.coni"
  ConfigIncludeFile_Roles = "../P4-F8L2R2B1Uav1-3x15min-Global-Roles.coni"
  ConfigIncludeFile_RolesScrollPos = "P4-F8L2R2B1Uav1-3x15min-C1-RolesScrollPos.coni"
  ConfigIncludeFile_StationActivityControlsUI = ""
  ConfigIncludeFile_Stations = ""
  ConfigIncludeFile_UAVsPos = "P4-F8L2R2B1Uav1-3x15min-C1-UAVsPos.coni"
  ConfigIncludeFile_UnitInfoUI = "../P4-F8L2R2B1Uav1-3x15min-Global-UnitsInfoUI.coni"
  ConfigIncludeFile_Units = "../P4-F8L2R2B1Uav1-3x15min-Global-Units.coni"
  ConfigIncludeFile_UnitsPos = "P4-F8L2R2B1Uav1-3x15min-C1-UnitsPos.coni"
  ConfigIncludeFile_UserInterface = "../P4-F8L2R2B1Uav1-3x15min-Global-UIMain.coni"
  ConfigIncludeFile_UserInterfaceGlobal = "../P4-F8L2R2B1Uav1-3x15min-Global-UIGlobal.coni"
  ConfigIncludeFile_VehicleActivityControlsUI = ""
  ConfigIncludeFile_Vehicles = ""
  Version = "4.0.1" >


Update session info.
This is important.
The information will be stored in the logfiles, and used by the analyses process.
...\SessionDef\Projects\P4-F8L2R2B1Uav1-3x15min\Condition-1\P4-F8L2R2B1Uav1-3x15min-C1.con
...\SessionDef\Projects\P4-F8L2R2B1Uav1-3x15min\Condition-2\P4-F8L2R2B1Uav1-3x15min-C2.con
...\SessionDef\Projects\P4-F8L2R2B1Uav1-3x15min\Condition-3\P4-F8L2R2B1Uav1-3x15min-C3.con
...\SessionDef\Projects\P4-F8L2R2B1Uav1-3x15min\Training-1\P4-F8L2R2B1Uav1-3x15min-T1.con
...\SessionDef\Projects\P4-F8L2R2B1Uav1-3x15min\Training-2\P4-F8L2R2B1Uav1-3x15min-T2.con
Example
  <SessionInfo
    ConditionName = "C1"
    ConditionNumber = "1"
    ExperimentGroup = ""
    ExperimentName = "P4-P4-F8L2R2B1Uav1-3x15min"
    ServerName = ""
    ServerNumber = "0"
    SessionConfigFileName = "P4-P4-F8L2R2B1Uav1-3x15min-C3.con"
    SessionName = ""
    SessionNumber = ""
    SessionPicDirectory = ""
    SessionScenarioFileName = "P4-P4-F8L2R2B1Uav1-3x15min-C3.sce"
    SessionType = "" />



Set the default configuration

To make it easier to develop a new session configuration set the default configuration file in the Client configuration. Then you don't need to manually browse the configuration file every time you start a session.

See Set default configuration

Edit File
...\C3LearningLabs\C3Fire\Client\Files\ROOT\C3FireClientConfig.xml

Set the folder for the new configuration and the config and scenario file name.

...
 <DefaultFiles
  SessionConfigDirectory  = "SessionDef/Projects/P4-F8L2R2B1Uav1-3x15min/Condition-1"
  SessionLogDirectory     = "../../../Server/SessionLogs"
  ScenarioDirectory       = "SessionDef/Projects/P4-F8L2R2B1Uav1-3x15min/Condition-1"
  MapImageDirectory       = "SessionDef/Projects/P4-F8L2R2B1Uav1-3x15min/Condition-1"
  SequenceConfigDirectory = ""
  SessionConfigFile       = "P4-F8L2R2B1Uav1-3x15min-C1-F80.con"
  ScenarioFile            = "P4-F8L2R2B1Uav1-3x15min-C1.sce"
  MapImageFile            = ""
  SequenceConfigFile      = "" />
...


Units

Update the Units
Edit file: ...\C3LearningLabs\C3Fire\Client\SessionDef\Projects\P4-F8L2R2B1Uav1-3x15min\P4-F8L2R2B1Uav1-3x15min-Global-Units.coni
  1. Remove fire fighting unit 9
  2. Add fire break unit 9, copy from Demo\FireBreak\P1-F8B4, and set the unit number 9.
  3. Remove logistics unit 12
  4. Renumber Rescue Unit to 12 and 13
  5. Remove Rescue Unit 14
  6. Set to what role the units will send info to


Renumber units
For every unit update.
<Units>
...
    <Unit
      IDName = "D14"
      ...
      ImageGoTo = "Unit\Number\White\14-White.gif"
      ImageGoToSelected = "Unit\Number\White\14-White-Selected.gif"
      ImagePos = "Unit\Number\Gray\14-Gray.gif"
      ImagePosSelected = "Unit\Number\Gray\14-Gray-Selected.gif"
      ...
      LongName = "Unmanned Aircraft Vehicle 14"
...
Set to what role the units will send info to
<Units>
...
    <Unit
      IDName = "F1"
      SendInfoTo = "B"

    <Unit
      IDName = "F2"
      SendInfoTo = "B"

    <Unit
      IDName = "F3"
      SendInfoTo = "B"

    <Unit
      IDName = "F4"
      SendInfoTo = "B"

    <Unit
      IDName = "F5"
      SendInfoTo = "C"

    <Unit
      IDName = "F6"
      SendInfoTo = "C"

    <Unit
      IDName = "F7"
      SendInfoTo = "C"

    <Unit
      IDName = "F8"
      SendInfoTo = "C"

    <Unit
      IDName = "B9"
      SendInfoTo = "D"

    <Unit
      IDName = "L10"
      SendInfoTo = "D"

    <Unit
      IDName = "L11"
      SendInfoTo = "D"

    <Unit
      IDName = "R12"
      SendInfoTo = "B"

    <Unit
      IDName = "R13"
      SendInfoTo = "C"

    <Unit
      IDName = "D14"
      SendInfoTo = "A"
...

UAVs

Update what role are controlling the UAV.
Edit main config files
...\SessionDef\Projects\P4-F8L2R2B1Uav1-3x15min\Condition-1\P4-F8L2R2B1Uav1-3x15min-C1.con
...\SessionDef\Projects\P4-F8L2R2B1Uav1-3x15min\Condition-2\P4-F8L2R2B1Uav1-3x15min-C2.con
...\SessionDef\Projects\P4-F8L2R2B1Uav1-3x15min\Condition-3\P4-F8L2R2B1Uav1-3x15min-C3.con
...\SessionDef\Projects\P4-F8L2R2B1Uav1-3x15min\Training-1\P4-F8L2R2B1Uav1-3x15min-T1.con
...\SessionDef\Projects\P4-F8L2R2B1Uav1-3x15min\Training-2\P4-F8L2R2B1Uav1-3x15min-T2.con
  1. Set IDName
  2. Set controller - ControllerActive = "A"


<UAVs>
    <UAV
      IDName = "D14"
      ControllerActive = "A"

Organisation

Create new role
Edit file: ...\C3LearningLabs\C3Fire\Client\SessionDef\Projects\P4-F8L2R2B1Uav1-3x15min\P4-F8L2R2B1Uav1-3x15min-Global-Roles.coni
  1. Set id name - IDName = "..."
  2. Set the units the role control, For all roles - ControlUnits = "..."
  3. Set name - LongName = "..."
  4. Set mail - MailSendTo = "..."


<Roles>
    <Role
      IDName = "A"
      ControlUnits = "D14"
      LongName = "Ground Chief A"
      MailSendTo = "B,C,D"/>

    <Role
      IDName = "B"
      ControlUnits = "F1,F2,F3,F4,R12"
      LongName = "Ground Chief B"
      MailSendTo = "A,C,D" />

    <Role
      IDName = "C"
      ControlUnits = "F4,F5,F6,F7,R13"
      LongName = "Ground Chief C"
      MailSendTo = "A,B,D" />

    <Role
      IDName = "D"
      ControlUnits = "B9,L10,L11"
      LongName = "Ground Chief D"
      MailSendTo = "A,B,C" />

Map

Roles Map Scroll Positions

Update all roles map scroll positions.

Edit file:

  • .../Condition-1/P4-F8L2R2B1Uav1-3x15min-C1-RolesScrollPos.coni
  • .../Condition-2/P4-F8L2R2B1Uav1-3x15min-C2-RolesScrollPos.coni
  • .../Condition-3/P4-F8L2R2B1Uav1-3x15min-C3-RolesScrollPos.coni
  • .../Training-1/P4-F8L2R2B1Uav1-3x15min-T1-RolesScrollPos.coni
  • .../Training-2/P4-F8L2R2B1Uav1-3x15min-T2-RolesScrollPos.coni


  <RolesScrollPos>

    <Role
      IDName = "A"
      MapStartCenterScrollPos = "20,20" />

    <Role
      IDName = "B"
      MapStartCenterScrollPos = "20,20" />

    <Role
      IDName = "C"
      MapStartCenterScrollPos = "20,20" />

    <Role
      IDName = "D"
      MapStartCenterScrollPos = "20,20" />

UAVs Map Positions

Add the new UAVs and update all UAVs map positions.

No update needed.

UAVs Map Positions

Add the new UAVs and update all UAVs map positions.

No update needed.




UnitInfoDisplay

UnitInfoDisplayOutline

Update unit information outline display.

Edit file : P2-F4UAV-UnitsInfoUI.coni

1. Copy <UnitInfoDisplayOutline Name = "Ground Chief" >
To: <UnitInfoDisplayOutline Name = "Ground Chief X" >
and
To: <UnitInfoDisplayOutline Name = "Ground Chief Y" >
2. Set what units that should be displayed for each role
Delete "UAV5" for role X
Delete "F1,F2,F3,F3" for role Y


     <UnitInfoDisplayOutline
      Name = "Ground Chief X" >

      <UnitInfoDisplayOutlineCol
        Property = "IDName"
        PropertyType = "String"
        width = "40" />

      <UnitInfoDisplayOutlineCol
        Property = "Pos"
        PropertyType = "String"
        width = "50" />

      <UnitInfoDisplayOutlineCol
        Property = "Intention"
        PropertyType = "String"
        width = "50" />

      <UnitInfoDisplayOutlineCol
        Property = "Activity"
        PropertyType = "String"
        width = "70" />

      <UnitInfoDisplayOutlineRow
        UnitIDName = "F1"
        UnitInfoDisplayDetail = "FireFighter" />

      <UnitInfoDisplayOutlineRow
        UnitIDName = "F2"
        UnitInfoDisplayDetail = "FireFighter" />

      <UnitInfoDisplayOutlineRow
        UnitIDName = "F3"
        UnitInfoDisplayDetail = "FireFighter" />

      <UnitInfoDisplayOutlineRow
        UnitIDName = "F4"
        UnitInfoDisplayDetail = "FireFighter" />


    </UnitInfoDisplayOutline>

    <UnitInfoDisplayOutline
      Name = "Ground Chief Y" >

      <UnitInfoDisplayOutlineCol
        Property = "IDName"
        PropertyType = "String"
        width = "40" />

      <UnitInfoDisplayOutlineCol
        Property = "Pos"
        PropertyType = "String"
        width = "50" />

      <UnitInfoDisplayOutlineCol
        Property = "Intention"
        PropertyType = "String"
        width = "50" />

      <UnitInfoDisplayOutlineCol
        Property = "Activity"
        PropertyType = "String"
        width = "70" />

      <UnitInfoDisplayOutlineRow
        UnitIDName = "UAV5"
        UnitInfoDisplayDetail = "UAV" />

    </UnitInfoDisplayOutline> 

    </UnitInfoDisplayOutline>

Update Role info

Update what unit information outline display each role should display
Edit file: P2-F4UAV-Roles.coni
  1. Update information outline display name for each role - UnitInfoDisplayOutline = "..."


    <Role
      IDName = "X"
      ...
      UnitInfoDisplayOutline = "Ground Chief X"
    

     <Role
       IDName = "Y"
       ...
       UnitInfoDisplayOutline = "Ground Chief Y"