giants-godot/player/Player.tscn

74 lines
2.3 KiB
Plaintext

[gd_scene load_steps=10 format=2]
[ext_resource path="res://player/player_controller.gd" type="Script" id=1]
[ext_resource path="res://addons/LineRenderer/LineRenderer.tscn" type="PackedScene" id=2]
[ext_resource path="res://assets/audio/Sounds/SR_STORB.xx_reaperlev1.gzp.wav" type="AudioStream" id=3]
[ext_resource path="res://characters/latest_reaper/Reaper.tscn" type="PackedScene" id=4]
[ext_resource path="res://ui/rp_ui.tscn" type="PackedScene" id=5]
[ext_resource path="res://ui/rp_shop.tscn" type="PackedScene" id=7]
[sub_resource type="CapsuleShape" id=1]
radius = 0.6
height = 0.148166
[sub_resource type="SpatialMaterial" id=2]
flags_unshaded = true
albedo_color = Color( 0.027451, 0.741176, 0.933333, 1 )
[sub_resource type="SpatialMaterial" id=3]
flags_unshaded = true
albedo_color = Color( 0.933333, 0.580392, 0.027451, 1 )
[node name="Player" type="KinematicBody" groups=[
"Player",
]]
collision_layer = 2
collision_mask = 3
script = ExtResource( 1 )
head_path = NodePath("Head")
cam_path = NodePath("Head/Camera")
walk_speed = 70
jump_height = 100
[node name="Collision" type="CollisionShape" parent="."]
transform = Transform( 10, 0, 0, 0, -4.37114e-07, -25, 0, 10, -1.09278e-06, 0, 5, 0 )
visible = false
shape = SubResource( 1 )
[node name="Head" type="Spatial" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 8.86594, 0 )
[node name="Camera" type="Camera" parent="Head"]
transform = Transform( 1, 0, 0, 0, 0.964262, 0.26495, 0, -0.26495, 0.964262, -5.70624, 5.65266, 15.3897 )
fov = 80.0
far = 10000.0
[node name="UI" parent="." instance=ExtResource( 5 )]
[node name="rp_shop" parent="." instance=ExtResource( 7 )]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
[node name="fps" type="Label" parent="."]
margin_right = 40.0
margin_bottom = 14.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="LineRendererweapon" parent="." instance=ExtResource( 2 )]
visible = false
material_override = SubResource( 2 )
[node name="LineRenderercamera" parent="." instance=ExtResource( 2 )]
visible = false
material_override = SubResource( 3 )
[node name="player_audio" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 3 )
bus = "Sounds"
[node name="Reaper2" parent="." instance=ExtResource( 4 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0 )