Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
Repainting static aircraft (Read 233 times)
Aug 12th, 2004 at 10:41pm

Bendo   Offline
Major
I love YaBB 1G - SP1!

Posts: 4
*****
 
I am developing scenery for Scone and the Upper Hunter Valley in NSW, Australia ... and I am trying to create accurately repainted static acft in their regular spots.

There are several multiples of types: 2 C172s, 4 C182s, 4 C185s, 2 PA-28.

I want to repaint each one correctly BUT:

that requires separate textures for each aircraft, and
the .mdl or .air file will only look for the textures by their original name, so now all C172s look like VH-IEB.
Which file do I edit, and how, to make my VH-XTP .mdl look for XTP.0AF-XTP.CAF?
 
IP Logged
 
Reply #1 - Aug 13th, 2004 at 3:50am
RollerBall   Ex Member

 
Assuming you have created each one using M98toBgl or MdltoBgl, you just give each API a different name and paint its textures separately!
 
IP Logged
 
Reply #2 - Aug 13th, 2004 at 12:49pm

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
It might be an idea to use different texture names for each variation to avoid the chance of texture conflicts. You can do this quite easily by manually editing the API macro in Notepad or Wordpad. This would need doing carefully to make sure you get them all & rename them correctly. The Search/Find feature is very useful for this job.
 

...

Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the Fox Four Group

Need help? Try Grumpy's Lair

My photo gallery
IP Logged
 
Reply #3 - Aug 13th, 2004 at 5:08pm
RollerBall   Ex Member

 
Doug thanks so much. I did a very quick reply before dashing out this morning and of course you would need to do that.

It's not difficult. Here's the top section of a Phantom API I created some time back using MdltoBgl.

; ------------------------------------------------------------------------
; XXXXX.API SCASM macro for Flight Simulator v6.x/7.x
; & Airport 2.60
; Generated by MDLtoBGL  Copyright 2001 Trevor de Stigter
; ------------------------------------------------------------------------
; Airport Parameter 0 = if used & not Zero means use Parameter 1
; Airport Parameter 1 = Replacement Texture File Name (excl extension)
; Airport Parameter 2 = not used
; Airport Parameter 3 = not used
; Uses the following .r8/?af Texture files:
;      f-4b8408.0af
;      f-4b8408.1af
;      f-4b8408.2af
;      f-4b8408.3af
;      f-4b8408.4af
;      f-4b8408.5af
;      f-4b8408.6af
;      f-4b8408.7af
;


All you do is use the texture list as a reference and do a search and replace of every instance of each one and then resave the file.

You can rename the files to almost anything. Just make sure you keep the file type (ie .{n}af)
 
IP Logged
 
Reply #4 - Aug 13th, 2004 at 5:55pm

Bendo   Offline
Major
I love YaBB 1G - SP1!

Posts: 4
*****
 
Rollerball and Hagar:

Thank you! I have tried this I think  Roll Eyes but I will try again  Grin

cheers

Bendo
 
IP Logged
 
Reply #5 - Aug 17th, 2004 at 1:32am

Bendo   Offline
Major
I love YaBB 1G - SP1!

Posts: 4
*****
 
Hagar, Rollerball: Beautiful result, thank you very much. Grin

Question 2:

the designers of the original FS98 aircraft I am tampering with painted some of their polygons particular colours; usually spinners and wingtips.

I think I have found the lines of the *.API which refer to those colours but I am unwilling to experiment blindly...

Any further?
???


With thanks!
 
IP Logged
 
Reply #6 - Aug 17th, 2004 at 7:37am

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
Glad we could help. I have changed the polygon colours of some FS98 aircraft with a little utility named Polyfix. http://www.simviation.com/fsutilities_gen1.htm

This will only work with very simple models & you would need to change the colours before converting the MDL into an API macro. If the model is too complex it might help you identify the colour codes so you can manually edit the macro. The problem will be in identifying the polygons you wish to change.
 

...

Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the Fox Four Group

Need help? Try Grumpy's Lair

My photo gallery
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print