394 lines
16 KiB
Plaintext
394 lines
16 KiB
Plaintext
[gd_scene load_steps=35 format=3 uid="uid://bgocskbofewsr"]
|
|
|
|
[ext_resource type="Script" uid="uid://bm50jiya4s3ei" path="res://scripts/hud.gd" id="1_jiiqi"]
|
|
[ext_resource type="Texture2D" uid="uid://dri0a20l6kpbj" path="res://visuals/images/icon.svg" id="1_k5de2"]
|
|
[ext_resource type="Texture2D" uid="uid://dhw2ao0dimytt" path="res://visuals/images/icons/bomb.png" id="1_t4m7m"]
|
|
[ext_resource type="Script" uid="uid://c85j4kxafibj4" path="res://scripts/trap_display.gd" id="2_l86lr"]
|
|
[ext_resource type="Texture2D" uid="uid://c3ghacgxkqrn7" path="res://visuals/images/icons/player 1 tag.png" id="2_yda1o"]
|
|
[ext_resource type="Texture2D" uid="uid://psxrbfkh3jyq" path="res://visuals/images/icons/force_panel.png" id="2_yful7"]
|
|
[ext_resource type="Texture2D" uid="uid://bwweebntsivfn" path="res://visuals/images/icons/background.png" id="3_e7ody"]
|
|
[ext_resource type="Texture2D" uid="uid://coe2q8jdu47it" path="res://visuals/images/icons/gas.png" id="3_jiiqi"]
|
|
[ext_resource type="Texture2D" uid="uid://btjn353r1qg1q" path="res://visuals/images/icons/player 2 tag.png" id="3_k0acs"]
|
|
[ext_resource type="Texture2D" uid="uid://urh11huy67cs" path="res://visuals/materials/health gradient.tres" id="3_vhta5"]
|
|
[ext_resource type="PackedScene" uid="uid://xk323c0ta2b" path="res://templates/trap_icon.tscn" id="4_aopqe"]
|
|
[ext_resource type="Script" uid="uid://bolw6n14ocxt3" path="res://scripts/healthbar.gd" id="4_iv5le"]
|
|
[ext_resource type="Texture2D" uid="uid://bcv3f38cib5xk" path="res://visuals/images/icons/mine.png" id="4_l86lr"]
|
|
[ext_resource type="Texture2D" uid="uid://cyuylbs0o72xk" path="res://visuals/images/icons/pitfall.png" id="5_aopqe"]
|
|
[ext_resource type="Texture2D" uid="uid://cge3xladgqjp6" path="res://visuals/materials/poison gradient.tres" id="5_jf5vi"]
|
|
[ext_resource type="Texture2D" uid="uid://hiwrcar5fnyk" path="res://visuals/images/icons/switch.png" id="6_e7ody"]
|
|
[ext_resource type="Texture2D" uid="uid://cccpeolat5pk5" path="res://visuals/images/icons/selector.png" id="7_bftxg"]
|
|
[ext_resource type="Texture2D" uid="uid://divrb0alxk567" path="res://visuals/images/icons/trap arrow.png" id="12_bftxg"]
|
|
[ext_resource type="Script" uid="uid://dv3fk1ptmvltg" path="res://scripts/blinker.gd" id="13_bftxg"]
|
|
[ext_resource type="AudioStream" uid="uid://cev1r8gqs7qbj" path="res://audio/sounds/9mm M&P Drop Mag Empty C.wav" id="14_d888c"]
|
|
[ext_resource type="Texture2D" uid="uid://c1g5jy6w66rys" path="res://visuals/images/icons/trap button.png" id="15_wc04a"]
|
|
[ext_resource type="Texture2D" uid="uid://b2tu6cwb6xftx" path="res://visuals/images/icons/lit trap button.png" id="16_aid7k"]
|
|
[ext_resource type="Texture2D" uid="uid://bxs0jj4y4clvv" path="res://visuals/images/icons/detect button.png" id="17_rpucv"]
|
|
[ext_resource type="Texture2D" uid="uid://buh1sm00l81u5" path="res://visuals/images/icons/gun.png" id="18_iv5le"]
|
|
[ext_resource type="Texture2D" uid="uid://bxxm3c2lpmr4f" path="res://visuals/images/icons/lit detect button.png" id="18_yda1o"]
|
|
[ext_resource type="Texture2D" uid="uid://diyks5oxgidoo" path="res://visuals/images/icons/ranged attack button.png" id="19_k0acs"]
|
|
[ext_resource type="Texture2D" uid="uid://0ujjkgwiyveu" path="res://visuals/images/icons/lit ranged attack button.png" id="20_vhta5"]
|
|
[ext_resource type="Texture2D" uid="uid://barbcaa2xvgkk" path="res://visuals/images/icons/switch button.png" id="21_iv5le"]
|
|
[ext_resource type="Script" uid="uid://ci7vc41m5alq5" path="res://scripts/control_display.gd" id="21_jiiqv"]
|
|
[ext_resource type="Texture2D" uid="uid://bd0xwm4wuuiuo" path="res://visuals/images/icons/lit switch button.png" id="22_1ghxf"]
|
|
[ext_resource type="Texture2D" uid="uid://bg0h4l3162pn5" path="res://visuals/images/icons/melee attack button.png" id="28_jf5vi"]
|
|
[ext_resource type="Texture2D" uid="uid://c64lykkbavdmi" path="res://visuals/images/icons/lit melee attack button.png" id="29_deun7"]
|
|
|
|
[sub_resource type="Gradient" id="Gradient_1ghxf"]
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_gomyg"]
|
|
gradient = SubResource("Gradient_1ghxf")
|
|
width = 1
|
|
|
|
[node name="HUD" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_jiiqi")
|
|
|
|
[node name="Control" type="Control" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 10
|
|
anchor_right = 1.0
|
|
grow_horizontal = 2
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="Control"]
|
|
custom_minimum_size = Vector2(0, 200)
|
|
layout_mode = 1
|
|
anchors_preset = 10
|
|
anchor_right = 1.0
|
|
grow_horizontal = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Control/PanelContainer"]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="Control" type="Control" parent="Control/PanelContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(165, 0)
|
|
layout_mode = 2
|
|
|
|
[node name="VBoxContainer2" type="VBoxContainer" parent="Control/PanelContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="Control/PanelContainer/HBoxContainer/VBoxContainer2"]
|
|
custom_minimum_size = Vector2(250, 100)
|
|
layout_mode = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Control/PanelContainer/HBoxContainer/VBoxContainer2/PanelContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 2
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/VBoxContainer2/PanelContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
texture = ExtResource("2_yda1o")
|
|
|
|
[node name="P1HealthBar" type="TextureProgressBar" parent="Control/PanelContainer/HBoxContainer/VBoxContainer2/PanelContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 50)
|
|
layout_mode = 2
|
|
value = 100.0
|
|
nine_patch_stretch = true
|
|
texture_progress = ExtResource("3_vhta5")
|
|
script = ExtResource("4_iv5le")
|
|
healthy_gradient = ExtResource("3_vhta5")
|
|
poisoned_gradient = ExtResource("5_jf5vi")
|
|
|
|
[node name="PanelContainer2" type="PanelContainer" parent="Control/PanelContainer/HBoxContainer/VBoxContainer2"]
|
|
custom_minimum_size = Vector2(250, 100)
|
|
layout_mode = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Control/PanelContainer/HBoxContainer/VBoxContainer2/PanelContainer2"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 2
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/VBoxContainer2/PanelContainer2/VBoxContainer"]
|
|
layout_mode = 2
|
|
texture = ExtResource("3_k0acs")
|
|
|
|
[node name="P2HealthBar" type="TextureProgressBar" parent="Control/PanelContainer/HBoxContainer/VBoxContainer2/PanelContainer2/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(0, 50)
|
|
layout_mode = 2
|
|
value = 100.0
|
|
nine_patch_stretch = true
|
|
texture_progress = ExtResource("3_vhta5")
|
|
script = ExtResource("4_iv5le")
|
|
healthy_gradient = ExtResource("3_vhta5")
|
|
poisoned_gradient = ExtResource("5_jf5vi")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Control/PanelContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(150, 0)
|
|
layout_mode = 2
|
|
|
|
[node name="TrapDisplay" type="PanelContainer" parent="Control/PanelContainer/HBoxContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(220, 100)
|
|
layout_mode = 2
|
|
script = ExtResource("2_l86lr")
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/VBoxContainer/TrapDisplay"]
|
|
layout_mode = 2
|
|
texture = ExtResource("3_e7ody")
|
|
|
|
[node name="Control2" type="Control" parent="Control/PanelContainer/HBoxContainer/VBoxContainer/TrapDisplay"]
|
|
layout_mode = 2
|
|
|
|
[node name="Frame" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/VBoxContainer/TrapDisplay/Control2"]
|
|
clip_children = 1
|
|
layout_mode = 0
|
|
offset_right = 220.0
|
|
offset_bottom = 100.0
|
|
texture = ExtResource("1_t4m7m")
|
|
|
|
[node name="Control" type="Control" parent="Control/PanelContainer/HBoxContainer/VBoxContainer/TrapDisplay/Control2/Frame"]
|
|
anchors_preset = 0
|
|
offset_left = 35.0
|
|
offset_right = 185.0
|
|
offset_bottom = 100.0
|
|
|
|
[node name="TrapsContainer" type="HBoxContainer" parent="Control/PanelContainer/HBoxContainer/VBoxContainer/TrapDisplay/Control2/Frame/Control"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 0
|
|
offset_right = 920.0
|
|
offset_bottom = 100.0
|
|
theme_override_constants/separation = 0
|
|
|
|
[node name="Trap Icon" parent="Control/PanelContainer/HBoxContainer/VBoxContainer/TrapDisplay/Control2/Frame/Control/TrapsContainer" instance=ExtResource("4_aopqe")]
|
|
layout_mode = 2
|
|
|
|
[node name="TextureRect2" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/VBoxContainer/TrapDisplay/Control2/Frame/Control/TrapsContainer"]
|
|
layout_mode = 2
|
|
texture = ExtResource("2_yful7")
|
|
|
|
[node name="TextureRect3" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/VBoxContainer/TrapDisplay/Control2/Frame/Control/TrapsContainer"]
|
|
layout_mode = 2
|
|
texture = ExtResource("3_jiiqi")
|
|
|
|
[node name="TextureRect4" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/VBoxContainer/TrapDisplay/Control2/Frame/Control/TrapsContainer"]
|
|
layout_mode = 2
|
|
texture = ExtResource("4_l86lr")
|
|
|
|
[node name="TextureRect5" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/VBoxContainer/TrapDisplay/Control2/Frame/Control/TrapsContainer"]
|
|
layout_mode = 2
|
|
texture = ExtResource("5_aopqe")
|
|
|
|
[node name="TextureRect6" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/VBoxContainer/TrapDisplay/Control2/Frame/Control/TrapsContainer"]
|
|
layout_mode = 2
|
|
texture = ExtResource("6_e7ody")
|
|
|
|
[node name="Control" type="Control" parent="Control/PanelContainer/HBoxContainer/VBoxContainer/TrapDisplay"]
|
|
layout_mode = 2
|
|
|
|
[node name="Selector" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/VBoxContainer/TrapDisplay/Control"]
|
|
layout_mode = 0
|
|
offset_left = 35.0
|
|
offset_right = 185.0
|
|
offset_bottom = 100.0
|
|
texture = ExtResource("7_bftxg")
|
|
|
|
[node name="LeftArrow" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/VBoxContainer/TrapDisplay/Control"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 0
|
|
offset_left = 3.0
|
|
offset_top = 39.0
|
|
offset_right = 26.0
|
|
offset_bottom = 77.0
|
|
texture = ExtResource("12_bftxg")
|
|
script = ExtResource("13_bftxg")
|
|
|
|
[node name="RightArrow" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/VBoxContainer/TrapDisplay/Control"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 0
|
|
offset_left = 195.0
|
|
offset_top = 39.0
|
|
offset_right = 218.0
|
|
offset_bottom = 77.0
|
|
texture = ExtResource("12_bftxg")
|
|
flip_h = true
|
|
script = ExtResource("13_bftxg")
|
|
|
|
[node name="CycleSound" type="AudioStreamPlayer" parent="Control/PanelContainer/HBoxContainer/VBoxContainer/TrapDisplay"]
|
|
unique_name_in_owner = true
|
|
stream = ExtResource("14_d888c")
|
|
|
|
[node name="AmmoPanel" type="PanelContainer" parent="Control/PanelContainer/HBoxContainer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(150, 100)
|
|
layout_mode = 2
|
|
|
|
[node name="Control" type="Control" parent="Control/PanelContainer/HBoxContainer/VBoxContainer/AmmoPanel"]
|
|
layout_mode = 2
|
|
|
|
[node name="TextureRect2" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/VBoxContainer/AmmoPanel/Control"]
|
|
layout_mode = 0
|
|
offset_left = 128.0
|
|
offset_top = 38.0
|
|
offset_right = 180.0
|
|
offset_bottom = 90.0
|
|
texture = SubResource("GradientTexture1D_gomyg")
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/VBoxContainer/AmmoPanel/Control"]
|
|
layout_mode = 0
|
|
offset_left = 8.0
|
|
offset_top = -25.0
|
|
offset_right = 137.0
|
|
offset_bottom = 104.0
|
|
texture = ExtResource("18_iv5le")
|
|
expand_mode = 1
|
|
|
|
[node name="AmmoLabel" type="Label" parent="Control/PanelContainer/HBoxContainer/VBoxContainer/AmmoPanel/Control"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 0
|
|
offset_left = 141.0
|
|
offset_top = 29.0
|
|
offset_right = 169.0
|
|
offset_bottom = 96.0
|
|
theme_override_font_sizes/font_size = 48
|
|
text = "9"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="OppnentView" type="PanelContainer" parent="Control/PanelContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(150, 0)
|
|
layout_mode = 2
|
|
|
|
[node name="VBoxContainer3" type="VBoxContainer" parent="Control/PanelContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(250, 0)
|
|
layout_mode = 2
|
|
|
|
[node name="PanelContainer3" type="PanelContainer" parent="Control/PanelContainer/HBoxContainer/VBoxContainer3"]
|
|
custom_minimum_size = Vector2(250, 130)
|
|
layout_mode = 2
|
|
|
|
[node name="SubViewportContainer" type="SubViewportContainer" parent="Control/PanelContainer/HBoxContainer/VBoxContainer3/PanelContainer3"]
|
|
layout_mode = 2
|
|
|
|
[node name="SubViewport" type="SubViewport" parent="Control/PanelContainer/HBoxContainer/VBoxContainer3/PanelContainer3/SubViewportContainer"]
|
|
handle_input_locally = false
|
|
scaling_3d_mode = 1
|
|
fsr_sharpness = 2.0
|
|
canvas_item_default_texture_filter = 0
|
|
gui_disable_input = true
|
|
size = Vector2i(250, 130)
|
|
render_target_update_mode = 4
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="Control/PanelContainer/HBoxContainer/VBoxContainer3/PanelContainer3/SubViewportContainer/SubViewport"]
|
|
transform = Transform3D(1, 0, 0, 0, -4.371139e-08, 1, 0, -1, -4.371139e-08, 0, 11000, 0)
|
|
keep_aspect = 0
|
|
projection = 1
|
|
size = 25.0
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Control/PanelContainer/HBoxContainer/VBoxContainer3"]
|
|
custom_minimum_size = Vector2(0, 70)
|
|
layout_mode = 2
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="Control/PanelContainer/HBoxContainer/VBoxContainer3/HBoxContainer"]
|
|
custom_minimum_size = Vector2(150, 0)
|
|
layout_mode = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Control/PanelContainer/HBoxContainer/VBoxContainer3/HBoxContainer/PanelContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="Control/PanelContainer/HBoxContainer/VBoxContainer3/HBoxContainer/PanelContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0, 0.6039216, 1, 1)
|
|
text = "TIME"
|
|
|
|
[node name="Label2" type="Label" parent="Control/PanelContainer/HBoxContainer/VBoxContainer3/HBoxContainer/PanelContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0, 1, 0, 1)
|
|
theme_override_font_sizes/font_size = 32
|
|
text = "00:00:00"
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/VBoxContainer3/HBoxContainer"]
|
|
custom_minimum_size = Vector2(95, 0)
|
|
layout_mode = 2
|
|
texture = ExtResource("1_k5de2")
|
|
expand_mode = 1
|
|
|
|
[node name="Control2" type="Control" parent="Control/PanelContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(165, 0)
|
|
layout_mode = 2
|
|
|
|
[node name="ControlDisplay" type="Control" parent="."]
|
|
unique_name_in_owner = true
|
|
layout_mode = 1
|
|
anchors_preset = 2
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = -200.0
|
|
offset_right = 200.0
|
|
grow_vertical = 0
|
|
script = ExtResource("21_jiiqv")
|
|
|
|
[node name="Trap" type="TextureButton" parent="ControlDisplay"]
|
|
layout_mode = 0
|
|
offset_left = 13.0
|
|
offset_top = 71.0
|
|
offset_right = 77.0
|
|
offset_bottom = 135.0
|
|
mouse_filter = 2
|
|
toggle_mode = true
|
|
button_mask = 0
|
|
texture_normal = ExtResource("15_wc04a")
|
|
texture_pressed = ExtResource("16_aid7k")
|
|
ignore_texture_size = true
|
|
stretch_mode = 0
|
|
|
|
[node name="Detect" type="TextureButton" parent="ControlDisplay"]
|
|
layout_mode = 0
|
|
offset_left = 68.0
|
|
offset_top = 35.0
|
|
offset_right = 132.0
|
|
offset_bottom = 99.0
|
|
mouse_filter = 2
|
|
toggle_mode = true
|
|
button_mask = 0
|
|
texture_normal = ExtResource("17_rpucv")
|
|
texture_pressed = ExtResource("18_yda1o")
|
|
ignore_texture_size = true
|
|
stretch_mode = 0
|
|
|
|
[node name="RangedAttack" type="TextureButton" parent="ControlDisplay"]
|
|
layout_mode = 0
|
|
offset_left = 123.0
|
|
offset_top = 71.0
|
|
offset_right = 187.0
|
|
offset_bottom = 135.0
|
|
mouse_filter = 2
|
|
toggle_mode = true
|
|
button_mask = 0
|
|
texture_normal = ExtResource("19_k0acs")
|
|
texture_pressed = ExtResource("20_vhta5")
|
|
ignore_texture_size = true
|
|
stretch_mode = 0
|
|
|
|
[node name="MeleeAttack" type="TextureButton" parent="ControlDisplay"]
|
|
visible = false
|
|
layout_mode = 0
|
|
offset_left = 123.0
|
|
offset_top = 71.0
|
|
offset_right = 187.0
|
|
offset_bottom = 135.0
|
|
mouse_filter = 2
|
|
toggle_mode = true
|
|
button_mask = 0
|
|
texture_normal = ExtResource("28_jf5vi")
|
|
texture_pressed = ExtResource("29_deun7")
|
|
ignore_texture_size = true
|
|
stretch_mode = 0
|
|
|
|
[node name="Switch" type="TextureButton" parent="ControlDisplay"]
|
|
layout_mode = 0
|
|
offset_left = 68.0
|
|
offset_top = 110.0
|
|
offset_right = 132.0
|
|
offset_bottom = 174.0
|
|
mouse_filter = 2
|
|
toggle_mode = true
|
|
button_mask = 0
|
|
texture_normal = ExtResource("21_iv5le")
|
|
texture_pressed = ExtResource("22_1ghxf")
|
|
ignore_texture_size = true
|
|
stretch_mode = 0
|