-
Notifications
You must be signed in to change notification settings - Fork 1
/
Main.tscn
139 lines (99 loc) · 6.78 KB
/
Main.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
[gd_scene load_steps=20 format=2]
[ext_resource path="res://assets/wahooney.itch.io/green_grid.tres" type="Material" id=1]
[ext_resource path="res://addons/godot-openxr/scenes/first_person_controller_vr.tscn" type="PackedScene" id=2]
[ext_resource path="res://addons/godot-xr-tools/hands/scenes/lowpoly/left_hand_low.tscn" type="PackedScene" id=3]
[ext_resource path="res://addons/godot-xr-tools/hands/scenes/lowpoly/right_hand_low.tscn" type="PackedScene" id=4]
[ext_resource path="res://addons/godot-xr-tools/functions/movement_direct.tscn" type="PackedScene" id=5]
[ext_resource path="res://objects/Table.tscn" type="PackedScene" id=6]
[ext_resource path="res://addons/godot-xr-tools/misc/vr_common_shader_cache.tscn" type="PackedScene" id=7]
[ext_resource path="res://addons/godot-xr-tools/functions/movement_turn.tscn" type="PackedScene" id=8]
[ext_resource path="res://addons/godot-xr-tools/functions/function_teleport.tscn" type="PackedScene" id=9]
[ext_resource path="res://addons/godot-xr-tools/player/player_body.tscn" type="PackedScene" id=10]
[ext_resource path="res://objects/part2/Cube.tscn" type="PackedScene" id=11]
[ext_resource path="res://addons/godot-xr-tools/functions/function_pickup.tscn" type="PackedScene" id=12]
[ext_resource path="res://objects/part3/ToolBoard.tscn" type="PackedScene" id=13]
[ext_resource path="res://objects/part3/Axe.tscn" type="PackedScene" id=14]
[ext_resource path="res://objects/part3/Gun.tscn" type="PackedScene" id=15]
[ext_resource path="res://objects/part3/BeltSnapZone.tscn" type="PackedScene" id=16]
[ext_resource path="res://objects/part3/Magazine.tscn" type="PackedScene" id=17]
[sub_resource type="PlaneMesh" id=1]
size = Vector2( 1000, 1000 )
[sub_resource type="BoxShape" id=2]
extents = Vector3( 500, 1, 500 )
[node name="Main" type="Spatial"]
[node name="FPController" parent="." instance=ExtResource( 2 )]
[node name="ARVRCamera" parent="FPController" index="1"]
far = 1000.0
[node name="VRCommonShaderCache" parent="FPController/ARVRCamera" index="0" instance=ExtResource( 7 )]
[node name="LeftHandController" parent="FPController" index="2"]
visible = true
[node name="LeftHand" parent="FPController/LeftHandController" index="0" instance=ExtResource( 3 )]
[node name="FunctionTeleport" parent="FPController/LeftHandController" index="1" instance=ExtResource( 9 )]
[node name="FunctionPickup" parent="FPController/LeftHandController" index="2" instance=ExtResource( 12 )]
ranged_angle = 15.0
[node name="RightHandController" parent="FPController" index="3"]
visible = true
[node name="RightHand" parent="FPController/RightHandController" index="0" instance=ExtResource( 4 )]
[node name="MovementDirect" parent="FPController/RightHandController" index="1" instance=ExtResource( 5 )]
enabled = true
order = 10
max_speed = 10.0
strafe = false
[node name="MovementTurn" parent="FPController/RightHandController" index="2" instance=ExtResource( 8 )]
turn_mode = 2
[node name="FunctionPickup" parent="FPController/RightHandController" index="3" instance=ExtResource( 12 )]
ranged_angle = 15.0
[node name="PlayerBody" parent="FPController" instance=ExtResource( 10 )]
eye_forward_offset = 0.2
[node name="BeltSnapZone01" parent="FPController/PlayerBody" instance=ExtResource( 16 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.3, 1, -0.3 )
[node name="BeltSnapZone02" parent="FPController/PlayerBody" instance=ExtResource( 16 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.3, 1, -0.3 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( -0.866025, 0.383022, 0.321394, 5.61943e-08, -0.642788, 0.766044, 0.5, 0.663414, 0.55667, 0, 5, 0 )
shadow_enabled = true
shadow_bias = 0.01
directional_shadow_split_1 = 0.05
directional_shadow_split_2 = 0.15
directional_shadow_normal_bias = 0.15
directional_shadow_max_distance = 25.0
[node name="Floor" type="StaticBody" parent="."]
[node name="MeshInstance" type="MeshInstance" parent="Floor"]
mesh = SubResource( 1 )
material/0 = ExtResource( 1 )
[node name="CollisionShape" type="CollisionShape" parent="Floor"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0 )
shape = SubResource( 2 )
[node name="Tables" type="Spatial" parent="."]
[node name="Table01" parent="Tables" instance=ExtResource( 6 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, -2 )
[node name="Cube01" parent="Tables/Table01" instance=ExtResource( 11 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2.37623e-08, 1.06276, -0.271809 )
[node name="Cube02" parent="Tables/Table01" instance=ExtResource( 11 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.1888, 1.06276, -0.271809 )
[node name="Cube03" parent="Tables/Table01" instance=ExtResource( 11 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.315299, 1.06276, -0.271809 )
[node name="Cube04" parent="Tables/Table01" instance=ExtResource( 11 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.260241, 1.16977, -0.271809 )
[node name="Table02" parent="Tables" instance=ExtResource( 6 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 2.5, 0, -2 )
[node name="ToolBoard" parent="Tables/Table02" instance=ExtResource( 13 )]
transform = Transform( 0.866025, 0, -0.5, 0, 1, 0, 0.5, 0, 0.866025, -0.232031, 1, -0.0404943 )
[node name="Axe" parent="Tables/Table02" instance=ExtResource( 14 )]
transform = Transform( 0.0241878, -0.030425, 0.999244, 0.999707, 0.00073613, -0.0241766, -5.46039e-10, 0.999537, 0.0304339, 0.28774, 1.03978, -0.106864 )
[node name="Table03" parent="Tables" instance=ExtResource( 6 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -2.5, 0, -2 )
[node name="Gun" parent="Tables/Table03" instance=ExtResource( 15 )]
transform = Transform( -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0, 1, -0.0717173, 1.02886, -0.32474 )
[node name="Magazine01" parent="Tables/Table03" instance=ExtResource( 17 )]
transform = Transform( 1.91069e-15, -4.37114e-08, -1, -1, -4.37114e-08, 0, -4.37114e-08, 1, -4.37114e-08, 0.0949464, 1.0516, -0.310356 )
[node name="Magazine02" parent="Tables/Table03" instance=ExtResource( 17 )]
transform = Transform( 1.91069e-15, -4.37114e-08, -1, -1, -4.37114e-08, 0, -4.37114e-08, 1, -4.37114e-08, 0.160047, 1.0516, -0.310356 )
[node name="Magazine03" parent="Tables/Table03" instance=ExtResource( 17 )]
transform = Transform( 1.91069e-15, -4.37114e-08, -1, -1, -4.37114e-08, 0, -4.37114e-08, 1, -4.37114e-08, 0.223379, 1.0516, -0.310356 )
[node name="Magazine04" parent="Tables/Table03" instance=ExtResource( 17 )]
transform = Transform( 1.91069e-15, -4.37114e-08, -1, -1, -4.37114e-08, 0, -4.37114e-08, 1, -4.37114e-08, 0.288453, 1.0516, -0.310356 )
[node name="Table04" parent="Tables" instance=ExtResource( 6 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -3.5, 0, -2 )
[editable path="FPController"]
[editable path="FPController/PlayerBody"]