Hello. In order to edit the icons for faction 7 (Drones), you will have to modify the following files:AquaSide wrote:Hey guys,i got a new question.
How can i edit the vehicle icons for the tutorial hoststation in the minimap (compass)
I mean by that how can i make heli,tanks,planes,scout icons for it like the other host stations.
- Fontpage.ilb (file that contains the general map icon elements)
- MAPVHCL#.fon (these are the coordinate definition files; there are total 4 of them)
- H_finder.ilb & TYPE_NS.fon (for the 'dot' weapon icon that appears on the zoom level 4 (max zoomed in) map display)
- Maprobos.ilb & Maprobo.fon (for editing the Host Station icons)
Most spaces in the file are already occupied. Any empty spaces are free to use as long as the coordinates are defined accordingly. But since the Black Sect icons are already absent in their respective places thanks to their hard-coded invisibility, I highly recommend making use of those unused spaces between the Taerkasten and Ghorkov icons as it will be much easier to organise.
Once you are done with adding new icons for faction 7 in place, you will have to redefine the icon coordinates used by faction 7 in the script files. MAPVHCL#.fon files in DATA\FONTS\HFONTS contain the coordinate definitions for these icons.
MAPVHCL7.fon is used for defining the icons that appear on both compass and the map zoom level 3, MAPVHCL5.fon is used for the map zoom level 2, and MAPVHCL3.fon is used for the map zoom level 1 (max zoomed out).
Editing MAPVHCL9.fon may not be necessary, as I suspect it might be a legacy file that is not used by the game anymore in a practical sense. I would appreciate a further verification on this.
If you've simply used the empty 'reserved' spaces for Black Sect icons as I suggested, the only remaining task would be recalibrating every Owner 7's coordinates in these three files to match the Owner 5's coordinates directly above them. For example, at the template below you should make the Owner 7's coordinate (259, 59) equal to the above Owner 5's coordinate (211, 77); the same work applies to all other entries present in each MAPVHCL# (3, 5, 7).fon file.
Code: Select all
#17 259 59 7 ; Vehikel, Owner 0 (nicht definiert) ------ Flugzeug -------- #18 183 77 7 ; Vehikel, Owner 1 (User) #19 190 77 7 ; Vehikel, Owner 2 #20 197 77 7 ; Vehikel, Owner 3 (Mykonier) #21 204 77 7 ; Vehikel, Owner 4 (Taerkasten) #22 211 77 7 ; Vehikel, Owner 5 // Copy these coordinates #23 218 77 7 ; Vehikel, Owner 6 (Kyterneser) #24 259 59 7 ; Vehikel, Owner 7 // Replace these coordinates
For the weapon icon that appears on the max zoomed in map screen, it could be added at the unit icon file H_finder.ilb as usual. Please note that in TYPE_NS.fon, the dummy weapon icon coordinate assigned for faction 7 shares its position with faction 0 (Neutral), faction 2 (Sulgogars), and faction 5 (Black Sect); which lack their own default weapon icons as well. You may either make a separate weapon coordinate for faction 7, or just let faction 2 share the same weapon icon as faction 7.