HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

idle worker image

06-15-2003, 04:13 AM#1
Earth-Fury
for human, it is that of a pesant, therefor to change it i would create my own custom icon and give it the path of the pesant icon?
06-15-2003, 04:41 AM#2
Ultramagnetic
Maybe in some file somewhere there's a way to change what icon shows up. Maybe even in a funct.txt... There could be an idle worker 'ability' for each race or something like that. At that point it'd just be as easy as changing the file path name to point to whatever you wanted it to.
06-15-2003, 04:51 AM#3
Earth-Fury
it is writen in a dll library i think. but, would overwritingh the icon it uses work?
06-15-2003, 05:29 AM#4
Panto
E-F, overwriting the existing icon for each race does replace the "idle peasant" display successfully. I tested it and found it to work.

Ultramagnetic, there is a place in a file that tells the game which icon to put in the "idle peasant" display, however that file does not seem to load up with the map. So, to use it, you would have to insert it in the war3.mpq and send that to all your users, which would be a hassle, to say the least.

These are the paths for the peon units' icons:
  • ReplaceableTextures/CommandButtons/BTNAcolyte.blp
  • ReplaceableTextures/CommandButtons/BTNPeasant.blp
  • ReplaceableTextures/CommandButtons/BTNPeon.blp
  • ReplaceableTextures/CommandButtons/BTNWisp.blp
You would probably also want to replace the disabled icons for each (since it's used for any unit that uses the base icon). The path for the disabled icons is
ReplaceableTextures/CommandButtonsDisabled/
and the icon name should have the prefix DISBTN, not just BTN.
06-15-2003, 06:15 AM#5
Earth-Fury
hmm saved me from browsin for those paths. thank you allot.