grunk/src/equipment/wide_spray/wide_spray.tscn

94 lines
3.6 KiB
Plaintext
Raw Normal View History

2025-03-02 18:26:22 -07:00
[gd_scene load_steps=9 format=3 uid="uid://d2hnxr5l6w2x4"]
[ext_resource type="Script" path="res://src/equipment/wide_spray/wide_spray.gd" id="1_ggkto"]
2025-03-02 18:26:22 -07:00
[ext_resource type="Texture2D" uid="uid://dwavqltjrmupx" path="res://assets/ui/hud/wide_reticle_large.png" id="2_d01sr"]
[ext_resource type="Texture2D" uid="uid://cx28sj02y31kj" path="res://assets/ui/hud/reticle_crosshair.png" id="3_78jy6"]
[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"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cdyoo"]
transparency = 1
shading_mode = 0
vertex_color_use_as_albedo = true
albedo_color = Color(0, 1, 0.301961, 0.254902)
[sub_resource type="PrismMesh" id="PrismMesh_vh2mt"]
material = SubResource("StandardMaterial3D_cdyoo")
size = Vector3(1, 2, 0.2)
2025-03-02 18:26:22 -07:00
[sub_resource type="QuadMesh" id="QuadMesh_lvw1u"]
size = Vector2(2, 2)
[node name="WideSpray" type="Node3D"]
script = ExtResource("1_ggkto")
[node name="SprayCasts" type="Node3D" parent="."]
unique_name_in_owner = true
[node name="RayCast3D" type="RayCast3D" parent="SprayCasts"]
target_position = Vector3(-0.5, 0, -2)
[node name="RayCast3D2" type="RayCast3D" parent="SprayCasts"]
target_position = Vector3(-0.333, 0, -2)
[node name="RayCast3D3" type="RayCast3D" parent="SprayCasts"]
target_position = Vector3(-0.167, 0, -2)
[node name="RayCast3D4" type="RayCast3D" parent="SprayCasts"]
target_position = Vector3(0, 0, -2)
[node name="RayCast3D5" type="RayCast3D" parent="SprayCasts"]
target_position = Vector3(0.167, 0, -2)
[node name="RayCast3D6" type="RayCast3D" parent="SprayCasts"]
target_position = Vector3(0.333, 0, -2)
[node name="RayCast3D7" type="RayCast3D" parent="SprayCasts"]
target_position = Vector3(0.5, 0, -2)
[node name="SprayEffect" type="MeshInstance3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, -4.47035e-08, -1, 0, 1, -4.47035e-08, 0, 0, -1)
2025-03-02 18:26:22 -07:00
visible = false
layers = 2
mesh = SubResource("PrismMesh_vh2mt")
skeleton = NodePath("../../../..")
[node name="Decal" type="Decal" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.47035e-08, -1, 0, 1, -4.47035e-08, 0, 0, -1)
2025-03-02 18:26:22 -07:00
visible = false
size = Vector3(1, 10, 0.2)
texture_albedo = ExtResource("2_d01sr")
cull_mask = 1048573
[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)
size = Vector3(0.2, 2, 0.2)
2025-03-02 18:26:22 -07:00
texture_albedo = ExtResource("5_xo3vu")
cull_mask = 1048573
2025-03-02 18:26:22 -07:00
[node name="DebugMesh" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1.67743)
visible = false
mesh = SubResource("QuadMesh_lvw1u")