Page 1 of 1

Virtual cockpit probleme

PostPosted: Mon Feb 16, 2004 12:44 am
by Woodylepic
It is thrue that for puting gauge in the mdl virtual cockpit i have to do a dummy texture  ???

i have try to take the 2d gauges then put it in the vcockpit (in panel cfg) but nothing sho ???

and you can explaine to me why vc cockpit have 4 chift insted or 2d gauges only 3 serie of shift  ::)

Re: Virtual cockpit probleme

PostPosted: Mon Feb 16, 2004 1:10 am
by Milton
Woody,

After building the 3D VC objects, you must set up a  way for flight sim to "project the background and gauges".  Once you have that, then building the panel and gauge textures are similar to 2D and are specified in the panel.cfg the same way.

But first, you must construct the "planars".

This may help get you started:

http://www.flightsimonline.com/tutorials/VCTextures.htm

You should also read Bill Leamings tutorial that can be found at FFDS Tutorials.

Re: Virtual cockpit probleme

PostPosted: Mon Feb 16, 2004 2:02 am
by Woodylepic
in other word  :o
if i not give a bmp image for the 3d vc the 3d gauges dont   shoe up  ???
and why 3d gauges have 4 serie of shift  ???

Re: Virtual cockpit probleme

PostPosted: Tue Feb 17, 2004 1:37 am
by Milton
FS needs to know where the panel background image and gauges need to be placed/projected.

You tell it where by building a simple planar the shape of your panel(s).  Position that planar a very small distance in front of your panel object.

Map the planar with a square map.

Apply any dummy texture to it with a $name.

Now export it.

In the panel.cfg, set up the vcockpit section like my example in the above link.

In the filename= parameter, name your 8-bit panel bitmap you put gauges on.

List your gauges and go test.

Example:
{Vcockpit01}
file=vcmainl1024.bmp <<--- the real panel background bitmap
Background_color=0,0,0
size_mm=1024,1024
visible=0
pixel_size=1024,1024
texture=$vc03  <<<----- dummy texture applied in gmax

gauge00=ST_HW5!VSI_6,  626,236,110,110
gauge01=ST_HW5!Airspeed,  323,103,116,116

website you give help Re: Virtual cockpit probleme

PostPosted: Tue Feb 17, 2004 4:54 pm
by Woodylepic
Thank very much Milton your website you give me have help alot :o

i think i will be able to get my panel up  :D

i apreciate !

Re: Virtual cockpit probleme

PostPosted: Fri Feb 20, 2004 5:42 pm
by Woodylepic
i have finaly got a descent vc cockpit working at day (hall vc gauges sho ok ) but whene the night come up  no vc ??? :(

i know that for  making a night vc i have to put a self eluminating on my $vc texture in Gmax

i have no texture for the vc in the panel folder (have  one for 2d)

// This Panel.cfg file created by CfgEdit
// Built Friday, February 20, 2004 at 13:34 Build:16518

[Window Titles]
Window00=Tableau de bord principal




[Window00]
file=Levasseur_pl8.bmp
size_mm=1024,768
position=7
visible=1
ident=MAIN_PANEL

gauge00=camel.vspeed,  520,544,89,88
gauge01=fw190a!Fuel_Selector,  789,535,29,113
gauge02=sopwith.altimeter,  543,422,97,101
gauge03=sopwith.rpm-indicator,  420,482,113,102
gauge04=sopwith.turn-coordinator,  588,525,130,31
gauge05=cessna208!Panel-Lights,  416,640,20,21
gauge06=cessna208!Nav-Lights,  370,640,20,21
gauge07=Mil_Autopilot,  952,540,64,118
gauge08=kph,  644,400,146,127
gauge09=f4u1a_corsair!Clock,  632,623,111,101
gauge10=CC-ignition,  296,621,50,59
gauge11=B26_RLC_OAT,  846,440,57,65
gauge12=extra-300.timer,  915,463,70,64

[Vcockpit01]
Background_color=0,0,0
size_mm=1024,1024
position=7
visible=0
ident=Vpanel
pixel_size=1024,1024
texture=$vc01

gauge00=camel.vspeed,  309,334,89,88
gauge01=fw190a!Fuel_Selector,  570,315,29,113
gauge02=sopwith.altimeter,  315,228,105,96
gauge03=sopwith.rpm-indicator,  201,296,113,102
gauge04=sopwith.turn-coordinator,  377,314,130,31
gauge05=Mil_Autopilot,  702,315,64,119
gauge06=kph,  426,200,133,116
gauge07=f4u1a_corsair!Clock,  426,388,90,97
gauge08=CC-ignition,  129,383,50,59
gauge09=B26_RLC_OAT,  619,270,57,65
gauge10=cessna208!Nav-Lights,  1009,618,20,21
gauge11=cessna208!Nav-Lights,  237,411,20,21
gauge12=cessna208!Panel-Lights,  197,412,20,21


[Default View]
X=0
Y=0
SIZE_X=8191
SIZE_Y=6143



hall is draw on the invisible $vs01 texture  
i have check the square self iluminating and put texture  black

what i have made wrong  ?  the vc sho only at day  :(

pls help

Re: Virtual cockpit probleme

PostPosted: Fri Feb 20, 2004 5:44 pm
by Woodylepic
i have finaly got a descent vc cockpit working at day (hall vc gauges sho ok ) but whene the night come up  no vc ??? :(

i know that for  making a night vc i have to put a self eluminating on my $vc texture in Gmax

i have no texture for the vc in the panel folder (have  one for 2d)

// This Panel.cfg file created by CfgEdit
// Built Friday, February 20, 2004 at 13:34 Build:16518

[Window Titles]
Window00=Tableau de bord principal




[Window00]
file=Levasseur_pl8.bmp
size_mm=1024,768
position=7
visible=1
ident=MAIN_PANEL

gauge00=camel.vspeed,  520,544,89,88
gauge01=fw190a!Fuel_Selector,  789,535,29,113
gauge02=sopwith.altimeter,  543,422,97,101
gauge03=sopwith.rpm-indicator,  420,482,113,102
gauge04=sopwith.turn-coordinator,  588,525,130,31
gauge05=cessna208!Panel-Lights,  416,640,20,21
gauge06=cessna208!Nav-Lights,  370,640,20,21
gauge07=Mil_Autopilot,  952,540,64,118
gauge08=kph,  644,400,146,127
gauge09=f4u1a_corsair!Clock,  632,623,111,101
gauge10=CC-ignition,  296,621,50,59
gauge11=B26_RLC_OAT,  846,440,57,65
gauge12=extra-300.timer,  915,463,70,64

[Vcockpit01]
Background_color=0,0,0
size_mm=1024,1024
position=7
visible=0
ident=Vcpanel
pixel_size=1024,1024
texture=$vc01

gauge00=camel.vspeed,  309,334,89,88
gauge01=fw190a!Fuel_Selector,  570,315,29,113
gauge02=sopwith.altimeter,  315,228,105,96
gauge03=sopwith.rpm-indicator,  201,296,113,102
gauge04=sopwith.turn-coordinator,  377,314,130,31
gauge05=Mil_Autopilot,  702,315,64,119
gauge06=kph,  426,200,133,116
gauge07=f4u1a_corsair!Clock,  426,388,90,97
gauge08=CC-ignition,  129,383,50,59
gauge09=B26_RLC_OAT,  619,270,57,65
gauge10=cessna208!Nav-Lights,  1009,618,20,21
gauge11=cessna208!Nav-Lights,  237,411,20,21
gauge12=cessna208!Panel-Lights,  197,412,20,21


[Default View]
X=0
Y=0
SIZE_X=8191
SIZE_Y=6143



hall is draw on the invisible $vc01 texture  
i have check the square self iluminating and put texture  black

what i have made wrong  ?  the vc sho only at day  :(

pls help

Re: Virtual cockpit probleme

PostPosted: Fri Feb 20, 2004 6:15 pm
by Milton
In the vcockpit section, you need another parameter for the day time texture. (unless you applied it in gmax)

file=vcbackground.bmp

This would be the background bitmap texture that you want displayed on the VC panel.

Re: Virtual cockpit probleme

PostPosted: Fri Feb 20, 2004 10:06 pm
by Woodylepic
yes but the trouble is that i have no background testire  ::)

only $vs texture  ???

Re: Virtual cockpit probleme

PostPosted: Fri Feb 20, 2004 10:21 pm
by Milton
Do you have one in the 2D panel? ... or the Day VC?

If not create one.  It can be any simple texture to put your gauges over.

In the vcockpit section, you need another parameter for the day time texture. (unless you applied it in gmax)

file=vcbackground.bmp or whatever name you choose.

This would be the background bitmap texture that you want displayed on the VC panel.  It should be 8-bit and square and power of 2.  This texture must be in the panel folder.

??? ???Re: Virtual cockpit probleme

PostPosted: Fri Feb 20, 2004 10:46 pm
by Woodylepic
doest im obliged to have as *.l.bmp texture or i can make the night panel whit out it  ???

my panal dont have bmp texture only $vc dummy texture  :(

Re: Virtual cockpit probleme

PostPosted: Sat Feb 21, 2004 11:00 am
by Milton
The $bmp is a dummy textuure.  It does not show.  It is intended to tell FS where the planar is.

If you want nite gauge lighting then you must create the background texture and save it in the panel folder, then use a File= parameter.  It is this filename that the *_l.bmp is associated with.

If you do not want a texture, just use a black or gray one to match whatever color you want.  Square, power of 2, 8-bit.  Put its name in the File= parameter.

Then name the  *_l.bmp the same.