Difference between revisions of "Show Look At"

From Second Life Wiki
Jump to navigation Jump to search
(Syntax/code highlighter fix, <xml></xml> seems deprecated.)
 
(18 intermediate revisions by 5 users not shown)
Line 1: Line 1:
To use Show Look At, enable [[Advanced menu]] > Character > Show Look At.
{{Help|Viewer=*}}
 
To use '''Show Look At''', enable the Develop menu with {{K|Ctrl|Alt|Q}}, then '''Develop''' > '''Avatar''' > '''Show Look At'''. (On viewers before 2.0, try '''[[Advanced]]''' menu > '''Character''' > '''Show Look At'''.)  The LookAt point is an animation hint, viewers use it to know what way to turn your eyes, head and torso.


Thanks to Richard Linden for this info on what the different colors mean:
Thanks to Richard Linden for this info on what the different colors mean:


* '''Nothing''' - dark gray
<!-- The colors came from the viewer source in newview/llhudeffectlookat.cpp, translated to hex RGB for here. -->
* '''Idle''' - light gray (look straight forward)
{{{!}}class="wikitablecollapsible" {{Prettytable|style=margin-top:0;}}
* '''AutoListen''' - light gray (look at avatars and objects that are talking around you)
{{!}}-{{Hl2}}
* '''FreeLook''' - blue (follow the mouse cursor)
! Attention
* '''Respond''' - black (look at someone when typing a response to them)
! Color
* '''Hover''' - green (look at the object your mouse is hovering over, when tooltips enabled)
! style="width:20px;"|
* '''Conversation''' - dark blue (look at someone after clicking on them)
! Description
* '''Select''' - pink (look at the selected object)
|-
* '''Focus''' - purple (look at the alt-zoom target)
|'''None'''  
* '''Mouselook''' - yellow (follow cursor in mouselook)
|dark gray
|style="background-color:#4D4D4D"|
|
|-
|'''Idle'''
|light gray
|style="background-color:#7F7F7F;"|
|default when no other attentions are active
|-
|'''AutoListen'''
|light gray
|style="background-color:#7F7F7F;"|
|look at avatars and objects that are talking around you
|-
|'''FreeLook'''
|slate blue
|style="background-color:#7F7FE5;"|
|follow the mouse cursor
|-
|'''Respond'''
|black
|style="background-color:#000000;"|
|look at someone when typing a response to them
|-
|'''Hover'''
|green
|style="background-color:#7FE57F;"|
|look at the object your mouse is hovering over, when [[hover tips]] enabled ''(not used in Viewer 2)''
|-
|'''Conversation'''
|dark blue
|style="background-color:#19197F;"|
|look at someone after clicking on them ''(disabled by default)''
|-
|'''Select'''
|coral
|style="background-color:#E57F7F;"|
|look at the selected (right-clicked) object
|-
|'''Focus'''
|violet
|style="background-color:#E57FE9;"|
|look at the [[alt-zoom]] target. This crosshair does not necessarily follow your camera, it is only the starting point or object from before you began to zoom around. If you focus on yourself, or use Alt+arrow keys to move the camera around, an arbitrary focus point several meters in front of you, not pointing at anything in particular, is used.
|-
|'''Mouselook'''
|yellow
|style="background-color:#E9E97F;"|
|follow cursor in [[mouselook]]
 
|}
 
There are various values that control how long these lookats are valid, how they prioritize relative to each other, what the percentage chance of them triggering is, etc. You can find the settings in <code>character/attentions.xml</code> (for example, <code>C:\Program Files\SecondLife\character\attentions.xml</code>).
 
This video shows how '''Show Look At''' works in action:
 
{{KBvideo|4168630}}
 
 
== Tweaking attentions.xml ==
The standard attentions.xml file looks like this. There are separate sections for when you are wearing a male or female shape, but by default the numbers are set to be the same.
<syntaxhighlight lang="xml">
<?xml version="1.0" encoding="US-ASCII" standalone="yes"?>
<linden_attentions version="1.0">
  <gender name="Masculine">
      <param attention="idle"        priority="1.0" timeout="3.0"  />
      <param attention="auto_listen"  priority="3.0" timeout="4.0"  />
      <param attention="freelook"    priority="2.0" timeout="2.0"  />
      <param attention="respond"      priority="3.0" timeout="4.0"  />
      <param attention="hover"        priority="4.0" timeout="1.0"  />
      <param attention="conversation" priority="0.0" timeout="-1"  />
      <param attention="select"      priority="6.0" timeout="-1"  />
      <param attention="focus"        priority="6.0" timeout="-1"  />
      <param attention="mouselook"    priority="7.0" timeout="-1"  />
  </gender>
  <gender name="Feminine">
      <param attention="idle"        priority="1.0" timeout="3.0"  />
      <param attention="auto_listen"  priority="3.0" timeout="4.0"  />
      <param attention="freelook"    priority="2.0" timeout="2.0"  />
      <param attention="respond"      priority="3.0" timeout="4.0"  />
      <param attention="hover"        priority="4.0" timeout="1.0"  />
      <param attention="conversation" priority="0.0" timeout="-1"  />
      <param attention="select"      priority="6.0" timeout="-1"  />
      <param attention="focus"        priority="6.0" timeout="-1"  />
      <param attention="mouselook"    priority="7.0" timeout="-1"  />
  </gender>
</linden_attentions>
</syntaxhighlight>
Why would we want to change this? One reason could be the "stop camming me!" phenomenon. Sometimes people can be upset by the hover, select and focus crosshairs appearing on their heads, so we can tell our avatars not to use those. Simply set their priorities to 0.0 like so:
 
<syntaxhighlight lang="xml">
<?xml version="1.0" encoding="US-ASCII" standalone="yes"?>
<linden_attentions version="1.0">
  <gender name="Masculine">
      <param attention="idle"        priority="1.0" timeout="3.0"  />
      <param attention="auto_listen"  priority="3.0" timeout="4.0"  />
      <param attention="freelook"    priority="2.0" timeout="2.0"  />
      <param attention="respond"      priority="3.0" timeout="4.0"  />
      <param attention="hover"        priority="0.0" timeout="1.0"  />
      <param attention="conversation" priority="0.0" timeout="-1"  />
      <param attention="select"      priority="0.0" timeout="-1"  />
      <param attention="focus"        priority="0.0" timeout="-1"  />
      <param attention="mouselook"    priority="7.0" timeout="-1"  />
  </gender>
  <gender name="Feminine">
      <param attention="idle"        priority="1.0" timeout="3.0"  />
      <param attention="auto_listen"  priority="3.0" timeout="4.0"  />
      <param attention="freelook"    priority="2.0" timeout="2.0"  />
      <param attention="respond"      priority="3.0" timeout="4.0"  />
      <param attention="hover"        priority="0.0" timeout="1.0"  />
      <param attention="conversation" priority="0.0" timeout="-1"  />
      <param attention="select"      priority="0.0" timeout="-1"  />
      <param attention="focus"        priority="0.0" timeout="-1"  />
      <param attention="mouselook"    priority="7.0" timeout="-1"  />
  </gender>
</linden_attentions>
</syntaxhighlight>
 
You will need to restart the viewer to see the changes.
 
== See also ==


There are various values that control how long these lookats are valid, how they prioritize relative to each other, what the percentage chance of them triggering is, etc.  You can find the settings in <font size="2"><tt>character/attentions.xml</tt></font> (e.g., <font size="2">C:\Program Files\SecondLife\character\attentions.xml</tt></font>)
* '''[[Video_Tutorial/See_where_you're_pointing_with_Show_Point_At|Show Point At]]'''

Latest revision as of 12:08, 9 March 2016

To use Show Look At, enable the Develop menu with Ctrl+Alt+Q, then Develop > Avatar > Show Look At. (On viewers before 2.0, try Advanced menu > Character > Show Look At.) The LookAt point is an animation hint, viewers use it to know what way to turn your eyes, head and torso.

Thanks to Richard Linden for this info on what the different colors mean:

Attention Color Description
None dark gray
Idle light gray default when no other attentions are active
AutoListen light gray look at avatars and objects that are talking around you
FreeLook slate blue follow the mouse cursor
Respond black look at someone when typing a response to them
Hover green look at the object your mouse is hovering over, when hover tips enabled (not used in Viewer 2)
Conversation dark blue look at someone after clicking on them (disabled by default)
Select coral look at the selected (right-clicked) object
Focus violet look at the alt-zoom target. This crosshair does not necessarily follow your camera, it is only the starting point or object from before you began to zoom around. If you focus on yourself, or use Alt+arrow keys to move the camera around, an arbitrary focus point several meters in front of you, not pointing at anything in particular, is used.
Mouselook yellow follow cursor in mouselook

There are various values that control how long these lookats are valid, how they prioritize relative to each other, what the percentage chance of them triggering is, etc. You can find the settings in character/attentions.xml (for example, C:\Program Files\SecondLife\character\attentions.xml).

This video shows how Show Look At works in action:

<videoflash type="vimeo">4168630|640|480</videoflash>


Tweaking attentions.xml

The standard attentions.xml file looks like this. There are separate sections for when you are wearing a male or female shape, but by default the numbers are set to be the same.

<?xml version="1.0" encoding="US-ASCII" standalone="yes"?>
<linden_attentions version="1.0">
   <gender name="Masculine">
      <param attention="idle"         priority="1.0" timeout="3.0"  />
      <param attention="auto_listen"  priority="3.0" timeout="4.0"  />
      <param attention="freelook"     priority="2.0" timeout="2.0"  />
      <param attention="respond"      priority="3.0" timeout="4.0"  />
      <param attention="hover"        priority="4.0" timeout="1.0"  />
      <param attention="conversation" priority="0.0" timeout="-1"   />
      <param attention="select"       priority="6.0" timeout="-1"   />
      <param attention="focus"        priority="6.0" timeout="-1"   />
      <param attention="mouselook"    priority="7.0" timeout="-1"   />
   </gender>
   <gender name="Feminine">
      <param attention="idle"         priority="1.0" timeout="3.0"  />
      <param attention="auto_listen"  priority="3.0" timeout="4.0"  />
      <param attention="freelook"     priority="2.0" timeout="2.0"  />
      <param attention="respond"      priority="3.0" timeout="4.0"  />
      <param attention="hover"        priority="4.0" timeout="1.0"  />
      <param attention="conversation" priority="0.0" timeout="-1"   />
      <param attention="select"       priority="6.0" timeout="-1"   />
      <param attention="focus"        priority="6.0" timeout="-1"   />
      <param attention="mouselook"    priority="7.0" timeout="-1"   />
   </gender>
</linden_attentions>

Why would we want to change this? One reason could be the "stop camming me!" phenomenon. Sometimes people can be upset by the hover, select and focus crosshairs appearing on their heads, so we can tell our avatars not to use those. Simply set their priorities to 0.0 like so:

<?xml version="1.0" encoding="US-ASCII" standalone="yes"?>
<linden_attentions version="1.0">
   <gender name="Masculine">
      <param attention="idle"         priority="1.0" timeout="3.0"  />
      <param attention="auto_listen"  priority="3.0" timeout="4.0"  />
      <param attention="freelook"     priority="2.0" timeout="2.0"  />
      <param attention="respond"      priority="3.0" timeout="4.0"  />
      <param attention="hover"        priority="0.0" timeout="1.0"  />
      <param attention="conversation" priority="0.0" timeout="-1"   />
      <param attention="select"       priority="0.0" timeout="-1"   />
      <param attention="focus"        priority="0.0" timeout="-1"   />
      <param attention="mouselook"    priority="7.0" timeout="-1"   />
   </gender>
   <gender name="Feminine">
      <param attention="idle"         priority="1.0" timeout="3.0"  />
      <param attention="auto_listen"  priority="3.0" timeout="4.0"  />
      <param attention="freelook"     priority="2.0" timeout="2.0"  />
      <param attention="respond"      priority="3.0" timeout="4.0"  />
      <param attention="hover"        priority="0.0" timeout="1.0"  />
      <param attention="conversation" priority="0.0" timeout="-1"   />
      <param attention="select"       priority="0.0" timeout="-1"   />
      <param attention="focus"        priority="0.0" timeout="-1"   />
      <param attention="mouselook"    priority="7.0" timeout="-1"   />
   </gender>
</linden_attentions>

You will need to restart the viewer to see the changes.

See also