Remove Units
From C3LearningLabs
Create new configuration files
- Copy Folder
- Copy existing configuration folder.
- Rename all files in folder
- Example
- P4-F8L2R2B1Uav1-3x15min
- P4: 4 Players
- F8: 8 Fire fighting units
- L2: 2 Logistic units
- R2: 2 Search and Rescue units
- B1: 1 Fire break unit
- Uav1: 1 Uav unit
- 3x15min: 3 experiment session a 15 minutes, the training session are not counted.
- Update file references in config files
- Update the start of all *.con files.
- Example
<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.
- Update the <SessionInfo> in all *.con files.
- 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.
- 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: ...\*-Global-Units.coni
- Remove units
- Renumber units
- Uppdate number dependent information for all units.
- Update SendInfoTo
- Renumber units
- For every unit update.
<Units>
...
<Unit
IDName = "D14"
...
ControlDisplay = "..."
...
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"
...
UAVs
- Update what role are controlling the UAV.
- Edit UAVs info in all main config files
- ...\*.con
- Set IDName
- Set controller - ControllerActive = "A"
<UAVs>
<UAV
IDName = "D14"
ControllerActive = "A"
- Edit all UAVs Pos config files
- ...\*-UAVsPos.coni
<UAVsPos>
<UAV
IDName = "D10"
HomeBasePos = "21,21" />
Organisation
- Edit file: ...\*-Global-Roles.coni
- Update what units the all roles control, ControlUnits = "..."
<Roles>
<Role
IDName = "B"
ControlUnits = "F1,F2,F3,F4,R12"
... />
Units Map Positions
Update all Units map positions.
Edit all unit pos files :
- .../*-UnitsPos.coni
Example
<Unit
IDName = "B9"
Pos = "23,22" />
UAVs Map Positions
Update all UAVs map positions.
Edit all uavs pos files:
- .../*-UAVsPos.coni
<UAVsPos>
<UAV
IDName = "D10"
HomeBasePos = "21,21" />
UnitInfoDisplay
UnitInfoDisplayOutline
- Update unit information outline display.
Edit file : *-Global-UnitsInfoUI.coni
- For all players and Manger, update what units that should be visible in the Unit info panels.
- Update all.
- <UnitInfoDisplayOutlineRow
- UnitIDName = "..."
- UnitInfoDisplayDetail = "..." />
- <UnitInfoDisplayOutlineRow
<UnitInfoDisplayOutline
Name = "Ground Chief A" >
...
<UnitInfoDisplayOutlineRow
UnitIDName = "D14"
UnitInfoDisplayDetail = "UAV" />
</UnitInfoDisplayOutline>
<UnitInfoDisplayOutline
Name = "Ground Chief B" >
...
<UnitInfoDisplayOutlineRow
UnitIDName = "F1"
UnitInfoDisplayDetail = "FireFighter" />
<UnitInfoDisplayOutlineRow
UnitIDName = "F2"
UnitInfoDisplayDetail = "FireFighter" />
<UnitInfoDisplayOutlineRow
UnitIDName = "F3"
UnitInfoDisplayDetail = "FireFighter" />
<UnitInfoDisplayOutlineRow
UnitIDName = "F4"
UnitInfoDisplayDetail = "FireFighter" />
<UnitInfoDisplayOutlineRow
UnitIDName = "R12"
UnitInfoDisplayDetail = "PersonTransporter" />
</UnitInfoDisplayOutline>
<UnitInfoDisplayOutline
Name = "Ground Chief C" >
...
<UnitInfoDisplayOutlineRow
UnitIDName = "F5"
UnitInfoDisplayDetail = "FireFighter" />
<UnitInfoDisplayOutlineRow
UnitIDName = "F6"
UnitInfoDisplayDetail = "FireFighter" />
<UnitInfoDisplayOutlineRow
UnitIDName = "F7"
UnitInfoDisplayDetail = "WaterTruck" />
<UnitInfoDisplayOutlineRow
UnitIDName = "F8"
UnitInfoDisplayDetail = "WaterTruck" />
<UnitInfoDisplayOutlineRow
UnitIDName = "R13"
UnitInfoDisplayDetail = "PersonTransporter" />
</UnitInfoDisplayOutline>
<UnitInfoDisplayOutline
Name = "Ground Chief D" >
...
<UnitInfoDisplayOutlineRow
UnitIDName = "B9"
UnitInfoDisplayDetail = "FireBreak" />
<UnitInfoDisplayOutlineRow
UnitIDName = "L10"
UnitInfoDisplayDetail = "WaterTruck" />
<UnitInfoDisplayOutlineRow
UnitIDName = "L11"
UnitInfoDisplayDetail = "WaterTruck" />
</UnitInfoDisplayOutline>
<UnitInfoDisplayOutline
Name = "Manager" >
...
<UnitInfoDisplayOutlineRow
UnitIDName = "F1"
UnitInfoDisplayDetail = "FireFighter" />
<UnitInfoDisplayOutlineRow
UnitIDName = "F2"
UnitInfoDisplayDetail = "FireFighter" />
<UnitInfoDisplayOutlineRow
UnitIDName = "F3"
UnitInfoDisplayDetail = "FireFighter" />
<UnitInfoDisplayOutlineRow
UnitIDName = "F4"
UnitInfoDisplayDetail = "FireFighter" />
<UnitInfoDisplayOutlineRow
UnitIDName = "F5"
UnitInfoDisplayDetail = "FireFighter" />
<UnitInfoDisplayOutlineRow
UnitIDName = "F6"
UnitInfoDisplayDetail = "FireFighter" />
<UnitInfoDisplayOutlineRow
UnitIDName = "F7"
UnitInfoDisplayDetail = "FireFighter" />
<UnitInfoDisplayOutlineRow
UnitIDName = "F8"
UnitInfoDisplayDetail = "FireFighter" />
<UnitInfoDisplayOutlineRow
UnitIDName = "B9"
UnitInfoDisplayDetail = "FireBreak" />
<UnitInfoDisplayOutlineRow
UnitIDName = "L10"
UnitInfoDisplayDetail = "WaterTruck" />
<UnitInfoDisplayOutlineRow
UnitIDName = "L11"
UnitInfoDisplayDetail = "WaterTruck" />
<UnitInfoDisplayOutlineRow
UnitIDName = "R12"
UnitInfoDisplayDetail = "PersonTransporter" />
<UnitInfoDisplayOutlineRow
UnitIDName = "R13"
UnitInfoDisplayDetail = "PersonTransporter" />
<UnitInfoDisplayOutlineRow
UnitIDName = "D14"
UnitInfoDisplayDetail = "UAV" />
</UnitInfoDisplayOutline>