diff --git a/game/models/entities/spider/Spider.tscn b/game/models/entities/spider/Spider.tscn new file mode 100644 index 00000000..dad327ae --- /dev/null +++ b/game/models/entities/spider/Spider.tscn @@ -0,0 +1,207 @@ +[gd_scene load_steps=15 format=2] + +[ext_resource path="res://models/entities/spider/lower_leg.tres" type="MeshDataResource" id=1] +[ext_resource path="res://models/entities/spider/spider_base_chitin_albedo.png" type="Texture" id=2] +[ext_resource path="res://models/entities/spider/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/spider/fang2.tres" type="MeshDataResource" id=6] +[ext_resource path="res://models/entities/spider/fang1.tres" type="MeshDataResource" id=7] +[ext_resource path="res://models/entities/spider/head.tres" type="MeshDataResource" id=8] +[ext_resource path="res://models/entities/spider/thorax.tres" type="MeshDataResource" id=9] +[ext_resource path="res://models/entities/spider/abdomen.tres" type="MeshDataResource" id=10] + +[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="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.609828, 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="LegsLeft" type="Spatial" parent="FullPreview"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.17828, 0.640268, 0.000238292 ) + +[node name="UpperLeg2" type="MeshDataInstance" parent="FullPreview/LegsLeft"] +transform = Transform( -0.347689, 0.93761, 0, -0.93761, -0.347689, 0, 0, 0, 1, -0.00337219, -0.0222741, -0.596947 ) +mesh_data = ExtResource( 3 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[node name="UpperLeg3" type="MeshDataInstance" parent="FullPreview/LegsLeft"] +transform = Transform( -0.347689, 0.93761, 0, -0.93761, -0.347689, 0, 0, 0, 1, -0.00337267, -0.0222741, 0.0126154 ) +mesh_data = ExtResource( 3 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[node name="UpperLeg4" type="MeshDataInstance" parent="FullPreview/LegsLeft"] +transform = Transform( -0.347689, 0.93761, 0, -0.93761, -0.347689, 0, 0, 0, 1, -0.00337219, -0.0222741, 0.588191 ) +mesh_data = ExtResource( 3 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[node name="LowerLegs" type="Spatial" parent="FullPreview/LegsLeft"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.503581, -0.206726, 0 ) + +[node name="LowerLeg5" type="MeshDataInstance" parent="FullPreview/LegsLeft/LowerLegs"] +transform = Transform( -0.832825, 0.553537, 0, -0.553537, -0.832825, 0, 0, 0, 1, 0.0101099, -0.000204921, 0.590914 ) +mesh_data = ExtResource( 1 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[node name="LowerLeg6" type="MeshDataInstance" parent="FullPreview/LegsLeft/LowerLegs"] +transform = Transform( -0.832825, 0.553537, 0, -0.553537, -0.832825, 0, 0, 0, 1, 0.0101099, -0.000204921, 0.0172505 ) +mesh_data = ExtResource( 1 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[node name="LowerLeg7" type="MeshDataInstance" parent="FullPreview/LegsLeft/LowerLegs"] +transform = Transform( -0.832825, 0.553537, 0, -0.553537, -0.832825, 0, 0, 0, 1, 0.0101099, -0.000204921, -0.590388 ) +mesh_data = ExtResource( 1 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[node name="LegsRight" type="Spatial" parent="FullPreview"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.204, 0.621, 0 ) + +[node name="UpperLeg5" type="MeshDataInstance" parent="FullPreview/LegsRight"] +transform = Transform( -0.346936, -0.937889, 0, 0.937889, -0.346936, 0, 0, 0, 1, -0.00836086, -0.00902534, 0.582202 ) +mesh_data = ExtResource( 3 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[node name="UpperLeg6" type="MeshDataInstance" parent="FullPreview/LegsRight"] +transform = Transform( -0.385294, -0.922794, 0, 0.922794, -0.385294, 0, 0, 0, 1, -0.00836056, -0.00902534, -0.0215956 ) +mesh_data = ExtResource( 3 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[node name="UpperLeg7" type="MeshDataInstance" parent="FullPreview/LegsRight"] +transform = Transform( -0.385294, -0.922794, 0, 0.922794, -0.385294, 0, 0, 0, 1, -0.00836086, -0.00902534, -0.594543 ) +mesh_data = ExtResource( 3 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[node name="LowerLegs" type="Spatial" parent="FullPreview/LegsRight"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.558352, -0.233083, 0 ) + +[node name="LowerLeg2" type="MeshDataInstance" parent="FullPreview/LegsRight/LowerLegs"] +transform = Transform( -0.831954, -0.554844, 0, 0.554844, -0.831954, 0, 0, 0, 1, 0.0255842, 0.044978, -0.597778 ) +mesh_data = ExtResource( 1 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[node name="LowerLeg3" type="MeshDataInstance" parent="FullPreview/LegsRight/LowerLegs"] +transform = Transform( -0.831954, -0.554844, 0, 0.554844, -0.831954, 0, 0, 0, 1, 0.0255845, 0.044978, -0.0235229 ) +mesh_data = ExtResource( 1 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[node name="LowerLeg4" type="MeshDataInstance" parent="FullPreview/LegsRight/LowerLegs"] +transform = Transform( -0.831954, -0.554844, 0, 0.554844, -0.831954, 0, 0, 0, 1, 0.0255842, 0.044978, 0.581975 ) +mesh_data = ExtResource( 1 ) +texture = ExtResource( 2 ) +material = SubResource( 1 ) + +[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/spider/abdomen.tres b/game/models/entities/spider/abdomen.tres new file mode 100644 index 00000000..6672fea3 --- /dev/null +++ b/game/models/entities/spider/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/spider/fang1.tres b/game/models/entities/spider/fang1.tres new file mode 100644 index 00000000..05fbda7b --- /dev/null +++ b/game/models/entities/spider/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/spider/fang2.tres b/game/models/entities/spider/fang2.tres new file mode 100644 index 00000000..05fbda7b --- /dev/null +++ b/game/models/entities/spider/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/spider/head.tres b/game/models/entities/spider/head.tres new file mode 100644 index 00000000..1caca995 --- /dev/null +++ b/game/models/entities/spider/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/spider/lower_leg.tres b/game/models/entities/spider/lower_leg.tres new file mode 100644 index 00000000..05fbda7b --- /dev/null +++ b/game/models/entities/spider/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/spider/spider_base_chitin.tres b/game/models/entities/spider/spider_base_chitin.tres new file mode 100644 index 00000000..2b6d3ccc --- /dev/null +++ b/game/models/entities/spider/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/spider/spider_base_chitin_albedo.png b/game/models/entities/spider/spider_base_chitin_albedo.png new file mode 100644 index 00000000..bd91a58f Binary files /dev/null and b/game/models/entities/spider/spider_base_chitin_albedo.png differ diff --git a/game/models/entities/spider/spider_base_chitin_albedo.png.import b/game/models/entities/spider/spider_base_chitin_albedo.png.import new file mode 100644 index 00000000..b7129fca --- /dev/null +++ b/game/models/entities/spider/spider_base_chitin_albedo.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/spider_base_chitin_albedo.png-a0eaebc9b4a180364bbc2303d91b71d8.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://models/entities/spider/spider_base_chitin_albedo.png" +dest_files=[ "res://.import/spider_base_chitin_albedo.png-a0eaebc9b4a180364bbc2303d91b71d8.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/spider/thorax.tres b/game/models/entities/spider/thorax.tres new file mode 100644 index 00000000..90e8bb33 --- /dev/null +++ b/game/models/entities/spider/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/spider/upper_leg.tres b/game/models/entities/spider/upper_leg.tres new file mode 100644 index 00000000..09ea0aad --- /dev/null +++ b/game/models/entities/spider/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 )