CAPTAIN SIM FORUM
Weapon for FSX >> Weapon for FSX >> USE WITH THIRD-PARTY AIRCRAFT - THE ONLY THREAD
https://www.captainsim.org/forum/csf.pl?num=1297264482

Message started by Captain Sim on Feb 9th, 2011 at 3:14pm

Title: Re: USE WITH THIRD-PARTY AIRCRAFT - THE ONLY THREAD
Post by Markoz on Feb 10th, 2011 at 11:45pm

Ragtopjohnny wrote on Feb 9th, 2011 at 10:24pm:
This is what I have so far in my cfg:

[Window Titles]
window00=main
Window01=Engine_state
window02=CS Weapon Panel

[Window00]
file=Panel_2D.bmp
size_mm=800, 600
position=5
BACKGROUND_COLOR=0,0,0
visible=1
ident=MAIN_PANEL

[Window01]
size_mm=900, 250
windowsize_ratio=0.600
position=4
BACKGROUND_COLOR=0,0,0
visible=0
ident=Engine_state

[Window02]
Background_color=0,0,0
no_luminous=1
size_mm=1024, 170
position=7
visible=0
window_size=1.000, 0.170
ident=10901
zorder=2
gauge11=CSWeapon_panel!CSWeapon_panel, 0, 0, 1024, 170

gauge00=Viper!Statem, 0, 0, 900, 250
gauge01=Viper!State1, 0, 0, 1, 1
gauge02=Viper!State2, 0, 0, 1, 1

[VIEWS]
VIEW_FORWARD_ZOOM=1.0
VIEW_FORWARD_DIR=0.0, 0.0, 0.0

[Vcockpit01]
//file=F-16_1.bmp
Background_color=0,0,0
size_mm=512,512
visible=1
pixel_size=1024,1024
texture=$F-16_1

gauge00=CSWeapon!hud3D,         0,46,254,264
gauge01=VIPER!DED,            258,1,159,63
gauge02=VIPER!RADIO,          0,0,1,1
gauge03=VIPER!flaps_control,    0,0,1,1
gauge04=SCControl!CTRL,          0,0,1,1
gauge05=VIPER!AS_SB,            0,0,1,1
gauge06=MFD!LMFD,            6,310,165,170
gauge07=MFD!RMFD,            182,310,165,170
gauge08=VIPER!ex_light_control,      0,0,1,1
gauge09=VIPER!AS_Mastercaution,      0,0,1,1
gauge10=VIPER!Eng_smoke,      0,0,1,1

CSWeapon_panel.cab C\FSX\Simobjects\Airplanes\Aersoft F-16A9\panel

Anything else below that is irrelevant really - can someone please help me and tell me what I'm doing wrong?  I'm going crazy with this.

:o :-/

Thanks,

John


Hi John

try rearranging [Window01] and [Window02] to look like this:

[Window01]
size_mm=900, 250
windowsize_ratio=0.600
position=4
BACKGROUND_COLOR=0,0,0
visible=0
ident=Engine_state

gauge00=Viper!Statem, 0, 0, 900, 250
gauge01=Viper!State1, 0, 0, 1, 1
gauge02=Viper!State2, 0, 0, 1, 1

[Window02]
Background_color=0,0,0
no_luminous=1
size_mm=1024, 170
position=7
visible=0
window_size=1.000, 0.170
ident=10901
zorder=2

gauge00=CSWeapon_panel!CSWeapon_panel, 0, 0, 1024, 170

I don't know if that is causing your problem, but it looks like [Window02] is placed right in the middle of [Window01]. And also that the CSWeapon_panel gauge is gauge11=... instead of gauge00=...

Do you need to have the CSWeapon_panel.cab in this: C\FSX\Simobjects\Airplanes\Aersoft F-16A9\panel folder? It is already in the FSX\gauges folder. FSX looks in the Panel folder first, then the gauges folder unless it is told to look somewhere else.

Whether this is what is causing your problem, I don't know, but fixing that might help you somewhere.

Mark

CAPTAIN SIM FORUM » Powered by YaBB 2.6.0!
YaBB Forum Software © 2000-2024. All Rights Reserved.