Skip to content

Commit

Permalink
Added Baby Hair and Penguin head
Browse files Browse the repository at this point in the history
Penguin is WIP.
  • Loading branch information
RAYTRAC3R committed Oct 27, 2024
1 parent 830942c commit 8ebe870
Show file tree
Hide file tree
Showing 14 changed files with 2,498 additions and 2 deletions.
Binary file not shown.
1,065 changes: 1,065 additions & 0 deletions mods/RAYTRAC3RCosmetics/Assets/Models/Accessories/accessory_babyhair.glb.import

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
1,065 changes: 1,065 additions & 0 deletions mods/RAYTRAC3RCosmetics/Assets/Models/Species/head_penguin.glb.import

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions mods/RAYTRAC3RCosmetics/Assets/Models/Species/head_penguin.tres

Large diffs are not rendered by default.

220 changes: 220 additions & 0 deletions mods/RAYTRAC3RCosmetics/Assets/Models/Species/penguin_face.tres
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
[gd_resource type="Animation" format=2]

[resource]
resource_name = "penguin_face"
tracks/0/type = "value"
tracks/0/path = NodePath("eye_l:translation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( 0.215, 0.04, 0.388 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("eye_l:rotation_degrees")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( -18.267, 39.407, -4.695 ) ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("eye_r:translation")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( -0.215292, 0.0398945, 0.387765 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("eye_r:rotation_degrees")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( -18.2668, -39.407, 4.69499 ) ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("mouth_l:rotation_degrees")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( 17.279, 44.7207, 7.74447 ) ]
}
tracks/5/type = "value"
tracks/5/path = NodePath("mouth_l:translation")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( 0.21797, -0.222686, 0.489535 ) ]
}
tracks/6/type = "value"
tracks/6/path = NodePath("mouth_r:translation")
tracks/6/interp = 1
tracks/6/loop_wrap = true
tracks/6/imported = false
tracks/6/enabled = true
tracks/6/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( -0.218, -0.223, 0.49 ) ]
}
tracks/7/type = "value"
tracks/7/path = NodePath("mouth_r:rotation_degrees")
tracks/7/interp = 1
tracks/7/loop_wrap = true
tracks/7/imported = false
tracks/7/enabled = true
tracks/7/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( 17.279, -44.721, -7.744 ) ]
}
tracks/8/type = "value"
tracks/8/path = NodePath("nose:translation")
tracks/8/interp = 1
tracks/8/loop_wrap = true
tracks/8/imported = false
tracks/8/enabled = true
tracks/8/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( 0, -0.056, 0.742 ) ]
}
tracks/9/type = "value"
tracks/9/path = NodePath("nose:rotation_degrees")
tracks/9/interp = 1
tracks/9/loop_wrap = true
tracks/9/imported = false
tracks/9/enabled = true
tracks/9/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( -62.079, 0, 0 ) ]
}
tracks/10/type = "value"
tracks/10/path = NodePath("eye_l:scale")
tracks/10/interp = 1
tracks/10/loop_wrap = true
tracks/10/imported = false
tracks/10/enabled = true
tracks/10/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( 0.718647, 0.718647, 0.718647 ) ]
}
tracks/11/type = "value"
tracks/11/path = NodePath("eye_r:scale")
tracks/11/interp = 1
tracks/11/loop_wrap = true
tracks/11/imported = false
tracks/11/enabled = true
tracks/11/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( 0.667662, 0.667661, 0.667662 ) ]
}
tracks/12/type = "value"
tracks/12/path = NodePath("mouth_l:scale")
tracks/12/interp = 1
tracks/12/loop_wrap = true
tracks/12/imported = false
tracks/12/enabled = true
tracks/12/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( 0.495809, 0.495809, 0.495809 ) ]
}
tracks/13/type = "value"
tracks/13/path = NodePath("mouth_r:scale")
tracks/13/interp = 1
tracks/13/loop_wrap = true
tracks/13/imported = false
tracks/13/enabled = true
tracks/13/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( 0.495809, 0.495809, 0.495809 ) ]
}
tracks/14/type = "value"
tracks/14/path = NodePath("nose:scale")
tracks/14/interp = 1
tracks/14/loop_wrap = true
tracks/14/imported = false
tracks/14/enabled = true
tracks/14/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( 0.380002, 0.380002, 0.380002 ) ]
}
tracks/15/type = "value"
tracks/15/path = NodePath("blush:translation")
tracks/15/interp = 1
tracks/15/loop_wrap = true
tracks/15/imported = false
tracks/15/enabled = true
tracks/15/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( 0, -0.0549876, 0.540315 ) ]
}
tracks/16/type = "value"
tracks/16/path = NodePath("blush:rotation_degrees")
tracks/16/interp = 1
tracks/16/loop_wrap = true
tracks/16/imported = false
tracks/16/enabled = true
tracks/16/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( -9.125, 0, 0 ) ]
}
tracks/17/type = "value"
tracks/17/path = NodePath("blush:scale")
tracks/17/interp = 1
tracks/17/loop_wrap = true
tracks/17/imported = false
tracks/17/enabled = true
tracks/17/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( 0.380002, 0.380002, 0.380002 ) ]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/penguin.png-a3d0af3004ad75fb0c23d70d63b1e0d9.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://mods/RAYTRAC3RCosmetics/Assets/Textures/heartchest/penguin.png"
dest_files=[ "res://.import/penguin.png-a3d0af3004ad75fb0c23d70d63b1e0d9.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[gd_resource type="Resource" load_steps=6 format=2]

[ext_resource path="res://Resources/Scripts/cosmetic_resource.gd" type="Script" id=1]
[ext_resource path="res://Assets/Models/Cosmetics/rig_main_updated.tres" type="Skin" id=2]
[ext_resource path="res://mods/RAYTRAC3RCosmetics/Assets/Models/Accessories/accessory_babyhair.tres" type="ArrayMesh" id=3]
[ext_resource path="res://Assets/Materials/brown.tres" type="Material" id=6]
[ext_resource path="res://Assets/Textures/Particles/sparkle.png" type="Texture" id=7]

[resource]
script = ExtResource( 1 )
name = "Baby Hair"
desc = "Gu ba ba bah! (by RAYTRAC3R"
title = ""
icon = ExtResource( 7 )
mesh = ExtResource( 3 )
species_alt_mesh = [ ExtResource( 3 ), ExtResource( 3 ) ]
mesh_skin = ExtResource( 2 )
material = ExtResource( 6 )
secondary_material = ExtResource( 6 )
main_color = Color( 0.419608, 0.27451, 0.137255, 1 )
body_pattern = [ ]
mirror_face = true
flip = false
allow_blink = true
category = "accessory"
cos_internal_id = 0
in_rotation = false
chest_reward = true
cost = 10
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[resource]
script = ExtResource( 1 )
name = "Scarab Mask"
desc = "Crossovers..."
desc = "Crossovers... (by RAYTRAC3R)"
title = ""
icon = ExtResource( 7 )
mesh = ExtResource( 4 )
Expand Down
26 changes: 26 additions & 0 deletions mods/RAYTRAC3RCosmetics/Resources/Cosmetics/species_penguin.tres
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[gd_resource type="Resource" load_steps=5 format=2]

[ext_resource path="res://Resources/Scripts/cosmetic_resource.gd" type="Script" id=1]
[ext_resource path="res://mods/RAYTRAC3RCosmetics/Assets/Models/Species/head_penguin.tres" type="ArrayMesh" id=2]
[ext_resource path="res://Assets/Models/Cosmetics/rig_main.tres" type="Skin" id=3]
[ext_resource path="res://Assets/Textures/CosmeticIcons/cosmetic_icons3.png" type="Texture" id=4]

[resource]
script = ExtResource( 1 )
name = "Penguin"
desc = "Wenk! (by RAYTRAC3R)"
title = ""
icon = ExtResource( 4 )
mesh = ExtResource( 2 )
species_alt_mesh = [ ]
mesh_skin = ExtResource( 3 )
main_color = Color( 0.0627451, 0.109804, 0.192157, 1 )
body_pattern = [ ]
mirror_face = true
flip = false
allow_blink = true
category = "species"
cos_internal_id = 0
in_rotation = false
chest_reward = false
cost = 10
25 changes: 24 additions & 1 deletion mods/RAYTRAC3RCosmetics/main.gd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ const ID = "RAYTRAC3RCosmetics"
onready var Lure = get_node("/root/SulayreLure")

func _ready():
print("RAYTRAC3R Cosmetics should be working!") #test to see if the gd even works?
#print("RAYTRAC3R Cosmetics should be working!") #test to see if the gd even works?

#set up minty head
Lure.assign_pattern_texture(ID, "pattern_calico", ID + ".species_minty", "res://mods/RAYTRAC3RCosmetics/Assets/Textures/heartchest/minty.png")
Lure.assign_pattern_texture(ID, "pattern_collie", ID + ".species_minty", "res://mods/RAYTRAC3RCosmetics/Assets/Textures/heartchest/minty.png")
Lure.assign_pattern_texture(ID, "pattern_spotted", ID + ".species_minty", "res://mods/RAYTRAC3RCosmetics/Assets/Textures/heartchest/minty.png")
Expand All @@ -13,23 +15,44 @@ func _ready():
Lure.assign_face_animation(ID, ID + ".species_minty", "res://mods/RAYTRAC3RCosmetics/Assets/Models/Species/minty_face.tres")
Lure.assign_cosmetic_mesh(ID, "accessory_cig", ID + ".species_minty", "res://Assets/Models/Cosmetics/cig_dog.tres")
Lure.assign_cosmetic_mesh(ID, ID + ".accessory_scarabmask", ID + ".species_minty", "res://mods/RAYTRAC3RCosmetics/Assets/Models/Accessories/accessory_scarabmask_dog.tres")
Lure.assign_cosmetic_mesh(ID, ID + ".accessory_babyhair", ID + ".species_minty", "res://mods/RAYTRAC3RCosmetics/Assets/Models/Accessories/accessory_babyhair.tres")

#set up penguin head
Lure.assign_pattern_texture(ID, "pattern_calico", ID + ".species_penguin", "res://mods/RAYTRAC3RCosmetics/Assets/Textures/heartchest/penguin.png")
Lure.assign_pattern_texture(ID, "pattern_collie", ID + ".species_penguin", "res://mods/RAYTRAC3RCosmetics/Assets/Textures/heartchest/penguin.png")
Lure.assign_pattern_texture(ID, "pattern_spotted", ID + ".species_penguin", "res://mods/RAYTRAC3RCosmetics/Assets/Textures/heartchest/penguin.png")
Lure.assign_pattern_texture(ID, "pattern_tux", ID + ".species_penguin", "res://mods/RAYTRAC3RCosmetics/Assets/Textures/heartchest/penguin.png")
Lure.assign_pattern_texture(ID, ID + ".pattern_heartchest", ID + ".species_penguin", "res://mods/RAYTRAC3RCosmetics/Assets/Textures/heartchest/penguin.png")
Lure.assign_face_animation(ID, ID + ".species_penguin", "res://mods/RAYTRAC3RCosmetics/Assets/Models/Species/penguin_face.tres")
#Lure.assign_cosmetic_mesh(ID, "accessory_cig", ID + ".species_penguin", "res://Assets/Models/Cosmetics/cig_dog.tres")
#Lure.assign_cosmetic_mesh(ID, ID + ".accessory_scarabmask", ID + ".species_penguin", "res://mods/RAYTRAC3RCosmetics/Assets/Models/Accessories/accessory_scarabmask_dog.tres")
Lure.assign_cosmetic_mesh(ID, ID + ".accessory_babyhair", ID + ".species_penguin", "res://mods/RAYTRAC3RCosmetics/Assets/Models/Accessories/accessory_babyhair.tres")


#add patterns
Lure.add_content(ID,"pattern_heartchest","mod://Resources/Cosmetics/pattern_heartchest.tres", [Lure.LURE_FLAGS.FREE_UNLOCK])

#add shirts
Lure.add_content(ID,"dibghost_shirt","mod://Resources/Cosmetics/undershirt_graphic_tshirt_dibghost.tres",[Lure.LURE_FLAGS.FREE_UNLOCK]) # this turns into <RAYTRAC3RCosmetics.dibghost_shirt>

#add eyes
Lure.add_content(ID,"red_ring","mod://Resources/Cosmetics/eye_ring_red.tres",[Lure.LURE_FLAGS.FREE_UNLOCK])
Lure.add_content(ID,"orange_ring","mod://Resources/Cosmetics/eye_ring_orange.tres",[Lure.LURE_FLAGS.FREE_UNLOCK])
Lure.add_content(ID,"yellow_ring","mod://Resources/Cosmetics/eye_ring_yellow.tres",[Lure.LURE_FLAGS.FREE_UNLOCK])
Lure.add_content(ID,"green_ring","mod://Resources/Cosmetics/eye_ring_green.tres",[Lure.LURE_FLAGS.FREE_UNLOCK])
Lure.add_content(ID,"blue_ring","mod://Resources/Cosmetics/eye_ring_blue.tres",[Lure.LURE_FLAGS.FREE_UNLOCK])
Lure.add_content(ID,"purple_ring","mod://Resources/Cosmetics/eye_ring_purple.tres",[Lure.LURE_FLAGS.FREE_UNLOCK])

#add heads
Lure.add_content(ID,"species_minty","mod://Resources/Cosmetics/species_minty.tres",[Lure.LURE_FLAGS.FREE_UNLOCK])
Lure.add_content(ID,"species_penguin","mod://Resources/Cosmetics/species_penguin.tres",[Lure.LURE_FLAGS.FREE_UNLOCK])

#add colors
Lure.add_content(ID,"pcolor_mint","mod://Resources/Cosmetics/pcolor_mint.tres",[Lure.LURE_FLAGS.FREE_UNLOCK])
Lure.add_content(ID,"scolor_mint","mod://Resources/Cosmetics/scolor_mint.tres",[Lure.LURE_FLAGS.FREE_UNLOCK])
Lure.add_content(ID,"pcolor_silver","mod://Resources/Cosmetics/pcolor_silver.tres",[Lure.LURE_FLAGS.FREE_UNLOCK])
Lure.add_content(ID,"scolor_silver","mod://Resources/Cosmetics/scolor_silver.tres",[Lure.LURE_FLAGS.FREE_UNLOCK])

#add accessories
Lure.add_content(ID,"accessory_scarabmask","mod://Resources/Cosmetics/accessory_scarabmask.tres",[Lure.LURE_FLAGS.FREE_UNLOCK])
Lure.add_content(ID,"accessory_babyhair","mod://Resources/Cosmetics/accessory_babyhair.tres",[Lure.LURE_FLAGS.FREE_UNLOCK])

0 comments on commit 8ebe870

Please sign in to comment.