2021-09-08 22:00:32 +02:00
|
|
|
[gd_scene load_steps=11 format=3 uid="uid://d1yx12uryxl26"]
|
2021-08-23 01:57:47 +02:00
|
|
|
|
2021-09-08 22:00:32 +02:00
|
|
|
[ext_resource type="Script" path="res://Assets/Effects/Impact.gd" id="1"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cguy76rs8e220" path="res://Assets/Effects/Flame.png" id="2"]
|
2021-08-23 01:57:47 +02:00
|
|
|
|
2021-09-08 22:00:32 +02:00
|
|
|
[sub_resource type="StandardMaterial3D" id="1"]
|
2021-08-23 01:57:47 +02:00
|
|
|
blend_mode = 1
|
|
|
|
shading_mode = 0
|
|
|
|
vertex_color_use_as_albedo = true
|
2021-09-08 22:00:32 +02:00
|
|
|
albedo_texture = ExtResource( "2" )
|
2021-08-23 01:57:47 +02:00
|
|
|
billboard_mode = 3
|
|
|
|
particles_anim_h_frames = 2
|
|
|
|
particles_anim_v_frames = 2
|
|
|
|
particles_anim_loop = false
|
|
|
|
|
2021-09-08 22:00:32 +02:00
|
|
|
[sub_resource type="QuadMesh" id="2"]
|
|
|
|
material = SubResource( "1" )
|
2021-08-23 01:57:47 +02:00
|
|
|
size = Vector2(0.2, 0.2)
|
|
|
|
|
2021-09-08 22:00:32 +02:00
|
|
|
[sub_resource type="Curve" id="3"]
|
2021-08-23 01:57:47 +02:00
|
|
|
_data = [Vector2(0, 0.981818), 0.0, -1.7826, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
|
|
|
2021-09-08 22:00:32 +02:00
|
|
|
[sub_resource type="Gradient" id="4"]
|
2021-08-23 01:57:47 +02:00
|
|
|
offsets = PackedFloat32Array(0, 0.06, 0.14, 0.26, 0.675, 1)
|
|
|
|
colors = PackedColorArray(1, 1, 1, 1, 1, 0.96283, 0.660156, 1, 1, 0.827423, 0.238281, 1, 1, 0.509949, 0.152344, 1, 0.34375, 0.0725098, 0, 1, 0.035, 0.035, 0.035, 1)
|
|
|
|
|
2021-09-08 22:00:32 +02:00
|
|
|
[sub_resource type="StandardMaterial3D" id="5"]
|
2021-08-23 01:57:47 +02:00
|
|
|
blend_mode = 1
|
|
|
|
shading_mode = 0
|
|
|
|
albedo_color = Color(1, 0, 0.00784314, 1)
|
2021-09-08 22:00:32 +02:00
|
|
|
albedo_texture = ExtResource( "2" )
|
2021-08-23 01:57:47 +02:00
|
|
|
uv1_scale = Vector3(0.5, 0.5, 1)
|
|
|
|
|
2021-09-08 22:00:32 +02:00
|
|
|
[sub_resource type="QuadMesh" id="6"]
|
|
|
|
material = SubResource( "5" )
|
2021-08-23 01:57:47 +02:00
|
|
|
size = Vector2(0.25, 0.25)
|
|
|
|
|
2021-09-08 22:00:32 +02:00
|
|
|
[sub_resource type="Animation" id="7"]
|
2021-08-24 20:56:29 +02:00
|
|
|
length = 0.001
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/path = NodePath("OmniLight3D:light_color")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0),
|
|
|
|
"transitions": PackedFloat32Array(1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [Color(1, 0.929412, 0, 1)]
|
|
|
|
}
|
|
|
|
tracks/1/type = "value"
|
|
|
|
tracks/1/path = NodePath("OmniLight3D:light_energy")
|
|
|
|
tracks/1/interp = 1
|
|
|
|
tracks/1/loop_wrap = true
|
|
|
|
tracks/1/imported = false
|
|
|
|
tracks/1/enabled = true
|
|
|
|
tracks/1/keys = {
|
|
|
|
"times": PackedFloat32Array(0),
|
|
|
|
"transitions": PackedFloat32Array(1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [1.0]
|
|
|
|
}
|
|
|
|
|
2021-09-08 22:00:32 +02:00
|
|
|
[sub_resource type="Animation" id="8"]
|
2021-08-24 20:56:29 +02:00
|
|
|
resource_name = "anim"
|
|
|
|
length = 0.2
|
|
|
|
step = 0.05
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/path = NodePath("OmniLight3D:light_color")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.1, 0.2),
|
|
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [Color(1, 0.905882, 0.34902, 1), Color(0.666667, 0.270588, 0, 1), Color(0, 0, 0, 1)]
|
|
|
|
}
|
|
|
|
tracks/1/type = "value"
|
|
|
|
tracks/1/path = NodePath("OmniLight3D:light_energy")
|
|
|
|
tracks/1/interp = 1
|
|
|
|
tracks/1/loop_wrap = true
|
|
|
|
tracks/1/imported = false
|
|
|
|
tracks/1/enabled = true
|
|
|
|
tracks/1/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
|
|
"transitions": PackedFloat32Array(0.15932, 1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [1.0, 0.0]
|
|
|
|
}
|
|
|
|
|
2021-08-23 01:57:47 +02:00
|
|
|
[node name="Impact" type="Node3D"]
|
2021-09-08 22:00:32 +02:00
|
|
|
script = ExtResource( "1" )
|
2021-08-23 01:57:47 +02:00
|
|
|
|
|
|
|
[node name="CPUParticles3D" type="CPUParticles3D" parent="."]
|
|
|
|
emitting = false
|
|
|
|
amount = 32
|
|
|
|
one_shot = true
|
|
|
|
explosiveness = 1.0
|
|
|
|
local_coords = false
|
2021-09-08 22:00:32 +02:00
|
|
|
mesh = SubResource( "2" )
|
2021-08-23 01:57:47 +02:00
|
|
|
particle_flag_rotate_y = true
|
|
|
|
direction = Vector3(0, 1, 0)
|
|
|
|
spread = 180.0
|
2021-09-08 22:00:32 +02:00
|
|
|
initial_velocity_min = 0.5
|
|
|
|
initial_velocity_max = 4.0
|
|
|
|
scale_amount_curve = SubResource( "3" )
|
|
|
|
color_ramp = SubResource( "4" )
|
|
|
|
anim_offset_max = 1.0
|
2021-08-23 01:57:47 +02:00
|
|
|
script = null
|
|
|
|
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
|
|
wait_time = 15.0
|
|
|
|
one_shot = true
|
|
|
|
autostart = true
|
|
|
|
script = null
|
|
|
|
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0.00379224, 0)
|
2021-09-08 22:00:32 +02:00
|
|
|
mesh = SubResource( "6" )
|
2021-08-23 01:57:47 +02:00
|
|
|
surface_material_override/0 = null
|
|
|
|
script = null
|
|
|
|
|
2021-08-24 20:56:29 +02:00
|
|
|
[node name="OmniLight3D" type="OmniLight3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.369677, 0)
|
|
|
|
light_color = Color(1, 0.929412, 0, 1)
|
|
|
|
omni_attenuation = 2.63902
|
|
|
|
script = null
|
|
|
|
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
|
|
autoplay = "anim"
|
2021-09-08 22:00:32 +02:00
|
|
|
anims/RESET = SubResource( "7" )
|
|
|
|
anims/anim = SubResource( "8" )
|
2021-08-24 20:56:29 +02:00
|
|
|
blend_times = []
|
|
|
|
script = null
|
|
|
|
|
2021-08-23 01:57:47 +02:00
|
|
|
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|