Well, you really should add this item in item.cfg first, that should fix both issues.
|
|
I add the custom to my client and can equip in game. My problem is i have to add it cape in item.java so it doesnt equip as weapon.
This is what the cape section looks like
Where does my item id (14918) go?Code:public static boolean playerCape(int itemId) { String[] data = { "cloak", "cape", "Cape", "attractor", "Attractor", "Ava's" }; String item = getItemName(itemId); if (item == null) { return false; } boolean item1 = false; for(int i = 0; i < data.length; i++ ) { if(item.endsWith(data[i]) || item.contains(data[i])) { item1 = true; } } return item1; }
Also where can i change stats of the cape?
Thanks for help
Well, you really should add this item in item.cfg first, that should fix both issues.
What's its name?
Brian's Cape
Just make sure you add this before [ENDOFITEMLIST], and you should be fine.
I don't remember what the first 3 numbers after the description is(besides something to do with pricing and alchemy), but after that is the actual stats. Everything SHOULD work correctly, enabling it to equip in the right place.Code:item = 14918 Brian's_Cape description_here 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
| « [PI] Path Finding | Loading Images onto an interface. » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |