open-fpsz/weapons/space_gun/projectile_explosion.tscn

34 lines
1.1 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"]
[ext_resource type="PackedScene" uid="uid://ds1hekx1dq1bg" path="res://components/area_damage_component.tscn" id="2_reyvo"]
[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")
[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="AreaDamageComponent" parent="." instance=ExtResource("2_reyvo")]