weapon display
This commit is contained in:
parent
553f8ea77a
commit
8fadd143c3
26 changed files with 491 additions and 46 deletions
80
gui/weapon_display/weapon_display.tscn
Normal file
80
gui/weapon_display/weapon_display.tscn
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://bqdcjq12tbh0s"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://opxpjjslpoc3" path="res://gui/weapon_display/vertical_indicator.tscn" id="1_bwhua"]
|
||||
[ext_resource type="Script" uid="uid://bdjp20eo2uw0d" path="res://gui/weapon_display/weapon_display.gd" id="1_nv6sv"]
|
||||
[ext_resource type="PackedScene" uid="uid://iw76qt0vo57b" path="res://gui/weapon_display/horizontal_indicator.tscn" id="2_hf8mm"]
|
||||
|
||||
[node name="WeaponDisplay" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
script = ExtResource("1_nv6sv")
|
||||
|
||||
[node name="AbilityContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.27265626
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.72734374
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
alignment = 1
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="FirstAbility" parent="AbilityContainer" instance=ExtResource("1_bwhua")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
lookup_slot = &"ability_first"
|
||||
lookup_action = &"plr_active_first"
|
||||
|
||||
[node name="SecondAbility" parent="AbilityContainer" instance=ExtResource("1_bwhua")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
lookup_slot = &"ability_second"
|
||||
lookup_action = &"plr_active_second"
|
||||
|
||||
[node name="ThirdAbility" parent="AbilityContainer" instance=ExtResource("1_bwhua")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
lookup_slot = &"ability_third"
|
||||
lookup_action = &"plr_active_third"
|
||||
|
||||
[node name="WeaponContainer" type="VBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.9359375
|
||||
anchor_top = 0.5138889
|
||||
anchor_right = 0.9898437
|
||||
anchor_bottom = 0.88611114
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 2
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="Primary" parent="WeaponContainer" instance=ExtResource("2_hf8mm")]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
lookup_slot = &"primary"
|
||||
lookup_action = &"plr_primary"
|
||||
|
||||
[node name="Secondary" parent="WeaponContainer" instance=ExtResource("2_hf8mm")]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
lookup_slot = &"secondary"
|
||||
lookup_action = &"plr_secondary"
|
||||
|
||||
[node name="Knife" parent="WeaponContainer" instance=ExtResource("2_hf8mm")]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
lookup_slot = &"knife"
|
||||
lookup_action = &"plr_knife"
|
||||
|
||||
[node name="Bomb" parent="WeaponContainer" instance=ExtResource("2_hf8mm")]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
lookup_slot = &"bomb"
|
||||
lookup_action = &"plr_bomb"
|
||||
Loading…
Add table
Add a link
Reference in a new issue