mirror of
https://gitlab.com/open-fpsz/open-fpsz.git
synced 2026-01-19 19:44:46 +00:00
49 lines
1.6 KiB
Plaintext
49 lines
1.6 KiB
Plaintext
[gd_scene load_steps=9 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="Curve" id="Curve_rg204"]
|
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_08dbu"]
|
|
curve = SubResource("Curve_rg204")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_3mf41"]
|
|
spread = 180.0
|
|
initial_velocity_min = 12.0
|
|
initial_velocity_max = 12.0
|
|
scale_curve = SubResource("CurveTexture_08dbu")
|
|
|
|
[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_mlo2k"]
|
|
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="AreaDamageComponent" parent="." instance=ExtResource("2_reyvo")]
|
|
damage = 35
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="AreaDamageComponent"]
|
|
shape = SubResource("SphereShape3D_mlo2k")
|