Add tarasque and grolgar improvements

This commit is contained in:
Snowram 2020-06-23 23:07:13 +02:00 committed by jshipsey
parent 8b2b6aa06a
commit 6416a4cf2f
29 changed files with 15 additions and 17 deletions

View File

@ -2,7 +2,7 @@
(Grolgar, Male): (
upper: (
offset: (-7.0, 0.0, -9.0),
central: ("npc.grolgar.female.head_upper"),
central: ("npc.grolgar.male.head_upper"),
),
lower: (
offset: (-6.0, -4.5, -4.0),
@ -241,7 +241,7 @@
),
(Tarasque, Male): (
upper: (
offset: (-9.0, -13.0, -10.5),
offset: (-10.0, -9.0, -10.0),
central: ("npc.tarasque.male.head_upper"),
),
lower: (
@ -271,7 +271,7 @@
),
(Tarasque, Female): (
upper: (
offset: (-9.0, -13.0, -10.5),
offset: (-10.0, -9.0, -10.0),
central: ("npc.tarasque.female.head_upper"),
),
lower: (
@ -296,7 +296,7 @@
),
tail: (
offset: (-5.0, -19.0, -10.0),
central: ("npc.tarasque.male.tail"),
central: ("npc.tarasque.female.tail"),
),
),
(Tiger, Male): (

View File

@ -148,7 +148,7 @@ impl<'a> From<&'a comp::quadruped_medium::Body> for SkeletonAttr {
(Saber, _) => (-11.0, -3.0),
(Tuskram, _) => (6.0, 1.0),
(Lion, _) => (12.0, 2.0),
(Tarasque, _) => (14.0, 3.5),
(Tarasque, _) => (5.5, 3.5),
(Tiger, _) => (2.0, 1.0),
},
head_lower: match (body.species, body.body_type) {
@ -156,7 +156,7 @@ impl<'a> From<&'a comp::quadruped_medium::Body> for SkeletonAttr {
(Saber, _) => (1.0, 0.0),
(Tuskram, _) => (1.0, 1.0),
(Lion, _) => (0.5, 1.0),
(Tarasque, _) => (0.5, -2.0),
(Tarasque, _) => (0.5, -4.0),
(Tiger, _) => (-5.0, -6.0),
},
jaw: match (body.species, body.body_type) {
@ -164,7 +164,7 @@ impl<'a> From<&'a comp::quadruped_medium::Body> for SkeletonAttr {
(Saber, _) => (18.0, -1.0),
(Tuskram, _) => (4.0, -4.0),
(Lion, _) => (0.0, -4.5),
(Tarasque, _) => (0.0, -10.0),
(Tarasque, _) => (9.0, -10.0),
(Tiger, _) => (7.0, -4.0),
},
tail: match (body.species, body.body_type) {
@ -188,7 +188,7 @@ impl<'a> From<&'a comp::quadruped_medium::Body> for SkeletonAttr {
(Saber, _) => (-19.5, 0.0),
(Tuskram, _) => (-18.0, -2.0),
(Lion, _) => (-19.0, -1.0),
(Tarasque, _) => (-26.5, -1.0),
(Tarasque, _) => (-26.0, -1.0),
(Tiger, _) => (-19.0, 0.0),
},
ears: match (body.species, body.body_type) {
@ -196,7 +196,7 @@ impl<'a> From<&'a comp::quadruped_medium::Body> for SkeletonAttr {
(Saber, _) => (13.0, 7.0),
(Tuskram, _) => (1.5, 9.5),
(Lion, _) => (-8.0, 4.5),
(Tarasque, _) => (-5.0, 1.0),
(Tarasque, _) => (3.0, 1.0),
(Tiger, _) => (2.5, 5.0),
},
leg_f: match (body.species, body.body_type) {
@ -204,7 +204,7 @@ impl<'a> From<&'a comp::quadruped_medium::Body> for SkeletonAttr {
(Saber, _) => (7.0, -7.5, -3.5),
(Tuskram, _) => (6.0, -6.5, -5.5),
(Lion, _) => (7.5, -4.5, -6.0),
(Tarasque, _) => (7.5, -2.0, -6.0),
(Tarasque, _) => (7.0, -8.0, -6.0),
(Tiger, _) => (7.0, -2.0, -1.0),
},
leg_b: match (body.species, body.body_type) {
@ -212,7 +212,7 @@ impl<'a> From<&'a comp::quadruped_medium::Body> for SkeletonAttr {
(Saber, _) => (6.0, -1.0, -4.0),
(Tuskram, _) => (5.0, 0.5, -3.5),
(Lion, _) => (6.0, 0.0, -2.0),
(Tarasque, _) => (6.0, 4.5, -6.0),
(Tarasque, _) => (6.0, 7.5, -6.5),
(Tiger, _) => (7.0, -2.0, -1.0),
},
feet_f: match (body.species, body.body_type) {
@ -220,7 +220,7 @@ impl<'a> From<&'a comp::quadruped_medium::Body> for SkeletonAttr {
(Saber, _) => (1.0, 3.0, -1.0),
(Tuskram, _) => (0.5, 2.0, -5.0),
(Lion, _) => (0.0, 2.0, -4.5),
(Tarasque, _) => (2.0, -0.5, -4.5),
(Tarasque, _) => (1.0, 0.0, -3.0),
(Tiger, _) => (1.0, 0.0, -5.0),
},
feet_b: match (body.species, body.body_type) {
@ -228,7 +228,7 @@ impl<'a> From<&'a comp::quadruped_medium::Body> for SkeletonAttr {
(Saber, _) => (1.0, 0.0, 0.0),
(Tuskram, _) => (0.5, 0.0, -4.0),
(Lion, _) => (0.5, 0.5, -4.0),
(Tarasque, _) => (1.5, -0.5, -3.5),
(Tarasque, _) => (1.5, -2.5, -2.5),
(Tiger, _) => (1.0, 0.5, -4.0),
},
height: match (body.species, body.body_type) {

View File

@ -929,7 +929,7 @@ impl FigureMgr {
is_player,
);
},
Body::QuadrupedMedium(quadruped_body) => {
Body::QuadrupedMedium(_) => {
let skeleton_attr = &self
.quadruped_medium_model_cache
.get_or_create_model(
@ -941,7 +941,6 @@ impl FigureMgr {
None,
)
.1;
let ref skeleton_attr = quadruped_body.into();
let state = self
.quadruped_medium_states
@ -1013,7 +1012,7 @@ impl FigureMgr {
is_player,
);
},
Body::QuadrupedLow(quadruped_body) => {
Body::QuadrupedLow(_) => {
let skeleton_attr = &self
.quadruped_low_model_cache
.get_or_create_model(
@ -1025,7 +1024,6 @@ impl FigureMgr {
None,
)
.1;
let ref skeleton_attr = quadruped_body.into();
let state = self
.quadruped_low_states