[gd_scene load_steps=14 format=2] [ext_resource path="res://Player.gd" type="Script" id=1] [ext_resource path="res://Textures/Crosshair/Crosshair.png" type="Texture" id=2] [ext_resource path="res://Textures/Interface/Man.png" type="Texture" id=3] [ext_resource path="res://Textures/Interface/FallDamage.png" type="Texture" id=4] [ext_resource path="res://Camera.gd" type="Script" id=5] [ext_resource path="res://Stats/staminabar.tres" type="Theme" id=6] [ext_resource path="res://Stats/lifeforcebar.tres" type="Theme" id=7] [ext_resource path="res://Stats/manabar.tres" type="Theme" id=8] [ext_resource path="res://Stats/xpbar.tres" type="Theme" id=9] [ext_resource path="res://Stats/healthbar.tres" type="Theme" id=10] [sub_resource type="CapsuleMesh" id=1] radius = 0.5 [sub_resource type="CapsuleShape" id=2] radius = 0.5 [sub_resource type="Animation" id=3] resource_name = "FallDamage" length = 0.6 tracks/0/type = "value" tracks/0/path = NodePath("../HUD/Control/FallDamage:modulate") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 0.2, 0.6 ), "transitions": PoolRealArray( 1, 1, 1 ), "update": 0, "values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] } [node name="Player" type="KinematicBody"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 8.25497, 0 ) script = ExtResource( 1 ) [node name="BodyMesh" type="MeshInstance" parent="."] transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0 ) mesh = SubResource( 1 ) material/0 = null [node name="BodyCollison" type="CollisionShape" parent="."] transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0 ) shape = SubResource( 2 ) [node name="Head" type="Spatial" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.64, 0 ) [node name="Camera" type="Camera" parent="Head"] script = ExtResource( 5 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="Head"] anims/FallDamage = SubResource( 3 ) [node name="HUD" type="Control" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 0.0867312 margin_top = -1.22662 margin_right = 4.08679 margin_bottom = -1.22662 __meta__ = { "_edit_use_anchors_": false } [node name="Crosshair" type="Control" parent="HUD"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -21.0 margin_top = -21.0 margin_right = 21.0 margin_bottom = 21.0 __meta__ = { "_edit_use_anchors_": false } [node name="Crosshair_Image" type="TextureRect" parent="HUD/Crosshair"] anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -1.12244 margin_top = -1.12244 margin_right = 38.8776 margin_bottom = 38.8776 texture = ExtResource( 2 ) __meta__ = { "_edit_use_anchors_": false } [node name="Control" type="Control" parent="HUD"] anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 margin_left = -0.445442 margin_top = 542.0 margin_right = -514.445 margin_bottom = 542.0 __meta__ = { "_edit_use_anchors_": false } [node name="Man" type="TextureRect" parent="HUD/Control"] light_mask = 2 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = 7.61129 margin_top = -771.506 margin_right = 109.611 margin_bottom = -584.506 texture = ExtResource( 3 ) __meta__ = { "_edit_use_anchors_": false } [node name="FallDamage" type="TextureRect" parent="HUD/Control"] modulate = Color( 1, 1, 1, 0 ) anchor_right = 0.5 anchor_bottom = 0.5 margin_left = 24.8588 margin_top = -609.435 margin_right = 92.8588 margin_bottom = -583.435 texture = ExtResource( 4 ) __meta__ = { "_edit_use_anchors_": false } [node name="HealthBar" type="ProgressBar" parent="HUD/Control"] anchor_left = 2.0 anchor_right = 2.0 anchor_bottom = 1.0 margin_left = 744.7 margin_top = -614.977 margin_right = 1007.7 margin_bottom = -585.977 theme = ExtResource( 10 ) max_value = 101.6 value = 100.0 rounded = true percent_visible = false __meta__ = { "_edit_use_anchors_": false } [node name="StaminaBar" type="ProgressBar" parent="HUD/Control"] anchor_left = 2.0 anchor_right = 2.0 anchor_bottom = 1.0 margin_left = 744.653 margin_top = -649.119 margin_right = 1007.65 margin_bottom = -620.119 size_flags_horizontal = 0 theme = ExtResource( 6 ) max_value = 101.6 value = 100.0 rounded = true percent_visible = false __meta__ = { "_edit_use_anchors_": false } [node name="ManaBar" type="ProgressBar" parent="HUD/Control"] anchor_left = 2.0 anchor_right = 2.0 anchor_bottom = 1.0 margin_left = 744.653 margin_top = -682.6 margin_right = 1007.65 margin_bottom = -653.6 size_flags_horizontal = 0 theme = ExtResource( 8 ) max_value = 101.6 value = 100.0 rounded = true percent_visible = false __meta__ = { "_edit_use_anchors_": false } [node name="LifeforceBar" type="ProgressBar" parent="HUD/Control"] anchor_left = 2.0 anchor_right = 2.0 anchor_bottom = 1.0 margin_left = 744.934 margin_top = -580.881 margin_right = 1007.93 margin_bottom = -551.881 size_flags_horizontal = 0 theme = ExtResource( 7 ) max_value = 101.6 value = 100.0 rounded = true percent_visible = false __meta__ = { "_edit_use_anchors_": false } [node name="XPBar" type="ProgressBar" parent="HUD/Control"] anchor_bottom = 0.5 margin_left = 7.99913 margin_top = -580.782 margin_right = 109.999 margin_bottom = -551.782 size_flags_horizontal = 0 theme = ExtResource( 9 ) max_value = 105.0 rounded = true percent_visible = false __meta__ = { "_edit_use_anchors_": false }