43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
[gd_scene format=3 uid="uid://cjwcwlnfcannh"]
|
|
|
|
[ext_resource type="Script" uid="uid://cc6y3jlx8drh5" path="res://addons/Weapons/bullet_sparks.gd" id="1_u7xtr"]
|
|
|
|
[sub_resource type="Curve" id="Curve_u7xtr"]
|
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_cpqpf"]
|
|
curve = SubResource("Curve_u7xtr")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_cpqpf"]
|
|
direction = Vector3(1, 0, 1)
|
|
spread = 67.909
|
|
initial_velocity_min = 5.0
|
|
initial_velocity_max = 10.0
|
|
gravity = Vector3(0, -10, 0)
|
|
scale_curve = SubResource("CurveTexture_cpqpf")
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_u7xtr"]
|
|
transparency = 1
|
|
albedo_color = Color(1, 0.9647059, 0.1764706, 1)
|
|
emission_enabled = true
|
|
emission = Color(0.8980392, 0.6392157, 0, 1)
|
|
emission_energy_multiplier = 5.14
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_cpqpf"]
|
|
material = SubResource("StandardMaterial3D_u7xtr")
|
|
size = Vector3(0.025, 0.025, 0.015)
|
|
|
|
[node name="BulletSparks" type="Node3D" unique_id=395763942]
|
|
|
|
[node name="GPUParticles3D" type="GPUParticles3D" parent="." unique_id=340434318]
|
|
emitting = false
|
|
amount = 30
|
|
lifetime = 0.11
|
|
one_shot = true
|
|
explosiveness = 1.0
|
|
randomness = 1.0
|
|
process_material = SubResource("ParticleProcessMaterial_cpqpf")
|
|
draw_pass_1 = SubResource("BoxMesh_cpqpf")
|
|
script = ExtResource("1_u7xtr")
|