C3Fire

Difference between revisions of "Doc/People"

From C3LearningLabs
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE: Civilian People}}
+
{{DISPLAYTITLE: People}}
  
 
= Move people during a session =
 
= Move people during a session =
  
People can be moved around the map by the session manager or a assigned player (People move controller).
+
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 need to have the "PersonMoveControl" panel visible in their user interface.
+
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 11: Line 11:
 
In this demo session the manager and the player PC (People Controller) can move people.
 
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
+
It is located in: C:\C3LearningLabs\C3Fire\Client\SessionDef\Demo\RescuePersons\P1C1-F2R1T1
  
 
== Configuration ==
 
== Configuration ==
To activate the functionality the manager or player need to have the "PersonMoveControl" panel visible in their user interface.
+
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 us to be in the xxx-UIMain-xxx.coni file.
+
The user interface configuration must be in the xxx-UIMain-xxx.coni file.
  
 
;Player UI
 
;Player UI
The players UI is defined in the xml element:
+
The Player UI is defined in the xml element:
 
<syntaxhighlight lang="xml">
 
<syntaxhighlight lang="xml">
 
   <UserInterfaceLayout>
 
   <UserInterfaceLayout>
Line 69: Line 69:
 
=== Color configuration ===
 
=== Color configuration ===
  
== Move people Control Panel ==
+
== People Control Panel ==
  
  
 
[[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 amount of people in each position on the map.
+
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 amount of people the controller currently are moving.
+
The Moving number is the number of people the manager or player is currently moving.
  
  
 
;Map information
 
;Map information
:When the move people control panel is visible all positions with people on it will have an indicating border.
+
When the People control panel is visible all locations with people are indicated by a blue border.
:When the controller presses the "View People" button is pressed the map shows the amount of people on each position.
+
When the manager or player presses the "View People" button, the map shows the number of people at each position.
  
 
{|
 
{|
Line 88: Line 88:
 
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
|[[File:c3fire-doc-people-map-number.png|border|map numberl]]
 
|[[File:c3fire-doc-people-map-number.png|border|map numberl]]
 +
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 +
|[[File:c3fire-doc-people-map-dead-2.png|border|map numberl]]
 
|-
 
|-
 
|style="text-align: center;" |
 
|style="text-align: center;" |
Line 97: Line 99:
 
|style="text-align: center;" |
 
|style="text-align: center;" |
 
Amount visible
 
Amount visible
 +
|
 +
|style="text-align: center;" |
 +
Lost people visible with red numbers
 
|}
 
|}
  
Line 102: Line 107:
  
 
;Move
 
;Move
When the amount of persons on a position is visible the controller can drag the people with the mouse.<br>
+
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 on a position with people
+
#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 wanted location
+
#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  amount of people to move
+
;Specify the  number of people to move
The controller can change the amount of people to move.<br>
+
The manager or player can select the number of people to move.<br>
It is done by pressing a number key while dragging the mouse.<br>
+
This is done by pressing a number key whilst dragging the mouse.<br>
Possible key are <0> to <9>
+
Possible keys are <0> to <9>
  
#Point the mouse pointer on a position with people
+
#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 keyboard key <0> to <9>
+
#Press key <0> to <9> on the keyboard.
#Move mouse pointer to wanted location
+
#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]]

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

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.

map normal          map border          map numberl          map numberl

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.

  1. Point the mouse pointer at a location with people.
  2. Press the left mouse button and keep it pressed.
  3. Move the mouse pointer to the desired location.
  4. Release the left mouse button

map border


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>

  1. Point the mouse pointer to a location with people.
  2. Press the left mouse button and keep it pressed.
  3. Press key <0> to <9> on the keyboard.
  4. Move the mouse pointer to the desired location.
  5. Release the left mouse button.

map numberl