471 lines
14 KiB
Plaintext
471 lines
14 KiB
Plaintext
[gd_scene load_steps=37 format=3 uid="uid://d1yx12uryxl26"]
|
|
|
|
[ext_resource type="Script" path="res://Assets/Effects/Impact.gd" id="1"]
|
|
[ext_resource type="Texture2D" uid="uid://pnh872qjk0oy" path="res://Assets/Effects/Flame.png" id="2"]
|
|
[ext_resource type="Texture2D" uid="uid://djny4vk6xkldu" path="res://Assets/Effects/BloodParticles_albedo.png" id="2_2kvg4"]
|
|
[ext_resource type="Texture2D" uid="uid://pobhi2vhmdpc" path="res://Assets/Decals/Blood/BloodSplash_normal.png" id="3_7pgtf"]
|
|
[ext_resource type="PackedScene" uid="uid://c5cwnfuw4go1b" path="res://Assets/Audio/SoundPlayer.tscn" id="3_oh3bk"]
|
|
[ext_resource type="Texture2D" uid="uid://cb584onhet4nd" path="res://Assets/Decals/BulletHits/BulletHitConcrete_albedo.png" id="4_6wvg3"]
|
|
[ext_resource type="AudioStream" uid="uid://c847pi2pieg25" path="res://Assets/SFX/Weapons_BulletHitWall_02.wav" id="4_hrtky"]
|
|
[ext_resource type="Texture2D" uid="uid://bs08bclmrvacp" path="res://Assets/Decals/BulletHits/BulletHitConcrete_normal.png" id="5_fr6k3"]
|
|
[ext_resource type="Texture2D" uid="uid://ddncj1g0e27m8" path="res://Assets/Decals/BulletHits/BulletHitConcrete_orm.png" id="6_0nm8w"]
|
|
|
|
[sub_resource type="Gradient" id="Gradient_r04ti"]
|
|
colors = PackedColorArray(1, 0.953311, 0.00532424, 1, 1, 0.411115, 0.0510787, 1)
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_83dg4"]
|
|
gradient = SubResource( "Gradient_r04ti" )
|
|
|
|
[sub_resource type="Gradient" id="Gradient_v0chn"]
|
|
interpolation_mode = 2
|
|
offsets = PackedFloat32Array(0, 0.3, 1)
|
|
colors = PackedColorArray(32, 32, 32, 1, 8, 8, 8, 1, 0, 0, 0, 1)
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_ath7b"]
|
|
gradient = SubResource( "Gradient_v0chn" )
|
|
use_hdr = true
|
|
|
|
[sub_resource type="ParticlesMaterial" id="ParticlesMaterial_0vkfg"]
|
|
lifetime_randomness = 1.0
|
|
direction = Vector3(0, 0, -1)
|
|
spread = 50.0
|
|
initial_velocity_min = 3.0
|
|
initial_velocity_max = 8.0
|
|
damping_min = 1.25
|
|
damping_max = 1.7
|
|
angle_min = -180.0
|
|
angle_max = 180.0
|
|
scale_min = 0.05
|
|
scale_max = 0.07
|
|
color_ramp = SubResource( "GradientTexture1D_ath7b" )
|
|
color_initial_ramp = SubResource( "GradientTexture1D_83dg4" )
|
|
anim_offset_max = 4.0
|
|
sub_emitter_mode = 1
|
|
sub_emitter_frequency = 100.0
|
|
sub_emitter_keep_velocity = true
|
|
collision_enabled = true
|
|
collision_friction = 0.18
|
|
collision_bounce = 0.53
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_8hrx8"]
|
|
blend_mode = 1
|
|
shading_mode = 0
|
|
vertex_color_use_as_albedo = true
|
|
albedo_texture = ExtResource( "2" )
|
|
texture_filter = 1
|
|
disable_receive_shadows = true
|
|
billboard_mode = 3
|
|
particles_anim_h_frames = 2
|
|
particles_anim_v_frames = 2
|
|
particles_anim_loop = false
|
|
proximity_fade_distance = 0.1
|
|
distance_fade_min_distance = 25.0
|
|
distance_fade_max_distance = 50.0
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_opq4v"]
|
|
material = SubResource( "StandardMaterial3D_8hrx8" )
|
|
|
|
[sub_resource type="Gradient" id="Gradient_r8cnd"]
|
|
colors = PackedColorArray(0.832031, 0.832031, 0.832031, 1, 0.19, 0.19, 0.19, 1)
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_lvjfu"]
|
|
gradient = SubResource( "Gradient_r8cnd" )
|
|
|
|
[sub_resource type="Gradient" id="Gradient_33sxj"]
|
|
interpolation_mode = 2
|
|
offsets = PackedFloat32Array(0, 0.640541, 1)
|
|
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0)
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_b2of3"]
|
|
gradient = SubResource( "Gradient_33sxj" )
|
|
|
|
[sub_resource type="ParticlesMaterial" id="ParticlesMaterial_5nrer"]
|
|
lifetime_randomness = 1.0
|
|
direction = Vector3(0, 0, -1)
|
|
spread = 70.0
|
|
initial_velocity_min = 2.0
|
|
initial_velocity_max = 9.0
|
|
damping_min = 1.25
|
|
damping_max = 1.7
|
|
angle_min = -180.0
|
|
angle_max = 180.0
|
|
scale_min = 0.05
|
|
scale_max = 0.07
|
|
color_ramp = SubResource( "GradientTexture1D_b2of3" )
|
|
color_initial_ramp = SubResource( "GradientTexture1D_lvjfu" )
|
|
anim_offset_max = 4.0
|
|
sub_emitter_keep_velocity = true
|
|
collision_enabled = true
|
|
collision_friction = 0.18
|
|
collision_bounce = 0.53
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_o1rug"]
|
|
transparency = 1
|
|
vertex_color_use_as_albedo = true
|
|
albedo_texture = ExtResource( "2_2kvg4" )
|
|
roughness = 0.48
|
|
normal_enabled = true
|
|
normal_texture = ExtResource( "3_7pgtf" )
|
|
texture_filter = 1
|
|
disable_receive_shadows = true
|
|
billboard_mode = 3
|
|
particles_anim_h_frames = 2
|
|
particles_anim_v_frames = 2
|
|
particles_anim_loop = false
|
|
proximity_fade_distance = 0.1
|
|
distance_fade_min_distance = 25.0
|
|
distance_fade_max_distance = 50.0
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_aihhf"]
|
|
material = SubResource( "StandardMaterial3D_o1rug" )
|
|
|
|
[sub_resource type="Gradient" id="Gradient_f4fk5"]
|
|
interpolation_mode = 2
|
|
offsets = PackedFloat32Array(0, 0.00810811, 0.0216216, 1)
|
|
colors = PackedColorArray(0, 0, 0, 1, 0.757812, 0.323246, 0.109859, 1, 0.15625, 0.15625, 0.15625, 1, 0, 0, 0, 1)
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_avcby"]
|
|
gradient = SubResource( "Gradient_f4fk5" )
|
|
use_hdr = true
|
|
|
|
[sub_resource type="Curve" id="Curve_xub2l"]
|
|
_data = [Vector2(0, 0.218182), 0.0, 0.279119, 0, 0, Vector2(0.188295, 0.481818), 1.97776, 1.97776, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_fi5k6"]
|
|
curve = SubResource( "Curve_xub2l" )
|
|
|
|
[sub_resource type="ParticlesMaterial" id="ParticlesMaterial_n8w51"]
|
|
lifetime_randomness = 0.4
|
|
direction = Vector3(0, 0, -1)
|
|
spread = 70.0
|
|
gravity = Vector3(0, 0, 0)
|
|
initial_velocity_min = 2.0
|
|
initial_velocity_max = 6.0
|
|
angular_velocity_min = -5.0
|
|
angular_velocity_max = 5.0
|
|
damping_min = 20.0
|
|
damping_max = 26.0
|
|
angle_min = -180.0
|
|
angle_max = 180.0
|
|
scale_min = 7.0
|
|
scale_max = 8.0
|
|
scale_curve = SubResource( "CurveTexture_fi5k6" )
|
|
color_ramp = SubResource( "GradientTexture1D_avcby" )
|
|
hue_variation_min = -0.01
|
|
hue_variation_max = 0.01
|
|
anim_offset_max = 4.0
|
|
collision_enabled = true
|
|
collision_friction = 1.0
|
|
collision_use_scale = true
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_eernl"]
|
|
blend_mode = 1
|
|
shading_mode = 0
|
|
vertex_color_use_as_albedo = true
|
|
albedo_color = Color(0.419608, 0.419608, 0.419608, 1)
|
|
albedo_texture = ExtResource( "2" )
|
|
disable_receive_shadows = true
|
|
billboard_mode = 3
|
|
particles_anim_h_frames = 2
|
|
particles_anim_v_frames = 2
|
|
particles_anim_loop = false
|
|
proximity_fade_enable = true
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_n7yo0"]
|
|
material = SubResource( "StandardMaterial3D_eernl" )
|
|
|
|
[sub_resource type="StandardMaterial3D" id="5"]
|
|
blend_mode = 1
|
|
shading_mode = 0
|
|
albedo_color = Color(1, 0, 0.00784314, 1)
|
|
albedo_texture = ExtResource( "2" )
|
|
uv1_scale = Vector3(0.5, 0.5, 1)
|
|
|
|
[sub_resource type="QuadMesh" id="6"]
|
|
material = SubResource( "5" )
|
|
size = Vector2(0.25, 0.25)
|
|
|
|
[sub_resource type="Animation" id="7"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("OmniLight3D:light_color")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = 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/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("OmniLight3D:light_energy")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [1.0]
|
|
}
|
|
tracks/2/type = "method"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath("OmniLight3D")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(),
|
|
"transitions": PackedFloat32Array(),
|
|
"values": []
|
|
}
|
|
|
|
[sub_resource type="Animation" id="8"]
|
|
resource_name = "anim"
|
|
length = 0.2
|
|
step = 0.05
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("OmniLight3D:light_color")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = 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/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("OmniLight3D:light_energy")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
"transitions": PackedFloat32Array(0.15932, 1),
|
|
"update": 0,
|
|
"values": [6.0, 0.0]
|
|
}
|
|
tracks/2/type = "method"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath("OmniLight3D")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0.2),
|
|
"transitions": PackedFloat32Array(1),
|
|
"values": [{
|
|
"args": [],
|
|
"method": &"queue_free"
|
|
}]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_itp5v"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("MeshInstance3D:shader_params/o3007790_ANIM")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.5),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [0.0, 1.0]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("Decal:distance_fade_begin")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [20.0]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath("Decal:distance_fade_length")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [10.0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_55he2"]
|
|
resource_name = "Splat"
|
|
length = 15.0
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("MeshInstance3D:shader_params/o3007790_ANIM")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.3),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [0.0, 1.0]
|
|
}
|
|
tracks/1/type = "method"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("MeshInstance3D")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0.3),
|
|
"transitions": PackedFloat32Array(1),
|
|
"values": [{
|
|
"args": [],
|
|
"method": &"queue_free"
|
|
}]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath("Decal:distance_fade_begin")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(5, 15),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [10.0, -10.0]
|
|
}
|
|
tracks/3/type = "value"
|
|
tracks/3/imported = false
|
|
tracks/3/enabled = true
|
|
tracks/3/path = NodePath("Decal:distance_fade_length")
|
|
tracks/3/interp = 1
|
|
tracks/3/loop_wrap = true
|
|
tracks/3/keys = {
|
|
"times": PackedFloat32Array(5, 15),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [10.0, 0.0]
|
|
}
|
|
tracks/4/type = "method"
|
|
tracks/4/imported = false
|
|
tracks/4/enabled = true
|
|
tracks/4/path = NodePath(".")
|
|
tracks/4/interp = 1
|
|
tracks/4/loop_wrap = true
|
|
tracks/4/keys = {
|
|
"times": PackedFloat32Array(15),
|
|
"transitions": PackedFloat32Array(1),
|
|
"values": [{
|
|
"args": [],
|
|
"method": &"queue_free"
|
|
}]
|
|
}
|
|
|
|
[node name="Impact" type="Node3D"]
|
|
script = ExtResource( "1" )
|
|
|
|
[node name="Sparks" type="GPUParticles3D" parent="."]
|
|
layers = 2
|
|
emitting = false
|
|
amount = 12
|
|
lifetime = 0.33
|
|
one_shot = true
|
|
explosiveness = 1.0
|
|
randomness = 0.5
|
|
fixed_fps = 120
|
|
local_coords = false
|
|
trail_length_secs = 0.5
|
|
process_material = SubResource( "ParticlesMaterial_0vkfg" )
|
|
draw_pass_1 = SubResource( "QuadMesh_opq4v" )
|
|
|
|
[node name="Dust" type="GPUParticles3D" parent="."]
|
|
layers = 2
|
|
emitting = false
|
|
amount = 48
|
|
one_shot = true
|
|
explosiveness = 1.0
|
|
randomness = 0.5
|
|
fixed_fps = 0
|
|
local_coords = false
|
|
trail_length_secs = 0.5
|
|
process_material = SubResource( "ParticlesMaterial_5nrer" )
|
|
draw_pass_1 = SubResource( "QuadMesh_aihhf" )
|
|
|
|
[node name="Smoke" type="GPUParticles3D" parent="."]
|
|
layers = 2
|
|
emitting = false
|
|
amount = 3
|
|
lifetime = 2.0
|
|
one_shot = true
|
|
explosiveness = 1.0
|
|
fixed_fps = 0
|
|
local_coords = false
|
|
transform_align = 2
|
|
trail_length_secs = 0.72
|
|
process_material = SubResource( "ParticlesMaterial_n8w51" )
|
|
draw_pass_1 = SubResource( "QuadMesh_n7yo0" )
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
wait_time = 15.0
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 1.06581e-14, 0, -1.06581e-14, 1, 0, 0.00379224, 0)
|
|
visible = false
|
|
mesh = SubResource( "6" )
|
|
surface_material_override/0 = null
|
|
|
|
[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
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
autoplay = "anim"
|
|
anims/RESET = SubResource( "7" )
|
|
anims/anim = SubResource( "8" )
|
|
|
|
[node name="SoundPlayer" parent="." instance=ExtResource( "3_oh3bk" )]
|
|
SoundClip = "res://Assets/SFX/Weapons_BulletHitWall_01.wav"
|
|
AutoPlay = true
|
|
RandomizePitch = 0.1
|
|
|
|
[node name="AudioStreamPlayer3D" parent="SoundPlayer" index="0"]
|
|
stream = ExtResource( "4_hrtky" )
|
|
unit_db = -8.0
|
|
unit_size = 2.0
|
|
autoplay = true
|
|
|
|
[node name="AnimationPlayer2" type="AnimationPlayer" parent="."]
|
|
autoplay = "Splat"
|
|
anims/RESET = SubResource( "Animation_itp5v" )
|
|
anims/Splat = SubResource( "Animation_55he2" )
|
|
|
|
[node name="Decal" type="Decal" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0)
|
|
extents = Vector3(0.1, 0.5, 0.1)
|
|
texture_albedo = ExtResource( "4_6wvg3" )
|
|
texture_normal = ExtResource( "5_fr6k3" )
|
|
texture_orm = ExtResource( "6_0nm8w" )
|
|
upper_fade = 0.00618518
|
|
lower_fade = 0.023084
|
|
distance_fade_enabled = true
|
|
distance_fade_begin = 20.0
|
|
distance_fade_length = 10.0
|
|
cull_mask = 1
|
|
|
|
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|
|
|
|
[editable path="SoundPlayer"]
|