they can hear now too
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=23 format=4 uid="uid://b0rkkp07y3fnu"]
|
||||
[gd_scene load_steps=33 format=4 uid="uid://b0rkkp07y3fnu"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bdecyikiye08i" path="res://scripts/die_particles.gd" id="1_frf2k"]
|
||||
[ext_resource type="AudioStream" uid="uid://wd061pl0d7rl" path="res://assets/Audio/deep-low-explosion-SBA-300054677.wav" id="2_ddmln"]
|
||||
@@ -7,6 +7,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://b4s3w1qnqcmgq" path="res://assets/Models/spider1.gunbarrel.albedo.png" id="4_pb8pm"]
|
||||
[ext_resource type="Texture2D" uid="uid://d4l5wf34qdvli" path="res://assets/Models/spider1.turret.png" id="5_hogev"]
|
||||
[ext_resource type="Texture2D" uid="uid://dvq3rjpbugepj" path="res://assets/Models/spider1.turret.roughness1.png" id="6_0fxbp"]
|
||||
[ext_resource type="Texture2D" uid="uid://dn3b6uw8xr63m" path="res://assets/Textures/Smoke/smoketest_v1_0043.png" id="8_taup3"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rgii8"]
|
||||
resource_name = "spider1.turret"
|
||||
@@ -253,6 +254,58 @@ shadow_mesh = SubResource("ArrayMesh_lj803")
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_6s52t"]
|
||||
points = PackedVector3Array(0.0373867, 0.506736, 0.264769, -0.356717, -0.359168, -0.355095, -0.0320077, -0.359938, -0.355895, -0.354628, -0.356682, 0.361267, 0.420766, -0.216171, 0.424228, 0.423749, 0.219941, -0.416246, -0.365389, 0.352423, -0.345166, -0.416466, 0.218879, 0.424331, 0.360266, -0.357965, -0.353736, 0.102349, 0.335027, 0.589588, 0.402901, 0.268555, 0.389875, 0.195153, 0.506736, -0.190996, -0.422081, -0.220248, -0.419715, -0.260721, 0.506736, 0.0369412, 0.358523, -0.35589, 0.360761, -0.0313043, 0.303622, 0.62754, -0.421842, 0.220812, -0.419429, 0.424319, -0.218587, -0.41693, -0.417407, -0.21707, 0.425083, -0.0479629, 0.437309, 0.542168, 0.265281, 0.506736, 0.0369412, 0.0869742, 0.203613, -0.452175, -0.0502516, 0.506736, -0.26119, -0.365015, 0.352134, 0.35648, 0.102079, 0.434188, 0.505107, 0.0358136, 0.235707, 0.625416, 0.355023, 0.353852, -0.363978, 0.419586, 0.218443, 0.423284, 0.358118, 0.356357, 0.360453, -0.350469, 0.353856, -0.36409, -0.208103, 0.506736, 0.176999, -0.208103, 0.506736, -0.17353)
|
||||
|
||||
[sub_resource type="Curve" id="Curve_t6371"]
|
||||
_data = [Vector2(0, 0), 0.0, 1.4, 0, 0, Vector2(0.5, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||
point_count = 3
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_ya0uq"]
|
||||
curve = SubResource("Curve_t6371")
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_5x7p8"]
|
||||
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_8kfxe"]
|
||||
gradient = SubResource("Gradient_5x7p8")
|
||||
|
||||
[sub_resource type="Curve" id="Curve_cecki"]
|
||||
_limits = [-1.0, 1.0, 0.0, 1.0]
|
||||
_data = [Vector2(0, -1), 0.0, 2.8, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_aqpqn"]
|
||||
curve = SubResource("Curve_cecki")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_m0rco"]
|
||||
particle_flag_rotate_y = true
|
||||
emission_shape = 1
|
||||
emission_sphere_radius = 0.1
|
||||
velocity_pivot = Vector3(0, 1, 0)
|
||||
direction = Vector3(1, 1, 1)
|
||||
spread = 180.0
|
||||
initial_velocity_min = 10.0
|
||||
initial_velocity_max = 30.0
|
||||
gravity = Vector3(0, 0.5, 0)
|
||||
scale_min = 0.1
|
||||
color_ramp = SubResource("GradientTexture1D_8kfxe")
|
||||
alpha_curve = SubResource("CurveTexture_ya0uq")
|
||||
hue_variation_curve = SubResource("CurveTexture_aqpqn")
|
||||
turbulence_enabled = true
|
||||
turbulence_noise_strength = 0.0
|
||||
turbulence_noise_scale = 0.5
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_pxrrg"]
|
||||
transparency = 1
|
||||
blend_mode = 1
|
||||
shading_mode = 0
|
||||
albedo_color = Color(1, 1, 1, 0.87451)
|
||||
albedo_texture = ExtResource("8_taup3")
|
||||
billboard_mode = 1
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_0eh43"]
|
||||
material = SubResource("StandardMaterial3D_pxrrg")
|
||||
size = Vector2(10, 10)
|
||||
orientation = 2
|
||||
|
||||
[node name="dieParticles" type="Node3D" node_paths=PackedStringArray("audio_explode") groups=["spawned"]]
|
||||
script = ExtResource("1_frf2k")
|
||||
audio_explode = NodePath("Audio/Die")
|
||||
@@ -301,3 +354,14 @@ skeleton = NodePath("")
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="body"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.03709, 0)
|
||||
shape = SubResource("ConvexPolygonShape3D_6s52t")
|
||||
|
||||
[node name="dieParticles2" type="GPUParticles3D" parent="."]
|
||||
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 0, 0, 0)
|
||||
emitting = false
|
||||
amount = 20
|
||||
lifetime = 4.0
|
||||
one_shot = true
|
||||
explosiveness = 1.0
|
||||
fixed_fps = 60
|
||||
process_material = SubResource("ParticleProcessMaterial_m0rco")
|
||||
draw_pass_1 = SubResource("PlaneMesh_0eh43")
|
||||
|
||||
Reference in New Issue
Block a user