Map building tutorial
#25

It been suggested I post this here...

Putting names on Maps:

In case this isn't covered elsewhere:

It follows from fly_zo's help from a question in another post:

"yes ... but you'll need original texts.txt files for that default maps ( SFS extractor ... or PM me)

1 make proper map folder for desired map ( MODS\mapmods\maps\"desired map")

2 place there original texs.txt file

3 open map in FMB and add some stationary object at locations of needed text ...save mission

4 open mission with notepad

5 copy coordinates of placed stat.objects and use them in texts.txt for your labels

* see my "BoB" map texts.txt for reference ( labels on british land ) regarding font formatting


reg
Z"

The format in the "texts.txt" file in the relevant map folder (in this case I'm adding names to the MTO map) which would be placed in the MODS\MapMods\Maps\MTOmaps folder is:

78235 13733 7 0 1 4 Bir Hacheim

A) Location reference (numbers after the decimal point must be deleted). So "78235.56 13733.84" must be truncated to "78235 13733". I use a V1 rocket to locate the names since they are easy to find in the .mis file).

B) The four digit text code. (7 0 1 4 above). The digits define from left to right the following parameters:
i) Leftmost ("7") = Zoom level at which the text becomes visible. Possible values I have tested are 7, 6, 5, 4. 7 is visible at all zoom levels, The smaller this value the more you have to zoom in before the text becomes visible.

ii) Second from left ("0") = Justification (relative to the location reference). Possible values are:
0 = Right Justiifed;
1 = Centre Justified;
2 = Left Justified.

iii) Second from the right ("1") = Size of text. Possible values which seem to have any effect are:
0 = Small;
1 = Medium;
2 = Large;
Note that this is independent of the Zoom level at which they become visible. So a name with zoom level 7 but size 0 will always appear on the map - albeit very small to see, whereas a name with zoom level of 4 but size 2 will not be visible at all until you zoom in a long way, whereupon it will suddenly appear in BIG letters.

iv) Rightmost ("4") = Colour. Possible values are 0-9. My approximations are given below but how they appear depends on video card/monitor and background.
0 = Black;
1 = Brown/Red;
2 = Green;
3 = Olive;
4 = Blue;
5 = Purple;
6 = Blue-Green;
7 = Silver-Grey;
8 = Blue-Grey;
9 = Light Blue.

C) The text can include capitalisation and hyphens. IT CAN ALSO INCLUDE SPACES. There is no need to use the underscore, in fact the underscore will actually appear as a character.

My sincere gratitude to fly_zo for his help with this. The vast bulk of the above he was kind enough to explain to me. Any A's & A's please let me know.

Regards

Vermin
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 12 Guest(s)