Difference between revisions of "Config/P4-F8B2L3D1-3x15min-To-P4-F4B4L4D4-3x15min-3x15min"
From C3LearningLabs
(→Goal) |
|||
Line 31: | Line 31: | ||
;Copy Folder | ;Copy Folder | ||
:Copy the selected configuration folder that contain the good configuration. | :Copy the selected configuration folder that contain the good configuration. | ||
− | :Source : ...\C3LearningLabs\C3Fire\Client\SessionDef\Projects\P4- | + | :Source : ...\C3LearningLabs\C3Fire\Client\SessionDef\Projects\P4-F8B2L3D1-3x15min |
− | :New Folder: ...\C3LearningLabs\C3Fire\Client\SessionDef\Projects\P4- | + | :New Folder: ...\C3LearningLabs\C3Fire\Client\SessionDef\Projects\P4-F4B4L4D4-3x15min |
;Rename all files in folder | ;Rename all files in folder | ||
:Rename all the files so it get the new good experiment name. | :Rename all the files so it get the new good experiment name. | ||
− | :P4- | + | :P4-F8B2L3D1-3x15min => P4-F4B4L4D4 |
Line 42: | Line 42: | ||
:The main configuration files contains references to all files that build up the total configuration. | :The main configuration files contains references to all files that build up the total configuration. | ||
:Update these files. | :Update these files. | ||
− | :...\SessionDef\Projects\P4- | + | :...\SessionDef\Projects\P4-F4B4L4D4-3x15min\Condition-1\P4-F4B4L4D4-C1.con |
− | :...\SessionDef\Projects\P4- | + | :...\SessionDef\Projects\P4-F4B4L4D4-3x15min\Condition-2\P4-F4B4L4D4-C2.con |
− | :...\SessionDef\Projects\P4- | + | :...\SessionDef\Projects\P4-F4B4L4D4-3x15min\Condition-3\P4-F4B4L4D4-C3.con |
− | :...\SessionDef\Projects\P4- | + | :...\SessionDef\Projects\P4-F4B4L4D4-3x15min\Training-1\P4-F4B4L4D4-T1.con |
− | :...\SessionDef\Projects\P4- | + | :...\SessionDef\Projects\P4-F4B4L4D4-3x15min\Training-2\P4-F4B4L4D4-T2.con |
:In this example replace, P4-F9L3R2Uav1-3x15min => P4-F8L2R2B1Uav1-3x15min | :In this example replace, P4-F9L3R2Uav1-3x15min => P4-F8L2R2B1Uav1-3x15min | ||
Line 54: | Line 54: | ||
ConfigIncludeFile_ComunicationUI = "" | ConfigIncludeFile_ComunicationUI = "" | ||
ConfigIncludeFile_ComunicationUIEvents = "" | ConfigIncludeFile_ComunicationUIEvents = "" | ||
− | ConfigIncludeFile_MapObjectTypes = "../P4- | + | ConfigIncludeFile_MapObjectTypes = "../P4-F4B4L4D4-Global-ObjectsTypes.coni" |
− | ConfigIncludeFile_MapObjectsPos = "P4- | + | ConfigIncludeFile_MapObjectsPos = "P4-F4B4L4D4-C1-MapObjectsPos.coni" |
− | ConfigIncludeFile_People = "../P4- | + | ConfigIncludeFile_People = "../P4-F4B4L4D4-Global-People.coni" |
− | ConfigIncludeFile_PeoplePos = "P4- | + | ConfigIncludeFile_PeoplePos = "P4-F4B4L4D4-C1-PeoplePos.coni" |
− | ConfigIncludeFile_Roles = "../P4- | + | ConfigIncludeFile_Roles = "../P4-F4B4L4D4-Global-Roles.coni" |
− | ConfigIncludeFile_RolesScrollPos = "P4- | + | ConfigIncludeFile_RolesScrollPos = "P4-F4B4L4D4-C1-RolesScrollPos.coni" |
ConfigIncludeFile_StationActivityControlsUI = "" | ConfigIncludeFile_StationActivityControlsUI = "" | ||
ConfigIncludeFile_Stations = "" | ConfigIncludeFile_Stations = "" | ||
− | ConfigIncludeFile_UAVsPos = "P4- | + | ConfigIncludeFile_UAVsPos = "P4-F4B4L4D4-C1-UAVsPos.coni" |
− | ConfigIncludeFile_UnitInfoUI = "../P4- | + | ConfigIncludeFile_UnitInfoUI = "../P4-F4B4L4D4-Global-UnitsInfoUI.coni" |
− | ConfigIncludeFile_Units = "../P4- | + | ConfigIncludeFile_Units = "../P4-F4B4L4D4-Global-Units.coni" |
− | ConfigIncludeFile_UnitsPos = "P4- | + | ConfigIncludeFile_UnitsPos = "P4-F4B4L4D4-C1-UnitsPos.coni" |
− | ConfigIncludeFile_UserInterface = "../P4- | + | ConfigIncludeFile_UserInterface = "../P4-F4B4L4D4-Global-UIMain.coni" |
− | ConfigIncludeFile_UserInterfaceGlobal = "../P4- | + | ConfigIncludeFile_UserInterfaceGlobal = "../P4-F4B4L4D4-Global-UIGlobal.coni" |
ConfigIncludeFile_VehicleActivityControlsUI = "" | ConfigIncludeFile_VehicleActivityControlsUI = "" | ||
ConfigIncludeFile_Vehicles = "" | ConfigIncludeFile_Vehicles = "" | ||
Line 79: | Line 79: | ||
:The information will be stored in the logfiles, and can be used in the analyses process. | :The information will be stored in the logfiles, and can be used in the analyses process. | ||
− | :...\SessionDef\Projects\P4- | + | :...\SessionDef\Projects\P4-F4B4L4D4-3x15min\Condition-1\P4-F4B4L4D4-C1.con |
− | :...\SessionDef\Projects\P4- | + | :...\SessionDef\Projects\P4-F4B4L4D4-3x15min\Condition-2\P4-F4B4L4D4-C2.con |
− | :...\SessionDef\Projects\P4- | + | :...\SessionDef\Projects\P4-F4B4L4D4-3x15min\Condition-3\P4-F4B4L4D4-C3.con |
− | :...\SessionDef\Projects\P4- | + | :...\SessionDef\Projects\P4-F4B4L4D4-3x15min\Training-1\P4-F4B4L4D4-T1.con |
− | :...\SessionDef\Projects\P4- | + | :...\SessionDef\Projects\P4-F4B4L4D4-3x15min\Training-2\P4-F4B4L4D4-T2.con |
:Example | :Example | ||
Line 91: | Line 91: | ||
ConditionNumber = "1" | ConditionNumber = "1" | ||
ExperimentGroup = "" | ExperimentGroup = "" | ||
− | ExperimentName = "P4- | + | ExperimentName = "P4-F4B4L4D4-3x15min" |
ServerName = "" | ServerName = "" | ||
ServerNumber = "0" | ServerNumber = "0" | ||
− | SessionConfigFileName = "P4- | + | SessionConfigFileName = "P4-F4B4L4D4-C3.con" |
SessionName = "" | SessionName = "" | ||
SessionNumber = "" | SessionNumber = "" | ||
SessionPicDirectory = "" | SessionPicDirectory = "" | ||
− | SessionScenarioFileName = "P4- | + | SessionScenarioFileName = "P4-F4B4L4D4-C3.sce" |
SessionType = "" /> | SessionType = "" /> | ||
</source> | </source> |
Revision as of 11:35, 29 September 2023
Goal
In this example we will change the organization and units in an existing configuration.
- Start Configuration - P4-F8B2L3D1 (P4-F8B2L3D1-3x15min)
- P4 = 4 Players
- F8 = 8 fire fighting units
- B2 = 2 Fire Break units
- L3 = 3 Logistics units
- D1 = 1 Drone
- Goal Configuration - P4-F4B4L4D4 (P4-F4B4L4D4-3x15min)
- P4 = 4 Players
- F8 = 8 fire fighting units
- B2 = 2 Fire Break units
- L3 = 3 Logistics units
- D1 = 1 Drone
- Changes
- Players, change what units the players control.
- Fire fighting units, remove 4 unit.
- Fire break unit, add 2 unit.
- Logistics units, add 1 unit.
- Drone, add 3 unit.
Create new configuration files
- Copy Folder
- Copy the selected configuration folder that contain the good configuration.
- Source : ...\C3LearningLabs\C3Fire\Client\SessionDef\Projects\P4-F8B2L3D1-3x15min
- New Folder: ...\C3LearningLabs\C3Fire\Client\SessionDef\Projects\P4-F4B4L4D4-3x15min
- Rename all files in folder
- Rename all the files so it get the new good experiment name.
- P4-F8B2L3D1-3x15min => P4-F4B4L4D4
- Update file references in config files
- The main configuration files contains references to all files that build up the total configuration.
- Update these files.
- ...\SessionDef\Projects\P4-F4B4L4D4-3x15min\Condition-1\P4-F4B4L4D4-C1.con
- ...\SessionDef\Projects\P4-F4B4L4D4-3x15min\Condition-2\P4-F4B4L4D4-C2.con
- ...\SessionDef\Projects\P4-F4B4L4D4-3x15min\Condition-3\P4-F4B4L4D4-C3.con
- ...\SessionDef\Projects\P4-F4B4L4D4-3x15min\Training-1\P4-F4B4L4D4-T1.con
- ...\SessionDef\Projects\P4-F4B4L4D4-3x15min\Training-2\P4-F4B4L4D4-T2.con
- In this example replace, P4-F9L3R2Uav1-3x15min => P4-F8L2R2B1Uav1-3x15min
<Config
Type = "ForestFire"
ConfigIncludeFile_ComunicationUI = ""
ConfigIncludeFile_ComunicationUIEvents = ""
ConfigIncludeFile_MapObjectTypes = "../P4-F4B4L4D4-Global-ObjectsTypes.coni"
ConfigIncludeFile_MapObjectsPos = "P4-F4B4L4D4-C1-MapObjectsPos.coni"
ConfigIncludeFile_People = "../P4-F4B4L4D4-Global-People.coni"
ConfigIncludeFile_PeoplePos = "P4-F4B4L4D4-C1-PeoplePos.coni"
ConfigIncludeFile_Roles = "../P4-F4B4L4D4-Global-Roles.coni"
ConfigIncludeFile_RolesScrollPos = "P4-F4B4L4D4-C1-RolesScrollPos.coni"
ConfigIncludeFile_StationActivityControlsUI = ""
ConfigIncludeFile_Stations = ""
ConfigIncludeFile_UAVsPos = "P4-F4B4L4D4-C1-UAVsPos.coni"
ConfigIncludeFile_UnitInfoUI = "../P4-F4B4L4D4-Global-UnitsInfoUI.coni"
ConfigIncludeFile_Units = "../P4-F4B4L4D4-Global-Units.coni"
ConfigIncludeFile_UnitsPos = "P4-F4B4L4D4-C1-UnitsPos.coni"
ConfigIncludeFile_UserInterface = "../P4-F4B4L4D4-Global-UIMain.coni"
ConfigIncludeFile_UserInterfaceGlobal = "../P4-F4B4L4D4-Global-UIGlobal.coni"
ConfigIncludeFile_VehicleActivityControlsUI = ""
ConfigIncludeFile_Vehicles = ""
Version = "4.0.1" >
- Update session info.
- This is important
- The session information is information that describes the experiment sessions.
- The information will be stored in the logfiles, and can be used in the analyses process.
- ...\SessionDef\Projects\P4-F4B4L4D4-3x15min\Condition-1\P4-F4B4L4D4-C1.con
- ...\SessionDef\Projects\P4-F4B4L4D4-3x15min\Condition-2\P4-F4B4L4D4-C2.con
- ...\SessionDef\Projects\P4-F4B4L4D4-3x15min\Condition-3\P4-F4B4L4D4-C3.con
- ...\SessionDef\Projects\P4-F4B4L4D4-3x15min\Training-1\P4-F4B4L4D4-T1.con
- ...\SessionDef\Projects\P4-F4B4L4D4-3x15min\Training-2\P4-F4B4L4D4-T2.con
- Example
<SessionInfo
ConditionName = "C1"
ConditionNumber = "1"
ExperimentGroup = ""
ExperimentName = "P4-F4B4L4D4-3x15min"
ServerName = ""
ServerNumber = "0"
SessionConfigFileName = "P4-F4B4L4D4-C3.con"
SessionName = ""
SessionNumber = ""
SessionPicDirectory = ""
SessionScenarioFileName = "P4-F4B4L4D4-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 = "" />
...