Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
Can someone edit an api file? (Read 128 times)
Mar 16th, 2004 at 5:11pm

P-40_Warhawk   Offline
Colonel
The Stig
Savona New York

Gender: male
Posts: 266
*****
 
I may have come up with a solution to my building texture prob. I use exsisting macros and repaint textures the modify the API file to use those textures. I have made a texture repint of a micheals store macro. can someone edit the api to use these textures? I will e-mail the whole package to you.
 

Some say my pinky toe was replaced with a fountain pen, and that I love to ride on nuclear bombs with a saddle. All I know is.... I'm called THE STIG!!!!
IP Logged
 
Reply #1 - Mar 17th, 2004 at 4:42am

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
Warhawk. You can edit the API yourself in Notepad (or the Edit Macro feature in your scenery design program). Simply change the file name of the approriate texture to the one you wish to use.

For example:

; BGL_TEXTURE: tclass=1h color=79EF7979 name=people9.bmp
Dwx( 0043 0018 0000 0001 ef79 7979 )
Dba(people9.bmp)    
<-- Change this to the file name of your texture

Dbx( 00 )
Smoothing( 1 )
Inst_7d
TexPoly( 0 0 -32767 0.00  0 0 1 1 0 255 2 126 255 3 126 1 )
Inst_7d
TexPoly( 0 0 32767 0.00  7 0 0 6 0 255 5 127 255 4 127 0 )
Poly( 0 0 0 0.00   5   1   0   4   )
Poly( 0 0 0 0.00   2   6   7   3   )
Poly( 0 0 0 0.00   5   6   2   1   )
Poly( 0 0 0 0.00   0   3   7   4   )
Smoothing( 0 )
Return
 

...

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 #2 - Mar 17th, 2004 at 7:07am

P-40_Warhawk   Offline
Colonel
The Stig
Savona New York

Gender: male
Posts: 266
*****
 
But what if I have more than one texture for the building? (One for the front The other for the sides and back)
 

Some say my pinky toe was replaced with a fountain pen, and that I love to ride on nuclear bombs with a saddle. All I know is.... I'm called THE STIG!!!!
IP Logged
 
Reply #3 - Mar 17th, 2004 at 7:40am

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
I assume you're modifying an existing macro. Without knowing the particular macro I can't say if it uses more than one texture. Providing you keep to the original texture configuration edit the file names accordingly in the API. There will most likely be more than one texture entry.

If you care to zip up the complete thing including your modified textures & mail it I'll be happy to check it out for you. My E-mail is under my avatar or in my profile.
 

...

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