mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Better stepping sounds (and minor voxel model fixes)
This commit is contained in:
parent
45fbd75907
commit
11a022abb3
BIN
assets/voxygen/audio/sfx/steps/step_1.wav
(Stored with Git LFS)
Normal file
BIN
assets/voxygen/audio/sfx/steps/step_1.wav
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assets/voxygen/audio/sfx/steps/step_2.wav
(Stored with Git LFS)
Normal file
BIN
assets/voxygen/audio/sfx/steps/step_2.wav
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assets/voxygen/audio/sfx/steps/step_3.wav
(Stored with Git LFS)
Normal file
BIN
assets/voxygen/audio/sfx/steps/step_3.wav
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assets/voxygen/audio/sfx/steps/step_4.wav
(Stored with Git LFS)
Normal file
BIN
assets/voxygen/audio/sfx/steps/step_4.wav
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assets/voxygen/audio/sfx/steps/step_5.wav
(Stored with Git LFS)
Normal file
BIN
assets/voxygen/audio/sfx/steps/step_5.wav
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assets/voxygen/audio/soundtrack/regional/grasslands.ogg
(Stored with Git LFS)
Normal file
BIN
assets/voxygen/audio/soundtrack/regional/grasslands.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/dwarf/female-0.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/dwarf/female-0.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/elf/female-0.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/elf/female-0.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/elf/female-1.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/elf/female-1.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/elf/female-10.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/elf/female-10.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/elf/female-11.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/elf/female-11.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/elf/female-12.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/elf/female-12.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/elf/female-13.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/elf/female-13.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/elf/female-14.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/elf/female-14.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/elf/female-15.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/elf/female-15.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/elf/female-16.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/elf/female-16.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/elf/female-17.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/elf/female-17.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/elf/female-18.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/elf/female-18.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/elf/female-19.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/elf/female-19.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/elf/female-20.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/elf/female-20.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/elf/female-3.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/elf/female-3.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/elf/female-4.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/elf/female-4.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/elf/female-5.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/elf/female-5.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/elf/female-6.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/elf/female-6.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/elf/female-7.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/elf/female-7.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/elf/female-8.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/elf/female-8.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/elf/male-0.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/elf/male-0.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/human/female-0.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/human/female-0.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/human/female-1.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/human/female-1.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/human/female-10.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/human/female-10.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/human/female-11.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/human/female-11.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/human/female-12.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/human/female-12.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/human/female-13.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/human/female-13.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/human/female-14.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/human/female-14.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/human/female-15.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/human/female-15.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/human/female-16.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/human/female-16.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/human/female-17.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/human/female-17.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/human/female-18.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/human/female-18.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/human/female-3.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/human/female-3.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/human/female-4.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/human/female-4.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/human/female-5.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/human/female-5.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/human/female-6.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/human/female-6.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/human/female-7.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/human/female-7.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/human/female-8.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/human/female-8.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/human/male-0.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/human/male-0.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/human/male-1.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/human/male-1.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/hair/human/male-2.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/hair/human/male-2.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/head/danari/male.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/head/danari/male.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/head/dwarf/female.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/head/dwarf/female.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/head/dwarf/male.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/head/dwarf/male.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/head/elf/female.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/head/elf/female.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/head/elf/male.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/head/elf/male.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/head/human/female.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/head/human/female.vox
(Stored with Git LFS)
Binary file not shown.
BIN
assets/voxygen/voxel/figure/head/human/male.vox
(Stored with Git LFS)
BIN
assets/voxygen/voxel/figure/head/human/male.vox
(Stored with Git LFS)
Binary file not shown.
@ -77,7 +77,7 @@ pub const ALL_RACES: [Race; 6] = [
|
||||
];
|
||||
|
||||
// Hair Colors
|
||||
pub const DANARI_HAIR_COLORS: [(u8, u8, u8); 17] = [
|
||||
pub const DANARI_HAIR_COLORS: [(u8, u8, u8); 16] = [
|
||||
(198, 169, 113), // Philosopher's Grey
|
||||
(245, 232, 175), // Cream Blonde
|
||||
(228, 208, 147), // Gold Blonde
|
||||
@ -91,12 +91,11 @@ pub const DANARI_HAIR_COLORS: [(u8, u8, u8); 17] = [
|
||||
(101, 83, 95), // Matte Purple
|
||||
(101, 57, 90), // Witch Purple
|
||||
(107, 32, 60), // Grape Purple
|
||||
(168, 45, 47), // Lobster Red
|
||||
(135, 38, 39), // Dark Red
|
||||
(88, 26, 29), // Wine Red
|
||||
(146, 32, 32), // Autumn Red
|
||||
];
|
||||
pub const DWARF_HAIR_COLORS: [(u8, u8, u8); 21] = [
|
||||
pub const DWARF_HAIR_COLORS: [(u8, u8, u8); 20] = [
|
||||
(245, 232, 175), // Cream Blonde
|
||||
(228, 208, 147), // Gold Blonde
|
||||
(228, 223, 141), // Platinum Blonde
|
||||
@ -108,7 +107,6 @@ pub const DWARF_HAIR_COLORS: [(u8, u8, u8); 21] = [
|
||||
(57, 56, 61), // Raven Black
|
||||
(101, 83, 95), // Matte Purple
|
||||
(101, 57, 90), // Witch Purple
|
||||
(168, 45, 47), // Lobster Red
|
||||
(135, 38, 39), // Dark Red
|
||||
(88, 26, 29), // Wine Red
|
||||
(191, 228, 254), // Ice NobleBlue
|
||||
@ -119,7 +117,7 @@ pub const DWARF_HAIR_COLORS: [(u8, u8, u8); 21] = [
|
||||
(84, 139, 107), // Grass Green
|
||||
(48, 61, 52), // Dark Green
|
||||
];
|
||||
pub const ELF_HAIR_COLORS: [(u8, u8, u8); 24] = [
|
||||
pub const ELF_HAIR_COLORS: [(u8, u8, u8); 23] = [
|
||||
(66, 83, 113), // Mysterious Blue
|
||||
(13, 76, 41), // Rainforest Green
|
||||
(245, 232, 175), // Cream Blonde
|
||||
@ -133,7 +131,6 @@ pub const ELF_HAIR_COLORS: [(u8, u8, u8); 24] = [
|
||||
(57, 56, 61), // Raven Black
|
||||
(101, 83, 95), // Matte Purple
|
||||
(101, 57, 90), // Witch Purple
|
||||
(168, 45, 47), // Lobster Red
|
||||
(135, 38, 39), // Dark Red
|
||||
(88, 26, 29), // Wine Red
|
||||
(191, 228, 254), // Ice Blue
|
||||
@ -145,7 +142,7 @@ pub const ELF_HAIR_COLORS: [(u8, u8, u8); 24] = [
|
||||
(84, 139, 107), // Grass Green
|
||||
(48, 61, 52), // Dark Green
|
||||
];
|
||||
pub const HUMAN_HAIR_COLORS: [(u8, u8, u8); 22] = [
|
||||
pub const HUMAN_HAIR_COLORS: [(u8, u8, u8); 21] = [
|
||||
(245, 232, 175), // Cream Blonde
|
||||
(228, 208, 147), // Gold Blonde
|
||||
(228, 223, 141), // Platinum Blonde
|
||||
@ -157,7 +154,6 @@ pub const HUMAN_HAIR_COLORS: [(u8, u8, u8); 22] = [
|
||||
(57, 56, 61), // Raven Black
|
||||
(101, 83, 95), // Matte Purple
|
||||
(101, 57, 90), // Witch Purple
|
||||
(168, 45, 47), // Lobster Red
|
||||
(135, 38, 39), // Dark Red
|
||||
(88, 26, 29), // Wine Red
|
||||
(191, 228, 254), // Ice Blue
|
||||
@ -169,7 +165,7 @@ pub const HUMAN_HAIR_COLORS: [(u8, u8, u8); 22] = [
|
||||
(84, 139, 107), // Grass Green
|
||||
(48, 61, 52), // Dark Green
|
||||
];
|
||||
pub const ORC_HAIR_COLORS: [(u8, u8, u8); 15] = [
|
||||
pub const ORC_HAIR_COLORS: [(u8, u8, u8); 14] = [
|
||||
(66, 66, 59), // Wise Grey
|
||||
(125, 111, 51), // Muddy Blonde
|
||||
(199, 131, 58), // Summer Blonde
|
||||
@ -181,12 +177,11 @@ pub const ORC_HAIR_COLORS: [(u8, u8, u8); 15] = [
|
||||
(57, 56, 61), // Raven Black
|
||||
(101, 83, 95), // Matte Purple
|
||||
(101, 57, 90), // Witch Purple
|
||||
(168, 45, 47), // Lobster Red
|
||||
(135, 38, 39), // Dark Red
|
||||
(88, 26, 29), // Wine Red
|
||||
(66, 83, 113), // Mysterious Blue
|
||||
];
|
||||
pub const UNDEAD_HAIR_COLORS: [(u8, u8, u8); 25] = [
|
||||
pub const UNDEAD_HAIR_COLORS: [(u8, u8, u8); 24] = [
|
||||
(245, 232, 175), // Cream Blonde
|
||||
(228, 208, 147), // Gold Blonde
|
||||
(228, 223, 141), // Platinum Blonde
|
||||
@ -199,7 +194,6 @@ pub const UNDEAD_HAIR_COLORS: [(u8, u8, u8); 25] = [
|
||||
(101, 83, 95), // Matte Purple
|
||||
(101, 57, 90), // Witch Purple
|
||||
(111, 54, 117), // Punky Purple
|
||||
(168, 45, 47), // Lobster Red
|
||||
(135, 38, 39), // Dark Red
|
||||
(88, 26, 29), // Wine Red
|
||||
(191, 228, 254), // Ice Blue
|
||||
|
@ -221,7 +221,7 @@ pub fn get_default_device() -> String {
|
||||
|
||||
/// Load the audio file directory selected by genre.
|
||||
pub fn load_soundtracks() -> Vec<String> {
|
||||
let assets = assets::read_dir("voxygen.audio.soundtrack").unwrap();
|
||||
let assets = assets::read_dir("voxygen.audio.soundtrack.regional").unwrap();
|
||||
let soundtracks = assets
|
||||
.filter_map(|entry| {
|
||||
entry.ok().map(|f| {
|
||||
|
@ -123,7 +123,7 @@ impl Scene {
|
||||
|
||||
let (view_mat, proj_mat, cam_pos) = self.camera.compute_dependents(client);
|
||||
const VD: f32 = 115.0; //View Distance
|
||||
const TIME: f64 = 36000.0; // hours*3600 seconds
|
||||
const TIME: f64 = 43200.0; // hours*3600 seconds
|
||||
if let Err(err) = renderer.update_consts(
|
||||
&mut self.globals,
|
||||
&[Globals::new(
|
||||
|
@ -54,9 +54,9 @@ impl SoundMgr {
|
||||
|
||||
if character.movement == Run && state.last_step_sound.elapsed().as_secs_f64() > 0.25
|
||||
{
|
||||
let rand_step = (rand::random::<usize>() % 7) + 1;
|
||||
let rand_step = (rand::random::<usize>() % 5) + 1;
|
||||
audio.play_sound(
|
||||
&format!("voxygen.audio.footsteps.stepdirt_{}", rand_step),
|
||||
&format!("voxygen.audio.sfx.steps.step_{}", rand_step),
|
||||
pos.0,
|
||||
);
|
||||
state.last_step_sound = Instant::now();
|
||||
|
@ -65,8 +65,8 @@ impl Default for ControlSettings {
|
||||
jump: KeyMouse::Key(VirtualKeyCode::Space),
|
||||
sit: KeyMouse::Key(VirtualKeyCode::K),
|
||||
glide: KeyMouse::Key(VirtualKeyCode::LShift),
|
||||
climb: KeyMouse::Key(VirtualKeyCode::LControl),
|
||||
climb_down: KeyMouse::Key(VirtualKeyCode::LShift),
|
||||
climb: KeyMouse::Key(VirtualKeyCode::LShift),
|
||||
climb_down: KeyMouse::Key(VirtualKeyCode::LControl),
|
||||
wall_leap: KeyMouse::Mouse(MouseButton::Middle),
|
||||
mount: KeyMouse::Key(VirtualKeyCode::F),
|
||||
map: KeyMouse::Key(VirtualKeyCode::M),
|
||||
|
Loading…
Reference in New Issue
Block a user