broken_seals/game/player/NetworkedPlayer.tscn

41 lines
1.7 KiB
Plaintext
Raw Normal View History

2019-11-20 14:05:35 +01:00
[gd_scene load_steps=6 format=2]
[ext_resource path="res://player/NetworkedPlayer.gd" type="Script" id=1]
[ext_resource path="res://data/models/armature_model_orig_v2.tscn" type="PackedScene" id=2]
[ext_resource path="res://ui/nameplates/NamePlate.tscn" type="PackedScene" id=3]
[sub_resource type="CapsuleShape" id=1]
radius = 0.266582
height = 0.927641
[sub_resource type="BoxShape" id=2]
extents = Vector3( 0.216228, 0.0681041, 0.183397 )
[node name="NetworkedPlayer" type="Entity"]
2020-01-02 23:02:45 +01:00
body_path = NodePath("Body")
character_skeleton_path = NodePath("Body/Rotation_Helper/Model/character")
2019-11-20 14:05:35 +01:00
script = ExtResource( 1 )
2020-01-02 23:02:45 +01:00
[node name="Body" type="KinematicBody" parent="."]
[node name="Body_CollisionShape" type="CollisionShape" parent="Body"]
2019-11-20 14:05:35 +01:00
transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0.8, 0 )
shape = SubResource( 1 )
2020-01-02 23:02:45 +01:00
[node name="Feet_CollisionShape" type="CollisionShape" parent="Body"]
2019-11-20 14:05:35 +01:00
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.194237, 0 )
shape = SubResource( 2 )
2020-01-02 23:02:45 +01:00
[node name="Rotation_Helper" type="Spatial" parent="Body"]
2019-11-20 14:05:35 +01:00
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.960532, 0 )
2020-01-02 23:02:45 +01:00
[node name="Model" type="Spatial" parent="Body/Rotation_Helper"]
2019-11-20 14:05:35 +01:00
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.875205, 0 )
2020-01-02 23:02:45 +01:00
[node name="character" parent="Body/Rotation_Helper/Model" instance=ExtResource( 2 )]
2019-11-20 14:05:35 +01:00
[node name="NamePlate" parent="." instance=ExtResource( 3 )]
2020-01-02 23:02:45 +01:00
name_label_path = NodePath("../../NetworkedPlayerNode/NamePlate/Name")
health_bar_path = NodePath("../../NetworkedPlayerNode/NamePlate/MarginContainer/TextureProgress")
health_bar_label_path = NodePath("../../NetworkedPlayerNode/NamePlate/MarginContainer/CenterContainer/Label")