AmpereJoule 
Journeyman

Posts: 59
Likes Given: 7
Likes Received: 0 in 0 posts
Joined: Dec 2012
Reputation: 0
![]()
|
Physical Armor is not being counted
Hey guys,
I changed the "physical armor" in "sphere_armor_blacksmithing_platemail.scp" at "C:\sphere\scripts\items\armors"
and
every ".scp" at "C:\sphere\scripts\items\armors\colored".
Now when I equip all the parts of "Iron Set" i get 50 of "Physical Armor", but when I fight against an skeleton, for exemple, his damage is the same that if I was not using any armor.
here it is the script "sphere_armor_blacksmithing_platemail.scp" that I said above:
Code:
[ITEMDEF 01410]
DEFNAME=i_platemail_arms
TYPE=T_ARMOR
RESOURCES=18 i_ingot_iron
SKILLMAKE=BLACKSMITHING 12.3
WEIGHT=5
FLIP=1
REQSTR=130
DUPELIST=01417
CATEGORY=Provisions - Armor - Blacksmithing
SUBSECTION=Platemail Armor
DESCRIPTION=Platemail Arms
TAG.Penalty.Meditation=1
TAG.Penalty.Stealth=10
TAG.ResPhysical=8
TAG.ResFire=1
TAG.ResCold=1
TAG.ResPoison=1
TAG.ResEnergy=1
ON=@Create
COLOR=color_o_iron
HITPOINTS={50 60}
[ITEMDEF 01417]
DUPEITEM=01410
[ITEMDEF 01411]
DEFNAME=i_platemail_leggings
TYPE=T_ARMOR
RESOURCES=20 i_ingot_iron
SKILLMAKE=BLACKSMITHING 13.8
WEIGHT=7
FLIP=1
REQSTR=130
DUPELIST=0141a
CATEGORY=Provisions - Armor - Blacksmithing
SUBSECTION=Platemail Armor
DESCRIPTION=Platemail Legs
TAG.Penalty.Meditation=1
TAG.Penalty.Stealth=15
TAG.ResPhysical=8
TAG.ResFire=1
TAG.ResCold=1
TAG.ResPoison=1
TAG.ResEnergy=1
ON=@Create
COLOR=color_o_iron
HITPOINTS={50 60}
[ITEMDEF 0141a]
DUPEITEM=01411
[ITEMDEF 01412]
DEFNAME=i_platemail_helm
TYPE=T_ARMOR
RESOURCES=15 i_ingot_iron
SKILLMAKE=BLACKSMITHING 12.6
WEIGHT=5
FLIP=1
REQSTR=130
DUPELIST=01419
CATEGORY=Provisions - Armor - Blacksmithing
SUBSECTION=Platemail Armor
DESCRIPTION=Platemail Helm
TAG.Penalty.Meditation=1
TAG.Penalty.Stealth=10
TAG.ResPhysical=8
TAG.ResFire=1
TAG.ResCold=1
TAG.ResPoison=1
TAG.ResEnergy=1
ON=@Create
COLOR=color_o_iron
HITPOINTS={50 60}
[ITEMDEF 01419]
DUPEITEM=01412
[ITEMDEF 01413]
DEFNAME=i_platemail_gorget
TYPE=T_ARMOR
RESOURCES=10 i_ingot_iron
SKILLMAKE=BLACKSMITHING 12.4
WEIGHT=2
FLIP=1
REQSTR=130
CATEGORY=Provisions - Armor - Blacksmithing
SUBSECTION=Platemail Armor
DESCRIPTION=Platemail Gorget
TAG.Penalty.Meditation=1
TAG.Penalty.Stealth=5
TAG.ResPhysical=8
TAG.ResFire=1
TAG.ResCold=1
TAG.ResPoison=1
TAG.ResEnergy=1
ON=@Create
COLOR=color_o_iron
HITPOINTS={50 60}
[ITEMDEF 01414]
DEFNAME=i_platemail_gloves
TYPE=T_ARMOR
RESOURCES=12 i_ingot_iron
SKILLMAKE=BLACKSMITHING 12.9
WEIGHT=2
FLIP=1
REQSTR=130
DUPELIST=01418
CATEGORY=Provisions - Armor - Blacksmithing
SUBSECTION=Platemail Armor
DESCRIPTION=Platemail Gauntlets
TAG.Penalty.Meditation=1
TAG.Penalty.Stealth=5
TAG.ResPhysical=8
TAG.ResFire=1
TAG.ResCold=1
TAG.ResPoison=1
TAG.ResEnergy=1
ON=@Create
COLOR=color_o_iron
HITPOINTS={50 60}
[ITEMDEF 01418]
DUPEITEM=01414
[ITEMDEF 01415]
DEFNAME=i_platemail_chest
TYPE=T_ARMOR
RESOURCES=25 i_ingot_iron
SKILLMAKE=BLACKSMITHING 14.5
WEIGHT=10.0
FLIP=1
REQSTR=130
DUPELIST=01416
CATEGORY=Provisions - Armor
SUBSECTION=Platemail Armor
DESCRIPTION=Platemail Breastplate
TAG.Penalty.Meditation=1
TAG.Penalty.Stealth=25
TAG.ResPhysical=10
TAG.ResFire=1
TAG.ResCold=1
TAG.ResPoison=1
TAG.ResEnergy=1
ON=@Create
COLOR=color_o_iron
HITPOINTS={50 60}
[ITEMDEF 01416]
DUPEITEM=01415
[eof]
Does anyone know what possibly is happening?
|
|
01-14-2013 11:18 AM |
|
|
AmpereJoule 
Journeyman

Posts: 59
Likes Given: 7
Likes Received: 0 in 0 posts
Joined: Dec 2012
Reputation: 0
![]()
|
RE: Physical Armor is not being counted
now I put it like this:
Code:
[ITEMDEF 01410]
DEFNAME=i_platemail_arms
TYPE=T_ARMOR
RESOURCES=18 i_ingot_iron
SKILLMAKE=BLACKSMITHING 12.3
WEIGHT=5
FLIP=1
REQSTR=130
DUPELIST=01417
CATEGORY=Provisions - Armor - Blacksmithing
SUBSECTION=Platemail Armor
DESCRIPTION=Platemail Arms
ARMOR=8 //<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
TAG.Penalty.Meditation=1
TAG.Penalty.Stealth=10
TAG.ResPhysical=8
TAG.ResFire=1
TAG.ResCold=1
TAG.ResPoison=1
TAG.ResEnergy=1
ON=@Create
COLOR=color_o_iron
HITPOINTS={50 60}
and it still the same, they still doing their max damage on me.
EDIT* I did not create a new one, let me try it!
EDIT2* it didn't work. :/
So, I need to find where the damage calculations are in the .scp files.
(This post was last modified: 01-14-2013 12:02 PM by AmpereJoule.)
|
|
01-14-2013 11:57 AM |
|
|
AmpereJoule 
Journeyman

Posts: 59
Likes Given: 7
Likes Received: 0 in 0 posts
Joined: Dec 2012
Reputation: 0
![]()
|
RE: Physical Armor is not being counted
how the **** can an skeleton do elemental damage? He only has a sword!
So, here it is the skeleton script: (I deleted the folder "Monsters" at "C:\sphere\scripts\npcs" and now I am using the "spherechar.scp" from "SCP-NightlyFriday.rar")
Code:
...
[CHARDEF 039]
DEFNAME=c_skeleton_w_sword
//DEFNAME2=BONE_KNIGHT
NAME=Skeleton
SOUND=snd_MONSTER_SKLETN1
ICON=i_pet_SKELETON
ANIM=078c7f
CAN=MT_WALK|MT_USEHANDS|MT_EQUIP
DAM=7,13
ARMOR=9
RESOURCES=8 i_reag_bone
DESIRES=t_bone,i_gold
FOODTYPE=
//SHELTER=r_spooky
BLOODCOLOR=-1
TEVENTS=e_undead
CATEGORY=Monsters
SUBSECTION=Undeads
DESCRIPTION=Skeleton (Sword & Shield)
ON=@Create
NPC=brain_undead
STR={56 80}
DEX={56 75}
INT={16 40}
SWORDSMANSHIP={50.0 55.0}
PARRYING={45.0 55.0}
MAGICRESISTANCE={45.0 60.0}
TACTICS={45.0 60.0}
WRESTLING={45.0 55.0}
FAME={100 2000}
KARMA={-999 -5999}
//ALIGNMENT=EVIL
ON=@NPCRestock
ITEM=i_shield_wood
ITEM=i_CUTLASS
ITEM={ meager_undead_backpack 1 average_undead_backpack 2 }
...
And here it is the old skeleton that I used, from "Undead.scp" at "C:\sphere\scripts\npcs\Monsters"
Code:
...
[CHARDEF 039]
DEFNAME=c_skeleton_w_sword
NAME=skeleton
ICON=i_pet_skeleton
SOUND=snd_monster_skletn1
CAN=MT_WALK|MT_USEHANDS|MT_EQUIP
DAM=5,11
ARMOR=15
DESIRES=r_graveyards,t_coin,t_gold,t_gem,t_potion
AVERSIONS=t_trap,r_civilization
//FOODTYPE=
RESOURCES=2 i_reag_bone
BLOODCOLOR=-1
MOVERATE=100
TAG.Barding.Diff=38.9
TAG.Slayer=SLAYER_UNDEAD
TEVENTS=e_undead
CATEGORY=Monsters
SUBSECTION=Undead
DESCRIPTION=Skeleton (sword and shield)
ON=@Create
NPC=brain_undead
FAME=450
KARMA=-450
STR={56 80}
MAXHITS={34 48}
DEX={56 75}
MAXSTAM={56 75}
INT={16 40}
MAXMANA={16 40}
MAGICRESISTANCE={45.0 60.0}
PARRYING={45.0 60.0}
SWORDSMANSHIP={45.0 55.0}
TACTICS={45.0 60.0}
WRESTLING={45.0 55.0}
MODAR={0 5}
RESCOLD={25 40}
RESENERGY={5 15}
RESFIRE={5 10}
RESPOISON={25 35}
ON=@NPCRestock
ITEM=loot_skeleton
ITEM=i_scimitar
ITEM=i_scimitar_skeleton,1,R50
//25 - 50 Gold. Bone Armor
...
PS: I changed these .scp files because the Undead.scp was not Indented(it was like in only one line).
PS 2: I am seeing nothing about elemental damage.
(This post was last modified: 01-15-2013 07:58 AM by AmpereJoule.)
|
|
01-15-2013 07:57 AM |
|
|
AmpereJoule 
Journeyman

Posts: 59
Likes Given: 7
Likes Received: 0 in 0 posts
Joined: Dec 2012
Reputation: 0
![]()
|
RE: Physical Armor is not being counted
(01-15-2013 09:30 AM)RanXerox Wrote: I seem to recall one of those old script packs had an undead event that weakend undead creatures if they were not in the dark... Lets try a couple things, run these commands on your player and your undead monster and see what sorts of EVENTS and TAGs they have on them:
.xshow events
.xshow tevents
.xtaglist
how do I do this? Is it In Game?
I tried do this while I was fighting against the skeleton, but it didn't show anything useful.
I typed ".xshow events" and clicked on me, it only said that i was guerreiro_class.
to tevents it said something about "_human"
and taglist just said "taglist=00".
I also tried to use it on the skeleton, and again nothing useful and the taglist showed nothing.
|
|
01-15-2013 02:20 PM |
|
|