open-fpsz/weapons/space_gun/projectile_explosion.tscn
2024-04-07 14:25:59 -04:00

40 lines
1.2 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://8atq41j7wd55"]
[ext_resource type="Script" path="res://weapons/space_gun/projectile_explosion.gd" id="1_fp5td"]
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_3mf41"]
spread = 180.0
initial_velocity_min = 12.0
initial_velocity_max = 12.0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wpu51"]
albedo_color = Color(0.819608, 0, 0, 1)
emission_enabled = true
emission = Color(1, 0.254902, 0.109804, 1)
emission_energy_multiplier = 4.0
[sub_resource type="SphereMesh" id="SphereMesh_k3pnh"]
material = SubResource("StandardMaterial3D_wpu51")
[sub_resource type="SphereShape3D" id="SphereShape3D_ou8x6"]
radius = 5.0
[node name="ProjectileExplosion" type="Node3D"]
script = ExtResource("1_fp5td")
[node name="Fire" type="GPUParticles3D" parent="."]
emitting = false
amount = 24
lifetime = 0.5
one_shot = true
explosiveness = 1.0
fixed_fps = 60
process_material = SubResource("ParticleProcessMaterial_3mf41")
draw_pass_1 = SubResource("SphereMesh_k3pnh")
[node name="Area3D" type="Area3D" parent="."]
input_ray_pickable = false
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
shape = SubResource("SphereShape3D_ou8x6")