|
Post by anno1404 on Dec 25, 2011 4:28:47 GMT -5
This one is from freako: If you want to use a different HUD icon for your weapon such as adding a weapon from an NPC that does not already have it's own hud icon: Find the weapon icon you want to use by extracting streamedassets.big and looking for w_"weaponnamehere".bct Extract your weapon's .big file Place your w_weaponname.bct into the extracted weapon folder. Open the bigfile.xml that was extracted with your weapon's .big and add the line <entry name="w_weaponnamehere.bct" alignment="4">w_weaponnamehere.bct</entry> Repack the bigfile.xml file Then in your data/datafile.big/items.txt items.txt entry for your custom weapon put the line: IconFilename = "w_weaponnamehere" For example: IconFilename = "w_magician_sword" Now follow the usual steps of putting the weapon in game. The weapon should now have the hud icon you want, and not a black box. If we already have this somewhere, let me know and i will move it. If you have a question about this. I am not the person to ask. I am just writing this all down.
|
|