Difference between revisions of "Doc/People"
Line 3: | Line 3: | ||
= Move people during a session = | = Move people during a session = | ||
− | People can be moved around the map by the session manager or | + | People can be moved around the map by the session manager or an assigned player (People Controller). |
− | To activate this functionality the manager or player | + | To activate this functionality the manager or player needs to have the "PersonMoveControl" panel visible in their user interface. |
This functionality is demonstrated in the demo configuration, '''\Demo\RescuePersons\P1C1-F2R1T1''' | This functionality is demonstrated in the demo configuration, '''\Demo\RescuePersons\P1C1-F2R1T1''' | ||
Line 14: | Line 14: | ||
== Configuration == | == Configuration == | ||
− | To activate the functionality the manager or player | + | To activate the functionality the manager or player needs to have the "PersonMoveControl" panel visible in their user interface. |
This is done by setting the Visible attribute to true, and setting the position of the panel in the user interface configuration. | This is done by setting the Visible attribute to true, and setting the position of the panel in the user interface configuration. | ||
Line 29: | Line 29: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | The user interface configuration | + | The user interface configuration must be in the xxx-UIMain-xxx.coni file. |
;Player UI | ;Player UI | ||
− | The | + | The Player UI is defined in the xml element: |
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
<UserInterfaceLayout> | <UserInterfaceLayout> | ||
Line 74: | Line 74: | ||
[[File:c3fire-config-ui-main-layout-person-move-control.png|border|Person Move Control]] | [[File:c3fire-config-ui-main-layout-person-move-control.png|border|Person Move Control]] | ||
− | :The "View People" button is a toggle button that is used to show the | + | :The "View People" button is a toggle button that is used to show the number of people at each location on the map. |
− | :The Moving number is the | + | :The Moving number is the number of people the controller is currently moving. |
;Map information | ;Map information | ||
− | :When the move people control panel is visible all | + | :When the move people control panel is visible all locations with people will be indicated by a blue border. |
− | :When the | + | :When the manager or player presses the "View People" button, the map shows the number of people at each position. |
{| | {| | ||
Line 102: | Line 102: | ||
;Move | ;Move | ||
− | When the | + | When the number of people at a location is visible, the manager or player can drag those people with the mouse.<br> |
− | #Point the mouse pointer | + | #Point the mouse pointer at a location with people. |
− | #Press left mouse button and keep it pressed. | + | #Press the left mouse button and keep it pressed. |
− | #Move mouse pointer to | + | #Move the mouse pointer to the desired location. |
− | #Release mouse button | + | #Release the left mouse button |
[[File:c3fire-doc-people-map-move-start.png||border|map border]] | [[File:c3fire-doc-people-map-move-start.png||border|map border]] | ||
− | ;Specify the | + | ;Specify the number of people to move |
− | The | + | The manager or player can select the number of people to move.<br> |
− | + | This is done by pressing a number key whilst dragging the mouse.<br> | |
− | Possible | + | Possible keys are <0> to <9> |
− | #Point the mouse pointer | + | #Point the mouse pointer to a location with people. |
− | #Press left mouse button and keep it pressed. | + | #Press the left mouse button and keep it pressed. |
− | #Press | + | #Press key <0> to <9> on the keyboard. |
− | #Move mouse pointer to | + | #Move the mouse pointer to the desired location. |
− | #Release mouse button | + | #Release the left mouse button. |
[[File:c3fire-doc-people-map-move-end.png||border|map numberl]] | [[File:c3fire-doc-people-map-move-end.png||border|map numberl]] |
Revision as of 22:29, 27 March 2022
Move people during a session
People can be moved around the map by the session manager or an assigned player (People Controller).
To activate this functionality the manager or player needs to have the "PersonMoveControl" panel visible in their user interface.
This functionality is demonstrated in the demo configuration, \Demo\RescuePersons\P1C1-F2R1T1
In this demo session the manager and the player PC (People Controller) can move people.
- Located in: C:\C3LearningLabs\C3Fire\Client\SessionDef\Demo\RescuePersons\P1C1-F2R1T1
Configuration
To activate the functionality the manager or player needs to have the "PersonMoveControl" panel visible in their user interface. This is done by setting the Visible attribute to true, and setting the position of the panel in the user interface configuration.
More information at: UI Main Layout Person Move Control
<Object
Name = "PersonMoveControl"
BorderVisible = "True"
Enabeled = "False"
Pos = "1190,100"
Size = "140,85"
Visible = "True" />
The user interface configuration must be in the xxx-UIMain-xxx.coni file.
- Player UI
The Player UI is defined in the xml element:
<UserInterfaceLayout>
...
<Layout
Name = "Ground Chief" >
...
<Object
Name = "PersonMoveControl"
- Manager UI
The Manager UI is defined in the xml element:
<ManagerConfig
WindowSize = "1325,945" >
<SessionControlLayout>
...
<Object
Name = "PersonMoveControl"
- Replay UI
The Replay UI is defined in the xml element:
<ReplayConfig
WindowSize = "1300,996" >
<SimulationMapLayout>
...
<Object
Name = "PersonMoveControl"
Color configuration
Move people Control Panel
- The "View People" button is a toggle button that is used to show the number of people at each location on the map.
- The Moving number is the number of people the controller is currently moving.
- Map information
- When the move people control panel is visible all locations with people will be indicated by a blue border.
- When the manager or player presses the "View People" button, the map shows the number of people at each position.
Normal |
Location visible |
Amount visible |
Move People
- Move
When the number of people at a location is visible, the manager or player can drag those people with the mouse.
- Point the mouse pointer at a location with people.
- Press the left mouse button and keep it pressed.
- Move the mouse pointer to the desired location.
- Release the left mouse button
- Specify the number of people to move
The manager or player can select the number of people to move.
This is done by pressing a number key whilst dragging the mouse.
Possible keys are <0> to <9>
- Point the mouse pointer to a location with people.
- Press the left mouse button and keep it pressed.
- Press key <0> to <9> on the keyboard.
- Move the mouse pointer to the desired location.
- Release the left mouse button.