uncheat Posted November 26, 2022 Share Posted November 26, 2022 (edited) 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, ... } Edited November 28, 2022 by uncheat Link to comment Share on other sites More sharing options...
uncheat Posted November 26, 2022 Author Share Posted November 26, 2022 (edited) 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 November 28, 2022 by uncheat Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now