WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Designer Forum (http://www.wcm.at/forum/forumdisplay.php?f=61)
-   -   Mini Control Panel ändern (http://www.wcm.at/forum/showthread.php?t=171456)

Schulli 08.08.2005 04:34

Mini Control Panel ändern
 
hi!

wie kann ich das mini control panel ändern (erscheint bei druck auf W)?
ich möchte anstelle der standard mini´s ein HUD programmieren. im SDK hab ich diesbezüglich nix gefunden.
hab schon in der panel.cfg einen neuen window eintrag mit namen mini_control_panel gemacht und eine windows section mit der gleichen id und nem gauge erstellt. das gauge wird ganz normal über shift+6 eingeblendet. wenn ich aber W drücke, bekomme ich immer noch die standard minis.

danke für eure hilfe!

Schulli 16.08.2005 00:13

hab eine lösung gefunden!

für alle, dies interessiert:

PHP-Code:

  Create a new Window in your panel.cfg:
 
Windowxx=Mini Panel
 
//--------------------------------------------------------
[Window07]
Background_color=0,0,0  
size_mm
=664,113
window_size_ratio
=0.732  
position
=7
visible
=1
ident
=MINIPANEL <= This is the critical part!
child_3d=1
 
gauge00
=Mooney_Bravo!Airspeed,  0,6,100
gauge01
=Mooney_Bravo!Turn Coordinator,  105,6,100
gauge02
=Mooney_Bravo!Attitude,  210,0,118
gauge03
=Mooney_Bravo!HSI,  333,0,118
gauge04
=Mooney_Bravo!Altimeter,  456,5,102
gauge05
=Mooney_Bravo!Vertical Speed,  563,6,101
 
NOTE
The Ident is the critical part.  Using MINIPANEL as the Ident will allow the "W" key to control your custom minipanel

diese antwort bekam ich von Bill Leaming und sie funzt.


Alle Zeitangaben in WEZ +2. Es ist jetzt 07:31 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag