383 lines
11 KiB
Plaintext
383 lines
11 KiB
Plaintext
[gd_scene load_steps=38 format=2]
|
|
|
|
[ext_resource path="res://Assets/Effects/CircleHard.svg" type="Texture" id=1]
|
|
[ext_resource path="res://Assets/Effects/CircleSoft.svg" type="Texture" id=2]
|
|
[ext_resource path="res://Assets/Effects/FreeTimer.gd" type="Script" id=3]
|
|
[ext_resource path="res://Classes/Audio/SoundPlayer.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://Assets/Effects/Bullet Holes/4x4 Decal Sheet.glb" type="PackedScene" id=5]
|
|
[ext_resource path="res://Assets/Effects/Bullet Holes/Concrete.tres" type="Material" id=6]
|
|
[ext_resource path="res://Assets/Effects/Bullet Holes/4x4 Decal Sheet.gd" type="Script" id=7]
|
|
[ext_resource path="res://Assets/Effects/ExplosionFlames.png" type="Texture" id=8]
|
|
|
|
[sub_resource type="Animation" id=1]
|
|
resource_name = "Effect"
|
|
length = 5.0
|
|
step = 0.05
|
|
tracks/0/type = "value"
|
|
tracks/0/path = NodePath("Hit:scale")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = false
|
|
tracks/0/keys = {
|
|
"times": PoolRealArray( 0, 0.05, 0.9 ),
|
|
"transitions": PoolRealArray( 1, 1, 1 ),
|
|
"update": 0,
|
|
"values": [ Vector3( 2, 2, 2 ), Vector3( 1, 1, 1 ), Vector3( 0, 0, 0 ) ]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/path = NodePath("ParticlesBlast:emitting")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/keys = {
|
|
"times": PoolRealArray( 0 ),
|
|
"transitions": PoolRealArray( 1 ),
|
|
"update": 1,
|
|
"values": [ true ]
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/path = NodePath("ParticlesSparks:emitting")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/keys = {
|
|
"times": PoolRealArray( 0 ),
|
|
"transitions": PoolRealArray( 1 ),
|
|
"update": 1,
|
|
"values": [ true ]
|
|
}
|
|
tracks/3/type = "value"
|
|
tracks/3/path = NodePath("ParticlesSmoke:emitting")
|
|
tracks/3/interp = 1
|
|
tracks/3/loop_wrap = true
|
|
tracks/3/imported = false
|
|
tracks/3/enabled = true
|
|
tracks/3/keys = {
|
|
"times": PoolRealArray( 0 ),
|
|
"transitions": PoolRealArray( 1 ),
|
|
"update": 1,
|
|
"values": [ true ]
|
|
}
|
|
tracks/4/type = "value"
|
|
tracks/4/path = NodePath("OmniLight:light_color")
|
|
tracks/4/interp = 1
|
|
tracks/4/loop_wrap = true
|
|
tracks/4/imported = false
|
|
tracks/4/enabled = true
|
|
tracks/4/keys = {
|
|
"times": PoolRealArray( 0, 0.05, 0.2, 0.65 ),
|
|
"transitions": PoolRealArray( 1, 1, 1, 1 ),
|
|
"update": 0,
|
|
"values": [ Color( 1, 0.984314, 0.592157, 1 ), Color( 1, 0.784314, 0.0509804, 1 ), Color( 0.356863, 0.207843, 0.0156863, 1 ), Color( 0, 0, 0, 1 ) ]
|
|
}
|
|
tracks/5/type = "value"
|
|
tracks/5/path = NodePath("ParticlesFire:emitting")
|
|
tracks/5/interp = 1
|
|
tracks/5/loop_wrap = true
|
|
tracks/5/imported = false
|
|
tracks/5/enabled = true
|
|
tracks/5/keys = {
|
|
"times": PoolRealArray( 0 ),
|
|
"transitions": PoolRealArray( 1 ),
|
|
"update": 1,
|
|
"values": [ true ]
|
|
}
|
|
|
|
[sub_resource type="SphereMesh" id=2]
|
|
radius = 0.1
|
|
height = 0.2
|
|
radial_segments = 12
|
|
rings = 6
|
|
|
|
[sub_resource type="SpatialMaterial" id=3]
|
|
flags_unshaded = true
|
|
albedo_color = Color( 3.72, 2.12, 0.24, 1 )
|
|
|
|
[sub_resource type="SpatialMaterial" id=4]
|
|
albedo_color = Color( 0, 0, 0, 1 )
|
|
|
|
[sub_resource type="CylinderMesh" id=5]
|
|
material = SubResource( 4 )
|
|
top_radius = 0.001
|
|
bottom_radius = 0.1
|
|
height = 0.02
|
|
radial_segments = 10
|
|
rings = 1
|
|
|
|
[sub_resource type="Gradient" id=6]
|
|
offsets = PoolRealArray( 0, 0.0550459, 0.206422, 1 )
|
|
colors = PoolColorArray( 3, 2.88, 2.07, 1, 0.986328, 0.741326, 0.127144, 1, 0.876953, 0.527703, 0.260345, 1, 0, 0, 0, 1 )
|
|
|
|
[sub_resource type="GradientTexture" id=7]
|
|
gradient = SubResource( 6 )
|
|
|
|
[sub_resource type="Curve" id=33]
|
|
max_value = 4.0
|
|
_data = [ Vector2( 0, 0.164083 ), 0.0, 7.51091, 0, 0, Vector2( 0.980392, 4 ), -0.724165, 0.0, 0, 0 ]
|
|
|
|
[sub_resource type="CurveTexture" id=9]
|
|
curve = SubResource( 33 )
|
|
|
|
[sub_resource type="ParticlesMaterial" id=28]
|
|
lifetime_randomness = 0.9
|
|
spread = 180.0
|
|
gravity = Vector3( 0, 0, 0 )
|
|
radial_accel = 0.07
|
|
angle = 720.0
|
|
angle_random = 1.0
|
|
scale_random = 0.9
|
|
scale_curve = SubResource( 9 )
|
|
color_ramp = SubResource( 7 )
|
|
|
|
[sub_resource type="SpatialMaterial" id=30]
|
|
flags_transparent = true
|
|
flags_unshaded = true
|
|
vertex_color_use_as_albedo = true
|
|
params_specular_mode = 4
|
|
params_blend_mode = 1
|
|
params_billboard_mode = 3
|
|
particles_anim_h_frames = 2
|
|
particles_anim_v_frames = 2
|
|
particles_anim_loop = false
|
|
albedo_color = Color( 3, 3, 3, 1 )
|
|
albedo_texture = ExtResource( 8 )
|
|
proximity_fade_enable = true
|
|
proximity_fade_distance = 0.5
|
|
|
|
[sub_resource type="QuadMesh" id=12]
|
|
material = SubResource( 30 )
|
|
|
|
[sub_resource type="Gradient" id=31]
|
|
offsets = PoolRealArray( 0.0183486, 0.0688073, 0.142202, 0.311927, 1 )
|
|
colors = PoolColorArray( 1, 0.978706, 0.820312, 1, 1, 0.920414, 0.578125, 1, 1, 0.634504, 0.292969, 1, 0.333525, 0.149289, 0.0429934, 1, 0, 0, 0, 1 )
|
|
|
|
[sub_resource type="GradientTexture" id=32]
|
|
gradient = SubResource( 31 )
|
|
|
|
[sub_resource type="ParticlesMaterial" id=34]
|
|
lifetime_randomness = 0.2
|
|
spread = 180.0
|
|
gravity = Vector3( 0, 0, 0 )
|
|
initial_velocity = 8.0
|
|
initial_velocity_random = 0.6
|
|
damping = 32.64
|
|
damping_random = 0.6
|
|
angle = 720.0
|
|
angle_random = 1.0
|
|
scale_random = 0.9
|
|
scale_curve = SubResource( 9 )
|
|
color_ramp = SubResource( 32 )
|
|
|
|
[sub_resource type="SpatialMaterial" id=35]
|
|
flags_transparent = true
|
|
flags_unshaded = true
|
|
vertex_color_use_as_albedo = true
|
|
params_specular_mode = 4
|
|
params_blend_mode = 1
|
|
params_billboard_mode = 3
|
|
particles_anim_h_frames = 2
|
|
particles_anim_v_frames = 2
|
|
particles_anim_loop = false
|
|
albedo_texture = ExtResource( 8 )
|
|
proximity_fade_enable = true
|
|
proximity_fade_distance = 0.5
|
|
|
|
[sub_resource type="QuadMesh" id=36]
|
|
material = SubResource( 35 )
|
|
|
|
[sub_resource type="Gradient" id=14]
|
|
offsets = PoolRealArray( 0, 0.0346021, 0.083045, 0.49481, 1 )
|
|
colors = PoolColorArray( 1, 0.984375, 0.75, 1, 0.933594, 0.694326, 0.12764, 1, 0.963584, 0.38076, 0.069996, 1, 0.439216, 0, 0, 0.176471, 0, 0, 0, 0 )
|
|
|
|
[sub_resource type="GradientTexture" id=15]
|
|
gradient = SubResource( 14 )
|
|
|
|
[sub_resource type="ParticlesMaterial" id=27]
|
|
lifetime_randomness = 0.8
|
|
spread = 180.0
|
|
initial_velocity = 22.0
|
|
initial_velocity_random = 0.3
|
|
damping = 7.82
|
|
damping_random = 0.92
|
|
scale = 0.5
|
|
scale_random = 0.5
|
|
scale_curve = SubResource( 9 )
|
|
color_ramp = SubResource( 15 )
|
|
hue_variation = 0.01
|
|
hue_variation_random = 1.0
|
|
|
|
[sub_resource type="SpatialMaterial" id=17]
|
|
flags_transparent = true
|
|
flags_unshaded = true
|
|
flags_do_not_receive_shadows = true
|
|
vertex_color_use_as_albedo = true
|
|
vertex_color_is_srgb = true
|
|
params_blend_mode = 1
|
|
params_billboard_mode = 3
|
|
params_use_alpha_scissor = true
|
|
params_alpha_scissor_threshold = 0.5
|
|
particles_anim_h_frames = 1
|
|
particles_anim_v_frames = 1
|
|
particles_anim_loop = false
|
|
albedo_color = Color( 4, 4, 4, 1 )
|
|
albedo_texture = ExtResource( 1 )
|
|
|
|
[sub_resource type="QuadMesh" id=18]
|
|
material = SubResource( 17 )
|
|
size = Vector2( 0.05, 0.05 )
|
|
|
|
[sub_resource type="Gradient" id=19]
|
|
offsets = PoolRealArray( 0, 0.0692042, 0.474048, 1 )
|
|
colors = PoolColorArray( 0.756863, 0.756863, 0.756863, 0.329412, 0.598546, 0.598546, 0.598546, 0.512111, 0.504174, 0.504174, 0.504174, 0.223016, 0.431373, 0.431373, 0.431373, 0 )
|
|
|
|
[sub_resource type="GradientTexture" id=20]
|
|
gradient = SubResource( 19 )
|
|
|
|
[sub_resource type="Curve" id=21]
|
|
_data = [ Vector2( 0, 0.278253 ), 0.0, 1.12677, 0, 0, Vector2( 1, 1 ), 0.0, 0.0, 0, 0 ]
|
|
|
|
[sub_resource type="CurveTexture" id=22]
|
|
curve = SubResource( 21 )
|
|
|
|
[sub_resource type="ParticlesMaterial" id=23]
|
|
spread = 180.0
|
|
gravity = Vector3( 0, 0, 0 )
|
|
initial_velocity_random = 0.2
|
|
angular_velocity = 395.12
|
|
angular_velocity_random = 1.0
|
|
damping = 12.0
|
|
damping_random = 0.83
|
|
scale = 4.0
|
|
scale_random = 0.5
|
|
scale_curve = SubResource( 22 )
|
|
color_ramp = SubResource( 20 )
|
|
hue_variation = 0.01
|
|
hue_variation_random = 1.0
|
|
|
|
[sub_resource type="SpatialMaterial" id=24]
|
|
flags_transparent = true
|
|
vertex_color_use_as_albedo = true
|
|
vertex_color_is_srgb = true
|
|
params_billboard_mode = 3
|
|
particles_anim_h_frames = 1
|
|
particles_anim_v_frames = 1
|
|
particles_anim_loop = false
|
|
albedo_texture = ExtResource( 2 )
|
|
proximity_fade_enable = true
|
|
proximity_fade_distance = 2.0
|
|
|
|
[sub_resource type="QuadMesh" id=25]
|
|
material = SubResource( 24 )
|
|
size = Vector2( 3, 3 )
|
|
|
|
[node name="BulletHit" type="Spatial"]
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
autoplay = "Effect"
|
|
anims/Effect = SubResource( 1 )
|
|
|
|
[node name="Hit" type="MeshInstance" parent="."]
|
|
transform = Transform( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 )
|
|
visible = false
|
|
mesh = SubResource( 2 )
|
|
material/0 = SubResource( 3 )
|
|
|
|
[node name="OmniLight" type="OmniLight" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, -1, -4.37114e-08, 0, 4.37114e-08, -1, 0, 0, 0 )
|
|
light_color = Color( 1, 0.984314, 0.592157, 1 )
|
|
light_energy = 1.5
|
|
shadow_enabled = true
|
|
omni_range = 14.0
|
|
|
|
[node name="4x4 Decal Sheet" parent="." instance=ExtResource( 5 )]
|
|
transform = Transform( 0.25, 0, 0, 0, 0.25, 0, 0, 0, 0.25, 0, 0.002, 0 )
|
|
visible = false
|
|
script = ExtResource( 7 )
|
|
|
|
[node name="Decal2" parent="4x4 Decal Sheet" index="0"]
|
|
visible = false
|
|
material/0 = ExtResource( 6 )
|
|
|
|
[node name="Decal3" parent="4x4 Decal Sheet" index="1"]
|
|
visible = false
|
|
material/0 = ExtResource( 6 )
|
|
|
|
[node name="Decal4" parent="4x4 Decal Sheet" index="2"]
|
|
visible = false
|
|
material/0 = ExtResource( 6 )
|
|
|
|
[node name="Decal1" parent="4x4 Decal Sheet" index="3"]
|
|
visible = false
|
|
material/0 = ExtResource( 6 )
|
|
|
|
[node name="Decal" type="MeshInstance" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, -1, -4.37114e-08, 0, 4.37114e-08, -1, 0, 0, 0 )
|
|
visible = false
|
|
mesh = SubResource( 5 )
|
|
material/0 = null
|
|
|
|
[node name="ParticlesBlast" type="Particles" parent="."]
|
|
transform = Transform( -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 0, 0, 0 )
|
|
emitting = false
|
|
amount = 3
|
|
lifetime = 0.25
|
|
one_shot = true
|
|
explosiveness = 1.0
|
|
local_coords = false
|
|
process_material = SubResource( 28 )
|
|
draw_pass_1 = SubResource( 12 )
|
|
|
|
[node name="ParticlesFire" type="Particles" parent="."]
|
|
transform = Transform( -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 0, 0, 0 )
|
|
emitting = false
|
|
amount = 16
|
|
lifetime = 0.75
|
|
one_shot = true
|
|
explosiveness = 1.0
|
|
local_coords = false
|
|
process_material = SubResource( 34 )
|
|
draw_pass_1 = SubResource( 36 )
|
|
|
|
[node name="ParticlesSparks" type="Particles" parent="."]
|
|
transform = Transform( -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 0, 0, 0 )
|
|
emitting = false
|
|
amount = 48
|
|
lifetime = 2.0
|
|
one_shot = true
|
|
explosiveness = 1.0
|
|
randomness = 1.0
|
|
local_coords = false
|
|
process_material = SubResource( 27 )
|
|
draw_pass_1 = SubResource( 18 )
|
|
|
|
[node name="ParticlesSmoke" type="Particles" parent="."]
|
|
transform = Transform( -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 0, 0, 0 )
|
|
emitting = false
|
|
amount = 1
|
|
lifetime = 3.0
|
|
one_shot = true
|
|
explosiveness = 1.0
|
|
local_coords = false
|
|
process_material = SubResource( 23 )
|
|
draw_pass_1 = SubResource( 25 )
|
|
|
|
[node name="FreeTimer" type="Timer" parent="."]
|
|
wait_time = 15.0
|
|
one_shot = true
|
|
autostart = true
|
|
script = ExtResource( 3 )
|
|
__meta__ = {
|
|
"_editor_description_": "Time to delete this scene."
|
|
}
|
|
|
|
[node name="SoundPlayer" parent="." instance=ExtResource( 4 )]
|
|
SoundClip = "res://Assets/SFX/Weapons_BulletHitWall_01.wav"
|
|
AutoPlay = true
|
|
|
|
[connection signal="timeout" from="FreeTimer" to="FreeTimer" method="_on_FreeTimer_timeout"]
|
|
|
|
[editable path="4x4 Decal Sheet"]
|