Difficulty: 1/10
Purpose: To teach you how to Add skill capes trimmed to Any soruce!
Reason: To Add skill capes trimmed
Procedure:
Step 1. First lets add the skill capes to server (Giving them prices and making them actual items on server)
Go into Item.cfg and find:
Code:
item = 14073 Att_Cape A_Cape. 100000 100000 100000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0Once you found that copy the line and goto end of line and hit "enter", then Paste
that and and one # up to item id:
For example
Code:
item = 14073 => item = 14074
The next (14074) is the trimmed form of that cape
REpeat that for every cape in Project czar
Heres what it should look like when your finished with that step:
(You could just delete that and paste but what's the point, don't you wanna learn?)
Code:
item = 14073 Att_Cape A_Cape. 100000 100000 100000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14074 Att_Cape _(t) A_Cape. 100000 100000 100000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14075 Att_Hood A_Hood. 100000 100000 100000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14076 Str_Cape A_Cape. 100000 100000 100000 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0
item = 14077 Str_Cape _(t) A_Cape. 100000 100000 100000 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0
item = 14078 Str_Hood A_Hood. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0
item = 14079 Def_Cape A_Cape. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14080 Def_Cape_(t) A_Cape. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14081 Def_Hood A_Hood. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14082 Range_Cape A_Cape. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14083 Range_Cape A_Cape. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14084 Range_Hood A_Hood. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14085 Pray_Cape A_Cape. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14086 Pray_Cape_(t) A_Cape. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14087 Pray_Hood A_Hood. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14088 Magic_Cape A_Cape. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14089 Magic_Cape_(t) A_Cape. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14090 Magic_Hood A_Hood. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14094 Hp_Cape A_Cape. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14095 Hp_Cape _(t) A_Cape. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14096 HP_Hood A_Hood. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14103 Thieve_Cape A_Cape. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14104 Thieve_Cape_(t) A_Cape. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14105 Thieve_Hood A_Hood. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14109 Fletch_Cape A_Cape. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14110 Fletch_Cape_(t) A_Cape. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14111 Fletch_Hood A_Hood. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14124 Fish_Cape A_Cape. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14125 Fish_Cape A_Cape. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14126 Fish_Hood A_Hood. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14127 Cook_Cape A_Cape. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14128 Cook_Cape A_Cape. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14129 Cook_Hood A_Hood. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14133 Wc_Cape A_Cape. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14133 Wc_Cape_(t) A_Cape. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14135 Wc_Hood A_Hood. 100000 100000 10000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 15334 God_Sword A_God_Sword. 132000000 132000000 132000000 3 4 13 14 12 12 16 5 12 1 5 11 9 1
item = 15156 Dark_Bow A_Dark_Bow. 4000000 4000000 4000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14112 Slayer_Cape A_Slayer_Cape. 100000 100000 100000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14113 Slayer_Cape A_Slayer_Cape. 100000 100000 100000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14114 Slayer_Hood A_Slayer_Hood. 100000 100000 100000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 13640 Black_Mask A_Black_Mask. 30000000 30000000 30000000 0 0 0 0 0 1 2 3 4 5 6 9 8 7
item = 14121 Smith_Cape A_Smith_Cape. 100000 100000 100000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14122 Smith_Cape A_Smith_Cape. 100000 100000 100000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14123 Smith_Hood A_Smith_Hood. 100000 100000 100000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
item = 14023 Proselyte_tasset A_Proselyte. 716321 716321 716321 0 0 0 0 0 0 0 0 0 0 2 5 0 0 0 0 0
item = 14915 Barrelchest_Anchor Yo. 31232321 31232321 312323321 31 21 35 13 25 17 18 12 13 14 12 13 12 16 12 12 12
That's from attack skill cape down
Step 2. Now you have to make sure they are in the right places
For this just add all the capes item id's it item.java in the
Quote
public static int capes[] = {
slot
Heres what it should look like when your done:
Code:
public static int capes[] = {10705,14086,14110,14125,14128,14134,14127,14122,1 4113,14104,14089,10708,14074,14077,14080,14095,140 83,10711,10714,10717,10720,10723,10726,10729,10732 ,10735,10738,10741,10744,10750,10756,10759,10762,1 0765,10768,1770,3759, 6959, 3761,3763,3765,3777,3779,3781,3783,3785,3787,3789, 4041,4042,4514,4516,6111,6570,6568,1007,1019,1021, 1023,1027,1029,1031,1052,2412,2413,2414,4304,4315, 4317,4319,4321,4323,4325,4327,4329,4331,4333,4335, 4337,4339,4341,4343,4345,4347,4349,4351,4353,4355, 4357,4359,4361,4363,4365,4367,4369,4371,4373,4375, 4377,4379,4381,4383,4385,4387,4389,4391,4393,4395, 4397,4399,4401,4403,4405,4407,4409,4411,4413,4514, 4516,6070,6568,6570};
That should put all the capes in the correct place.
Step 3. Now to add them to shops:
Open up Shops.cfg and look for the shop name you want to put the capes in:
I did the "noob clothing" shop
So crtl+f (find):
Code:
Noob clothing
Then replace all the codes in there with the skill capes id's:
Should look like this when your done:
Code:
shop = 56 Skill capes (t) 2 2 14074 100 14077 100 14080 100 14095 100 14083 100 14086 100 14104 100 14110 100 14128 100 14134 100 14113 100
If you just change the name From noob clothing to shop name of your choice i did
Quote
Skill capes (t)
That should add all the skill capes trimmed in the shop.
Step 4.T hen open up npchandler.java and:
crtl+f (find):
Code:
if (npcs[i].npcType == 54

{
if (misc.random2(30) <= 2) {
npcs[i].updateRequired = true;
npcs[i].textUpdateRequired = true;
npcs[i].textUpdate = "Noob clothing";
}
}
Replace all than andthen paste:
Code:
if (npcs[i].npcType == 54

{
if (misc.random2(30) <= 2) {
npcs[i].updateRequired = true;
npcs[i].textUpdateRequired = true;
npcs[i].textUpdate = "Skill Capes (t) here";
}
}
That should be all fro adding skill capes trimmed =]