TestGame/assets/characters/evilcoco.tscn
2024-12-31 05:46:18 +01:00

120 lines
4.1 KiB
Plaintext

[gd_scene load_steps=17 format=3 uid="uid://36j8rok6pdoh"]
[ext_resource type="Texture2D" uid="uid://dj20ug78dpiv7" path="res://assets/fx/questionmark.png" id="1_dajbs"]
[ext_resource type="Script" path="res://src/viewport.gd" id="2_uo4p0"]
[ext_resource type="SpineAtlasResource" uid="uid://cjwkukvcvdmyb" path="res://assets/characters/evilcoco/spine.atlas" id="3_3vvm8"]
[ext_resource type="SpineSkeletonFileResource" uid="uid://bx3cdcuxwwy7o" path="res://assets/characters/evilcoco/spine.skel" id="4_wj58p"]
[ext_resource type="Script" path="res://src/spine_sprite.gd" id="5_6ck5e"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_s0iww"]
transparency = 1
shading_mode = 0
diffuse_mode = 3
specular_mode = 2
albedo_texture = ExtResource("1_dajbs")
billboard_mode = 3
particles_anim_h_frames = 1
particles_anim_v_frames = 1
particles_anim_loop = false
[sub_resource type="QuadMesh" id="QuadMesh_uqum3"]
material = SubResource("StandardMaterial3D_s0iww")
size = Vector2(0.1, 0.1)
[sub_resource type="Curve" id="Curve_px5jj"]
min_value = -200.0
max_value = 200.0
_data = [Vector2(0, 149.721), 0.0, 0.0, 0, 0, Vector2(0.519757, 25.9576), -848.296, -848.296, 0, 0, Vector2(0.966565, -105.541), 0.0, 0.0, 0, 0]
point_count = 3
[sub_resource type="Curve" id="Curve_l10dy"]
max_value = 200.0
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.56535, 83.9717), 420.727, 420.727, 0, 0, Vector2(0.729483, 200), 0.0, 0.0, 0, 0]
point_count = 3
[sub_resource type="ViewportTexture" id="ViewportTexture_hfgjs"]
viewport_path = NodePath("MeshInstance3D/SubViewport")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_a31vv"]
transparency = 1
blend_mode = 4
no_depth_test = true
diffuse_mode = 3
specular_mode = 1
albedo_texture = SubResource("ViewportTexture_hfgjs")
texture_filter = 0
texture_repeat = false
billboard_mode = 1
[sub_resource type="QuadMesh" id="QuadMesh_iwcmf"]
[sub_resource type="SpineSkeletonDataResource" id="SpineSkeletonDataResource_1vk02"]
atlas_res = ExtResource("3_3vvm8")
skeleton_file_res = ExtResource("4_wj58p")
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_232ej"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_wn1m5"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_cbp6h"]
[node name="NPC_EvilCoco" type="CharacterBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.48192, 0)
axis_lock_angular_x = true
axis_lock_angular_y = true
axis_lock_angular_z = true
[node name="CPUParticles3D" type="CPUParticles3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0637626, 0.611801, 0)
cast_shadow = 0
gi_mode = 0
amount = 1
lifetime = 2.0
preprocess = 3.0
explosiveness = 0.5
mesh = SubResource("QuadMesh_uqum3")
direction = Vector3(1, 1, 0)
spread = 90.0
flatness = 1.0
gravity = Vector3(0, 0.1, 0)
linear_accel_curve = SubResource("Curve_px5jj")
anim_speed_max = 60.44
anim_speed_curve = SubResource("Curve_l10dy")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 0)
layers = 1023
material_override = SubResource("StandardMaterial3D_a31vv")
cast_shadow = 0
gi_mode = 2
mesh = SubResource("QuadMesh_iwcmf")
script = ExtResource("2_uo4p0")
[node name="SubViewport" type="SubViewport" parent="MeshInstance3D"]
transparent_bg = true
positional_shadow_atlas_quad_0 = 0
canvas_cull_mask = 4294966273
size = Vector2i(3000, 3000)
[node name="SpineSprite" type="SpineSprite" parent="MeshInstance3D/SubViewport"]
light_mask = 0
visibility_layer = 3
position = Vector2(742, 266)
scale = Vector2(1.1, 1.1)
skeleton_data_res = SubResource("SpineSkeletonDataResource_1vk02")
normal_material = SubResource("CanvasItemMaterial_232ej")
preview_skin = "default"
preview_animation = "animation"
preview_frame = false
preview_time = 0.733333
script = ExtResource("5_6ck5e")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0, 0, 0)
shape = SubResource("CylinderShape3D_wn1m5")
[node name="Area3D" type="Area3D" parent="." groups=["Player"]]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
shape = SubResource("CylinderShape3D_cbp6h")