Fixed annoying error
This commit is contained in:
parent
100afe5e51
commit
aa1c1c8d64
8 changed files with 38 additions and 49 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=25 format=3 uid="uid://dpsr6ug3pkb40"]
|
||||
[gd_scene load_steps=26 format=3 uid="uid://dpsr6ug3pkb40"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://3dphlay25fih" path="res://scripts/player/player.gd" id="1_g2els"]
|
||||
[ext_resource type="Script" uid="uid://dalwlndejfdhm" path="res://scripts/player/crosshair.gd" id="3_dqkch"]
|
||||
|
|
@ -13,6 +13,7 @@
|
|||
[ext_resource type="Script" uid="uid://3777rkbebgjm" path="res://scripts/state_machine/machine.gd" id="8_f1ej7"]
|
||||
[ext_resource type="PackedScene" uid="uid://c2r8dbudbs7l3" path="res://models/characters/worldmodels/molikman_ingame.glb" id="8_smehm"]
|
||||
[ext_resource type="Script" uid="uid://bv8sgx78s8hwn" path="res://scripts/player/states/crouching.gd" id="9_oprun"]
|
||||
[ext_resource type="Script" uid="uid://dmy6ahci16los" path="res://scripts/debug/inventory_preview.gd" id="9_ownlk"]
|
||||
[ext_resource type="Script" uid="uid://u0e2b2mvij1k" path="res://scripts/player/states/standing.gd" id="10_a8ls1"]
|
||||
[ext_resource type="Script" uid="uid://cwasvwhm5yg0o" path="res://scripts/player/states/walk.gd" id="11_qfm1y"]
|
||||
[ext_resource type="Script" uid="uid://cq4i0afwesdm3" path="res://scripts/player/states/falling.gd" id="12_fulsm"]
|
||||
|
|
@ -199,14 +200,17 @@ layout_mode = 0
|
|||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="HUD/PanelContainer"]
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="HUD/PanelContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Properties" type="VBoxContainer" parent="HUD/PanelContainer/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
script = ExtResource("7_oprun")
|
||||
property_array = Dictionary[NodePath, StringName]({
|
||||
NodePath("../../../BodyStateMachine"): &"current_state",
|
||||
NodePath("../../../WeaponSystem"): &"current_state",
|
||||
NodePath("../../../AnimationPlayer"): &"current_animation"
|
||||
})
|
||||
|
||||
[node name="InventoryPreview" type="Label" parent="HUD/PanelContainer/VBoxContainer2" node_paths=PackedStringArray("inventory")]
|
||||
layout_mode = 2
|
||||
script = ExtResource("9_ownlk")
|
||||
inventory = NodePath("../../../../WeaponSystem")
|
||||
|
||||
[node name="Crosshair" type="Control" parent="HUD"]
|
||||
layout_mode = 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue