Door Kickers

Door Kickers

Platoon Workshop
Find and install maps, equipment and other mods made by our awesome community. Or create your own and upload it directly to Steam!
Learn More
Newbie MOD question - how to change the Clear Hostiles icon in the Campaign screen?
I just can't seem to figure this one out. The icon for Clear Hostiles is located here: \data\textures\gui\campaign\menu_camp_clear.tga . It is the icon with a target and a skull in it.

So I added the campaign.xml to my file filesystem_mount.xml.

<GUI>
<MountFile name="data/gui/hud.xml"/>
<MountFile name="data/gui/game.xml"/>
<MountFile name="data/gui/campaign.xml"/>
</GUI>

And in the file campaign.xml referenced the following, please note that I just copied the whole of the original campaign file and left it as is, but only changed this bit. Since I saw this worked in the Peaceful Pacification Pack mod for the files /gui/hud.xml and /gui/game.xml (although in that mod is was not loaded in the filesystem_mount.xml and still worked in the game).

<Item name="#Templates" hidden="true">
<StaticImage name="MissionIcon_#ClearHostiles">
<RenderObject2D texture="data/textures/gui/campaign/menu_camp_clear.tga"/> </StaticImage>
</Item>

And added my own icon in my mod folder of textures/gui/campaign/
First with the original name menu_camp_clear.tga , and also tried this with a different file name.

Also made sure the TGA is 32 bits. Also tried it with the icon and a clear black background, since I made it with a bit of a glare as the other icon has. This also did not work.

Is it at all possible to change that icon? I am working on a mod with more non-lethal actions, and do not want a skull as an icon for 'clear hostiles'. So I want the icon to show that you can either neutralize or kill.
Last edited by captaincofresi; 22 Sep, 2019 @ 3:37am
< >
Showing 1-7 of 7 comments
Vulpe Nebuna  [developer] 27 Sep, 2019 @ 2:21am 
Can you upload a version of your mod and let us see what's wrong?
captaincofresi 1 29 Sep, 2019 @ 10:54am 
I used the Red Panda upload tool to add the mod Chuck versus the Tangos to the Workshop about an hour ago, but do not see it there at the moment. Please do note that I changed the filename of the custom 'clear hostiles' icon to: menu_camp_clear_neutralize-glare.tga . When I tested it local, the 'clear hostiles' icon remained the same.
Last edited by captaincofresi; 29 Sep, 2019 @ 10:55am
captaincofresi 1 30 Sep, 2019 @ 3:25am 
Well already figured out why the mod was not showing, still had to add the description. It's online now :-).

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1876128134

Still the icon change for 'clear hostiles' is not working, same as with the local mod.
Last edited by captaincofresi; 30 Sep, 2019 @ 3:28am
captaincofresi 1 18 Oct, 2019 @ 9:27am 
Originally posted by Vulpe Nebuna:
Can you upload a version of your mod and let us see what's wrong?

Well it has been two weeks since I did upload my version, can you, Vulpe Nebuna, please get back to me why the changed 'clear hostiles' icon is not working? Please note that I did not yet described it, since it is currently in the code but not working. As soon as you tell me how to fix this, and when I have fixed it I will add it to the description.
Last edited by captaincofresi; 18 Oct, 2019 @ 9:28am
captaincofresi 1 20 Oct, 2019 @ 4:20am 
Since there is no activity on this forum, I have also posted this question in the General Discussion.
LucSon 7 29 Mar, 2020 @ 6:15pm 
I don't think you can actually change icons.
captaincofresi 1 30 Mar, 2020 @ 5:50am 
I think you are absolutly right. Seems the mod is all done then ;-). Well it already was though, since I just did not know it back then.
< >
Showing 1-7 of 7 comments
Per page: 1530 50