Added flashlight, turned on/off by 'L' key
Signed-off-by: merspieler <merspieler@airmail.cc>
This commit is contained in:
parent
7ae182f62a
commit
cbad3576ee
2 changed files with 15 additions and 1 deletions
|
@ -1420,6 +1420,16 @@
|
|||
<value>0</value>
|
||||
</binding>
|
||||
</key>
|
||||
<key n="108">
|
||||
<name>l</name>
|
||||
<desc>Flashlight</desc>
|
||||
<binding>
|
||||
<command>property-cycle</command>
|
||||
<property>sim/rendering/als-secondary-lights/use-flashlight</property>
|
||||
<value>0</value>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
</key>
|
||||
</keyboard>
|
||||
</input>
|
||||
|
||||
|
|
|
@ -18,5 +18,9 @@
|
|||
<opacity-cube-center type="vec3d" n="0"> 0.6 0.0 0.7</opacity-cube-center>
|
||||
<opacity-cube-scale type="vec3d" n="0"> 1 1 1</opacity-cube-scale>
|
||||
<opacity-cube-angle type="float">0.0</opacity-cube-angle>
|
||||
|
||||
<light-filter-one type="vec3d">0.5 0.5 0.5</light-filter-one>
|
||||
<light-filter-two type="vec3d">0.9 0.2 0.2</light-filter-two>
|
||||
<light-radius type="float">9</light-radius>
|
||||
</parameters>
|
||||
</PropertyList>
|
||||
</PropertyList>
|
||||
|
|
Reference in a new issue