Ignorance
01-13-2010, 12:22 AM
Alright, this guide is about putting :blac: right smack dab where he belongs: EVERYWHERE! We're gonna put him in front of names on lobby slots. Kinda like a golden shield, only with more :blac:! I mean, sure, we could put him in chat, but WHO LOOKS CARES ABOUT CHAT ANYWAY? When ya look at the slots, you're gonna see what you ought to:
Blue: :blac:
Teal: :blac:
Purple: :blac:
Yellow: :blac:
Orange: :blac:
Pink: :blac:
Gray: :blac:
Light Blue: :blac:
Dark Green: :blac:
Brown: :blac:
BLACKSMITH!
Now, to start with this mod, you ought to read picklefish's How To Create Yer Own Mods (http://forums.heroesofnewerth.com/showthread.php?t=12217) and have a copy of game_lobby.interface in HoN\game\ui\ cause otherwise nothin's gonna work and yer gonna look like a bumblin' :scou: who don't know where the fight is! Ya also better have a good text editor like notepad++ cause a blacksmith's only as good as his hammers!
Now that yer looking at the code, you say to yourself 'Where can I find a picture of blacksmith?' Well, blacksmith's always got a picture on hand over at heroes/dwarf_magi/icon.tga. And now that ya got a picture of blacksmith, you can count on me to tell ya where to put it! Yeah, you better find it yourself, ya lazy bum! Just look for premium icons. I mean, that's the kinda place that blacksmith would hang out. Right next to your name!
...
...
...
Now, if you haven't found that location by now, I'll tell ya where it is. Highlight this next line of text for what you should search for!
texture="/ui/icons/premium.tga"
Well, now that you've found it, you can just add another one! And this one's gonna add my ugly mug.
Add this after your premium icon business! It takes everything that puts the premium icon where it is and gives it to blacksmith! Then, it makes sure the picture is blacksmith, even though we all know all pictures are blacksmith by default.
<image y="5%" width="65@" height="65%" noclick="true" sticky="true" stickytoinvis="false" texture="heroes/dwarf_magi/icon.tga/"/> Still stuck?
Put the code in after this:
<panel width="65@" height="65%" noclick="true" sticky="true" stickytoinvis="false" passivechildren="true" watch="LobbyPlayerInfo{player}" ontrigger="SetVisible(!param19 and param20);">
<image y="5%" texture="/ui/icons/premium.tga"/>
</panel>Here's what it should look like when you're done! You'll notice this mod has a bug...
http://i985.photobucket.com/albums/ae340/darkar634/blacksmithinchat.jpg
Want to see your premium icon? TOO BAD IT'S ME BLACKSMITH!
Blue: :blac:
Teal: :blac:
Purple: :blac:
Yellow: :blac:
Orange: :blac:
Pink: :blac:
Gray: :blac:
Light Blue: :blac:
Dark Green: :blac:
Brown: :blac:
BLACKSMITH!
Now, to start with this mod, you ought to read picklefish's How To Create Yer Own Mods (http://forums.heroesofnewerth.com/showthread.php?t=12217) and have a copy of game_lobby.interface in HoN\game\ui\ cause otherwise nothin's gonna work and yer gonna look like a bumblin' :scou: who don't know where the fight is! Ya also better have a good text editor like notepad++ cause a blacksmith's only as good as his hammers!
Now that yer looking at the code, you say to yourself 'Where can I find a picture of blacksmith?' Well, blacksmith's always got a picture on hand over at heroes/dwarf_magi/icon.tga. And now that ya got a picture of blacksmith, you can count on me to tell ya where to put it! Yeah, you better find it yourself, ya lazy bum! Just look for premium icons. I mean, that's the kinda place that blacksmith would hang out. Right next to your name!
...
...
...
Now, if you haven't found that location by now, I'll tell ya where it is. Highlight this next line of text for what you should search for!
texture="/ui/icons/premium.tga"
Well, now that you've found it, you can just add another one! And this one's gonna add my ugly mug.
Add this after your premium icon business! It takes everything that puts the premium icon where it is and gives it to blacksmith! Then, it makes sure the picture is blacksmith, even though we all know all pictures are blacksmith by default.
<image y="5%" width="65@" height="65%" noclick="true" sticky="true" stickytoinvis="false" texture="heroes/dwarf_magi/icon.tga/"/> Still stuck?
Put the code in after this:
<panel width="65@" height="65%" noclick="true" sticky="true" stickytoinvis="false" passivechildren="true" watch="LobbyPlayerInfo{player}" ontrigger="SetVisible(!param19 and param20);">
<image y="5%" texture="/ui/icons/premium.tga"/>
</panel>Here's what it should look like when you're done! You'll notice this mod has a bug...
http://i985.photobucket.com/albums/ae340/darkar634/blacksmithinchat.jpg
Want to see your premium icon? TOO BAD IT'S ME BLACKSMITH!