Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
VC's (Read 184 times)
Sep 25th, 2004 at 3:41pm

Dan   Offline
Colonel
Meet Bogart! Thanks CRAIG!
Carmarthenshire, Wales, Uk!

Gender: male
Posts: 2053
*****
 
Is there a CFGEdit equivelent for editing / making Virtual Cockpits, FS2002 Pro? Or are there only these 'nasty' programming ones available?
Dan
 
IP Logged
 
Reply #1 - Sep 25th, 2004 at 5:36pm

Travis   Offline
Colonel
Cannot find REALITY.SYS.
Universe halted.
Dripping Springs, TX

Gender: male
Posts: 4515
*****
 
You can use CfgEdit for editing VC panel sections; they're just an entry section in the panel.cfg.  But first I would try to understand the VC panel sections:

Take a look at the default panel.cfg of the C182 (the regular panel, not panel.ifr).  In it there should be a section that looks like this:

Quote:
[VCockpit01]
size_mm=512,512
pixel_size=512,512
texture=$C182_1
background_color=0,0,0
visible=0

gauge00=Cessna182ifr!Fuel_Flow_Man_Pressure, 385, 2, 126, 126
gauge01=Bendix_King_Radio!Bendix-King Radio DME, 0, 85, 198, 51
gauge02=Bendix_King_Radio!Bendix-King Radio ADF, 0, 34, 198, 51
gauge03=Bendix_King_Radio!Bendix-King Radio Audio, 0, 0, 198, 34
gauge04=Cessna!Annunciator, 198, 3, 129, 33
gauge05=Bendix_King_Radio!Bendix-King Radio AP, 0, 136, 198, 59
gauge06=Bendix_King_Radio!Bendix-King Radio Xpndr, 0, 196, 198, 61
gauge07=Cessna182s!VOR2, 257, 129, 126, 126
gauge08=Cessna!ADF, 385, 130, 126, 126
gauge09=Cessna!VOR1, 1, 258, 126, 126
gauge10=Cessna!Vertical_Speed, 129, 256, 126, 126
gauge11=Cessna!Airspeed, 256, 256, 128, 128
gauge12=Cessna!Turn_Indicator, 384, 256, 128, 128
gauge13=Cessna!Altimeter, 1, 383, 126, 126
gauge14=Cessna!Tachometer, 128, 383, 128, 128
gauge15=Cessna!Heading_Indicator, 256, 384, 126, 126
gauge16=Cessna!Attitude, 383, 384, 128, 128
gauge17=Magnetic_Compass!Magnetic-Compass, 199, 36, 57, 57
gauge18=Cessna!OMI_Lights, 201, 96, 45, 15


Take a look at the top section, or what you might call the "header":

Quote:
[VCockpit01]
size_mm=512,512
pixel_size=512,512
texture=$C182_1
background_color=0,0,0
visible=0


Two things to notice here are the "size_mm=" and the "pixel_size=" settings.  They tell FS the size of the "dummy texture" it must create for the VC.

A dummy texture is simply a texture a person creates in making their aircraft that is not included with the finished aircraft.  It is created by FS as a transparent texture upon which the gauges for VC are created.  The dummy texture in this case would be
$C182_1
, which has a pixel size of
512x512
.  The "size_mm=" entry corresponds to the quality with which the gauges are drawn, as well as their size.

For example:

pixel_size=512,512
size_mm=256,256

will give you a very grainy and pixellated look to your cockpit, but will save on framerates, whereas:

pixel_size=512,512
size_mm=1024,1024

will give you a very smooth gauge rendering, but will be mean on framerates.

(The pixel size should never be changed, as it might upset any other measurements).

If you want to just replace a gauge with one that looks a little better to you, you could simply find the gauge name in the panel.cfg and replace its name with the one you want to replace it, provided they are the same shape.

If you want to completely rewrite the config, you can simply open up the panel.cfg in CfgEdit and futz with it.  It will be a little difficult without a background, but the gauges should give you some clue as to where the panel ends and begins.

Hope this helped, and if it was too much, well:

Gimme an inch and I'll take a mile! Wink
 

...
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print