| 1 |
|
| 2 |
|
| 3 |
<PropertyList> |
| 4 |
<light> |
| 5 |
<name>walker_flashlight</name> |
| 6 |
<type>spot</type> |
| 7 |
<position> |
| 8 |
<x-m><property>sim/walker/flashlight/pos-x-m</property></x-m> |
| 9 |
<y-m><property>sim/walker/flashlight/pos-y-m</property></y-m> |
| 10 |
<z-m><property>sim/walker/flashlight/pos-z-m</property></z-m> |
| 11 |
</position> |
| 12 |
<direction> |
| 13 |
<pitch-deg>90</pitch-deg> |
| 14 |
<roll-deg>0</roll-deg> |
| 15 |
<heading-deg>0</heading-deg> |
| 16 |
</direction> |
| 17 |
<ambient> |
| 18 |
<r><property>sim/walker/flashlight/color-red-factor</property></r> |
| 19 |
<g><property>sim/walker/flashlight/color-green-factor</property></g> |
| 20 |
<b><property>sim/walker/flashlight/color-blue-factor</property></b> |
| 21 |
<a>1</a> |
| 22 |
</ambient> |
| 23 |
<diffuse> |
| 24 |
<r><property>sim/walker/flashlight/color-red-factor</property></r> |
| 25 |
<g><property>sim/walker/flashlight/color-green-factor</property></g> |
| 26 |
<b><property>sim/walker/flashlight/color-blue-factor</property></b> |
| 27 |
<a>1</a> |
| 28 |
</diffuse> |
| 29 |
<specular> |
| 30 |
<r><property>sim/walker/flashlight/color-red-factor</property></r> |
| 31 |
<g><property>sim/walker/flashlight/color-green-factor</property></g> |
| 32 |
<b><property>sim/walker/flashlight/color-blue-factor</property></b> |
| 33 |
<a>1</a> |
| 34 |
</specular> |
| 35 |
<attenuation> |
| 36 |
<c>1.0</c> |
| 37 |
<l>0.09</l> |
| 38 |
<q>0.032</q> |
| 39 |
</attenuation> |
| 40 |
<dim-factor><property>sim/walker/flashlight/dim-factor</property></dim-factor> |
| 41 |
<spot-exponent>45</spot-exponent> |
| 42 |
<spot-cutoff>50</spot-cutoff> |
| 43 |
<range-m>10</range-m> |
| 44 |
</light> |
| 45 |
<animation> |
| 46 |
<type>select</type> |
| 47 |
<object-name>walker_flashlight</object-name> |
| 48 |
<condition> |
| 49 |
<and> |
| 50 |
<property>sim/walker/outside</property> |
| 51 |
<greater-than> |
| 52 |
<property>sim/walker/flashlight/mode</property> |
| 53 |
<value>0</value> |
| 54 |
</greater-than> |
| 55 |
<equals> |
| 56 |
<property>sim/current-view/name</property> |
| 57 |
<value>Walk View</value> |
| 58 |
</equals> |
| 59 |
</and> |
| 60 |
</condition> |
| 61 |
</animation> |
| 62 |
<animation> |
| 63 |
<type>translate</type> |
| 64 |
<object-name>walker_flashlight</object-name> |
| 65 |
<property>sim/walker/flashlight/pos-x-m</property> |
| 66 |
<axis> |
| 67 |
<x>1</x> |
| 68 |
<y>0</y> |
| 69 |
<z>0</z> |
| 70 |
</axis> |
| 71 |
</animation> |
| 72 |
<animation> |
| 73 |
<type>translate</type> |
| 74 |
<object-name>walker_flashlight</object-name> |
| 75 |
<property>sim/walker/flashlight/pos-y-m</property> |
| 76 |
<axis> |
| 77 |
<x>0</x> |
| 78 |
<y>1</y> |
| 79 |
<z>0</z> |
| 80 |
</axis> |
| 81 |
</animation> |
| 82 |
<animation> |
| 83 |
<type>translate</type> |
| 84 |
<object-name>walker_flashlight</object-name> |
| 85 |
<property>sim/walker/flashlight/pos-z-m</property> |
| 86 |
<axis> |
| 87 |
<x>0</x> |
| 88 |
<y>0</y> |
| 89 |
<z>1</z> |
| 90 |
</axis> |
| 91 |
</animation> |
| 92 |
<animation> |
| 93 |
<type>rotate</type> |
| 94 |
<object-name>walker_flashlight</object-name> |
| 95 |
<property>sim/current-view/pitch-offset-deg</property> |
| 96 |
<center> |
| 97 |
<x-m><property>sim/walker/flashlight/pos-x-m</property></x-m> |
| 98 |
<y-m><property>sim/walker/flashlight/pos-y-m</property></y-m> |
| 99 |
<z-m><property>sim/walker/flashlight/pos-z-m</property></z-m> |
| 100 |
</center> |
| 101 |
<axis> |
| 102 |
<x>0</x> |
| 103 |
<y>1</y> |
| 104 |
<z>0</z> |
| 105 |
</axis> |
| 106 |
</animation> |
| 107 |
</PropertyList> |