khanat-client/assets/creatures/arche/character_arche.tscn
2021-03-23 23:24:40 +01:00

76 lines
2.4 KiB
Text

[gd_scene load_steps=12 format=2]
[ext_resource path="res://scenes/characters/head_infos.tscn" type="PackedScene" id=1]
[ext_resource path="res://assets/creatures/arche/skin_arche.tscn" type="PackedScene" id=2]
[ext_resource path="res://scenes/interfaces/focus_reticle.tscn" type="PackedScene" id=3]
[ext_resource path="res://assets/interfaces/focus_reticle.png" type="Texture" id=4]
[sub_resource type="QuadMesh" id=1]
size = Vector2( 0.5, 0.5 )
[sub_resource type="ViewportTexture" id=2]
viewport_path = NodePath("head_infos_viewport")
[sub_resource type="SpatialMaterial" id=3]
resource_local_to_scene = true
flags_transparent = true
flags_unshaded = true
albedo_texture = SubResource( 2 )
[sub_resource type="CylinderShape" id=4]
resource_local_to_scene = true
[sub_resource type="CylinderShape" id=5]
resource_local_to_scene = true
height = 0.03
[sub_resource type="QuadMesh" id=6]
resource_local_to_scene = true
size = Vector2( 2.1, 1.8 )
[sub_resource type="SpatialMaterial" id=7]
resource_local_to_scene = true
render_priority = 10
flags_unshaded = true
flags_no_depth_test = true
params_billboard_mode = 1
params_use_alpha_scissor = true
params_alpha_scissor_threshold = 0.1
albedo_texture = ExtResource( 4 )
[node name="kinematic_body" type="KinematicBody"]
[node name="head_infos_viewport" type="Viewport" parent="."]
size = Vector2( 512, 2565 )
transparent_bg = true
[node name="head_infos" parent="head_infos_viewport" instance=ExtResource( 1 )]
[node name="head_infos_frame" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.96237, 0 )
visible = false
mesh = SubResource( 1 )
material/0 = SubResource( 3 )
[node name="creature" parent="." instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
shape = SubResource( 4 )
[node name="look_at" type="Spatial" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.86429, 0 )
[node name="ground_area" type="Area" parent="."]
[node name="collision_shape" type="CollisionShape" parent="ground_area"]
shape = SubResource( 5 )
[node name="focus" parent="." instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0 )
visible = false
mesh = SubResource( 6 )
material/0 = SubResource( 7 )
size = Vector2( 2.1, 1.8 )
[node name="attack_delay" type="Timer" parent="."]
one_shot = true
[connection signal="timeout" from="attack_delay" to="focus" method="_on_attack_delay_timeout"]