• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Reverting/Modding Item Icons and Models (Auger revert)

Fishy

Refugee
Hello

I am wondering if anyone knows how to revert the auger specifically to have its older model and icon. 

If anyone can help me please let me know, 

Thanks : ) 

 
You can change or add your own icons (just in case the atlas no longer has the old auger icon) by adding the 160 x 160 PNG to a folder in your modlet called "UIAtlases" and folder inside there called "ItemIconAtlas" from there edit the items.xml file so that it points the auger's CustomIcon to that new (or rather old) icon you've manually added.

This is purely theoretical, I could be wrong here as not tried it.

 
Last edited by a moderator:
As @ThunderSn1per says, if you have the old icon and model saved it's a very simple xml edit to items.xml

This will add a customicon property to the Auger item

<insertAfter xpath="/items/item[@name='meleeToolPickT3Auger']/property[@name='Tags']">
<property name="CustomIcon" value="oldAugerIcon"/>
</insertAfter>




Since the Auger already has a meshfile property you'd need to use a setattribute xpath to change it

The value would depend on what your model is saved as in Unity or other

Code:
<set xpath="/items/item[@name='meleeToolPickT3Auger']/property[@name='Meshfile']/@value">#@modfolder:Resources/oldAugerModel.unity3d?oldAugerModel</set>
 
Back
Top