Need Help with Icons in Heroes 5!

Mods and development for mods. Including WoG & Equilibris (RU) subforums.
redwoodtreesprite
Leprechaun
Leprechaun
Posts: 44
Joined: 01 Jan 2007
Contact:

Need Help with Icons in Heroes 5!

Unread postby redwoodtreesprite » 08 Jan 2007, 20:02

I made a mod that changes some of the troops one gets in the Necropolis. As there were no Black Knight icons, I made one, and saved it (in Paintshop Pro 9) in the different sizes needed, with alpha channels and dds setting of 32 bit. I placed the icons in the same folder as the Death Knight icons and referred the proper text document to the new icons. The icons seem to be made properly, as some of them show. But some don't show. And they were all made in an identical manner.

They show correctly in the Town Purchase Screen:
http://img.photobucket.com/albums/v84/r ... Screen.jpg
the Hero Troops Screen:
http://img.photobucket.com/albums/v84/r ... Screen.jpg
and the Pre-Battle Tactics Screen:
http://img.photobucket.com/albums/v84/r ... actics.jpg

But they don't show in the Black Knight Profile Screen:
http://img.photobucket.com/albums/v84/r ... Screen.jpg
and the Battle Screen:
http://img.photobucket.com/albums/v84/r ... Battle.jpg

Here's the beta mod, in case anyone wants to check out my text changes and icons:
http://www.zyworld.com/redwoodtreesprit ... tIcons.zip

(Other than the problem with non-showing icons, this mod works fine with Hammers of Fate as well.
So once I get the icons to show, I can release it as a mod for both Heroes 5 and the first expansion.)

User avatar
Pitsu
Round Table Hero
Round Table Hero
Posts: 1830
Joined: 22 Nov 2005

Unread postby Pitsu » 08 Jan 2007, 21:53

In the Gamemechanics/creaturevisuals/creatures/neutrals you have a file called Black_Knight.xdb

In this file you have lines:

Code: Select all

	<Icon href="/Textures/Interface/CombatArena/Faces/neutral/ico_Black_Knight.xdb#xpointer(/Texture)"/>
	<Icon32 href="/Textures/Interface/CombatArena/Faces/neutral/ico_Black_Knight_32.ddsxdb#xpointer(/Texture)"/>
	<Icon64 href="/Textures/Interface/CombatArena/Faces/neutral/ico_Black_Knight_64.ddsxdb#xpointer(/Texture)"/>
	<Icon128 href="/Textures/Interface/CombatArena/Faces/neutral/ico_Black_Knight_128.ddsxdb#xpointer(/Texture)"/>
The last 3 lines refer to files that do not exist. "dds" letters in the file name should not be there. AFAIT that is the problem
Avatar image credit: N Lüdimois

redwoodtreesprite
Leprechaun
Leprechaun
Posts: 44
Joined: 01 Jan 2007
Contact:

Unread postby redwoodtreesprite » 10 Jan 2007, 14:50

They work perfectly now. Thanks so much! :D


Return to “Modcrafting Guild”

Who is online

Users browsing this forum: No registered users and 8 guests