View Full Version : Different textures for mountain polygons...
04-09-2002, 05:29 AM
Is possible in APT260 to use a different textures (winter, spring) for mountains created as a polygons? For normal polygons it is working... I am affraid, that in scasm source code generated from ATP are missing attributes for downloads different textures. Is any trick for hills with winter/summer texture in APT?
04-11-2002, 08:46 PM
The trick is to manually edit the Scasm (*.sca) file to reflect the other textures. In each line of text for the "base", where the texture is specified with a line similar to this:
Bitmap( ArFldGrs.bmp 0 0 0 0 )
you would alter it to read this:
LoadBitmap( 0 LWFS5 EF 0 160 0 ArFldGrs.bmp )
The "ArFldGrs.bmp" texture is the default summer texture.
The "LWFS5" indicates that there are textures to be applied for night, winter, fall and spring. These textures would be named like this and placed in the appropriate texture folder. For this example:
Night = ArFldGrs_LM.bmp
Winter = ArFldGrs_WI.bmp
Fall = ArFldGrs_FA.bmp
Spring = ArFldGrs_SP.bmp
Since this would require a lot of typing, depending on the complexity and number of "mountain/hill" polygon combinations, there is a tool within the Windows Notepad text editing program that simplifies this process.
Under the "Edit" tab, there's a link for "Replace". Using this, you can make every line read what you want it to read by typing the revision into the space provided. The computer then goes to work and puts the changes in for you. Then "save" the revised *.sca file.
Before doing any of this, make a _Backup_ of the *.sca file first.
Now, once the *.sca file has been edited, it needs to be compiled outside of the Apt2.6 program. In other words, you must compile using Scasm.exe in a DOS environmet.
Hope this helps......its easier to do then to write about!
Maybe Tom, if you're reading this, you could consider incorporating this seasonal change into the moutain menu (grin)
04-12-2002, 01:57 AM
thank you very much. Although it is clear now, I hope, that authors of perfect APT260 add this possibility to APT at the future...
At this moment I am building hills around our airport and I have good results with combination of flatten areas....
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.