Set new lion model offsets, fix some jaws

This commit is contained in:
Snowram 2020-06-16 01:18:25 +02:00 committed by jshipsey
parent 02b6a57063
commit aec8690cd5
41 changed files with 78 additions and 78 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -82,7 +82,7 @@
central: ("npc.saber.male.torso_back"),
),
ears: (
offset: (-5.0, -1.0, 3.0),
offset: (-5.5, -1.0, -1.5),
central: ("npc.saber.male.ears"),
),
tail: (
@ -112,7 +112,7 @@
central: ("npc.saber.female.torso_back"),
),
ears: (
offset: (-5.0, -0.5, -1.5),
offset: (-5.5, -1.0, -1.5),
central: ("npc.saber.female.ears"),
),
tail: (
@ -182,61 +182,61 @@
),
(Lion, Male): (
upper: (
offset: (-4.5, -5.0, -4.0),
offset: (-4.5, -10.0, -4.5),
central: ("npc.lion.male.head_upper"),
),
lower: (
offset: (-6.5, -5.0, -7.0),
offset: (-7.5, -5.5, -8.5),
central: ("npc.lion.male.head_lower"),
),
jaw: (
offset: (-2.5, -2.5, -0.5),
offset: (-2.5, -6.0, -1.0),
central: ("npc.lion.male.jaw"),
),
torso_front: (
offset: (-5.5, -7.5, -5.5),
offset: (-5.5, -13.0, -6.0),
central: ("npc.lion.male.torso_front"),
),
torso_back: (
offset: (-6.5, -6.0, -5.0),
offset: (-5.5, -6.0, -5.0),
central: ("npc.lion.male.torso_back"),
),
ears: (
offset: (-3.5, -1.0, -1.0),
offset: (-4.5, -1.0, -1.0),
central: ("npc.lion.male.ears"),
),
tail: (
offset: (-0.5, -1.0, -1.0),
offset: (-1.5, -15.0, -10.0),
central: ("npc.lion.male.tail"),
),
),
(Lion, Female): (
upper: (
offset: (-4.5, -5.0, -4.0),
offset: (-4.5, -10.0, -4.5),
central: ("npc.lion.female.head_upper"),
),
lower: (
offset: (-6.5, -5.0, -7.0),
offset: (-7.5, -5.5, -8.5),
central: ("npc.lion.female.head_lower"),
),
jaw: (
offset: (-2.5, -2.5, -0.5),
central: ("npc.lion.male.jaw"),
offset: (-2.5, -6.0, -1.0),
central: ("npc.lion.female.jaw"),
),
torso_front: (
offset: (-5.5, -7.5, -5.5),
offset: (-5.5, -13.0, -6.0),
central: ("npc.lion.female.torso_front"),
),
torso_back: (
offset: (-6.5, -6.0, -5.0),
offset: (-5.5, -6.0, -5.0),
central: ("npc.lion.female.torso_back"),
),
ears: (
offset: (-3.5, -1.0, -1.0),
offset: (-4.5, -1.0, -1.0),
central: ("npc.lion.female.ears"),
),
tail: (
offset: (-0.5, -12.0, -1.0),
offset: (-1.5, -15.0, -10.0),
central: ("npc.lion.female.tail"),
),
),

View File

@ -205,69 +205,69 @@
),
(Lion, Male): (
leg_fl: (
offset: (-1.5, -1.5, -2.5),
offset: (-2.0, -2.5, -2.5),
lateral: ("npc.lion.male.leg_fl"),
),
leg_fr: (
offset: (-1.5, -1.5, -2.5),
offset: (-2.0, -2.5, -2.5),
lateral: ("npc.lion.male.leg_fr"),
),
leg_bl: (
offset: (-1.5, -2.0, -3.5),
offset: (-2.0, -3.0, -4.0),
lateral: ("npc.lion.male.leg_bl"),
),
leg_br: (
offset: (-1.5, -2.0, -3.5),
offset: (-2.0, -3.0, -4.0),
lateral: ("npc.lion.male.leg_br"),
),
foot_fl: (
offset: (-1.5, -1.5, -2.5),
offset: (-2.5, -3.5, -2.5),
lateral: ("npc.lion.male.foot_fl"),
),
foot_fr: (
offset: (-1.5, -1.5, -2.5),
offset: (-2.5, -3.5, -2.5),
lateral: ("npc.lion.male.foot_fr"),
),
foot_bl: (
offset: (-1.5, -2.0, -3.5),
offset: (-2.5, -3.5, -6.0),
lateral: ("npc.lion.male.foot_bl"),
),
foot_br: (
offset: (-1.5, -2.0, -3.5),
offset: (-2.5, -3.5, -6.0),
lateral: ("npc.lion.male.foot_br"),
),
),
(Lion, Female): (
leg_fl: (
offset: (-1.5, -1.5, -2.5),
offset: (-2.0, -2.5, -2.5),
lateral: ("npc.lion.female.leg_fl"),
),
leg_fr: (
offset: (-1.5, -1.5, -2.5),
offset: (-2.0, -2.5, -2.5),
lateral: ("npc.lion.female.leg_fr"),
),
leg_bl: (
offset: (-1.5, -2.0, -3.5),
offset: (-2.0, -3.0, -4.0),
lateral: ("npc.lion.female.leg_bl"),
),
leg_br: (
offset: (-1.5, -2.0, -3.5),
offset: (-2.0, -3.0, -4.0),
lateral: ("npc.lion.female.leg_br"),
),
foot_fl: (
offset: (-1.5, -1.5, -2.5),
offset: (-2.5, -3.5, -2.5),
lateral: ("npc.lion.female.foot_fl"),
),
foot_fr: (
offset: (-1.5, -1.5, -2.5),
offset: (-2.5, -3.5, -2.5),
lateral: ("npc.lion.female.foot_fr"),
),
foot_bl: (
offset: (-1.5, -2.0, -3.5),
offset: (-2.5, -3.5, -6.0),
lateral: ("npc.lion.female.foot_bl"),
),
foot_br: (
offset: (-1.5, -2.0, -3.5),
offset: (-2.5, -3.5, -6.0),
lateral: ("npc.lion.female.foot_br"),
),
),

View File

@ -29,57 +29,57 @@ pub struct QuadrupedMediumSkeleton {
}
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const HEAD_UPPER_Y: f32 = 0.0;
const HEAD_UPPER_Y: f32 = 7.0;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const HEAD_UPPER_Z: f32 = 0.0;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const HEAD_LOWER_Y: f32 = 0.0;
const HEAD_LOWER_Y: f32 = 5.5;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const HEAD_LOWER_Z: f32 = 0.0;
const HEAD_LOWER_Z: f32 = 0.5;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const JAW_Y: f32 = 0.0;
const JAW_Y: f32 = 2.0;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const JAW_Z: f32 = -0.0;
const JAW_Z: f32 = -4.0;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const TAIL_Y: f32 = 0.0;
const TAIL_Y: f32 = -7.5;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const TAIL_Z: f32 = -0.0;
const TAIL_Z: f32 = -7.0;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const TORSO_BACK_Y: f32 = 0.0;
const TORSO_BACK_Y: f32 = -12.5;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const TORSO_BACK_Z: f32 = 0.0;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const TORSO_FRONT_Y: f32 = 0.0;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const TORSO_FRONT_Z: f32 = 0.0;
const TORSO_FRONT_Z: f32 = 12.5;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const EARS_Y: f32 = 0.0;
const EARS_Y: f32 = -2.5;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const EARS_Z: f32 = 0.0;
const EARS_Z: f32 = 5.0;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const LEG_FRONT_X: f32 = 0.0;
const LEG_FRONT_X: f32 = 6.0;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const LEG_FRONT_Y: f32 = -0.0;
const LEG_FRONT_Y: f32 = 1.0;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const LEG_FRONT_Z: f32 = 0.0;
const LEG_FRONT_Z: f32 = 7.0;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const LEG_BACK_X: f32 = 0.0;
const LEG_BACK_X: f32 = 5.5;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const LEG_BACK_Y: f32 = -0.0;
const LEG_BACK_Y: f32 = -14.0;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const LEG_BACK_Z: f32 = 0.0;
const LEG_BACK_Z: f32 = 8.5;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const FEET_FRONT_X: f32 = 0.0;
const FEET_FRONT_X: f32 = 0.5;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const FEET_FRONT_Y: f32 = 0.0;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const FEET_FRONT_Z: f32 = 0.0;
const FEET_FRONT_Z: f32 = -4.5;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const FEET_BACK_X: f32 = 0.0;
const FEET_BACK_X: f32 = 0.5;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const FEET_BACK_Y: f32 = 0.0;
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
const FEET_BACK_Z: f32 = 0.0;
const FEET_BACK_Z: f32 = -5.0;
impl QuadrupedMediumSkeleton {
@ -196,90 +196,90 @@ impl<'a> From<&'a comp::quadruped_medium::Body> for SkeletonAttr {
Self {
head_upper: match (body.species, body.body_type) {
(Grolgar, _) => (12.0, 16.0),
(Saber, _) => (14.0, 12.0),
(Saber, _) => (-11.0, -3.0),
(Tuskram, _) => (9.0, 12.0),
(Lion, _) => (12.5, 14.0),
(Lion, _) => (12.0, 2.0),
(Tarasque, _) => (14.0, 3.5),
(Tiger, _) => (2.0, 1.0),
},
head_lower: match (body.species, body.body_type) {
(Grolgar, _) => (-4.0, -7.0),
(Saber, _) => (-6.0, 0.0),
(Saber, _) => (1.0, 0.0),
(Tuskram, _) => (-3.0, -1.0),
(Lion, _) => (-5.0, -1.0),
(Lion, _) => (0.5, 1.0),
(Tiger, _) => (0.0, 0.0),
(Tarasque, _) => (0.5, -2.0),
(Tiger, _) => (-5.0, -6.0),
},
jaw: match (body.species, body.body_type) {
(Grolgar, _) => (3.0, -5.0),
(Saber, _) => (2.0, -1.0),
(Saber, _) => (18.0, -1.0),
(Tuskram, _) => (2.0, -2.0),
(Lion, _) => (2.0, -3.0),
(Tarasque, _) => (1.5, -10.0),
(Tiger, _) => (8.0, -4.0),
(Lion, _) => (0.0, -4.5),
(Tarasque, _) => (0.0, -10.0),
(Tiger, _) => (7.0, -4.0),
},
tail: match (body.species, body.body_type) {
(Grolgar, _) => (-6.0, -2.0),
(Saber, _) => (-4.0, -2.0),
(Saber, _) => (-6.0, 1.0),
(Tuskram, _) => (-6.0, -2.0),
(Lion, _) => (-8.0, -6.0),
(Lion, _) => (-6.0, 1.0),
(Tarasque, _) => (2.0, 0.0),
(Tiger, _) => (-6.5, -7.0),
},
torso_front: match (body.species, body.body_type) {
(Grolgar, _) => (-7.0, 10.5),
(Saber, _) => (-7.0, 9.5),
(Saber, _) => (14.0, 13.0),
(Tuskram, _) => (-7.0, 9.0),
(Lion, _) => (-9.0, 9.0),
(Lion, _) => (0.0, 13.0),
(Tarasque, _) => (11.5, 18.5),
(Tiger, _) => (10.0, 12.0),
},
torso_back: match (body.species, body.body_type) {
(Grolgar, _) => (4.0, 11.0),
(Saber, _) => (4.0, 9.0),
(Saber, _) => (-19.5, 0.0),
(Tuskram, _) => (4.0, 9.0),
(Lion, _) => (4.0, 10.0),
(Lion, _) => (-19.0, -1.0),
(Tarasque, _) => (-26.5, -1.0),
(Tiger, _) => (-19.0, 0.0),
},
ears: match (body.species, body.body_type) {
(Grolgar, _) => (-1.0, 5.0),
(Saber, _) => (-1.0, 6.0),
(Saber, _) => (13.0, 7.0),
(Tuskram, _) => (10.0, 2.0),
(Lion, _) => (-2.0, 4.0),
(Lion, _) => (-8.0, 4.5),
(Tarasque, _) => (-5.0, 1.0),
(Tiger, _) => (2.5, 5.0),
},
leg_f: match (body.species, body.body_type) {
(Grolgar, _) => (5.0, 6.0, 2.0),
(Saber, _) => (4.0, 6.0, 3.0),
(Saber, _) => (7.0, -7.5, -3.5),
(Tuskram, _) => (4.0, 6.0, 4.5),
(Lion, _) => (5.0, 6.0, 3.0),
(Lion, _) => (7.5, -4.5, -6.0),
(Tarasque, _) => (7.5, -2.0, -6.0),
(Tiger, _) => (7.0, -2.0, -1.0),
},
leg_b: match (body.species, body.body_type) {
(Grolgar, _) => (5.0, -4.0, 3.0),
(Saber, _) => (4.0, -6.0, 3.5),
(Saber, _) => (6.0, -1.0, -4.0),
(Tuskram, _) => (4.0, -8.0, 5.5),
(Lion, _) => (5.5, -8.0, 3.5),
(Lion, _) => (6.0, 0.0, -2.0),
(Tarasque, _) => (6.0, 4.5, -6.0),
(Tiger, _) => (7.0, -2.0, -1.0),
},
feet_f: match (body.species, body.body_type) {
(Grolgar, _) => (5.0, 6.0, 2.0),
(Saber, _) => (4.0, 6.0, 3.0),
(Saber, _) => (1.0, 3.0, -1.0),
(Tuskram, _) => (4.0, 6.0, 4.5),
(Lion, _) => (5.0, 6.0, 3.0),
(Lion, _) => (0.0, 2.0, -4.5),
(Tarasque, _) => (2.0, -0.5, -4.5),
(Tiger, _) => (1.0, 0.0, -5.0),
},
feet_b: match (body.species, body.body_type) {
(Grolgar, _) => (5.0, -4.0, 3.0),
(Saber, _) => (4.0, -6.0, 3.5),
(Saber, _) => (1.0, 0.0, 0.0),
(Tuskram, _) => (4.0, -8.0, 5.5),
(Lion, _) => (5.5, -8.0, 3.5),
(Lion, _) => (0.5, 0.5, -4.0),
(Tarasque, _) => (1.5, -0.5, -3.5),
(Tiger, _) => (1.0, 0.5, -4.0),
},