144 lines
8.9 KiB
Plaintext
144 lines
8.9 KiB
Plaintext
![]() |
[gd_scene load_steps=33 format=3 uid="uid://dxopbum6c606y"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Time/TimeLineManager.cs" id="1_fqnjb"]
|
||
|
[ext_resource type="Resource" uid="uid://ch5nsa6yafs5l" path="res://addons/rokojori_action_library/Runtime/Time/TimeLines/GameTime.tres" id="2_8a660"]
|
||
|
[ext_resource type="Resource" uid="uid://h6oi6vkj4c2m" path="res://addons/rokojori_action_library/Runtime/Time/TimeLines/RealTime.tres" id="3_ori0h"]
|
||
|
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/SensorManager.cs" id="4_pqojn"]
|
||
|
[ext_resource type="Resource" uid="uid://c5rvf5v86ybks" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Default - Keyboard & Mouse.tres" id="5_qye38"]
|
||
|
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Networking/NetworkManager.cs" id="6_ahkyn"]
|
||
|
[ext_resource type="Resource" uid="uid://bv40lrpi3831d" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Gamepad/Default - GamePad.tres" id="6_h5ynn"]
|
||
|
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/VirtualCameras/VirtualCamera3DManager.cs" id="7_18u4o"]
|
||
|
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/VirtualCameras/VirtualCamera3DSlot.cs" id="8_avjil"]
|
||
|
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/VirtualCameras/MouseEditorCamera.cs" id="9_ghh8k"]
|
||
|
[ext_resource type="Resource" uid="uid://cbqyav0cnehoq" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Mouse/Mouse-Button Right.tres" id="10_r5dfa"]
|
||
|
[ext_resource type="Resource" uid="uid://b8u374emi528p" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Mouse/Mouse-Button Middle.tres" id="11_u4sei"]
|
||
|
[ext_resource type="Resource" uid="uid://chwstub7bnlpp" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Mouse/Mouse-Wheel Down.tres" id="12_eg6ds"]
|
||
|
[ext_resource type="Resource" uid="uid://b52horrdbgyaa" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Mouse/Mouse-Wheel Up.tres" id="13_lxun5"]
|
||
|
[ext_resource type="Resource" uid="uid://mbnb46tah4i7" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Movement/Move Forward.tres" id="14_fsy2l"]
|
||
|
[ext_resource type="Resource" uid="uid://c5ueac4xt7oyb" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Movement/Move Back.tres" id="15_5cm44"]
|
||
|
[ext_resource type="Resource" uid="uid://bfxeh1y1vgkiu" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Movement/Strafe Left.tres" id="16_oa0ps"]
|
||
|
[ext_resource type="Resource" uid="uid://bm2d6nhevcjel" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Movement/Strafe Right.tres" id="17_6jhfq"]
|
||
|
[ext_resource type="Resource" uid="uid://ds1rrltuj0mse" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Movement/Fly Up.tres" id="18_o53c6"]
|
||
|
[ext_resource type="Resource" uid="uid://dwigqkllvj8dq" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Movement/Fly Down.tres" id="19_he3xn"]
|
||
|
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Interactions/MultiRayCaster.cs" id="20_ltxsf"]
|
||
|
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Actions/OnProcess.cs" id="21_olxxq"]
|
||
|
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Actions/Node3D/CopyMousePosition.cs" id="22_chuej"]
|
||
|
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Actions/Node3D/LookAt.cs" id="23_po443"]
|
||
|
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Interactions/Pointer.cs" id="24_166ec"]
|
||
|
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Interactions/Interactor.cs" id="25_58gg5"]
|
||
|
[ext_resource type="Resource" uid="uid://dadr1kd14m7g3" path="res://addons/rokojori_action_library/Runtime/Animation/Highlight/Presets/White Outline - Highlight.tres" id="25_otnfg"]
|
||
|
[ext_resource type="Resource" uid="uid://ci42d04kv03yx" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Keyboard & Mouse/Mouse/Mouse-Button Left.tres" id="26_e80jj"]
|
||
|
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Sensors/CombineSensor.cs" id="28_nwwj0"]
|
||
|
[ext_resource type="Script" path="res://addons/rokojori_action_library/Runtime/Interactions/Grabber.cs" id="28_yu5mx"]
|
||
|
[ext_resource type="Resource" uid="uid://dffkdky8iowro" path="res://addons/rokojori_action_library/Runtime/Sensors/Default-Sensors/Gamepad/Buttons/Button A, PS Cross, Nin B.tres" id="30_2qmqr"]
|
||
|
|
||
|
[sub_resource type="Resource" id="Resource_wy0ob"]
|
||
|
script = ExtResource("28_nwwj0")
|
||
|
sensors = [ExtResource("26_e80jj"), ExtResource("30_2qmqr")]
|
||
|
continous = false
|
||
|
_value = 0.0
|
||
|
_wasActive = false
|
||
|
_active = false
|
||
|
_activeTreshold = 0.5
|
||
|
|
||
|
[node name="Application" type="Node3D"]
|
||
|
|
||
|
[node name="TimeLineManager" type="Node" parent="."]
|
||
|
script = ExtResource("1_fqnjb")
|
||
|
timeLines = [ExtResource("2_8a660"), ExtResource("3_ori0h")]
|
||
|
gameTimeTimeLine = ExtResource("2_8a660")
|
||
|
realTimeTimeLine = ExtResource("3_ori0h")
|
||
|
|
||
|
[node name="SensorManager" type="Node" parent="." node_paths=PackedStringArray("autoScanForSensors")]
|
||
|
script = ExtResource("4_pqojn")
|
||
|
sensors = []
|
||
|
sensorGroups = [ExtResource("5_qye38"), ExtResource("6_h5ynn")]
|
||
|
processSensors = true
|
||
|
autoScanForSensors = [NodePath("../Interactions")]
|
||
|
|
||
|
[node name="NetworkManager" type="Node" parent="."]
|
||
|
script = ExtResource("6_ahkyn")
|
||
|
|
||
|
[node name="CameraManager" type="Node" parent="." node_paths=PackedStringArray("camera")]
|
||
|
script = ExtResource("7_18u4o")
|
||
|
camera = NodePath("../Main Camera")
|
||
|
active = true
|
||
|
|
||
|
[node name="Slot 1" type="Node" parent="CameraManager" node_paths=PackedStringArray("camera")]
|
||
|
script = ExtResource("8_avjil")
|
||
|
camera = NodePath("../../Mouse Editor Camera")
|
||
|
priority = 1.0
|
||
|
|
||
|
[node name="Mouse Editor Camera" type="Node3D" parent="."]
|
||
|
transform = Transform3D(1, 0, 0, 0, 0.925637, -0.378405, 0, 0.378405, 0.925637, 0, 3.80405, -9.25637)
|
||
|
script = ExtResource("9_ghh8k")
|
||
|
target = Vector3(0, 0.02, 0)
|
||
|
pitch = 22.235
|
||
|
yawSpeed = -1.0
|
||
|
orbitButton = ExtResource("10_r5dfa")
|
||
|
orbitModifierButtons = []
|
||
|
panSpeedX = 0.005
|
||
|
panSpeedY = 0.005
|
||
|
panButton = ExtResource("11_u4sei")
|
||
|
panModifierButtons = []
|
||
|
zoomInButton = ExtResource("12_eg6ds")
|
||
|
zoomInModifierButtons = []
|
||
|
zoomOutButton = ExtResource("13_lxun5")
|
||
|
zoomOutModifierButtons = []
|
||
|
forwardButton = ExtResource("14_fsy2l")
|
||
|
backwardsButton = ExtResource("15_5cm44")
|
||
|
leftButton = ExtResource("16_oa0ps")
|
||
|
rightButton = ExtResource("17_6jhfq")
|
||
|
upButton = ExtResource("18_o53c6")
|
||
|
downButton = ExtResource("19_he3xn")
|
||
|
|
||
|
[node name="Main Camera" type="Camera3D" parent="."]
|
||
|
transform = Transform3D(-1, 3.30813e-08, -8.0922e-08, 0, 0.92564, 0.378406, 8.74228e-08, 0.378406, -0.92564, 0, 3.80405, -9.25637)
|
||
|
fov = 60.0
|
||
|
|
||
|
[node name="Interactions" type="Node" parent="."]
|
||
|
|
||
|
[node name="RayCaster" type="Node" parent="Interactions"]
|
||
|
|
||
|
[node name="MultiRayCaster" type="Node3D" parent="Interactions/RayCaster"]
|
||
|
transform = Transform3D(0.99992, 0, -0.012627, 0, 1, 0, 0.012627, 0, 0.99992, 0, 0, 14.254)
|
||
|
script = ExtResource("20_ltxsf")
|
||
|
rayLength = 1000.0
|
||
|
|
||
|
[node name="Look At Target" type="Node3D" parent="Interactions/RayCaster"]
|
||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.18, 0, 0)
|
||
|
|
||
|
[node name="Update RayCaster" type="Node" parent="Interactions/RayCaster" node_paths=PackedStringArray("actions")]
|
||
|
script = ExtResource("21_olxxq")
|
||
|
actions = []
|
||
|
executeInEditor = true
|
||
|
|
||
|
[node name="Set RayCaster Position" type="Node" parent="Interactions/RayCaster/Update RayCaster" node_paths=PackedStringArray("camera", "target")]
|
||
|
script = ExtResource("22_chuej")
|
||
|
camera = NodePath("../../../../Main Camera")
|
||
|
target = NodePath("../../MultiRayCaster")
|
||
|
|
||
|
[node name="Set RayCaster Look Target" type="Node" parent="Interactions/RayCaster/Update RayCaster" node_paths=PackedStringArray("camera", "target")]
|
||
|
script = ExtResource("22_chuej")
|
||
|
camera = NodePath("../../../../Main Camera")
|
||
|
depth = 1000.0
|
||
|
target = NodePath("../../Look At Target")
|
||
|
|
||
|
[node name="RayCaster Look At Target" type="Node" parent="Interactions/RayCaster/Update RayCaster" node_paths=PackedStringArray("lookFrom", "lookTarget")]
|
||
|
script = ExtResource("23_po443")
|
||
|
lookFrom = NodePath("../../MultiRayCaster")
|
||
|
lookTarget = NodePath("../../Look At Target")
|
||
|
|
||
|
[node name="Pointer" type="Node3D" parent="Interactions" node_paths=PackedStringArray("caster")]
|
||
|
script = ExtResource("24_166ec")
|
||
|
caster = NodePath("../RayCaster/MultiRayCaster")
|
||
|
defaultHighlighter = ExtResource("25_otnfg")
|
||
|
|
||
|
[node name="Interactor" type="Node3D" parent="Interactions" node_paths=PackedStringArray("pointer")]
|
||
|
script = ExtResource("25_58gg5")
|
||
|
pointer = NodePath("../Pointer")
|
||
|
button = SubResource("Resource_wy0ob")
|
||
|
|
||
|
[node name="Grabber" type="Node3D" parent="Interactions"]
|
||
|
script = ExtResource("28_yu5mx")
|