Curtis Lemay
Posts: 5717
Joined: 9/17/2004 From: Houston, TX Status: online
|
quote:
ORIGINAL: sanderz Hi (again ) I want to show the factory (etc) icons on the map and have edited the "opart 3 Fonts.ini" by adding: [bitmaps] <1bitmap1 <1bitmap2 <1bitmap3 <1bitmap4 <1bitmap5 <1bitmap6 but don't see anything on the map a) Is the above the right format in the right file? b) do i need to move the graphics from the altgraphics folder to the graphics folder? c) as an example of one of the graphics i want to display the filename is mapOptional1.bmp - is this the file that should show up by adding "<1bitmap1" to the "opart 3 Fonts.ini" file? d) I assume this works on any map (particualrly on Directive21). Many thanks Wow! Way off track! You do not add anything to the fonts file. You do not move the graphics (unless you want to make your own versions). Here's the text on the bitmaps from the "What's New": 9. Alternate Placename Fonts and Bitmaps: “#1”-“#3” in a placename selects the alternate Placename font 1-3. There are three optional placename fonts in addition to the standard placename font. The actual fonts are set in the “Opart 3 fonts.ini” file. “<1”-“<9” in a placename selects the mapOptional1-9 bitmap. You can select multiple bitmaps. (There are nine placename bitmaps provided in the Altgraphics folder – designers can make their own if they prefer). Examples: “#1Font1” will display ”Font1” on the map in the PlacenameFont1 style. “<1bitmap1” will display mapOptional1.bmp and “bitmap1” on the map in the standard font. “#2<1<3Manpower Factory” will display mapOptional1.bmp, mapOptional3.bmp, and “Manpower Factory” on the map in PlacenameFont2 style. So, let's say you want to add the "factory" bitmap to a location. In that location's placename you add "<1" at the front of the name. After that comes the location's name - let's say it's "MOSCOW". Then the full entry for the placename at that location would be "<1MOSCOW". That will display the name "MOSCOW" and the factory bitmap in that location. Furthermore, let's say that you want that location's name to use the large font. In that location's placename you add "#1" at the front of the name. After that comes the bitmap code (<1) and its name (MOSCOW). So the full entry would be "#1<1MOSCOW". That will display the name "MOSCOW" in the large font with the factory bitmap in that location. (Actually, it doesn't matter whether the font or bitmap code comes first or second). If you'll look at the placenames in my "Soviet Union 1941" scenario in the editor, you'll see how I coded it there.
|