-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmagA8E6.tmp
129 lines (105 loc) · 6.54 KB
/
magA8E6.tmp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[gd_scene load_steps=12 format=3 uid="uid://dlim3gn2cw2hx"]
[ext_resource type="PackedScene" uid="uid://cij0vtyqahfdh" path="res://assets/prototype/characters/character_model/Mage.glb" id="1_dvilv"]
[ext_resource type="Script" path="res://scripts/player_body.gd" id="2_ibjhc"]
[ext_resource type="Script" path="res://scripts/state_machine.gd" id="3_a07ox"]
[ext_resource type="Script" path="res://idle_state.gd" id="4_0inu8"]
[ext_resource type="Script" path="res://walk_state.gd" id="5_56k6s"]
[ext_resource type="Script" path="res://run_state.gd" id="6_4wnmf"]
[ext_resource type="Script" path="res://InputBrain.gd" id="6_8wqti"]
[ext_resource type="Script" path="res://jump_state.gd" id="7_iihep"]
[ext_resource type="Script" path="res://fall_state.gd" id="8_cwayc"]
[ext_resource type="Script" path="res://attack_state.gd" id="9_mciah"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_kqsgq"]
height = 1.87706
[node name="Mage" node_paths=PackedStringArray("idle_state", "walk_state", "run_state", "jump_state", "fall_state", "attack_state") instance=ExtResource("1_dvilv")]
script = ExtResource("2_ibjhc")
JUMP_VELOCITY = 5.685
sens_horizontal = 0.275
sens_vertical = 0.215
idle_state = NodePath("state_machine/idle")
walk_state = NodePath("state_machine/walk")
run_state = NodePath("state_machine/run")
jump_state = NodePath("state_machine/jump")
fall_state = NodePath("state_machine/fall")
attack_state = NodePath("state_machine/attack")
[node name="CollisionShape3D" type="CollisionShape3D" parent="." index="0"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.939029, 0)
shape = SubResource("CapsuleShape3D_kqsgq")
[node name="Rig" parent="." index="1"]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0)
[node name="Skeleton3D" parent="Rig" index="0"]
bones/1/position = Vector3(0, 0.392064, 0)
bones/1/rotation = Quaternion(-1.11123e-10, 0.0431578, 2.57241e-09, 0.999068)
bones/3/rotation = Quaternion(8.27181e-25, 3.72529e-09, 0, 1)
bones/4/rotation = Quaternion(-0.559906, -0.0608803, -0.643974, 0.517779)
bones/5/rotation = Quaternion(3.65498e-08, -4.88301e-08, -0.494719, 0.869053)
bones/7/rotation = Quaternion(-0.321065, -0.325319, 0.145726, 0.87741)
bones/11/position = Vector3(-0.212007, 0.134132, 8.6814e-08)
bones/11/rotation = Quaternion(-0.618244, 0.0807286, 0.618012, 0.478873)
bones/12/rotation = Quaternion(2.09853e-08, 5.12855e-08, 0.517939, 0.855417)
bones/14/rotation = Quaternion(-0.319291, 0.300524, -0.22735, 0.869512)
bones/15/position = Vector3(-1.5736e-08, 0.0961251, -0.0575)
bones/15/rotation = Quaternion(-1.02444e-09, -4.24391e-09, 0.707107, 0.707107)
bones/18/rotation = Quaternion(-5.80608e-11, -0.0313417, -1.88012e-09, 0.999509)
bones/21/rotation = Quaternion(0.993715, 0.0837146, 0.0735038, 0.0109185)
bones/22/rotation = Quaternion(0.195602, 6.26228e-08, -1.32239e-07, 0.980683)
bones/23/rotation = Quaternion(-0.517564, -0.209497, 0.0436549, 0.828452)
bones/25/rotation = Quaternion(0.997322, -0.0294574, 0.0315293, 0.0590483)
bones/26/rotation = Quaternion(0.274008, -6.38135e-08, 1.92761e-07, 0.961727)
bones/27/rotation = Quaternion(-0.559039, 0.114513, -0.00862764, 0.82115)
bones/30/position = Vector3(0.202182, 0.0259903, 0.205181)
bones/31/rotation = Quaternion(9.65792e-09, 1.77955e-09, 0.985719, -0.168398)
bones/32/rotation = Quaternion(-1.04035e-07, 0.391084, 0.920355, -2.9526e-08)
bones/38/rotation = Quaternion(-5.83589e-09, 6.43837e-10, 0.994809, 0.101756)
bones/39/rotation = Quaternion(-1.04035e-07, 0.391084, 0.920355, -2.95261e-08)
bones/44/position = Vector3(0.520841, 0.788312, -0.0576373)
bones/44/rotation = Quaternion(0.794627, -9.80973e-08, 0.607098, -8.14761e-08)
bones/46/position = Vector3(-0.510844, 0.788312, 0.0597369)
bones/46/rotation = Quaternion(-0.758253, -2.06327e-07, 0.651961, -2.6433e-08)
[node name="Spellbook" parent="Rig/Skeleton3D" index="0"]
transform = Transform3D(-2.23029e-08, 0.964832, 0.262863, -0.999999, 3.1474e-07, -3.25018e-07, -6.07393e-07, -0.262863, 0.964832, 0.577621, 0.636705, 0.237873)
visible = false
bone_idx = 9
[node name="Spellbook_open" parent="Rig/Skeleton3D" index="1"]
transform = Transform3D(-2.23029e-08, 0.964832, 0.262863, -0.999999, 3.1474e-07, -3.25018e-07, -6.07393e-07, -0.262863, 0.964832, 0.545985, 0.636705, 0.121754)
bone_idx = 10
[node name="1H_Wand" parent="Rig/Skeleton3D" index="2"]
transform = Transform3D(-4.39148e-07, -0.149894, 0.988701, 0.999999, -3.25018e-07, 1.19209e-07, 6.21389e-07, 0.988701, 0.149894, -0.491061, 0.64103, 0.106596)
bone_idx = 16
[node name="2H_Staff" parent="Rig/Skeleton3D" index="3"]
transform = Transform3D(-4.39148e-07, -0.149894, 0.988701, 0.999999, -3.25018e-07, 1.19209e-07, 6.21389e-07, 0.988701, 0.149894, -0.491061, 0.64103, 0.106596)
bone_idx = 17
[node name="Mage_Hat" parent="Rig/Skeleton3D" index="4"]
transform = Transform3D(0.99972, -0.00612019, 0.0228409, 1.39341e-09, 0.965926, 0.258819, -0.0236466, -0.258747, 0.965656, -7.48419e-09, 1.7705, -1.02479e-07)
bone_idx = 19
[node name="Mage_Cape" parent="Rig/Skeleton3D" index="5"]
transform = Transform3D(0.996275, -5.14962e-09, 0.0862353, 5.13043e-09, 1, 4.44077e-10, -0.0862353, 1.8939e-15, 0.996275, -1.2997e-08, 1.20227, -1.01951e-07)
bone_idx = 20
[node name="AnimationPlayer" parent="." index="2"]
playback_default_blend_time = 0.2
[node name="camera_mount" type="Node3D" parent="." index="3"]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 1.12898, 0)
[node name="Camera3D" type="Camera3D" parent="camera_mount" index="0"]
transform = Transform3D(-1, -1.11204e-08, -8.81329e-08, -2.22409e-08, 0.991877, 0.127203, 8.60025e-08, 0.127203, -0.991877, -5.66046e-07, 4.3, -8.52519)
[node name="state_machine" type="Node" parent="." index="4" node_paths=PackedStringArray("starting_state")]
script = ExtResource("3_a07ox")
starting_state = NodePath("idle")
[node name="idle" type="Node" parent="state_machine" index="0"]
script = ExtResource("4_0inu8")
[node name="walk" type="Node" parent="state_machine" index="1"]
script = ExtResource("5_56k6s")
[node name="run" type="Node" parent="state_machine" index="2"]
script = ExtResource("6_4wnmf")
[node name="jump" type="Node" parent="state_machine" index="3"]
script = ExtResource("7_iihep")
jump_height = 2.0
variable_jump_height = 3.5
jump_time_to_peak = 0.4
jump_time_to_descent = 0.24
[node name="fall" type="Node" parent="state_machine" index="4"]
script = ExtResource("8_cwayc")
[node name="attack" type="Node" parent="state_machine" index="5"]
script = ExtResource("9_mciah")
[node name="Node" type="Node" parent="." index="5"]
[node name="InputBrain" type="Node" parent="." index="6"]
script = ExtResource("6_8wqti")