04bcc6b9b1
- Armor values aren't reduced from the damage taken, but instead multiply the damage (e.g. an item reduces damage by 10% instead of 10 hp). Now armor doesn't make characters invulnerable to small amounts of damage. - Armoring isn't defined as a single "armor value", but instead there are "damage modifiers" which can be added to items and limbs. The modifiers can only affect specific types of damage and have separate multipliers for the damage amount and bleeding amount. - Having a fire proof item on a limb doesn't make that limb invulnerable to burn damage. Item's that protect against fire now have a damage modifier for the Burn damage type.
99 lines
5.3 KiB
XML
99 lines
5.3 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<Character name ="crawler" humanoid="false" health="100">
|
|
<sound file="Content/Characters/Crawler/attack1.ogg" state="Attack" range="500"/>
|
|
<sound file="Content/Characters/Crawler/attack2.ogg" state="Attack" range="500"/>
|
|
|
|
<sound file="Content/Characters/Crawler/idle1.ogg" state="None" range="500"/>
|
|
<sound file="Content/Characters/Crawler/idle2.ogg" state="None" range="500"/>
|
|
|
|
<ai
|
|
combatstrength="100"
|
|
attackpriorityhumans="500"
|
|
attackpriorityrooms="50.0"
|
|
attackpriorityweaker="50"
|
|
attackprioritystronger="-60"
|
|
eatpriority="55"
|
|
sight="0.5"
|
|
hearing="1.0"
|
|
fleehealththreshold="10"
|
|
attachtowalls="true"
|
|
attackcooldown="3.0"/>
|
|
|
|
<ragdoll headposition="50" headangle="-70"
|
|
waveamplitude="2.0" wavelength="3000"
|
|
swimspeed="2.0" walkspeed="2.0"
|
|
runspeedmultiplier="2" swimspeedmultiplier="2.0"
|
|
stepsize ="15.0,20.0"
|
|
legtorque="10"
|
|
flip="true">
|
|
|
|
<collider width="45" radius="22"/>
|
|
|
|
<!-- head -->
|
|
<limb id = "0" radius="22" height="45" type="Head" flip="true" steerforce="1.0" mouthpos="17,35">
|
|
<damagemodifier damagetype="Blunt,Slash" armorsector="0.0,180.0" damagemultiplier="0.2" bleedingmultiplier="0.0" damagesound="LimbArmor" deflectprojectiles="true"/>
|
|
<sprite texture="Content/Characters/Crawler/crawler.png" sourcerect="0,0,51,121" depth="0.02" origin="0.45,0.63"/>
|
|
</limb>
|
|
|
|
<!-- middle part -->
|
|
<limb id = "1" radius="22" height="40" flip="true" >
|
|
<damagemodifier damagetype="Blunt,Slash" armorsector="0.0,180.0" damagemultiplier="0.2" bleedingmultiplier="0.0" damagesound="LimbArmor" deflectprojectiles="true"/>
|
|
<sprite texture="Content/Characters/Crawler/crawler.png" sourcerect="57,7,59,57" depth="0.021" origin="0.3,0.65"/>
|
|
</limb>
|
|
|
|
<!-- tail -->
|
|
<limb id = "2" radius="22" height="45" type="Tail" flip="true">
|
|
<damagemodifier damagetype="Blunt,Slash" armorsector="0.0,180.0" damagemultiplier="0.2" bleedingmultiplier="0.0" damagesound="LimbArmor" deflectprojectiles="true"/>
|
|
<sprite texture="Content/Characters/Crawler/crawler.png" sourcerect="6,141,60,95" depth="0.022" origin="0.37,0.43"/>
|
|
</limb>
|
|
|
|
<limb id = "3" width="13" height="45" ignorecollisions="true" flip="true">
|
|
<sprite texture="Content/Characters/Crawler/crawler.png" sourcerect="65,131,36,50" depth="0.15" origin="0.4,0.5"/>
|
|
<attack range="120" damagerange="60" duration="0.5" damage="30" stun="0.1" bleedingdamage="3" structuredamage="50"
|
|
damagetype="slash" targetforce="-30" severlimbsprobability="0.5"
|
|
force="5" applyforceonlimbs="0" torque="-20" />
|
|
</limb>
|
|
|
|
<limb id = "4" width="11" height="34" type="RightLeg" flip="true">
|
|
<sprite texture="Content/Characters/Crawler/crawler.png" sourcerect="82,83,11,34" depth="0.03" origin="0.5,0.5"/>
|
|
</limb>
|
|
<limb id = "5" width="5" height="40" type="RightFoot" flip="true" pullpos="0.0,15.0" refjoint="3" stepoffset="20.0,0.0">
|
|
<sprite texture="Content/Characters/Crawler/crawler.png" sourcerect="59,78,19,43" depth="0.03" origin="0.5,0.5"/>
|
|
<sound file ="Content/Sounds/stepMetal.ogg"/>
|
|
</limb>
|
|
|
|
<limb id = "6" width="13" height="35" type="LeftLeg" flip="true">
|
|
<sprite texture="Content/Characters/Crawler/crawler.png" sourcerect="82,83,11,34" depth="0.03" origin="0.5,0.5"/>
|
|
</limb>
|
|
<limb id = "7" width="5" height="40" type="LeftFoot" flip="true" pullpos="0.0,15.0" refjoint="5" stepoffset="20.0,0.0">
|
|
<sprite texture="Content/Characters/Crawler/crawler.png" sourcerect="59,78,19,43" depth="0.03" origin="0.5,0.5"/>
|
|
<sound file ="Content/Sounds/stepMetal.ogg"/>
|
|
</limb>
|
|
|
|
<limb id = "8" width="13" height="35" type="RightLeg" flip="true">
|
|
<sprite texture="Content/Characters/Crawler/crawler.png" sourcerect="82,83,11,34" depth="0.03" origin="0.5,0.5"/>
|
|
</limb>
|
|
<limb id = "9" width="5" height="40" type="RightFoot" flip="true" pullpos="0.0,15.0" refjoint="7" stepoffset="20.0,0.0">
|
|
<sprite texture="Content/Characters/Crawler/crawler.png" sourcerect="59,78,19,43" depth="0.03" origin="0.5,0.5"/>
|
|
<sound file ="Content/Sounds/stepMetal.ogg"/>
|
|
</limb>
|
|
|
|
<joint limb1="0" limb1anchor="-5,-38" limb2="1" limb2anchor="-2,25" lowerlimit="-20" upperlimit="40" canbesevered="true"/>
|
|
|
|
<joint limb1="1" limb1anchor="0,-15" limb2="2" limb2anchor="-10,31" lowerlimit="-20" upperlimit="40" canbesevered="true"/>
|
|
|
|
<joint limb1="0" limb1anchor="7,30" limb2="3" limb2anchor="-2,-17" lowerlimit="-180" upperlimit="-90" canbesevered="true"/>
|
|
|
|
|
|
<joint limb1="0" limb1anchor="13,6" limb2="4" limb2anchor="0,14" lowerlimit="-270" upperlimit="-180" canbesevered="true"/>
|
|
<joint limb1="4" limb1anchor="0,-17" limb2="5" limb2anchor="0,-17" lowerlimit="-350" upperlimit="-190" canbesevered="true"/>
|
|
|
|
<joint limb1="0" limb1anchor="13,-15" limb2="6" limb2anchor="0,14" lowerlimit="-270" upperlimit="-180" canbesevered="true"/>
|
|
<joint limb1="6" limb1anchor="0,-17" limb2="7" limb2anchor="0,-17" lowerlimit="-350" upperlimit="-190" canbesevered="true"/>
|
|
|
|
<joint limb1="0" limb1anchor="13,-35" limb2="8" limb2anchor="0,14" lowerlimit="-270" upperlimit="-180" canbesevered="true"/>
|
|
<joint limb1="8" limb1anchor="0,-17" limb2="9" limb2anchor="0,-17" lowerlimit="-350" upperlimit="-190" canbesevered="true"/>
|
|
</ragdoll>
|
|
</Character>
|
|
|