source: Studio/Player.tscn@ f9161ba

sandbox
Last change on this file since f9161ba was f9161ba, checked in by Kevin Chapman <victory2b@…>, 4 years ago

Made Player Config file

  • Property mode set to 100644
File size: 4.5 KB
Line 
1[gd_scene load_steps=12 format=2]
2
3[ext_resource path="res://Player.gd" type="Script" id=1]
4[ext_resource path="res://Textures/Crosshair/Crosshair.png" type="Texture" id=2]
5[ext_resource path="res://Textures/Interface/Man.png" type="Texture" id=3]
6[ext_resource path="res://Textures/Interface/FallDamage.png" type="Texture" id=4]
7[ext_resource path="res://Camera.gd" type="Script" id=5]
8[ext_resource path="res://Stats/Health/healthbar.tres" type="Theme" id=6]
9[ext_resource path="res://Stats/Stamina/Stamina.tres" type="Theme" id=7]
10[ext_resource path="res://Stats/Mana/manabar.tres" type="Theme" id=8]
11
12[sub_resource type="CapsuleMesh" id=1]
13radius = 0.5
14
15[sub_resource type="CapsuleShape" id=2]
16radius = 0.5
17
18[sub_resource type="Animation" id=3]
19resource_name = "FallDamage"
20length = 0.6
21tracks/0/type = "value"
22tracks/0/path = NodePath("../HUD/Control/FallDamage:modulate")
23tracks/0/interp = 1
24tracks/0/loop_wrap = true
25tracks/0/imported = false
26tracks/0/enabled = true
27tracks/0/keys = {
28"times": PoolRealArray( 0, 0.2, 0.6 ),
29"transitions": PoolRealArray( 1, 1, 1 ),
30"update": 0,
31"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
32}
33
34[node name="Player" type="KinematicBody"]
35transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 8.25497, 0 )
36script = ExtResource( 1 )
37
38[node name="BodyMesh" type="MeshInstance" parent="."]
39transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0 )
40mesh = SubResource( 1 )
41material/0 = null
42
43[node name="BodyCollison" type="CollisionShape" parent="."]
44transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0 )
45shape = SubResource( 2 )
46
47[node name="Head" type="Spatial" parent="."]
48transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.64, 0 )
49
50[node name="Camera" type="Camera" parent="Head"]
51script = ExtResource( 5 )
52
53[node name="AnimationPlayer" type="AnimationPlayer" parent="Head"]
54anims/FallDamage = SubResource( 3 )
55
56[node name="HUD" type="Control" parent="."]
57anchor_right = 1.0
58anchor_bottom = 1.0
59margin_left = -0.33374
60margin_top = -0.314941
61margin_right = 3.66626
62margin_bottom = -0.314941
63__meta__ = {
64"_edit_use_anchors_": false
65}
66
67[node name="Crosshair" type="Control" parent="HUD"]
68anchor_left = 0.5
69anchor_top = 0.5
70anchor_right = 0.5
71anchor_bottom = 0.5
72margin_left = -21.0
73margin_top = -21.0
74margin_right = 21.0
75margin_bottom = 21.0
76__meta__ = {
77"_edit_use_anchors_": false
78}
79
80[node name="Crosshair_Image" type="TextureRect" parent="HUD/Crosshair"]
81anchor_right = 0.5
82anchor_bottom = 0.5
83margin_left = -1.12244
84margin_top = -1.12244
85margin_right = 38.8776
86margin_bottom = 38.8776
87texture = ExtResource( 2 )
88__meta__ = {
89"_edit_use_anchors_": false
90}
91
92[node name="Control" type="Control" parent="HUD"]
93anchor_top = 1.0
94anchor_right = 0.5
95anchor_bottom = 1.0
96margin_left = -0.445442
97margin_top = 542.0
98margin_right = -514.445
99margin_bottom = 542.0
100__meta__ = {
101"_edit_use_anchors_": false
102}
103
104[node name="Man" type="TextureRect" parent="HUD/Control"]
105light_mask = 2
106anchor_right = 0.5
107anchor_bottom = 0.5
108margin_left = 5.89191
109margin_top = -733.919
110margin_right = 107.892
111margin_bottom = -546.919
112texture = ExtResource( 3 )
113__meta__ = {
114"_edit_use_anchors_": false
115}
116
117[node name="FallDamage" type="TextureRect" parent="HUD/Control"]
118modulate = Color( 1, 1, 1, 0 )
119anchor_right = 0.5
120anchor_bottom = 0.5
121margin_left = 22.8588
122margin_top = -573.435
123margin_right = 90.8588
124margin_bottom = -547.435
125texture = ExtResource( 4 )
126__meta__ = {
127"_edit_use_anchors_": false
128}
129
130[node name="HealthBar" type="ProgressBar" parent="HUD/Control"]
131anchor_left = 2.0
132anchor_right = 2.0
133anchor_bottom = 1.0
134margin_left = 744.7
135margin_top = -584.977
136margin_right = 1007.7
137margin_bottom = -555.977
138theme = ExtResource( 6 )
139max_value = 101.6
140value = 100.0
141rounded = true
142percent_visible = false
143__meta__ = {
144"_edit_use_anchors_": false
145}
146
147[node name="StaminaBar" type="ProgressBar" parent="HUD/Control"]
148anchor_left = 2.0
149anchor_right = 2.0
150anchor_bottom = 1.0
151margin_left = 744.653
152margin_top = -619.119
153margin_right = 1007.65
154margin_bottom = -590.119
155size_flags_horizontal = 0
156theme = ExtResource( 7 )
157max_value = 101.6
158value = 100.0
159rounded = true
160percent_visible = false
161__meta__ = {
162"_edit_use_anchors_": false
163}
164
165[node name="ManaBar" type="ProgressBar" parent="HUD/Control"]
166anchor_left = 2.0
167anchor_right = 2.0
168anchor_bottom = 1.0
169margin_left = 744.653
170margin_top = -652.6
171margin_right = 1007.65
172margin_bottom = -623.6
173size_flags_horizontal = 0
174theme = ExtResource( 8 )
175max_value = 101.6
176value = 100.0
177rounded = true
178percent_visible = false
179__meta__ = {
180"_edit_use_anchors_": false
181}
Note: See TracBrowser for help on using the repository browser.