summaryrefslogtreecommitdiff
path: root/godot/particles/DirtPuff.tscn
diff options
context:
space:
mode:
authorAnson Bridges <bridges.anson@gmail.com>2022-09-25 06:39:12 -0400
committerAnson Bridges <bridges.anson@gmail.com>2022-09-25 06:39:12 -0400
commit7a1d857de96174dfa5a0fa40f8c14acbd2f651c2 (patch)
treed52acaa4e89b0f8375326ea1aefd0105bb91cfc7 /godot/particles/DirtPuff.tscn
parent62039380a67b6da396d1c8d745d2e2625ba988fc (diff)
weapons, viewmodels, some performance fixes
Diffstat (limited to 'godot/particles/DirtPuff.tscn')
-rw-r--r--godot/particles/DirtPuff.tscn71
1 files changed, 71 insertions, 0 deletions
diff --git a/godot/particles/DirtPuff.tscn b/godot/particles/DirtPuff.tscn
new file mode 100644
index 0000000..5ad40f9
--- /dev/null
+++ b/godot/particles/DirtPuff.tscn
@@ -0,0 +1,71 @@
+[gd_scene load_steps=8 format=2]
+
+[ext_resource path="res://textures/dust.png" type="Texture" id=1]
+
+[sub_resource type="Curve" id=4]
+_data = [ Vector2( 0, 0.309091 ), 0.0, 0.0, 0, 0, Vector2( 0.279503, 0.478716 ), 0.0, 0.0, 0, 0, Vector2( 0.968944, 0 ), 0.0, 0.0, 0, 0 ]
+
+[sub_resource type="CurveTexture" id=5]
+curve = SubResource( 4 )
+
+[sub_resource type="ParticlesMaterial" id=3]
+direction = Vector3( 0, 0, -1 )
+spread = 15.0
+gravity = Vector3( 0, 1, 0 )
+initial_velocity = 3.0
+damping = 11.95
+damping_random = 0.69
+angle = 360.0
+angle_random = 1.0
+scale_random = 1.0
+scale_curve = SubResource( 5 )
+color = Color( 0.101961, 0.0745098, 0.0196078, 1 )
+
+[sub_resource type="SpatialMaterial" id=1]
+flags_transparent = true
+flags_unshaded = true
+flags_do_not_receive_shadows = true
+vertex_color_use_as_albedo = true
+params_specular_mode = 4
+params_billboard_mode = 3
+params_use_alpha_scissor = true
+params_alpha_scissor_threshold = 1.0
+particles_anim_h_frames = 1
+particles_anim_v_frames = 1
+particles_anim_loop = false
+albedo_texture = ExtResource( 1 )
+
+[sub_resource type="QuadMesh" id=2]
+material = SubResource( 1 )
+
+[sub_resource type="Animation" id=6]
+resource_name = "exist"
+tracks/0/type = "method"
+tracks/0/path = NodePath(".")
+tracks/0/interp = 1
+tracks/0/loop_wrap = true
+tracks/0/imported = false
+tracks/0/enabled = true
+tracks/0/keys = {
+"times": PoolRealArray( 0, 1.00172 ),
+"transitions": PoolRealArray( 1, 1 ),
+"values": [ {
+"args": [ ],
+"method": "restart"
+}, {
+"args": [ ],
+"method": "queue_free"
+} ]
+}
+
+[node name="DirtPuff" type="Particles"]
+emitting = false
+amount = 16
+one_shot = true
+explosiveness = 1.0
+process_material = SubResource( 3 )
+draw_pass_1 = SubResource( 2 )
+
+[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
+autoplay = "exist"
+anims/exist = SubResource( 6 )