2025-03-06 14:57:57 -07:00
|
|
|
[gd_scene load_steps=12 format=3 uid="uid://d2hnxr5l6w2x4"]
|
2025-03-02 12:00:42 -07:00
|
|
|
|
2025-03-06 16:06:17 -07:00
|
|
|
[ext_resource type="Script" uid="uid://dv40fyim2g2fa" path="res://src/equipment/wide_spray/wide_spray.gd" id="1_ggkto"]
|
2025-03-06 14:57:57 -07:00
|
|
|
[ext_resource type="Material" uid="uid://c00gndxoepuqh" path="res://assets/materials/laser_spray.tres" id="2_26efp"]
|
2025-03-02 18:26:22 -07:00
|
|
|
[ext_resource type="Texture2D" uid="uid://cx28sj02y31kj" path="res://assets/ui/hud/reticle_crosshair.png" id="3_78jy6"]
|
2025-03-06 14:57:57 -07:00
|
|
|
[ext_resource type="PackedScene" uid="uid://b8vradbaw61ga" path="res://src/equipment/laser_cast/laser_cast.tscn" id="3_xahet"]
|
2025-03-02 18:26:22 -07:00
|
|
|
[ext_resource type="Texture2D" uid="uid://carrggw6kp14w" path="res://assets/ui/hud/reticle_left.png" id="4_rotxf"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://wp03nuwt8hp5" path="res://assets/ui/hud/reticle_right.png" id="5_xo3vu"]
|
2025-03-02 12:00:42 -07:00
|
|
|
|
2025-03-06 14:57:57 -07:00
|
|
|
[sub_resource type="CylinderMesh" id="CylinderMesh_48buk"]
|
|
|
|
material = ExtResource("2_26efp")
|
|
|
|
top_radius = 0.0
|
|
|
|
bottom_radius = 0.7
|
|
|
|
radial_segments = 6
|
|
|
|
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_pr4yq"]
|
|
|
|
direction = Vector3(0, 0, -1)
|
|
|
|
spread = 15.0
|
|
|
|
flatness = 0.82
|
2025-03-06 16:13:46 -07:00
|
|
|
initial_velocity_min = 3.5
|
|
|
|
initial_velocity_max = 3.5
|
2025-03-06 14:57:57 -07:00
|
|
|
gravity = Vector3(0, 0, 0)
|
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6k0bn"]
|
2025-03-02 12:00:42 -07:00
|
|
|
vertex_color_use_as_albedo = true
|
2025-03-06 14:57:57 -07:00
|
|
|
albedo_color = Color(0, 1, 0.301961, 0.392157)
|
|
|
|
emission_enabled = true
|
|
|
|
emission = Color(0, 1, 0.301961, 1)
|
|
|
|
emission_energy_multiplier = 10.0
|
|
|
|
texture_filter = 2
|
|
|
|
billboard_mode = 3
|
|
|
|
billboard_keep_scale = true
|
|
|
|
particles_anim_h_frames = 1
|
|
|
|
particles_anim_v_frames = 1
|
|
|
|
particles_anim_loop = false
|
|
|
|
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_trcry"]
|
|
|
|
material = SubResource("StandardMaterial3D_6k0bn")
|
2025-03-06 16:13:46 -07:00
|
|
|
size = Vector2(0.005, 0.005)
|
2025-03-06 14:57:57 -07:00
|
|
|
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_lyk2j"]
|
|
|
|
direction = Vector3(0, 0, -1)
|
|
|
|
spread = 15.0
|
|
|
|
flatness = 0.82
|
2025-03-06 16:13:46 -07:00
|
|
|
initial_velocity_min = 8.0
|
|
|
|
initial_velocity_max = 8.0
|
2025-03-06 14:57:57 -07:00
|
|
|
gravity = Vector3(0, 0, 0)
|
2025-03-02 12:00:42 -07:00
|
|
|
|
|
|
|
[node name="WideSpray" type="Node3D"]
|
|
|
|
script = ExtResource("1_ggkto")
|
|
|
|
|
|
|
|
[node name="SprayCasts" type="Node3D" parent="."]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
2025-03-06 14:57:57 -07:00
|
|
|
[node name="LaserCast" parent="SprayCasts" node_paths=PackedStringArray("parent_tool") instance=ExtResource("3_xahet")]
|
2025-03-02 12:00:42 -07:00
|
|
|
target_position = Vector3(-0.5, 0, -2)
|
2025-03-06 14:57:57 -07:00
|
|
|
parent_tool = NodePath("../..")
|
2025-03-02 12:00:42 -07:00
|
|
|
|
2025-03-06 14:57:57 -07:00
|
|
|
[node name="LaserCast2" parent="SprayCasts" node_paths=PackedStringArray("parent_tool") instance=ExtResource("3_xahet")]
|
2025-03-02 12:00:42 -07:00
|
|
|
target_position = Vector3(-0.333, 0, -2)
|
2025-03-06 14:57:57 -07:00
|
|
|
parent_tool = NodePath("../..")
|
2025-03-02 12:00:42 -07:00
|
|
|
|
2025-03-06 14:57:57 -07:00
|
|
|
[node name="LaserCast3" parent="SprayCasts" node_paths=PackedStringArray("parent_tool") instance=ExtResource("3_xahet")]
|
2025-03-02 12:00:42 -07:00
|
|
|
target_position = Vector3(-0.167, 0, -2)
|
2025-03-06 14:57:57 -07:00
|
|
|
parent_tool = NodePath("../..")
|
2025-03-02 12:00:42 -07:00
|
|
|
|
2025-03-06 14:57:57 -07:00
|
|
|
[node name="LaserCast4" parent="SprayCasts" node_paths=PackedStringArray("parent_tool") instance=ExtResource("3_xahet")]
|
|
|
|
parent_tool = NodePath("../..")
|
2025-03-02 12:00:42 -07:00
|
|
|
|
2025-03-06 14:57:57 -07:00
|
|
|
[node name="LaserCast5" parent="SprayCasts" node_paths=PackedStringArray("parent_tool") instance=ExtResource("3_xahet")]
|
2025-03-02 12:00:42 -07:00
|
|
|
target_position = Vector3(0.167, 0, -2)
|
2025-03-06 14:57:57 -07:00
|
|
|
parent_tool = NodePath("../..")
|
2025-03-02 12:00:42 -07:00
|
|
|
|
2025-03-06 14:57:57 -07:00
|
|
|
[node name="LaserCast6" parent="SprayCasts" node_paths=PackedStringArray("parent_tool") instance=ExtResource("3_xahet")]
|
2025-03-02 12:00:42 -07:00
|
|
|
target_position = Vector3(0.333, 0, -2)
|
2025-03-06 14:57:57 -07:00
|
|
|
parent_tool = NodePath("../..")
|
2025-03-02 12:00:42 -07:00
|
|
|
|
2025-03-06 14:57:57 -07:00
|
|
|
[node name="LaserCast7" parent="SprayCasts" node_paths=PackedStringArray("parent_tool") instance=ExtResource("3_xahet")]
|
2025-03-02 12:00:42 -07:00
|
|
|
target_position = Vector3(0.5, 0, -2)
|
2025-03-06 14:57:57 -07:00
|
|
|
parent_tool = NodePath("../..")
|
2025-03-02 12:00:42 -07:00
|
|
|
|
|
|
|
[node name="SprayEffect" type="MeshInstance3D" parent="."]
|
|
|
|
unique_name_in_owner = true
|
2025-03-06 14:57:57 -07:00
|
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -0.15, 0, 1, -6.55671e-09, 0, 0, -1)
|
2025-03-02 12:00:42 -07:00
|
|
|
layers = 2
|
2025-03-06 14:57:57 -07:00
|
|
|
mesh = SubResource("CylinderMesh_48buk")
|
2025-03-02 18:26:22 -07:00
|
|
|
|
|
|
|
[node name="ReticleDecals" type="Node3D" parent="."]
|
|
|
|
|
|
|
|
[node name="CrosshairDecal" type="Decal" parent="ReticleDecals"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, -1)
|
|
|
|
size = Vector3(0.2, 2, 0.2)
|
|
|
|
texture_albedo = ExtResource("3_78jy6")
|
|
|
|
cull_mask = 1048573
|
|
|
|
|
|
|
|
[node name="LeftPivot" type="Node3D" parent="ReticleDecals"]
|
|
|
|
transform = Transform3D(0.970296, 0, 0.241922, 0, 1, 0, -0.241922, 0, 0.970296, 0, 0, 0)
|
|
|
|
|
|
|
|
[node name="LeftDecal" type="Decal" parent="ReticleDecals/LeftPivot"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, -1)
|
|
|
|
size = Vector3(0.2, 2, 0.2)
|
|
|
|
texture_albedo = ExtResource("4_rotxf")
|
|
|
|
cull_mask = 1048573
|
|
|
|
|
|
|
|
[node name="RightPivot" type="Node3D" parent="ReticleDecals"]
|
|
|
|
transform = Transform3D(0.970296, 0, -0.241922, 0, 1, 0, 0.241922, 0, 0.970296, 0, 0, 0)
|
|
|
|
|
|
|
|
[node name="RightDecal" type="Decal" parent="ReticleDecals/RightPivot"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, -1)
|
2025-03-02 12:00:42 -07:00
|
|
|
size = Vector3(0.2, 2, 0.2)
|
2025-03-02 18:26:22 -07:00
|
|
|
texture_albedo = ExtResource("5_xo3vu")
|
2025-03-02 12:00:42 -07:00
|
|
|
cull_mask = 1048573
|
2025-03-02 18:26:22 -07:00
|
|
|
|
2025-03-06 14:57:57 -07:00
|
|
|
[node name="BeamParticles1" type="GPUParticles3D" parent="."]
|
2025-03-06 16:13:46 -07:00
|
|
|
amount = 16
|
|
|
|
lifetime = 0.5
|
2025-03-06 16:06:17 -07:00
|
|
|
local_coords = true
|
2025-03-06 14:57:57 -07:00
|
|
|
process_material = SubResource("ParticleProcessMaterial_pr4yq")
|
|
|
|
draw_pass_1 = SubResource("QuadMesh_trcry")
|
|
|
|
|
|
|
|
[node name="BeamParticles2" type="GPUParticles3D" parent="."]
|
2025-03-06 16:13:46 -07:00
|
|
|
lifetime = 0.2
|
2025-03-06 16:06:17 -07:00
|
|
|
local_coords = true
|
2025-03-06 14:57:57 -07:00
|
|
|
process_material = SubResource("ParticleProcessMaterial_lyk2j")
|
|
|
|
draw_pass_1 = SubResource("QuadMesh_trcry")
|