Split tigerthresher's tail and body into multiple parts

This commit is contained in:
Joonas Rikkonen
2017-07-04 22:17:44 +03:00
parent 9b054ebd50
commit 59997b94ab
3 changed files with 38 additions and 21 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 343 KiB

After

Width:  |  Height:  |  Size: 350 KiB

View File

@@ -15,14 +15,14 @@
sight="0.5"
hearing="1.0"/>
<ragdoll waveamplitude="50.0"
<ragdoll waveamplitude="30.0"
wavelength="2500"
steertorque="100"
swimspeed="4.0"
swimspeedmultiplier="1.5"
canentersubmarine="false">
<collider radius="50" height="320"/>
<collider radius="50" height="185"/>
<!-- head -->
<limb id = "0" radius="12" height="100" type="Head" steerforce="1.0" mouthpos="20,50">
@@ -37,52 +37,69 @@
<attack range="300" duration="0.5" damage="150" bleedingdamage="10" structuredamage="200" damagetype="slash" force="80" torque="80" targetforce="-50" severlimbsprobability="0.8"/>
</limb>
<!-- body -->
<limb id = "2" radius="50" height="320" type="Torso" steerforce="0.1">
<sprite texture="Content/Characters/Tigerthresher/tigerthresher.png" sourcerect="230,0,136,442" depth="0.015" origin="0.6,0.5"/>
<!-- body front -->
<limb id = "2" radius="50" height="185" type="Torso" steerforce="0.1">
<sprite texture="Content/Characters/Tigerthresher/tigerthresher.png" sourcerect="251,0,113,285" depth="0.016" origin="0.6,0.5"/>
<damagedsprite texture="Content/Characters/Tigerthresher/damagedtigerthresher.png" sourcerect="230,0,136,442" origin="0.6,0.5"/>
</limb>
<!-- body rear -->
<limb id = "3" radius="40" height="175" type="Tail">
<sprite texture="Content/Characters/Tigerthresher/tigerthresher.png" sourcerect="0,180,125,261" depth="0.015" origin="0.6,0.5"/>
<damagedsprite texture="Content/Characters/Tigerthresher/damagedtigerthresher.png" sourcerect="230,0,136,442" origin="0.6,0.5"/>
</limb>
<!-- tail -->
<limb id = "3" radius="10" height="320" type="Tail">
<sprite texture="Content/Characters/Tigerthresher/tigerthresher.png" sourcerect="9,0,79,344" depth="0.02" origin="0.35,0.5"/>
<limb id = "4" radius="17" height="135" type="Tail">
<sprite texture="Content/Characters/Tigerthresher/tigerthresher.png" sourcerect="0,0,87,172" depth="0.02" origin="0.35,0.5"/>
<damagedsprite texture="Content/Characters/Tigerthresher/damagedtigerthresher.png" sourcerect="9,0,79,344" origin="0.35,0.5"/>
</limb>
<!-- tail tip -->
<limb id = "5" radius="15" height="170" type="Tail">
<sprite texture="Content/Characters/Tigerthresher/tigerthresher.png" sourcerect="150,222,48,211" depth="0.021" origin="0.35,0.5"/>
<damagedsprite texture="Content/Characters/Tigerthresher/damagedtigerthresher.png" sourcerect="9,0,79,344" origin="0.35,0.5"/>
</limb>
<!-- front fins -->
<limb id = "4" width="50" height="200">
<sprite texture="Content/Characters/Tigerthresher/tigerthresher.png" sourcerect="133,5,91,202" depth="0.008" origin="0.7,0.5"/>
<limb id = "6" width="50" height="200">
<sprite texture="Content/Characters/Tigerthresher/tigerthresher.png" sourcerect="120,5,90,205" depth="0.008" origin="0.7,0.5"/>
<damagedsprite texture="Content/Characters/Tigerthresher/damagedtigerthresher.png" sourcerect="133,5,91,202" origin="0.7,0.5"/>
</limb>
<!-- back fins -->
<limb id = "5" width="25" height="100">
<limb id = "7" width="25" height="100">
<sprite texture="Content/Characters/Tigerthresher/tigerthresher.png" sourcerect="387,304,38,128" depth="0.01" origin="0.7,0.5"/>
<damagedsprite texture="Content/Characters/Tigerthresher/damagedtigerthresher.png" sourcerect="387,304,38,128" origin="0.7,0.5"/>
</limb>
<!-- long "fins" -->
<limb id = "6" width="10" height="270" ignorecollisions="true">
<sprite texture="Content/Characters/Tigerthresher/tigerthresher.png" sourcerect="96,2,23,277" depth="0.01" origin="0.5,0.5"/>
<limb id = "8" width="10" height="270" ignorecollisions="true">
<sprite texture="Content/Characters/Tigerthresher/tigerthresher.png" sourcerect="217,10,26,275" depth="0.01" origin="0.5,0.5"/>
<damagedsprite texture="Content/Characters/Tigerthresher/damagedtigerthresher.png" sourcerect="96,2,23,277" origin="0.5,0.5"/>
</limb>
<!-- body to head -->
<joint limb1="0" limb1anchor="-22,-63" limb2="2" limb2anchor="-36,165" lowerlimit="-10" upperlimit="10"/>
<!-- body to lower yaw -->
<joint limb1="1" limb1anchor="0,-39" limb2="2" limb2anchor="20,194" lowerlimit="-10" upperlimit="30"/>
<joint limb1="0" limb1anchor="-22,-63" limb2="2" limb2anchor="-46,80" lowerlimit="-10" upperlimit="10"/>
<!-- body to lower yaw -->
<joint limb1="1" limb1anchor="0,-39" limb2="2" limb2anchor="11,115" lowerlimit="-10" upperlimit="30"/>
<!-- body front to body rear -->
<joint limb1="2" limb1anchor="-12,-100" limb2="3" limb2anchor="0,90" lowerlimit="-10" upperlimit="30"/>
<!-- body rear to tail -->
<joint limb1="3" limb1anchor="-7,-113" limb2="4" limb2anchor="8,80" lowerlimit="-30" upperlimit="30"/>
<!-- tail to tail tip -->
<joint limb1="4" limb1anchor="0,-71" limb2="5" limb2anchor="4,95" lowerlimit="-10" upperlimit="30"/>
<!-- body to tail -->
<joint limb1="2" limb1anchor="-14,-197" limb2="3" limb2anchor="3,163" lowerlimit="-20" upperlimit="20"/>
<!-- body to front fin -->
<joint limb1="2" limb1anchor="12,93" limb2="4" limb2anchor="6,89" lowerlimit="-50" upperlimit="0"/>
<joint limb1="2" limb1anchor="4,13" limb2="6" limb2anchor="6,89" lowerlimit="-50" upperlimit="0"/>
<!-- body to back fin -->
<joint limb1="2" limb1anchor="5,-30" limb2="5" limb2anchor="7,57" lowerlimit="-50" upperlimit="0"/>
<joint limb1="3" limb1anchor="11,60" limb2="7" limb2anchor="-2,57" lowerlimit="-50" upperlimit="0"/>
<!-- body to long -->
<joint limb1="2" limb1anchor="-5,-137" limb2="6" limb2anchor="-8,132" lowerlimit="-30" upperlimit="0"/>
<joint limb1="3" limb1anchor="-3,-45" limb2="8" limb2anchor="-8,132" lowerlimit="-30" upperlimit="0"/>
</ragdoll>