Item Icon Request

Author Topic: Item Icon Request  (Read 3859 times)

I made it that way because
A. It looks epic and dramatic pointing that way.
B. If you notice my avatar, I think cel-shading looks better.

EDIT: Your image was also so low-quality, so I had to cover it up a bit.
« Last Edit: August 28, 2011, 05:06:56 PM by Nasoa »

That looks like something from a cartoon

You know I think there is a way to tell the thing to DoRecolor in the script, it may actually recolor the icon, idk lemme check the Akimbo Guns icon.

...Ok, here is the code as taken directly from the Guns Akimbo:

//////////
// item //
//////////
datablock ItemData(AkimboGunItem)
{
   category = "Weapon";  // Mission editor category
   className = "Weapon"; // For inventory system

    // Basic Item Properties
   shapeFile = "Add-Ons/Weapon_Gun/pistol.dts";
   rotate = false;
   mass = 1;
   density = 0.2;
   elasticity = 0.2;
   friction = 0.6;
   emap = true;

   //gui stuff
   uiName = "Guns Akimbo";
   iconName = "./Icon_2guns";
   doColorShift = true;
   colorShiftColor = "0.1 0.1 0.2 1.000";

    // Dynamic properties defined by the scripts
   image = AkimboGunImage;
   canDrop = true;

Thusly, for a sword with a brown icon, edit the script as follows:
Find:

   //gui stuff
   uiName = "Sword";
   iconName = "./icon_sword";
   doColorShift = true;
   colorShiftColor = "0.471 0.471 0.471 1.000";
And replace it with:

   //gui stuff
   uiName = "Sword";
   iconName = "./icon_sword";
   doColorShift = true;
   colorShiftColor = "0.400 0.196 0 1.000";

Cause that is the same brown color that the Bow uses.

-Lots Of Words-
Hmm I'll try it

EDIT: Nope it didn't work.
« Last Edit: August 29, 2011, 06:02:16 AM by jes00 »

Now how do I lighten the item icon? because it's dark ingame.

Now how do I lighten the item icon? because it's dark ingame.

What? maybe a color adjust...

Anyhow I checked the sword icon and really, it is white. The doRecolor changes it to gray. Thats how all the icons work, I think. So if your wooden sword is not an edit of the default sword then that's your problem, not mine.

Perhaps you failed to set it to LOOK for the sword icon in the right place?

Listen bro, do you just need a brown version of the sword? Cause Im pretty sure I can do that...

Thats how all the icons work, I think. So if your wooden sword is not an edit of the default sword then that's your problem, not mine.
Nope.
Perhaps you failed to set it to LOOK for the sword icon in the right place?
That's not the problem.
Listen bro, do you just need a brown version of the sword? Cause Im pretty sure I can do that...
Pretty much, but I just need the icon.

Goo to Construct
Build tower of invisible blocks
Spawn Wooden Sword on top
Take picture at fun angle
Edit out
Move in front of template
Place in ZIP file
???
Profit.

No you fools. Jam this into the sword item datablock
Code: [Select]
doColorShift = true;
colorShiftColor = "1 1 1 1";
and change the color to your brown.

No you fools. Jam this into the sword item datablock
Code: [Select]
doColorShift = true;
colorShiftColor = "1 1 1 1";
and change the color to your brown.
So will this get the icon to be brown?

So will this get the icon to be brown?
Yes. Just change the color.

No you fools. Jam this into the sword item datablock
Code: [Select]
doColorShift = true;
colorShiftColor = "1 1 1 1";
and change the color to your brown.

That is what I was telling him to do, except I included the same color listing given in the bow. Unless the sword's recolor code is broken?

Ima check on that.

Woah I just realized who it is askin for this. Could you send me your wooden sword model and script file (basically the whole freakin zip as it currently stands) and I will do some checkin. But I liek that wooden sword model you did, nao I want it.


..Take this.

Nice *takes*
Woah I just realized who it is askin for this. Could you send me your wooden sword model and script file (basically the whole freakin zip as it currently stands) and I will do some checkin. But I liek that wooden sword model you did, nao I want it.
No, you can't have it.