diff --git a/game/models/entities/tarantula/Legs.tscn b/game/models/entities/tarantula/Legs.tscn new file mode 100644 index 00000000..0a686e9d --- /dev/null +++ b/game/models/entities/tarantula/Legs.tscn @@ -0,0 +1,30 @@ +[gd_scene load_steps=6 format=2] + +[ext_resource path="res://models/entities/tarantula/spider_base_chitin_albedo.png" type="Texture" id=1] +[ext_resource path="res://models/entities/tarantula/lower_leg.tres" type="MeshDataResource" id=2] +[ext_resource path="res://models/entities/tarantula/upper_leg.tres" type="MeshDataResource" id=3] +[ext_resource path="res://models/entities/tarantula/leg_thorax.tres" type="MeshDataResource" id=4] + +[sub_resource type="SpatialMaterial" id=1] +flags_vertex_lighting = true +albedo_texture = ExtResource( 1 ) + +[node name="Legs" type="Spatial"] + +[node name="LegThorax" type="MeshDataInstance" parent="."] +transform = Transform( 0.866104, 0.499864, 0, -0.499864, 0.866104, 0, 0, 0, 1, 0, 0, 0 ) +mesh_data = ExtResource( 4 ) +texture = ExtResource( 1 ) +material = SubResource( 1 ) + +[node name="UpperLeg2" type="MeshDataInstance" parent="LegThorax"] +transform = Transform( 0.0332423, 0.999448, 0, -0.999448, 0.0332423, 0, 0, 0, 1, -0.0190351, 0.483731, 0 ) +mesh_data = ExtResource( 3 ) +texture = ExtResource( 1 ) +material = SubResource( 1 ) + +[node name="LowerLeg7" type="MeshDataInstance" parent="LegThorax/UpperLeg2"] +transform = Transform( 0.760916, 0.64885, 0, -0.64885, 0.760916, 0, 0, 0, 1, -0.0149617, 0.559082, 0 ) +mesh_data = ExtResource( 2 ) +texture = ExtResource( 1 ) +material = SubResource( 1 ) diff --git a/game/models/entities/tarantula/Tarantula.tscn b/game/models/entities/tarantula/Tarantula.tscn new file mode 100644 index 00000000..79cc60ac --- /dev/null +++ b/game/models/entities/tarantula/Tarantula.tscn @@ -0,0 +1,155 @@ +[gd_scene load_steps=17 format=2] + +[ext_resource path="res://models/entities/tarantula/lower_leg.tres" type="MeshDataResource" id=1] +[ext_resource path="res://models/entities/tarantula/spider_base_chitin_albedo.png" type="Texture" id=2] +[ext_resource path="res://models/entities/tarantula/upper_leg.tres" type="MeshDataResource" id=3] +[ext_resource path="res://worlds/test_world/environments/default_env.tres" type="Environment3D" id=4] +[ext_resource path="res://textures/world/grass/grass_albedo.png" type="Texture" id=5] +[ext_resource path="res://models/entities/tarantula/fang2.tres" type="MeshDataResource" id=6] +[ext_resource path="res://models/entities/tarantula/fang1.tres" type="MeshDataResource" id=7] +[ext_resource path="res://models/entities/tarantula/head.tres" type="MeshDataResource" id=8] +[ext_resource path="res://models/entities/tarantula/thorax.tres" type="MeshDataResource" id=9] +[ext_resource path="res://models/entities/tarantula/abdomen.tres" type="MeshDataResource" id=10] +[ext_resource path="res://models/entities/tarantula/leg_thorax.tres" type="MeshDataResource" id=11] +[ext_resource path="res://models/entities/tarantula/Legs.tscn" type="PackedScene" id=12] + +[sub_resource type="SpatialMaterial" id=1] +flags_vertex_lighting = true +albedo_texture = ExtResource( 2 ) + +[sub_resource type="CubeMesh" id=2] +size = Vector3( 1, 1, 1 ) + +[sub_resource type="CubeMesh" id=3] +size = Vector3( 4, 1, 4 ) + +[sub_resource type="SpatialMaterial" id=4] +flags_vertex_lighting = true +albedo_color = Color( 0.145098, 0.145098, 0.145098, 1 ) +albedo_texture = ExtResource( 5 ) + +[node name="Spider" type="Spatial"] + +[node name="LowerLeg" type="MeshDataInstance" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0645008, 0, 2.23637 ) +mesh_data = ExtResource( 1 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[node name="UpperLeg" type="MeshDataInstance" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2.97616 ) +mesh_data = ExtResource( 3 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[node name="LegThorax" type="MeshDataInstance" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 3.84727 ) +mesh_data = ExtResource( 11 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[node name="Abdomen" type="MeshDataInstance" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.20021, 0, 1.72042 ) +mesh_data = ExtResource( 10 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[node name="Thorax" type="MeshDataInstance" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.20021, 0, 0.448436 ) +mesh_data = ExtResource( 9 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[node name="Head" type="MeshDataInstance" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.20021, 0, -0.663357 ) +mesh_data = ExtResource( 8 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[node name="Fang1" type="MeshDataInstance" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.20021, 0, -1.76379 ) +mesh_data = ExtResource( 7 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[node name="Fang2" type="MeshDataInstance" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.20021, 0, -2.68392 ) +mesh_data = ExtResource( 6 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[node name="DirectionalLight" type="DirectionalLight" parent="."] +transform = Transform( 0.727426, 0.542715, -0.419896, -0.662594, 0.71463, -0.224217, 0.178385, 0.441322, 0.87944, -7.56755, -7.92697, 7.18822 ) +light_energy = 6.714 + +[node name="DirectionalLight2" type="DirectionalLight" parent="."] +transform = Transform( 0.804894, 0.467212, 0.365867, 0, -0.616541, 0.787323, 0.593419, -0.633711, -0.49625, 7.6211, 4.52883, -8.65958 ) +light_energy = 6.714 + +[node name="FullPreview" type="Spatial" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3.87249, 0, 0 ) +__meta__ = { +"_editor_description_": "Z+ -> Front" +} + +[node name="Torso" type="Spatial" parent="FullPreview"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.318816, 0 ) + +[node name="Abdomen" type="MeshDataInstance" parent="FullPreview/Torso"] +transform = Transform( 1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, -0.231096 ) +mesh_data = ExtResource( 10 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[node name="Thorax" type="MeshDataInstance" parent="FullPreview/Torso"] +transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, -0.250909 ) +mesh_data = ExtResource( 9 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[node name="Head" type="MeshDataInstance" parent="FullPreview/Torso"] +transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0.240853 ) +mesh_data = ExtResource( 8 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[node name="LegsLeftBack" parent="FullPreview" instance=ExtResource( 12 )] +transform = Transform( 0.853778, 0, 0.520637, 0, 1, 0, -0.520637, 0, 0.853778, 0.201448, 0.303214, -0.166827 ) + +[node name="LegsLeftMid" parent="FullPreview" instance=ExtResource( 12 )] +transform = Transform( 0.977849, 0, 0.209311, 0, 1, 0, -0.209311, 0, 0.977849, 0.201728, 0.303482, -0.0524873 ) + +[node name="LegsLeftMid2" parent="FullPreview" instance=ExtResource( 12 )] +transform = Transform( 0.970321, 0, -0.24182, 0, 1, 0, 0.24182, 0, 0.970321, 0.201728, 0.303482, 0.064917 ) + +[node name="LegsLeftFront" parent="FullPreview" instance=ExtResource( 12 )] +transform = Transform( 0.755854, 0, -0.654741, 0, 1, 0, 0.654741, 0, 0.755854, 0.189553, 0.303214, 0.168087 ) + +[node name="LegsRightBack" parent="FullPreview" instance=ExtResource( 12 )] +transform = Transform( -0.844019, 0, 0.536313, 0, 1, 0, -0.536313, 0, -0.844019, -0.188771, 0.284214, -0.157888 ) + +[node name="LegsRightMid" parent="FullPreview" instance=ExtResource( 12 )] +transform = Transform( -0.978216, 0, 0.207587, 0, 1, 0, -0.207587, 0, -0.978216, -0.204, 0.284214, -0.032139 ) + +[node name="LegsRightMid2" parent="FullPreview" instance=ExtResource( 12 )] +transform = Transform( -0.986951, 0, -0.161018, 0, 1, 0, 0.161018, 0, -0.986951, -0.204, 0.284214, 0.0811554 ) + +[node name="LegsRightFront" parent="FullPreview" instance=ExtResource( 12 )] +transform = Transform( -0.735754, 0, -0.677249, 0, 1, 0, 0.677249, 0, -0.735754, -0.204, 0.284214, 0.138077 ) + +[node name="MeshInstance" type="MeshInstance" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.45079, 0.5, -5.56819 ) +mesh = SubResource( 2 ) + +[node name="MeshInstance2" type="MeshInstance" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3.69456, -0.5, 0.0802026 ) +mesh = SubResource( 3 ) +material/0 = SubResource( 4 ) + +[node name="MeshInstance3" type="MeshInstance" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.31501, -0.5, -1.17679 ) +mesh = SubResource( 3 ) +material/0 = SubResource( 4 ) + +[node name="WorldEnvironment3D" type="WorldEnvironment3D" parent="."] +environment = ExtResource( 4 ) diff --git a/game/models/entities/tarantula/abdomen.tres b/game/models/entities/tarantula/abdomen.tres new file mode 100644 index 00000000..6672fea3 --- /dev/null +++ b/game/models/entities/tarantula/abdomen.tres @@ -0,0 +1,6 @@ +[gd_resource type="MeshDataResource" format=2] + +[resource] +array = [ PoolVector3Array( -0.219999, -0.0285714, 0.2025, -0.219999, 0.521429, 0.2025, 0.185, 0.521429, 0.2025, 0.185, -0.0285714, 0.2025, -0.219999, -0.0285714, -0.2025, -0.219999, 0.521429, -0.2025, 0.185, 0.521429, -0.2025, 0.185, -0.0285714, -0.2025, -0.219999, 0.521429, 0.2025, 0.185, 0.521429, 0.2025, 0.185, 0.521429, 0.2025, -0.219999, 0.521429, -0.2025, 0.185, 0.521429, -0.2025, 0.185, 0.521429, -0.2025 ), PoolVector3Array( 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, -1, 0, 0, -1 ), null, null, PoolVector2Array( 0.5, 0.369406, 0.5, 0.0147059, 0.705805, 0.0147059, 0.705805, 0.369406, 0.5, 0.630594, 0.5, 0.985294, 0.705805, 0.985294, 0.705805, 0.630594, 0.220511, 0.369406, 0.985294, 0.369406, 0.0147059, 0.369406, 0.220511, 0.630594, 0.985294, 0.630594, 0.0147059, 0.630594 ), null, null, null, PoolIntArray( 0, 1, 2, 2, 3, 0, 4, 6, 5, 4, 7, 6, 3, 9, 12, 12, 7, 3, 0, 11, 8, 0, 4, 11, 8, 11, 13, 13, 10, 8, 0, 7, 4, 0, 3, 7 ) ] +aabb = AABB( -0.219999, -0.0285714, 0, 0.404999, 0.55, 0 ) +seams = PoolIntArray( 2, 6, 2, 3, 6, 7, 4, 5, 0, 1, 5, 6, 1, 2 ) diff --git a/game/models/entities/tarantula/fang1.tres b/game/models/entities/tarantula/fang1.tres new file mode 100644 index 00000000..05fbda7b --- /dev/null +++ b/game/models/entities/tarantula/fang1.tres @@ -0,0 +1,6 @@ +[gd_resource type="MeshDataResource" format=2] + +[resource] +array = [ PoolVector3Array( -0.0457141, 0.00714293, 0.05, -0.0457141, 0.507143, 0.05, 0.0542858, 0.507143, 0.05, 0.0542858, 0.00714293, 0.05, -0.0457141, 0.00714293, -0.05, -0.0457141, 0.507143, -0.05, 0.0542858, 0.507143, -0.05, 0.0542858, 0.00714293, -0.05, -0.0457141, 0.507143, 0.05, 0.0542858, 0.507143, 0.05, 0.0542858, 0.507143, 0.05, -0.0457141, 0.507143, -0.05, 0.0542858, 0.507143, -0.05, 0.0542858, 0.507143, -0.05 ), PoolVector3Array( 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, -1, 0, 0, -1 ), null, null, PoolVector2Array( 0.544258, 0.5, 0.986842, 0.5, 0.986842, 0.58114, 0.544258, 0.58114, 0.455742, 0.5, 0.0131579, 0.5, 0.0131579, 0.58114, 0.455742, 0.58114, 0.544259, 0.0942983, 0.544258, 0.986842, 0.544258, 0.013158, 0.455742, 0.0942983, 0.455742, 0.986842, 0.455742, 0.0131579 ), null, null, null, PoolIntArray( 0, 1, 2, 2, 3, 0, 4, 6, 5, 4, 7, 6, 3, 9, 12, 12, 7, 3, 0, 11, 8, 0, 4, 11, 8, 11, 13, 13, 10, 8, 0, 7, 4, 0, 3, 7 ) ] +aabb = AABB( -0.0457141, 0.00714293, 0, 0.0999999, 0.5, 0 ) +seams = PoolIntArray( 2, 6, 2, 3, 6, 7, 4, 5, 0, 1, 5, 6, 1, 2 ) diff --git a/game/models/entities/tarantula/fang2.tres b/game/models/entities/tarantula/fang2.tres new file mode 100644 index 00000000..05fbda7b --- /dev/null +++ b/game/models/entities/tarantula/fang2.tres @@ -0,0 +1,6 @@ +[gd_resource type="MeshDataResource" format=2] + +[resource] +array = [ PoolVector3Array( -0.0457141, 0.00714293, 0.05, -0.0457141, 0.507143, 0.05, 0.0542858, 0.507143, 0.05, 0.0542858, 0.00714293, 0.05, -0.0457141, 0.00714293, -0.05, -0.0457141, 0.507143, -0.05, 0.0542858, 0.507143, -0.05, 0.0542858, 0.00714293, -0.05, -0.0457141, 0.507143, 0.05, 0.0542858, 0.507143, 0.05, 0.0542858, 0.507143, 0.05, -0.0457141, 0.507143, -0.05, 0.0542858, 0.507143, -0.05, 0.0542858, 0.507143, -0.05 ), PoolVector3Array( 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, -1, 0, 0, -1 ), null, null, PoolVector2Array( 0.544258, 0.5, 0.986842, 0.5, 0.986842, 0.58114, 0.544258, 0.58114, 0.455742, 0.5, 0.0131579, 0.5, 0.0131579, 0.58114, 0.455742, 0.58114, 0.544259, 0.0942983, 0.544258, 0.986842, 0.544258, 0.013158, 0.455742, 0.0942983, 0.455742, 0.986842, 0.455742, 0.0131579 ), null, null, null, PoolIntArray( 0, 1, 2, 2, 3, 0, 4, 6, 5, 4, 7, 6, 3, 9, 12, 12, 7, 3, 0, 11, 8, 0, 4, 11, 8, 11, 13, 13, 10, 8, 0, 7, 4, 0, 3, 7 ) ] +aabb = AABB( -0.0457141, 0.00714293, 0, 0.0999999, 0.5, 0 ) +seams = PoolIntArray( 2, 6, 2, 3, 6, 7, 4, 5, 0, 1, 5, 6, 1, 2 ) diff --git a/game/models/entities/tarantula/head.tres b/game/models/entities/tarantula/head.tres new file mode 100644 index 00000000..1caca995 --- /dev/null +++ b/game/models/entities/tarantula/head.tres @@ -0,0 +1,6 @@ +[gd_resource type="MeshDataResource" format=2] + +[resource] +array = [ PoolVector3Array( -0.111428, 0.00142873, 0.1075, -0.111428, 0.201429, 0.1075, 0.103571, 0.201429, 0.1075, 0.103571, 0.00142873, 0.1075, -0.111428, 0.00142873, -0.1075, -0.111428, 0.201429, -0.1075, 0.103571, 0.201429, -0.1075, 0.103571, 0.00142873, -0.1075, -0.111428, 0.201429, 0.1075, 0.103571, 0.201429, 0.1075, 0.103571, 0.201429, 0.1075, -0.111428, 0.201429, -0.1075, 0.103571, 0.201429, -0.1075, 0.103571, 0.201429, -0.1075 ), PoolVector3Array( 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, -1, 0, 0, -1 ), null, null, PoolVector2Array( 0.544258, 0.5, 0.986842, 0.5, 0.986842, 0.58114, 0.544258, 0.58114, 0.455742, 0.5, 0.0131579, 0.5, 0.0131579, 0.58114, 0.455742, 0.58114, 0.544259, 0.0942983, 0.544258, 0.986842, 0.544258, 0.013158, 0.455742, 0.0942983, 0.455742, 0.986842, 0.455742, 0.0131579 ), null, null, null, PoolIntArray( 0, 1, 2, 2, 3, 0, 4, 6, 5, 4, 7, 6, 3, 9, 12, 12, 7, 3, 0, 11, 8, 0, 4, 11, 8, 11, 13, 13, 10, 8, 0, 7, 4, 0, 3, 7 ) ] +aabb = AABB( -0.111428, 0.00142873, 0, 0.215, 0.2, 0 ) +seams = PoolIntArray( 2, 6, 2, 3, 6, 7, 4, 5, 0, 1, 5, 6, 1, 2 ) diff --git a/game/models/entities/tarantula/leg_thorax.tres b/game/models/entities/tarantula/leg_thorax.tres new file mode 100644 index 00000000..36b3c342 --- /dev/null +++ b/game/models/entities/tarantula/leg_thorax.tres @@ -0,0 +1,6 @@ +[gd_resource type="MeshDataResource" format=2] + +[resource] +array = [ PoolVector3Array( -0.0487997, 0.0194644, 0.04675, -0.0487997, 0.462214, 0.04675, 0.0566003, 0.462214, 0.04675, 0.0566003, 0.0194644, 0.04675, -0.0487997, 0.0194644, -0.04675, -0.0487997, 0.462214, -0.04675, 0.0566003, 0.462214, -0.04675, 0.0566003, 0.0194644, -0.04675, -0.0487997, 0.462214, 0.04675, 0.0566003, 0.462214, 0.04675, 0.0566003, 0.462214, 0.04675, -0.0487997, 0.462214, -0.04675, 0.0566003, 0.462214, -0.04675, 0.0566003, 0.462214, -0.04675 ), PoolVector3Array( 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, -1, 0, 0, -1 ), null, null, PoolVector2Array( 0.499999, 0.4549, 0.499999, 0.0277779, 0.590799, 0.0277778, 0.5908, 0.4549, 0.5, 0.5451, 0.5, 0.972222, 0.590801, 0.972222, 0.5908, 0.5451, 0.118578, 0.4549, 0.972222, 0.4549, 0.0277778, 0.4549, 0.118578, 0.5451, 0.972222, 0.5451, 0.027778, 0.5451 ), null, null, null, PoolIntArray( 0, 1, 2, 2, 3, 0, 4, 6, 5, 4, 7, 6, 3, 9, 12, 12, 7, 3, 0, 11, 8, 0, 4, 11, 8, 11, 13, 13, 10, 8, 0, 7, 4, 0, 3, 7 ) ] +aabb = AABB( -0.0487997, 0.0194644, 0, 0.1054, 0.44275, 0 ) +seams = PoolIntArray( 2, 6, 2, 3, 6, 7, 4, 5, 0, 1, 5, 6, 1, 2 ) diff --git a/game/models/entities/tarantula/lower_leg.tres b/game/models/entities/tarantula/lower_leg.tres new file mode 100644 index 00000000..05fbda7b --- /dev/null +++ b/game/models/entities/tarantula/lower_leg.tres @@ -0,0 +1,6 @@ +[gd_resource type="MeshDataResource" format=2] + +[resource] +array = [ PoolVector3Array( -0.0457141, 0.00714293, 0.05, -0.0457141, 0.507143, 0.05, 0.0542858, 0.507143, 0.05, 0.0542858, 0.00714293, 0.05, -0.0457141, 0.00714293, -0.05, -0.0457141, 0.507143, -0.05, 0.0542858, 0.507143, -0.05, 0.0542858, 0.00714293, -0.05, -0.0457141, 0.507143, 0.05, 0.0542858, 0.507143, 0.05, 0.0542858, 0.507143, 0.05, -0.0457141, 0.507143, -0.05, 0.0542858, 0.507143, -0.05, 0.0542858, 0.507143, -0.05 ), PoolVector3Array( 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, -1, 0, 0, -1 ), null, null, PoolVector2Array( 0.544258, 0.5, 0.986842, 0.5, 0.986842, 0.58114, 0.544258, 0.58114, 0.455742, 0.5, 0.0131579, 0.5, 0.0131579, 0.58114, 0.455742, 0.58114, 0.544259, 0.0942983, 0.544258, 0.986842, 0.544258, 0.013158, 0.455742, 0.0942983, 0.455742, 0.986842, 0.455742, 0.0131579 ), null, null, null, PoolIntArray( 0, 1, 2, 2, 3, 0, 4, 6, 5, 4, 7, 6, 3, 9, 12, 12, 7, 3, 0, 11, 8, 0, 4, 11, 8, 11, 13, 13, 10, 8, 0, 7, 4, 0, 3, 7 ) ] +aabb = AABB( -0.0457141, 0.00714293, 0, 0.0999999, 0.5, 0 ) +seams = PoolIntArray( 2, 6, 2, 3, 6, 7, 4, 5, 0, 1, 5, 6, 1, 2 ) diff --git a/game/models/entities/tarantula/spider_base_chitin.tres b/game/models/entities/tarantula/spider_base_chitin.tres new file mode 100644 index 00000000..2b6d3ccc --- /dev/null +++ b/game/models/entities/tarantula/spider_base_chitin.tres @@ -0,0 +1,47 @@ +[gd_resource type="MMMaterial" load_steps=8 format=2] + +[sub_resource type="MMNodeUniversalProperty" id=8] +default_type = 5 +output_slot_type = 0 + +[sub_resource type="MMFbmNoise" id=9] +graph_position = Vector2( 20, 60 ) +output_properties = [ SubResource( 8 ) ] +image = SubResource( 8 ) +type = 1 +scale = Vector2( 5, 5 ) + +[sub_resource type="MMNodeUniversalProperty" id=10] +default_type = 5 +output_slot_type = 0 + +[sub_resource type="MMNodeUniversalProperty" id=11] +default_type = 1 +default_float = 1.0 +input_slot_type = 6 +slot_name = ">>> Input1 " +input_property = SubResource( 8 ) + +[sub_resource type="MMColorize" id=12] +graph_position = Vector2( 280, 80 ) +input_properties = [ SubResource( 11 ) ] +output_properties = [ SubResource( 10 ) ] +points = PoolRealArray( 0, 0.0390625, 0.0239754, 0.00457764, 1, 0.135593, 0, 0, 0, 1, 0.338983, 0.0351562, 0.0236807, 0.00892639, 1, 1, 0.15625, 0.0926876, 0.0250244, 1 ) +image = SubResource( 10 ) +input = SubResource( 11 ) + +[sub_resource type="MMNodeUniversalProperty" id=13] +default_type = 5 +input_slot_type = 6 +slot_name = "image" +input_property = SubResource( 10 ) + +[sub_resource type="MMOutputImage" id=14] +graph_position = Vector2( 620, 140 ) +input_properties = [ SubResource( 13 ) ] +image = SubResource( 13 ) +postfix = "_albedo" + +[resource] +image_size = Vector2( 64, 64 ) +nodes = [ SubResource( 9 ), SubResource( 12 ), SubResource( 14 ) ] diff --git a/game/models/entities/tarantula/spider_base_chitin_albedo.png b/game/models/entities/tarantula/spider_base_chitin_albedo.png new file mode 100644 index 00000000..bd91a58f Binary files /dev/null and b/game/models/entities/tarantula/spider_base_chitin_albedo.png differ diff --git a/game/models/entities/tarantula/spider_base_chitin_albedo.png.import b/game/models/entities/tarantula/spider_base_chitin_albedo.png.import new file mode 100644 index 00000000..2925e993 --- /dev/null +++ b/game/models/entities/tarantula/spider_base_chitin_albedo.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/spider_base_chitin_albedo.png-ae6b6463391c788d819b03235f820a74.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://models/entities/tarantula/spider_base_chitin_albedo.png" +dest_files=[ "res://.import/spider_base_chitin_albedo.png-ae6b6463391c788d819b03235f820a74.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=1 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=false +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=false +svg/scale=1.0 diff --git a/game/models/entities/tarantula/thorax.tres b/game/models/entities/tarantula/thorax.tres new file mode 100644 index 00000000..90e8bb33 --- /dev/null +++ b/game/models/entities/tarantula/thorax.tres @@ -0,0 +1,6 @@ +[gd_resource type="MeshDataResource" format=2] + +[resource] +array = [ PoolVector3Array( -0.165714, 0.0607144, 0.1, -0.165714, 0.485714, 0.1, 0.144286, 0.485714, 0.1, 0.144286, 0.0607144, 0.1, -0.165714, 0.0607144, -0.1, -0.165714, 0.485714, -0.1, 0.144286, 0.485714, -0.1, 0.144286, 0.0607144, -0.1, -0.165714, 0.485714, 0.1, 0.144286, 0.485714, 0.1, 0.144286, 0.485714, 0.1, -0.165714, 0.485714, -0.1, 0.144286, 0.485714, -0.1, 0.144286, 0.485714, -0.1 ), PoolVector3Array( 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, -1, 0, 0, -1 ), null, null, PoolVector2Array( 0.591575, 0.498333, 0.980769, 0.498333, 0.980769, 0.701106, 0.591575, 0.701106, 0.408425, 0.498333, 0.0192308, 0.498333, 0.0192308, 0.701106, 0.408425, 0.701106, 0.591575, 0.220337, 0.591575, 0.979102, 0.591575, 0.0175641, 0.408425, 0.220337, 0.408425, 0.979102, 0.408425, 0.0175641 ), null, null, null, PoolIntArray( 0, 1, 2, 2, 3, 0, 4, 6, 5, 4, 7, 6, 3, 9, 12, 12, 7, 3, 0, 11, 8, 0, 4, 11, 8, 11, 13, 13, 10, 8, 0, 7, 4, 0, 3, 7 ) ] +aabb = AABB( -0.165714, 0.0607144, 0, 0.309999, 0.425, 0 ) +seams = PoolIntArray( 2, 6, 2, 3, 6, 7, 4, 5, 0, 1, 5, 6, 1, 2 ) diff --git a/game/models/entities/tarantula/upper_leg.tres b/game/models/entities/tarantula/upper_leg.tres new file mode 100644 index 00000000..09ea0aad --- /dev/null +++ b/game/models/entities/tarantula/upper_leg.tres @@ -0,0 +1,6 @@ +[gd_resource type="MeshDataResource" format=2] + +[resource] +array = [ PoolVector3Array( -0.0477142, -0.00357122, 0.0517499, -0.0477142, 0.581429, 0.0517499, 0.0557858, 0.581429, 0.0517499, 0.0557858, -0.00357122, 0.0517499, -0.0477142, -0.00357122, -0.0517499, -0.0477142, 0.581429, -0.0517499, 0.0557858, 0.581429, -0.0517499, 0.0557858, -0.00357122, -0.0517499, -0.0477142, 0.581429, 0.0517499, 0.0557858, 0.581429, 0.0517499, 0.0557858, 0.581429, 0.0517499, -0.0477142, 0.581429, -0.0517499, 0.0557858, 0.581429, -0.0517499, 0.0557858, 0.581429, -0.0517499 ), PoolVector3Array( 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, -1, 0, 0, -1 ), null, null, PoolVector2Array( 0.544258, 0.5, 0.986842, 0.5, 0.986842, 0.58114, 0.544258, 0.58114, 0.455742, 0.5, 0.0131579, 0.5, 0.0131579, 0.58114, 0.455742, 0.58114, 0.544259, 0.0942983, 0.544258, 0.986842, 0.544258, 0.013158, 0.455742, 0.0942983, 0.455742, 0.986842, 0.455742, 0.0131579 ), null, null, null, PoolIntArray( 0, 1, 2, 2, 3, 0, 4, 6, 5, 4, 7, 6, 3, 9, 12, 12, 7, 3, 0, 11, 8, 0, 4, 11, 8, 11, 13, 13, 10, 8, 0, 7, 4, 0, 3, 7 ) ] +aabb = AABB( -0.0477142, -0.00357122, 0, 0.1035, 0.585, 0 ) +seams = PoolIntArray( 2, 6, 2, 3, 6, 7, 4, 5, 0, 1, 5, 6, 1, 2 )