mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Add new tusk ram model
This commit is contained in:
parent
a3a55f5bb2
commit
cf55973dbf
assets/voxygen/voxel
npc
tortoise
tuskram
voxygen/src/anim
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
assets/voxygen/voxel/npc/tuskram/female/leg_bl.vox
Normal file
BIN
assets/voxygen/voxel/npc/tuskram/female/leg_bl.vox
Normal file
Binary file not shown.
BIN
assets/voxygen/voxel/npc/tuskram/female/leg_br.vox
Normal file
BIN
assets/voxygen/voxel/npc/tuskram/female/leg_br.vox
Normal file
Binary file not shown.
BIN
assets/voxygen/voxel/npc/tuskram/female/leg_fl.vox
Normal file
BIN
assets/voxygen/voxel/npc/tuskram/female/leg_fl.vox
Normal file
Binary file not shown.
BIN
assets/voxygen/voxel/npc/tuskram/female/leg_fr.vox
Normal file
BIN
assets/voxygen/voxel/npc/tuskram/female/leg_fr.vox
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
assets/voxygen/voxel/npc/tuskram/male/leg_bl.vox
Normal file
BIN
assets/voxygen/voxel/npc/tuskram/male/leg_bl.vox
Normal file
Binary file not shown.
BIN
assets/voxygen/voxel/npc/tuskram/male/leg_br.vox
Normal file
BIN
assets/voxygen/voxel/npc/tuskram/male/leg_br.vox
Normal file
Binary file not shown.
BIN
assets/voxygen/voxel/npc/tuskram/male/leg_fl.vox
Normal file
BIN
assets/voxygen/voxel/npc/tuskram/male/leg_fl.vox
Normal file
Binary file not shown.
BIN
assets/voxygen/voxel/npc/tuskram/male/leg_fr.vox
Normal file
BIN
assets/voxygen/voxel/npc/tuskram/male/leg_fr.vox
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -278,8 +278,8 @@
|
||||
central: ("npc.tortoise.male.chest"),
|
||||
),
|
||||
tail_rear: (
|
||||
offset: (-0.5, -0.5, -0.5),
|
||||
central: ("npc.tortoise.male.tail_rear"),
|
||||
offset: (0.0, 0.0, 0.0),
|
||||
central: ("armor.empty"),
|
||||
),
|
||||
tail_front: (
|
||||
offset: (-1.5, -3.5, -1.5),
|
||||
@ -304,8 +304,8 @@
|
||||
central: ("npc.tortoise.female.chest"),
|
||||
),
|
||||
tail_rear: (
|
||||
offset: (-0.5, -0.5, -0.5),
|
||||
central: ("npc.tortoise.female.tail_rear"),
|
||||
offset: (0.0, 0.0, 0.0),
|
||||
central: ("armor.empty"),
|
||||
),
|
||||
tail_front: (
|
||||
offset: (-1.5, -7.0, -1.5),
|
||||
|
@ -121,62 +121,62 @@
|
||||
),
|
||||
(Tuskram, Male): (
|
||||
upper: (
|
||||
offset: (-4.0, -2.5, -7.0),
|
||||
central: ("npc.tuskram.female.head_upper"),
|
||||
offset: (-10.0, -11.0, -6.5),
|
||||
central: ("npc.tuskram.male.head_upper"),
|
||||
),
|
||||
lower: (
|
||||
offset: (-3.0, -4.5, -2.0),
|
||||
central: ("npc.tuskram.female.head_lower"),
|
||||
offset: (-4.0, -4.0, -3.5),
|
||||
central: ("npc.tuskram.male.head_lower"),
|
||||
),
|
||||
jaw: (
|
||||
offset: (-2.0, -1.0, -1.0),
|
||||
offset: (-2.0, -3.0, -1.5),
|
||||
central: ("npc.tuskram.male.jaw"),
|
||||
),
|
||||
torso_front: (
|
||||
offset: (-5.0, -6.0, -4.0),
|
||||
offset: (-6.0, -15.0, -6.5),
|
||||
central: ("npc.tuskram.male.torso_front"),
|
||||
),
|
||||
torso_back: (
|
||||
offset: (-5.0, -6.0, -4.0),
|
||||
offset: (-4.0, -5.0, -4.5),
|
||||
central: ("npc.tuskram.male.torso_back"),
|
||||
),
|
||||
ears: (
|
||||
offset: (-2.0, -1.0, -1.0),
|
||||
offset: (-0.5, -0.5, -0.5),
|
||||
central: ("armor.empty"),
|
||||
),
|
||||
tail: (
|
||||
offset: (-1.0, -2.5, -4.0),
|
||||
offset: (-3.0, -7.0, -8.0),
|
||||
central: ("npc.tuskram.male.tail"),
|
||||
),
|
||||
),
|
||||
(Tuskram, Female): (
|
||||
upper: (
|
||||
offset: (-4.0, -2.5, -7.0),
|
||||
offset: (-10.0, -11.0, -6.5),
|
||||
central: ("npc.tuskram.female.head_upper"),
|
||||
),
|
||||
lower: (
|
||||
offset: (-3.0, -4.5, -2.0),
|
||||
offset: (-4.0, -4.0, -3.5),
|
||||
central: ("npc.tuskram.female.head_lower"),
|
||||
),
|
||||
jaw: (
|
||||
offset: (-2.0, -1.0, -1.0),
|
||||
central: ("npc.tuskram.male.jaw"),
|
||||
offset: (-2.0, -3.0, -1.5),
|
||||
central: ("npc.tuskram.female.jaw"),
|
||||
),
|
||||
torso_front: (
|
||||
offset: (-5.0, -6.0, -4.0),
|
||||
offset: (-6.0, -15.0, -6.5),
|
||||
central: ("npc.tuskram.female.torso_front"),
|
||||
),
|
||||
torso_back: (
|
||||
offset: (-5.0, -6.0, -4.0),
|
||||
offset: (-4.0, -5.0, -4.5),
|
||||
central: ("npc.tuskram.female.torso_back"),
|
||||
),
|
||||
ears: (
|
||||
offset: (-2.0, -1.0, -1.0),
|
||||
offset: (-0.5, -0.5, -0.5),
|
||||
central: ("armor.empty"),
|
||||
),
|
||||
tail: (
|
||||
offset: (-1.0, -2.5, -4.0),
|
||||
central: ("npc.tuskram.male.tail"),
|
||||
offset: (-3.0, -7.0, -8.0),
|
||||
central: ("npc.tuskram.female.tail"),
|
||||
),
|
||||
),
|
||||
(Lion, Male): (
|
||||
|
@ -137,69 +137,69 @@
|
||||
),
|
||||
(Tuskram, Male): (
|
||||
leg_fl: (
|
||||
offset: (-1.5, -1.5, -4.5),
|
||||
offset: (-2.0, -2.5, -5.0),
|
||||
lateral: ("npc.tuskram.male.leg_fl"),
|
||||
),
|
||||
leg_fr: (
|
||||
offset: (-1.5, -1.5, -4.5),
|
||||
offset: (-2.0, -2.5, -5.0),
|
||||
lateral: ("npc.tuskram.male.leg_fr"),
|
||||
),
|
||||
leg_bl: (
|
||||
offset: (-1.5, -4.0, -5.5),
|
||||
offset: (-2.0, -2.5, -4.0),
|
||||
lateral: ("npc.tuskram.male.leg_bl"),
|
||||
),
|
||||
leg_br: (
|
||||
offset: (-1.5, -4.0, -5.5),
|
||||
offset: (-2.0, -2.5, -4.0),
|
||||
lateral: ("npc.tuskram.male.leg_br"),
|
||||
),
|
||||
foot_fl: (
|
||||
offset: (-1.5, -1.5, -4.5),
|
||||
offset: (-2.5, -3.5, -5.0),
|
||||
lateral: ("npc.tuskram.male.foot_fl"),
|
||||
),
|
||||
foot_fr: (
|
||||
offset: (-1.5, -1.5, -4.5),
|
||||
offset: (-2.5, -3.5, -5.0),
|
||||
lateral: ("npc.tuskram.male.foot_fr"),
|
||||
),
|
||||
foot_bl: (
|
||||
offset: (-1.5, -4.0, -5.5),
|
||||
offset: (-1.5, -2.5, -6.0),
|
||||
lateral: ("npc.tuskram.male.foot_bl"),
|
||||
),
|
||||
foot_br: (
|
||||
offset: (-1.5, -4.0, -5.5),
|
||||
offset: (-1.5, -2.5, -6.0),
|
||||
lateral: ("npc.tuskram.male.foot_br"),
|
||||
),
|
||||
),
|
||||
(Tuskram, Female): (
|
||||
leg_fl: (
|
||||
offset: (-1.5, -1.5, -4.5),
|
||||
offset: (-2.0, -2.5, -5.0),
|
||||
lateral: ("npc.tuskram.female.leg_fl"),
|
||||
),
|
||||
leg_fr: (
|
||||
offset: (-1.5, -1.5, -4.5),
|
||||
offset: (-2.0, -2.5, -5.0),
|
||||
lateral: ("npc.tuskram.female.leg_fr"),
|
||||
),
|
||||
leg_bl: (
|
||||
offset: (-1.5, -4.0, -5.5),
|
||||
offset: (-2.0, -2.5, -4.0),
|
||||
lateral: ("npc.tuskram.female.leg_bl"),
|
||||
),
|
||||
leg_br: (
|
||||
offset: (-1.5, -4.0, -5.5),
|
||||
offset: (-2.0, -2.5, -4.0),
|
||||
lateral: ("npc.tuskram.female.leg_br"),
|
||||
),
|
||||
foot_fl: (
|
||||
offset: (-1.5, -1.5, -4.5),
|
||||
offset: (-2.5, -3.5, -5.0),
|
||||
lateral: ("npc.tuskram.female.foot_fl"),
|
||||
),
|
||||
foot_fr: (
|
||||
offset: (-1.5, -1.5, -4.5),
|
||||
offset: (-2.5, -3.5, -5.0),
|
||||
lateral: ("npc.tuskram.female.foot_fr"),
|
||||
),
|
||||
foot_bl: (
|
||||
offset: (-1.5, -4.0, -5.5),
|
||||
offset: (-1.5, -2.5, -6.0),
|
||||
lateral: ("npc.tuskram.female.foot_bl"),
|
||||
),
|
||||
foot_br: (
|
||||
offset: (-1.5, -4.0, -5.5),
|
||||
offset: (-1.5, -2.5, -6.0),
|
||||
lateral: ("npc.tuskram.female.foot_br"),
|
||||
),
|
||||
),
|
||||
|
@ -177,7 +177,7 @@ impl<'a> From<&'a comp::quadruped_low::Body> for SkeletonAttr {
|
||||
(Salamander, _) => (-7.5, 0.0),
|
||||
(Monitor, _) => (-6.5, 0.0),
|
||||
(Asp, _) => (-6.0, -2.0),
|
||||
(Tortoise, _) => (-13.5, -3.0),
|
||||
(Tortoise, _) => (-10.0, -3.5),
|
||||
(Rocksnapper, _) => (-13.5, -6.5),
|
||||
},
|
||||
feet_f: match (body.species, body.body_type) {
|
||||
|
@ -29,11 +29,11 @@ pub struct QuadrupedMediumSkeleton {
|
||||
}
|
||||
|
||||
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
|
||||
const HEAD_UPPER_Y: f32 = -8.0;
|
||||
const HEAD_UPPER_Y: f32 = 6.0;
|
||||
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
|
||||
const HEAD_UPPER_Z: f32 = 1.5;
|
||||
const HEAD_UPPER_Z: f32 = 1.0;
|
||||
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
|
||||
const HEAD_LOWER_Y: f32 = 3.5;
|
||||
const HEAD_LOWER_Y: f32 = 1.0;
|
||||
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
|
||||
const HEAD_LOWER_Z: f32 = -3.0;
|
||||
#[const_tweaker::tweak(min = -20.0, max = 20.0, step = 0.5)]
|
||||
@ -195,90 +195,90 @@ impl<'a> From<&'a comp::quadruped_medium::Body> for SkeletonAttr {
|
||||
use comp::quadruped_medium::Species::*;
|
||||
Self {
|
||||
head_upper: match (body.species, body.body_type) {
|
||||
(Grolgar, _) => (*HEAD_UPPER_Y, *HEAD_UPPER_Z),
|
||||
(Grolgar, _) => (-8.0, 1.5),
|
||||
(Saber, _) => (-11.0, -3.0),
|
||||
(Tuskram, _) => (9.0, 12.0),
|
||||
(Tuskram, _) => (6.0, 1.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, _) => (*HEAD_LOWER_Y, *HEAD_LOWER_Z),
|
||||
(Grolgar, _) => (3.5, -3.0),
|
||||
(Saber, _) => (1.0, 0.0),
|
||||
(Tuskram, _) => (-3.0, -1.0),
|
||||
(Tuskram, _) => (1.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, _) => (*JAW_Y, *JAW_Z),
|
||||
(Grolgar, _) => (-2.5, 0.5),
|
||||
(Saber, _) => (18.0, -1.0),
|
||||
(Tuskram, _) => (2.0, -2.0),
|
||||
(Tuskram, _) => (4.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, _) => (*TAIL_Y, *TAIL_Z),
|
||||
(Grolgar, _) => (-5.5, -0.5),
|
||||
(Saber, _) => (-6.0, 1.0),
|
||||
(Tuskram, _) => (-6.0, -2.0),
|
||||
(Tuskram, _) => (-4.0, 2.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, _) => (*TORSO_FRONT_Y, *TORSO_FRONT_Z),
|
||||
(Grolgar, _) => (10.0, 11.0),
|
||||
(Saber, _) => (14.0, 13.0),
|
||||
(Tuskram, _) => (-7.0, 9.0),
|
||||
(Lion, _) => (0.0, 13.0),
|
||||
(Tuskram, _) => (10.0, 15.5),
|
||||
(Lion, _) => (10.0, 13.0),
|
||||
(Tarasque, _) => (11.5, 18.5),
|
||||
(Tiger, _) => (10.0, 12.0),
|
||||
},
|
||||
torso_back: match (body.species, body.body_type) {
|
||||
(Grolgar, _) => (*TORSO_BACK_Y, *TORSO_BACK_Z),
|
||||
(Grolgar, _) => (-20.0, 1.5),
|
||||
(Saber, _) => (-19.5, 0.0),
|
||||
(Tuskram, _) => (4.0, 9.0),
|
||||
(Tuskram, _) => (-18.0, -2.0),
|
||||
(Lion, _) => (-19.0, -1.0),
|
||||
(Tarasque, _) => (-26.5, -1.0),
|
||||
(Tiger, _) => (-19.0, 0.0),
|
||||
},
|
||||
ears: match (body.species, body.body_type) {
|
||||
(Grolgar, _) => (*EARS_Y, *EARS_Z),
|
||||
(Grolgar, _) => (5.0, 9.5),
|
||||
(Saber, _) => (13.0, 7.0),
|
||||
(Tuskram, _) => (10.0, 2.0),
|
||||
(Tuskram, _) => (1.5, 9.5),
|
||||
(Lion, _) => (-8.0, 4.5),
|
||||
(Tarasque, _) => (-5.0, 1.0),
|
||||
(Tiger, _) => (2.5, 5.0),
|
||||
},
|
||||
leg_f: match (body.species, body.body_type) {
|
||||
(Grolgar, _) => (*LEG_FRONT_X, *LEG_FRONT_Y, *LEG_FRONT_Z),
|
||||
(Grolgar, _) => (-7.0, -5.0, -2.0),
|
||||
(Saber, _) => (7.0, -7.5, -3.5),
|
||||
(Tuskram, _) => (4.0, 6.0, 4.5),
|
||||
(Tuskram, _) => (6.0, -6.5, -5.5),
|
||||
(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, _) => (*LEG_BACK_X, *LEG_BACK_Y, *LEG_BACK_Z),
|
||||
(Grolgar, _) => (6.0, -0.5, -5.5),
|
||||
(Saber, _) => (6.0, -1.0, -4.0),
|
||||
(Tuskram, _) => (4.0, -8.0, 5.5),
|
||||
(Tuskram, _) => (5.0, 0.5, -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, _) => (*FEET_FRONT_X, *FEET_FRONT_Y, *FEET_FRONT_Z),
|
||||
(Grolgar, _) => (0.0, 1.0, -6.0),
|
||||
(Saber, _) => (1.0, 3.0, -1.0),
|
||||
(Tuskram, _) => (4.0, 6.0, 4.5),
|
||||
(Tuskram, _) => (0.5, 2.0, -5.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, _) => (*FEET_BACK_X, *FEET_BACK_Y, *FEET_BACK_Z),
|
||||
(Grolgar, _) => (0.0, 0.0, -5.0),
|
||||
(Saber, _) => (1.0, 0.0, 0.0),
|
||||
(Tuskram, _) => (4.0, -8.0, 5.5),
|
||||
(Tuskram, _) => (0.5, 0.0, -4.0),
|
||||
(Lion, _) => (0.5, 0.5, -4.0),
|
||||
(Tarasque, _) => (1.5, -0.5, -3.5),
|
||||
(Tiger, _) => (1.0, 0.5, -4.0),
|
||||
|
Loading…
x
Reference in New Issue
Block a user