giants-godot/characters/reaper2/Reaper.tscn

105 lines
3.6 KiB
Plaintext
Raw Normal View History

2021-09-08 18:36:41 +02:00
[gd_scene load_steps=12 format=2]
[ext_resource path="res://characters/reaper2/Reaper.gltf" type="PackedScene" id=1]
[ext_resource path="res://characters/reaper2/Reaper.gd" type="Script" id=2]
[ext_resource path="res://assets/all_gbs/textures/b_spark.tx_lev1.gzp.tga" type="Texture" id=3]
[sub_resource type="SpatialMaterial" id=1]
flags_transparent = true
flags_unshaded = true
albedo_color = Color( 1, 1, 1, 0.196078 )
albedo_texture = ExtResource( 3 )
[sub_resource type="PlaneMesh" id=2]
material = SubResource( 1 )
[sub_resource type="ConvexPolygonShape" id=4]
points = PoolVector3Array( 1, 0, 1, -1, 0, 1, 1, 0, -1, -1, 0, -1 )
[sub_resource type="Animation" id=3]
resource_name = "reaper_glow_position"
length = 4.0
loop = true
tracks/0/type = "transform"
tracks/0/path = NodePath("RigidBody/MeshInstance")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = PoolRealArray( )
tracks/1/type = "value"
tracks/1/path = NodePath("RigidBody/MeshInstance: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, 4 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector3( 0, 0, 0 ), Vector3( 0, 360, 0 ) ]
}
[sub_resource type="AnimationNodeAnimation" id=5]
animation = "idle-loop"
[sub_resource type="AnimationNodeAnimation" id=6]
animation = "running-loop"
[sub_resource type="AnimationNodeTransition" id=9]
input_count = 2
xfade_time = 0.2
input_0/name = "state 0"
input_0/auto_advance = false
input_1/name = "state 1"
input_1/auto_advance = false
[sub_resource type="AnimationNodeBlendTree" id=8]
graph_offset = Vector2( -399.168, 5.668 )
nodes/Animation/node = SubResource( 6 )
nodes/Animation/position = Vector2( -220, 40 )
"nodes/Animation 2/node" = SubResource( 5 )
"nodes/Animation 2/position" = Vector2( -160, 220 )
nodes/Transition/node = SubResource( 9 )
nodes/Transition/position = Vector2( 80, 80 )
nodes/output/position = Vector2( 500, 80 )
node_connections = [ "output", 0, "Transition", "Transition", 0, "Animation", "Transition", 1, "Animation 2" ]
[node name="Reaper" instance=ExtResource( 1 )]
script = ExtResource( 2 )
[node name="Armature" parent="." index="0"]
transform = Transform( -1, 0, -3.89414e-07, 0, 1, 0, 3.89414e-07, 0, -1, 0, 0, 0 )
[node name="Skeleton" parent="Armature" index="0"]
bones/15/bound_children = [ NodePath("lefthand") ]
bones/39/bound_children = [ NodePath("righthand") ]
[node name="righthand" type="BoneAttachment" parent="Armature/Skeleton" index="1"]
transform = Transform( 0.170533, 0.8096, 0.561665, 0.410167, -0.576606, 0.706602, 0.895925, 0.109878, -0.430401, -1.65897, 5.50187, -0.457418 )
bone_name = "right_hand_index_1"
[node name="lefthand" type="BoneAttachment" parent="Armature/Skeleton" index="2"]
transform = Transform( 0.0361853, -0.934321, 0.354592, -0.904499, -0.181497, -0.385928, 0.424938, -0.306763, -0.85166, 0.75534, 6.50728, 1.87651 )
bone_name = "left_hand_index_1"
[node name="RigidBody" type="RigidBody" parent="." index="2"]
transform = Transform( 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0 )
[node name="MeshInstance" type="MeshInstance" parent="RigidBody" index="0"]
mesh = SubResource( 2 )
material/0 = null
[node name="CollisionShape3" type="CollisionShape" parent="RigidBody" index="1"]
shape = SubResource( 4 )
[node name="AnimationPlayer2" type="AnimationPlayer" parent="." index="3"]
autoplay = "reaper_glow_position"
anims/reaper_glow_position = SubResource( 3 )
[node name="AnimationTree" type="AnimationTree" parent="." index="4"]
tree_root = SubResource( 8 )
anim_player = NodePath("../AnimationPlayer")
active = true
parameters/Transition/current = 0