SphereCommunity
ARMOR Problem [SOLVED] - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: ARMOR Problem [SOLVED] (/Thread-ARMOR-Problem-SOLVED)



ARMOR Problem [SOLVED] - senk - 01-16-2015 03:34 AM

Hello! I'm creating new ores and i started with this one, titanium. I scripted the ore (working fine with Ore and Ingot) and i decided to go with Armor. Scripted arms and chest (Armor and Blacksmith Menu) and when i finished i decided to try it ingame... The thing is: i can create the item with i_titanium_arms/chest (with the right color) BUT armor value isn't working and it don't appear in the BS Menu. I'm gonna show you what i got in the scripts:

Sphere_item_provisions_armor.scp:

[ITEMDEF i_titanium_arms]
NAME=Titanium Platemail Arms
ID=i_platemail_arms
ARMOR=5
REQSTR=70
WEIGHT=5
RESOURCES=18 i_ingot_titanium
SKILLMAKE=BLACKSMITHING 66

CATEGORY=Provisions - Armor - new
SUBSECTION=ED
DESCRIPTION=Platemail Arms

ON=@Create
COLOR=052d
HITPOINTS={51 65}

[ITEMDEF i_titanium_chest]
NAME=Titanium Platemail Chest
ID=i_platemail_chest
ARMOR=14
REQSTR=70
WEIGHT=10
RESOURCES=18 i_ingot_titanium
SKILLMAKE=BLACKSMITHING 69

CATEGORY=Provisions - Armor - new
SUBSECTION=ED
DESCRIPTION=Platemail Arms

ON=@Create
COLOR=052d
HITPOINTS={51 65}

In Sphere_skillmenu.scp:

[SKILLMENU sm_titanium_armor]
Titanium Armor
ON=i_TITANIUM_ARMS <name> (<resmake>)
MAKEITEM=i_titanium_arms

ON=i_TITANIUM_CHEST <name> (<resmake>)
MAKEITEM=i_titanium_chest

and i thought also to put in sphere_item_provisions_armor_color.scp(didn't work aswell the same as _armor.scp)

I'M USING SPHERE 0,56B AND CLIENT 4.0.11c

Thanks a lot!



EDIT: the armor value is the same with the other minerals like Gold, Silver... etc example: golden gorget = AR 1 silver gorget = AR 1


RE: ARMOR Problem [SOLVED] - Jonaleth - 06-13-2015 07:33 PM

I got the same problem, all my armor just give me a value of 0 in AR. even if I add ARMOR=40. For some reason it uses physical resistance instead, but i wish not to use that system. I rather use an armor system.