Editing Interests: All, I (try) to edit everything.
Location: Arizona, USA
Postby Sherlock »
T_Rex wrote:For old F4, I *think* the airbase locations are taken straight from the tac_new or cam# info.
As for the map area, I think its the cs_map in the art1024\campaign\select.
Usual caveats about oF4 v. AF apply.
Thx T!
Do you have any idea what "controls" the placement of the airbase symbols on the map, i.e., their x, y placement? Is there a file that controls their location?
I *suspect* that it is extrapolated from the campaign db and the campaign startup files, so that any airbase that has flyable a/c gets shown on the map. But, in terms of scaling and all that, I have no idea.
The airbase symbols are really icons which come from the Art/Resource folder. I am guessing but I think the airbase icons shown on the UI map are probably using the airbase coordinates? The UI links other things like the aircraft icons the same way. I have never tried to move an airbase so I can't say for sure if just changing those coordinates will do the trick. But, I bet it will.
I am not aware of any map coordinates needed to place the airbase icon on the UI Map. The icons stored in the idx/rsc file set contains data on the size of the graphic image and then how to center the symbol . . . when you pack up the set you need to include those data points. When I reworked our icons set I didn't see any map coordinates associated with the icon. The only coordinates are width, height of the graphic image, and coordinates to center the X and Y values to properly position the icon. I think the entire art/resource files are handled in nearly the same way.
ranger822 wrote:The airbase symbols are really icons which come from the Art/Resource folder. I am guessing but I think the airbase icons shown on the UI map are probably using the airbase coordinates? The UI links other things like the aircraft icons the same way. I have never tried to move an airbase so I can't say for sure if just changing those coordinates will do the trick. But, I bet it will.
I am not aware of any map coordinates needed to place the airbase icon on the UI Map. The icons stored in the idx/rsc file set contains data on the size of the graphic image and then how to center the symbol . . . when you pack up the set you need to include those data points. When I reworked our icons set I didn't see any map coordinates associated with the icon. The only coordinates are width, height of the graphic image, and coordinates to center the X and Y values to properly position the icon. I think the entire art/resource files are handled in nearly the same way.
Thanks ranger,
The problem I am trying to solve is why (in AF) a 64x64 theater shows the airbases in a large picture while in a 128x128 it makes the area (i.e., picture) smaller for where the airbase icons are placed.
Check the rsc files for the size of your tga you loaded? Maybe make that bigger? Or figure out the size of the map window and search for that string within the campaign scf files.
To figure which scf went with what, sometimes I would also figure out the top left corner, and look in the scfs for that location.
I concur with Tom - - there is a mismatch with the map (a UI graphic) and the airbase icon (a UI graphic). First you need to right size map -- if you get that in place you can then see where the airbases are positioned. If they are not right then there may be a scf that governs placement relative to the U/L corner or some such business.
I seem to recall with Falklands 128 - with the correct map in place the airbases showed up just fine.