Show Look At

From Second Life Wiki
Revision as of 22:14, 25 November 2012 by Cerise Resident (talk | contribs)
Jump to navigation Jump to search

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.
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> <?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></xml>

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> <?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></xml>

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

See also