Hi, everyone!
In this topic We’d like to explain how to change visibility icons in battle interface.
From this (default view)
IconVisibilityVolley
IconVisibilityShip
IconVisibilityPlane
IconVisibilityRLS
IconVisibilitySonar
IconVisibilityCommonXray
To this (these icons are used as an example):
IconVisibilityVolley
IconVisibilityShip
IconVisibilityPlane
IconVisibilityRLS
IconVisibilitySonar
IconVisibilityCommonXray
The collection contains more than six clips, here’s the full list of events triggering the display of info icons:
IconVisibilityFightersWarning
IconVisibilityFightersCritical
IconVisibilityAntiAir
IconVisibilityVolley
IconVisibilityShip
IconVisibilityPlane
IconVisibilityRadar
IconVisibilityAircarrierAttacked
IconVisibilityRLS
IconVisibilitySonar
IconVisibilityCommonXray
First step is to prepare the future icons in the required size. Icons should be created in *.PNG (preferably already optimized for lesser file size).
Them using the client unpack tool unpack the file: World_of_Warships/res_unpack/gui/unbound/main_hud_pc.xml
In the main_hud_pc.xml search for required event, for example, being spotted by enemy ship:
This block sets the main (defaults) parameter for the image:
image width
image length
location in depository (in this example – in hud_lib.swf file)
Assume you have an image with 70x70 pixels size Changing the lenght nad width paremeters accordingly in the block:
Then you need to put the path to the external depository where the image is stored where the game will be taking this image from.
Assume you have it stored in res_mods//gui/VisibilityItemsClip - then we need to put the path to this directory (VisibilityItemsClip):
In the end the changed block will look like this:
Save the changed file in according folder World_of_Warships/res_mods//gui/unbound/main_hud_pc.xml
add folder with your images World_of_Warships/res_mods//gui/VisibilityItemsClip
Log in to battle and see the results!