87 lines
2.9 KiB
Plaintext
87 lines
2.9 KiB
Plaintext
[gd_scene load_steps=15 format=3 uid="uid://5dqpmmbur7v6"]
|
|
|
|
[ext_resource type="Script" uid="uid://rqqeb4ls4tgf" path="res://bullet_decal.gd" id="1_mfh3f"]
|
|
[ext_resource type="Shader" uid="uid://d4ml3kj8ympbf" path="res://bullet_decal_smoke.tres" id="2_nqa4f"]
|
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_q27hx"]
|
|
size = Vector2(0.05, 0.05)
|
|
orientation = 2
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mfh3f"]
|
|
albedo_color = Color(0, 0, 0, 1)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_q27hx"]
|
|
albedo_color = Color(0, 0, 0, 1)
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_mfh3f"]
|
|
direction = Vector3(0, 0, -1)
|
|
initial_velocity_min = 5.0
|
|
initial_velocity_max = 5.0
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_nqa4f"]
|
|
size = Vector3(0.05, 0.05, 0.05)
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_6cwkj"]
|
|
render_priority = 0
|
|
shader = ExtResource("2_nqa4f")
|
|
|
|
[sub_resource type="Curve" id="Curve_nqa4f"]
|
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.60628, 0.717391), -1.24468, -1.24468, 0, 0, Vector2(0.978261, 0), 0.0, 0.0, 0, 0]
|
|
point_count = 3
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_6cwkj"]
|
|
curve = SubResource("Curve_nqa4f")
|
|
|
|
[sub_resource type="Gradient" id="Gradient_mp8ng"]
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_mi8h0"]
|
|
gradient = SubResource("Gradient_mp8ng")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_nqa4f"]
|
|
particle_flag_align_y = true
|
|
particle_flag_rotate_y = true
|
|
angle_min = -180.0
|
|
angle_max = 180.0
|
|
direction = Vector3(0, -1, 1)
|
|
spread = 0.0
|
|
initial_velocity_min = 1.8
|
|
initial_velocity_max = 2.3
|
|
angular_velocity_min = -50.0
|
|
angular_velocity_max = 50.0
|
|
gravity = Vector3(0, 0, 0)
|
|
color_ramp = SubResource("GradientTexture1D_mi8h0")
|
|
alpha_curve = SubResource("CurveTexture_6cwkj")
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_8hcic"]
|
|
|
|
[node name="BulletDecal" type="Node3D"]
|
|
script = ExtResource("1_mfh3f")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, -1, -8.74228e-08, 0, 8.74228e-08, -1, 0, 0, -0.00702295)
|
|
mesh = SubResource("PlaneMesh_q27hx")
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_mfh3f")
|
|
|
|
[node name="GPUParticles3D" type="GPUParticles3D" parent="MeshInstance3D"]
|
|
transform = Transform3D(1, 0, 0, 0, -1, 8.74228e-08, 0, -8.74228e-08, -1, 0, 5.15351e-11, -0.000589493)
|
|
visible = false
|
|
material_override = SubResource("StandardMaterial3D_q27hx")
|
|
emitting = false
|
|
amount = 16
|
|
lifetime = 1.5
|
|
one_shot = true
|
|
explosiveness = 1.0
|
|
process_material = SubResource("ParticleProcessMaterial_mfh3f")
|
|
draw_pass_1 = SubResource("BoxMesh_nqa4f")
|
|
|
|
[node name="GPUParticles3D2" type="GPUParticles3D" parent="MeshInstance3D"]
|
|
material_override = SubResource("ShaderMaterial_6cwkj")
|
|
emitting = false
|
|
amount = 16
|
|
lifetime = 0.5
|
|
one_shot = true
|
|
explosiveness = 0.86
|
|
fixed_fps = 60
|
|
process_material = SubResource("ParticleProcessMaterial_nqa4f")
|
|
draw_pass_1 = SubResource("QuadMesh_8hcic")
|