Discussion about creating 2d and 3d cockpits.
by LesterBoffo » Wed Nov 02, 2011 9:57 pm
So where is the brake-gear-light. xml and the missing .ac files that keeps crashing his models at load up?
-
LesterBoffo
-
- Posts: 2171
- Joined: Sun Oct 02, 2011 5:02 pm
- Location: Oregon, USA
- Callsign: LesBof
- Version: 2018.3.2
- OS: Win10 Pro
by LesterBoffo » Thu Nov 03, 2011 7:25 pm
Well made a new addition to the .ac file for this, but darned if I can find the way to animate the light to turn on when the brakes are set.
-
LesterBoffo
-
- Posts: 2171
- Joined: Sun Oct 02, 2011 5:02 pm
- Location: Oregon, USA
- Callsign: LesBof
- Version: 2018.3.2
- OS: Win10 Pro
by Gijs » Thu Nov 03, 2011 7:57 pm
http://wiki.flightgear.org/Howto:_Illum ... uring_darkUse a condition like
- Code: Select all
<condition>
<property/controls/gear/brake-parking</property>
</condition>
Airports: EHAM, EHLE, KSFO
Aircraft: 747-400
-
Gijs
- Moderator
-
- Posts: 9549
- Joined: Tue Jul 03, 2007 3:55 pm
- Location: Delft, the Netherlands
- Callsign: PH-GYS
- Version: Git
- OS: Windows 10
by LesterBoffo » Thu Nov 03, 2011 9:52 pm
Something like this?
- Code: Select all
<animation>
<type>material</type>
<object-name>GearBrakeLight</object-name>
<emission>
<factor-prop>controls/gear/brake-parking</factor-prop>
<red> 0.4 </red>
<green> 0 </green>
<blue> 0 </blue>
</emission>
</animation>
<!-- Brakes On -->
<animation>
<type>select</type>
<object-name>GearBrakeLight</object-name>
<condition>
<or>
<equals>
<property>controls/gear/brake-parking</property>
<value>1</value>
</equals>
<equals>
<property>controls/gear/brake-left</property>
<value>1</value>
</equals>
<equals>
<property>controls/gear/brake-right</property>
<value>1</value>
</equals>
</or>
</condition>
</animation>
-
LesterBoffo
-
- Posts: 2171
- Joined: Sun Oct 02, 2011 5:02 pm
- Location: Oregon, USA
- Callsign: LesBof
- Version: 2018.3.2
- OS: Win10 Pro
Return to Cockpit development
Who is online
Users browsing this forum: No registered users and 2 guests