<AttributeTable>

<!-- Debug settings -->
  <Attribute name="always_reload_settings" value="true" type="bool" /> <!-- For debug: Reloading dialog settings before every dialog -->
    
<!-- ### Dialog mode -->
  <DialogMode>
    <Attribute name="dialog_pc_npc_distance" value="220.0" type="float" /> <!-- The distance between the PC and the NPC when in dialog mode -->		
  </DialogMode>  
  
<!-- ### Communication sequences -->
  <CommunicationSequences>
    <Attribute name="min_time_between_communication_sequences" value="0.1" type="float" /> <!-- Minimum time between two communication sequences in seconds -->		
    <Attribute name="max_time_between_communication_sequences" value="0.5" type="float" /> <!-- Maximum time between two communication sequences in seconds -->		
 
    <Attribute name="min_delay_before_first_speech" value="0" type="float" /> <!-- Min delay before first speech starts in seconds -->		
    <Attribute name="max_delay_before_first_speech" value="0" type="float" /> <!-- Max delay before first speech starts in seconds -->		
    
    <Attribute name="min_delay_before_speech" value="0" type="float" /> <!-- Min delay before speech (except first) starts in seconds -->		
    <Attribute name="max_delay_before_speech" value="0" type="float" /> <!-- Max delay before speech (except first) starts in seconds -->		
                                                                              
    <Attribute name="min_delay_after_speech" value="0" type="float" /> <!-- Min delay after speech (except first) starts in seconds -->		
    <Attribute name="max_delay_after_speech" value="0" type="float" /> <!-- Max delay after speech (except first) starts in seconds -->		

    <Attribute name="animation_min_speed" value="0.99" type="float" /> <!-- The minimum speed with which the communication sequences of an actor are played -->	
    <Attribute name="animation_max_speed" value="1.01" type="float" /> <!-- The maximum speed with which the communication sequences of an actor are played -->	 
  </CommunicationSequences>

<!-- ### Camera settings -->
  <CameraSettings>
    <Attribute name="camera_min_angle" value="5.0" type="float" /> <!-- The minimum angle for the camera (0 means right behind the listening actor) -->
    <Attribute name="camera_max_angle" value="60.0" type="float" /> <!-- The maximum angle for the camera (90 means between listener and talker) -->	
    <Attribute name="camera_angle_step" value="1.0" type="float" /> <!-- Which angles between min and max angle are tried (e.g. step = 0.5 => min, min + 0.5, min + 1.0, min + 1.5,...) 
                                                                         The smaller the step the more angles are tried. -->	  
    <Attribute name="camera_angle_offset" value="10.0" type="float" /> <!-- The minimum offset of the second configuration compared to the first one -->	
    
    <Attribute name="camera_min_distance" value="400.0" type="float" /> <!-- The minimum distance from the camera to the actor -->
    <Attribute name="camera_max_distance" value="500.0" type="float" /> <!-- The maximum distance from the camera to the actor -->	
    <Attribute name="camera_distance_step" value="10.0" type="float" /> <!-- Which distances between min and max angle are tried (e.g. step = 0.5 => min, min + 0.5, min + 1.0, min + 1.5,...) 
                                                                          The smaller the step the more distances are tried. -->	  
    
    <Attribute name="camera_hori_offset_after_rotation" value="80.0" type="float" /> <!-- The horizontal offset after focusing on the reference point -->
    <Attribute name="camera_vert_offset_after_rotation" value="-40.0" type="float" /> <!-- The vertical offset after focusing on the reference point -->	 
    
    <Attribute name="camera_radius" value="10.0" type="float" /> <!-- The radius of the dialog camera -->	 
      	
    <Attribute name="camera_side_min_angle" value="70.0" type="float" />  <!-- The minimum angle for the side camera -->
    <Attribute name="camera_side_max_angle" value="110.0" type="float" /> <!-- The maximum angle for the side camera (90 means between listener and talker) -->	
    <Attribute name="camera_side_angle_step" value="5.0" type="float" /> <!-- Which angles between min and max angle are tried (e.g. step = 0.5 => min, min + 0.5, min + 1.0, min + 1.5,...) 
                                                                              The smaller the step the more angles are tried. -->	 
                                                                              
    <Attribute name="camera_side_min_cuts" value="5" type="ulong" /> <!-- The minimum number of cuts after which the side camera is used -->	
    <Attribute name="camera_side_max_cuts" value="8" type="ulong" /> <!-- The maximum number of cuts after which the side camera is used -->	 
        
  </CameraSettings>    
  
<!-- Fallback camera configuration -->
  <CameraFallbackConfiguration>  
    <Attribute name="camera_fallback_always_use" value="false" type="bool" /> <!-- For debug: Always forcing the fallback camera to be used -->
    <Attribute name="camera_fallback_mode" value="2" type="ulong" /> <!-- Mode of the fallback camera (FEET_LISTENER_TO_HEAD_TALKER = 1, HEAD_TALKER_TO_FORWARD, HEAD_TALKER_TO_HEAD_TALKER, HEAD_TALKER_TO_CENTER_ACTORS, CENTER_ACTORS_TO_CENTER_ACTORS) -->
    <Attribute name="camera_fallback_angle" value="0" type="float" /> <!-- Angle of the fallback camera -->    
    <Attribute name="camera_fallback_distance" value="90.0" type="ulong" /> <!-- Distance of the fallback camera -->   
    <Attribute name="camera_fallback_hori_offset_after_rotation" value="0.0" type="float" /> <!-- Horizontal offset of the fallback camera -->
    <Attribute name="camera_fallback_vert_offset_after_rotation" value="0.0" type="float" /> <!-- Vertical offset of the fallback camera -->   
  </CameraFallbackConfiguration>
  
</AttributeTable>
