generated from Persson-dev/Godot-Xmake
67 lines
3.0 KiB
Plaintext
67 lines
3.0 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://d38w4ae3qj0k4"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://ciex3x7rhv1bx" path="res://Scenes/Weapons/steampunk_rifle.tscn" id="1_i6keg"]
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_ky6st"]
|
|
|
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_qjfxs"]
|
|
points = PackedVector3Array(-0.125207, -0.532801, -0.480507, 0.0227831, 0.47607, 0.498884, 0.169713, 0.559144, 0.464172, 0.231051, -0.803591, 0.320455, 0.40741, 0.651043, -0.243523, -0.482789, 0.594843, 0.0822132, -0.362868, -0.682312, 0.289697, 0.469044, -0.654529, -0.0662713, -0.127444, 0.842701, -0.338103, -0.393435, -0.683942, -0.244717, 0.438255, 0.623309, 0.200849, 0.0841477, 0.977454, 0.114795, -0.0682023, -0.976458, -0.12927, 0.20055, -0.563129, -0.451454, -0.185527, 0.595453, -0.453475, -0.273363, 0.592268, 0.407754, -0.00693649, -0.476823, 0.49966, 0.375821, -0.588614, 0.316955, 0.111579, 0.563059, -0.481177, -0.41725, 0.527866, -0.270497, -0.484546, -0.596972, -0.0665097, -0.279747, 0.908561, 0.0533361, -0.250197, -0.880712, 0.205319, 0.263647, -0.902771, -0.127394, 0.293368, 0.871526, -0.157196, 0.373412, -0.526319, -0.328246, 0.499663, 0.476641, -0.00688856, 0.0531056, 0.875001, 0.324703, -0.154543, -0.590854, 0.465879, -0.0972799, -0.782358, -0.398188, -0.387649, -0.498171, 0.31565, -0.30068, -0.587995, -0.388901)
|
|
|
|
[node name="FirstPersonPlayer" type="FirstPersonPlayer"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
mesh = SubResource("CapsuleMesh_ky6st")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("ConvexPolygonShape3D_qjfxs")
|
|
|
|
[node name="Head" type="Node3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.578545, 0)
|
|
|
|
[node name="Camera" type="Camera3D" parent="Head"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 0)
|
|
|
|
[node name="Steampunk Rifle" parent="Head/Camera" instance=ExtResource("1_i6keg")]
|
|
transform = Transform3D(1, 0, 0, 0, 0.998135, -0.0610485, 0, 0.0610485, 0.998135, 0.19, -0.18, -0.55)
|
|
|
|
[node name="UserInterface" type="Control" parent="."]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 1
|
|
|
|
[node name="Crosshair" type="Crosshair" parent="UserInterface"]
|
|
layout_direction = 1
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -20.0
|
|
offset_top = -20.0
|
|
offset_right = 20.0
|
|
offset_bottom = 20.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Top" type="Line2D" parent="UserInterface/Crosshair"]
|
|
points = PackedVector2Array(20, 15, 20, 5)
|
|
width = 2.0
|
|
|
|
[node name="Right" type="Line2D" parent="UserInterface/Crosshair"]
|
|
points = PackedVector2Array(25, 20, 35, 20)
|
|
width = 2.0
|
|
|
|
[node name="Bottom" type="Line2D" parent="UserInterface/Crosshair"]
|
|
points = PackedVector2Array(20, 25, 20, 35)
|
|
width = 2.0
|
|
|
|
[node name="Left" type="Line2D" parent="UserInterface/Crosshair"]
|
|
points = PackedVector2Array(15, 20, 5, 20)
|
|
width = 2.0
|