Jump to content

Alice pack ICON [solved]


uncheat

Recommended Posts

Hello. Does anyone knows what is vanilla alice pack icon's name?

I did replaced texture but had no chance to replace icon so it'll match model texture.

I did try to add on \media\textures next files names:

Item_AliceBag.png

Item_AliceBag_Green.png

Item_AlicePack.png

Item_AlicePack_Green.png

Item_F_Alice_Pack.png

Item_M_Alice_Pack.png 

AliceBag.png

 

And still model texture changes with ALICEpack_Green.png but still the old icon... help please

p.s. There is icon name on media\scripts\clothing\clothing_bags.txt but it does not work
item Bag_SurvivorBag
    {
        ...
        Icon    =    AliceBag,
        ..
    }
    item Bag_ALICEpack
    {
       ....
        Icon    =    AliceBag,
        ...
    }

scr.png

Edited by uncheat
Link to comment
Share on other sites

The only 1 idea came into my mind is to change icon name and overwrite alicepack script, will test it later

item Bag_SurvivorBag
    {
        ...
        Icon    =    AliceBag_New,
        ..
    }
    item Bag_ALICEpack
    {
       ....
        Icon    =    AliceBag_New,
        ...
    }

 

Update: it did not work...

I did test yesterday:
1. I put AliceBagNew.png and Item_AliceBagNew.png on:
   media and media/texturepacks/UI2/ and media/textures

2. Changed Icon value on base via lua:

function Adjust(Name, Property, Value)
  Item = ScriptManager.instance:getItem(Name)
  Item:DoParam(Property.." = "..Value)
  end
  
Adjust("Base.Bag_SurvivorBag","Icon","AliceBagNew")
Adjust("Base.Bag_ALICEpack","Icon","AliceBagNew")


And that somehow worked. I'll find out what actually make it to work of those actions later )

 

last Update, here is a recipe:

1. Set new icon value via lua like above

2. Add icon texture with "Item_" prefix on media/textures

Edited by uncheat
Link to comment
Share on other sites

  • uncheat changed the title to Alice pack ICON [solved]

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...