implement wing avatar, give it to icarus (and player, optionally)
This commit is contained in:
parent
192d2e0fcb
commit
cc3213788e
BIN
assets/models/suit_v2/ar_wings.glb
Normal file
BIN
assets/models/suit_v2/ar_wings.glb
Normal file
Binary file not shown.
BIN
src/blender/wings.blend
Normal file
BIN
src/blender/wings.blend
Normal file
Binary file not shown.
|
@ -489,6 +489,7 @@ actor 30 -12 -40 suitv2
|
|||
name Icarus
|
||||
id Icarus
|
||||
chatid Icarus
|
||||
armodel suit_ar_wings
|
||||
alive yes
|
||||
collider handcrafted
|
||||
angularmomentum 0.4 0.2 0.1
|
||||
|
|
|
@ -46,6 +46,7 @@ pub const DASHBOARD_DEF: &[(Dashboard, &str)] = &[
|
|||
pub const PLAYER_AR_AVATARS: &[(Avatar, &str, f32, &str)] = &[
|
||||
(Avatar::None, "", 1.0, "No Avatar"),
|
||||
(Avatar::ChefHat, "suit_ar_chefhat", 1.0, "Chef Hat"),
|
||||
(Avatar::Wings, "suit_ar_wings", 1.0, "Wings"),
|
||||
(Avatar::Asteroid, "asteroid2", 1.2, "Asteroid"),
|
||||
];
|
||||
|
||||
|
@ -171,6 +172,7 @@ struct FPSUpdateTimer(Timer);
|
|||
pub enum Avatar {
|
||||
None,
|
||||
ChefHat,
|
||||
Wings,
|
||||
Asteroid,
|
||||
}
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@ pub fn asset_name_to_path(name: &str) -> &'static str {
|
|||
match name {
|
||||
"suitv2" => "models/suit_v2/suit_v2.glb#Scene0",
|
||||
"suit_ar_chefhat" => "models/suit_v2/ar_chefhat.glb#Scene0",
|
||||
"suit_ar_wings" => "models/suit_v2/ar_wings.glb#Scene0",
|
||||
"asteroid1" => "models/asteroid.glb#Scene0",
|
||||
"asteroid2" => "models/asteroid2.glb#Scene0",
|
||||
"asteroid_lum" => "models/asteroid_lum.glb#Scene0",
|
||||
|
|
Loading…
Reference in a new issue