(12-18-2012 11:49 AM)RanXerox Wrote: Here is an example from the SCP: http://code.google.com/p/sphere-communit..._armor.scp
Thank you, but the problem was another thing.
It was a bug: When I changed the "TAG.RESPhysical" My character had the armor equipped on him. And when I restarted Sphere and logged in, it was with the same armor before I change it. And it was reducing the armor value when I unequip it, very strange. So, I can't change anything at the ".scp" if the item is on the game. Crazy.
And now I got a really boring thing. I realized that my "sphere_skillmenu.scp" (C:\sphere\scripts) is:
Code:
...
[SKILLMENU sm_dull_copper_armor]
Dull Copper Armor & Shields
...
ON=i_DULL_COPPER_PLATEMAIL_LEGGINGS <name> (<resmake>)
MAKEITEM=i_DULL_COPPER_PLATEMAIL_LEGGINGS
ON=i_DULL_COPPER_FEMALE_PLATEMAIL <name> (<resmake>)
MAKEITEM=i_DULL_COPPER_FEMALE_PLATEMAIL
ON=i_DULL_COPPER_PLATEMAIL <name> (<resmake>)
MAKEITEM=i_DULL_COPPER_PLATEMAIL
...
and my "sphere_armor_dullcopper.scp" (C:\sphere\scripts\items\armors\colored) is:
Code:
[ITEMDEF i_PLATEMAIL_CHEST_DULL_COPPER]
NAME=Dull Copper Platemail
ID=i_platemail_chest
ARMOR=0 // 25
REQSTR=171
WEIGHT=10
CATEGORY=Provisions - Armor - Colored
SUBSECTION=Dull Copper
DESCRIPTION=Platemail
RESOURCES=25 i_ingot_dull_copper
SKILLMAKE=BLACKSMITHING 25.6
TAG.Penalty.Stealth = 25
TAG.ResPhysical=11
TAG.ResFire=4
TAG.ResCold=3
TAG.ResPoison=4
TAG.ResEnergy=3
...
the ITEMDEF does not match, and then the Sphere is getting
"Bad menu" error.
So, i was thinking, May I change all the ".scp" at "C:\sphere\scripts\items\armors\colored" to match with "sphere_skillmenu.scp" or Is it a known bug that you can tell me a simple thing to do?