diff options
Diffstat (limited to 'client/player/character/character.tscn')
| -rw-r--r-- | client/player/character/character.tscn | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/client/player/character/character.tscn b/client/player/character/character.tscn index 033135cd..cb5aa988 100644 --- a/client/player/character/character.tscn +++ b/client/player/character/character.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=15 format=3 uid="uid://b3hhir2fvnunu"] +[gd_scene load_steps=18 format=3 uid="uid://b3hhir2fvnunu"] [ext_resource type="Script" path="res://player/character/character.gd" id="1_12lbh"] [ext_resource type="ArrayMesh" uid="uid://bnmm01yjwultj" path="res://player/character/main.res" id="2_lxdbd"] @@ -565,6 +565,16 @@ _data = { "walk": SubResource("Animation_7kiho") } +[sub_resource type="SphereMesh" id="SphereMesh_xr0ql"] +radius = 0.1 +height = 0.2 + +[sub_resource type="SphereMesh" id="SphereMesh_qqngc"] + +[sub_resource type="Curve" id="Curve_7ml8g"] +_data = [Vector2(0, 0.054945), 0.0, 0.0, 0, 0, Vector2(0.174157, 1), 0.0, 0.0, 0, 0, Vector2(0.573034, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] +point_count = 4 + [node name="guy" type="Node3D"] script = ExtResource("1_12lbh") @@ -615,4 +625,33 @@ libraries = { "": SubResource("AnimationLibrary_xtrfe") } +[node name="Walking" type="CPUParticles3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.2) +amount = 2 +lifetime = 0.5 +lifetime_randomness = 0.5 +mesh = SubResource("SphereMesh_xr0ql") +direction = Vector3(0, 0.5, -1) +initial_velocity_min = 1.0 +initial_velocity_max = 3.0 +scale_amount_min = 0.4 +scale_amount_max = 0.75 + +[node name="Boosting" type="CPUParticles3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.2) +emitting = false +amount = 30 +lifetime = 0.3 +one_shot = true +explosiveness = 0.75 +lifetime_randomness = 0.5 +mesh = SubResource("SphereMesh_qqngc") +direction = Vector3(0, 0.5, -1) +gravity = Vector3(0, -0.1, 0) +initial_velocity_min = 1.0 +initial_velocity_max = 5.0 +scale_amount_min = 0.5 +scale_amount_max = 0.75 +scale_amount_curve = SubResource("Curve_7ml8g") + [connection signal="animation_finished" from="HandAnimations" to="." method="_on_hand_animations_animation_finished"] |