| Home |
SIMISA@@@@@@@@@@JINX0t1t______
shape
( Tree1.s
ESD_Detail_Level
( 4 )
ESD_Alternative_Texture
( 252 )
ESD_Bounding_Box
( -11.1867 0 -9.70905 11.0482 18.12 8.9793 )
)
Editing your tree photo takes time, especially
to isolate the tree from its background (sky, other trees, buildings).
The goal is to have everything but the tree itself set to a uniform black
background color. If your graphics editor does not allow you to return
to the previous edit state after you have made some editing changes, be
sure to save your work from time to time.
A black background will allow you to see light coloration at the edges of tree branches that need to be edited. A white background makes it hard to spot subtly light edge areas that should definitely not be part of the tree.
Hint: Watch the
tree itself so that you don't accidentally delete leaves or branches or
colors within the trunk.
Hint: Watch the trunk and major branches or very dark foliage area, if any. These should always be kept "brighter than black". If necessary, do a little painting to keep these areas visible. This is so that in the final steps, transparent holes and gaps do not appear in the tree structure.
Hint: Skinny trees are an abomination to MSTS; it might be wise to stretch the trunk a little so that it has a solid look when finally displayed.
NOW save your image!
Why do they do this? The answers may be that it does store more 'information' about what the tree looks like (colors and shapes) and when the image is used as a FOREST object, it allows for more trees to appear within a given forest object's rectangular space).
Why is that? Because it appears that what controls the spacing of forest tree objects is the width value that is given in the FOREST.DAT file. So a forest tree texture is reshaped from the 512 x 512 image into a tree that is of a given number of meters wide and tall. Imagine a tree which us 10 meters wide by 20 meters tall in nature. If your 512 x 512 image shows the tree twice as tall as it is wide, to get the right look in a forest, you would have to specify in your FOREST.DAT file that the width of the tree is 20 meters, and so is its height. As a result, when you try to pack more of these trees into a given area, the "tree planter" will only allocate as many as it's method will fit using the 20 meter tree diameter.
HOWEVER, if your tree image texture uses the entire width and height of the 512 x 512 area AND your FOREST.DAT file states that for that tree the prototypical diameter is 10 meters with a height of 20 meters, then the texture will be stretched, with all the pixel information used to depict the tree in it's proper natural shape.
BUT, this also implies that for the same tree texture to be used as a single "vegetation" object ... for trees planted one by one ... then the tree shape file has to account for the ratio of width to height in the texture image. Fortunately, the Shape File Manager tool allows selective scaling of x,y, and z axes of an tree. So you can later on make a tree larger or smaller, and you can make it thinner or fatter as you please.
I mention this now because if you get deeper
into the forest for the trees, you may want more control over their spacing.
textures
( 1
texture
( 0 0 -3 ff000000 )
Change the value of -3 to 0, save the file, and
let Shape File Manager compress "newtree.s."
Now you are back in the Graphics Editor!
After backing up "myroute.ref" (where "myroute" is the name of your route), use a Text Editor to insert the following into "myroute.ref" :
Static (
FileName ( newtree.s
)
Shadow ( ROUND
)
Class ( "Vegetation"
)
Align ( None )
Description (
Newtree )
)
After backing up "FOREST.DAT" for your route use a Text Editor to insert one line similar to the following:
Forest ( "Newtree" "Newtree.ace" 10.0f 20.0f 0.8f 1.2f )
The "FOREST.DAT" file includes an integer number in the second line which sets how many lines of forest items are in the file. Increase it by one for each forest object you are adding.
In this example:
10.0f is the
width of the prototype tree in meters
20.0f is
the height of the prototype tree in meters
0.8f is the
minimum size multiplier of these trees in the forest
1.2f is the
maximum size multiplier of these trees in the forest
Trees are created in the forest with a height and width ranging from:
8.0 meters
to 12 meters wide and 16.0 to 24.0 meters high.
If you decide that trees planted as vegetation
objects are not the right size (too big or too small) then you can use
the Shape File Manager to rescale information contained in the "newtree.s"
file. Trees which are placed as Forest objects can be made larger
or smaller by editing the information in the "FOREST.DAT" file to give
them more or less height and width, or more or less range in size.
When the tree is finished, close the program files (Tgatool2, MakeAceWin, and your Graphics Editor). I recommend saving the original image, the modified image with the extraneous information removed, the file "newtree.tga", and, of course, "newtree.ace".