Difference between revisions of "Doc/People"
(27 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{DISPLAYTITLE: | + | {{DISPLAYTITLE: People}} |
= 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 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. | ||
+ | |||
+ | It is located in: C:\C3LearningLabs\C3Fire\Client\SessionDef\Demo\RescuePersons\P1C1-F2R1T1 | ||
== Configuration == | == 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 [[Config/UI/Main_Layout#PersonMoveControl|Person Move Control]] | ||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
Line 20: | Line 29: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | + | The user interface configuration must be in the xxx-UIMain-xxx.coni file. | |
+ | ;Player UI | ||
+ | The Player UI is defined in the xml element: | ||
+ | <syntaxhighlight lang="xml"> | ||
+ | <UserInterfaceLayout> | ||
+ | ... | ||
+ | <Layout | ||
+ | Name = "Ground Chief" > | ||
+ | ... | ||
+ | <Object | ||
+ | Name = "PersonMoveControl" | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | ;Manager UI | ||
+ | The Manager UI is defined in the xml element: | ||
+ | <syntaxhighlight lang="xml"> | ||
+ | <ManagerConfig | ||
+ | WindowSize = "1325,945" > | ||
+ | |||
+ | <SessionControlLayout> | ||
+ | ... | ||
+ | <Object | ||
+ | Name = "PersonMoveControl" | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | ;Replay UI | ||
+ | The Replay UI is defined in the xml element: | ||
+ | <syntaxhighlight lang="xml"> | ||
+ | <ReplayConfig | ||
+ | WindowSize = "1300,996" > | ||
+ | |||
+ | <SimulationMapLayout> | ||
+ | ... | ||
+ | <Object | ||
+ | Name = "PersonMoveControl" | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | === Color configuration === | ||
+ | |||
+ | == People Control Panel == | ||
+ | |||
+ | |||
+ | [[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 number of people at each location on the map. | ||
+ | The Moving number is the number of people the manager or player is currently moving. | ||
+ | |||
+ | |||
+ | ;Map information | ||
+ | When the People control panel is visible all locations with people are 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. | ||
+ | |||
+ | {| | ||
+ | |[[File:c3fire-doc-people-map-normal.png|border|map normal]] | ||
+ | | | ||
+ | |[[File:c3fire-doc-people-map-border.png|border|map border]] | ||
+ | | | ||
+ | |[[File:c3fire-doc-people-map-number.png|border|map numberl]] | ||
+ | | | ||
+ | |[[File:c3fire-doc-people-map-dead-2.png|border|map numberl]] | ||
+ | |- | ||
+ | |style="text-align: center;" | | ||
+ | Normal | ||
+ | | | ||
+ | |style="text-align: center;" | | ||
+ | Location visible | ||
+ | | | ||
+ | |style="text-align: center;" | | ||
+ | Amount visible | ||
+ | | | ||
+ | |style="text-align: center;" | | ||
+ | Lost people visible with red numbers | ||
+ | |} | ||
== Move People == | == Move People == | ||
+ | |||
+ | ;Move | ||
+ | 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 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 | ||
+ | [[File:c3fire-doc-people-map-move-start.png||border|map border]] | ||
+ | |||
+ | |||
+ | ;Specify the number of people to move | ||
+ | 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 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. | ||
+ | |||
+ | [[File:c3fire-doc-people-map-move-end.png||border|map numberl]] |
Latest revision as of 23:17, 28 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.
It is 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
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 manager or player is currently moving.
- Map information
When the People control panel is visible all locations with people are 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 |
Lost people visible with red numbers |
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.