186 lines
8.0 KiB
Plaintext
186 lines
8.0 KiB
Plaintext
[gd_scene load_steps=22 format=3 uid="uid://d3bvi8a6k1666"]
|
|
|
|
[ext_resource type="Script" path="res://main.gd" id="1_3tnby"]
|
|
[ext_resource type="PackedScene" uid="uid://s5r5lfwfyfj3" path="res://incomingPipe.tscn" id="1_xhh08"]
|
|
[ext_resource type="PackedScene" uid="uid://bbi7e1swrmjqy" path="res://outgoingPipe.tscn" id="2_smsq3"]
|
|
[ext_resource type="PackedScene" uid="uid://btejh3bgdj3el" path="res://computer_network_endpoint.tscn" id="4_rxmsa"]
|
|
[ext_resource type="PackedScene" uid="uid://dwgsi3ykq6gr" path="res://note.tscn" id="5_2txnr"]
|
|
[ext_resource type="PackedScene" uid="uid://clc5dre31iskm" path="res://addons/godot-xr-tools/xr/start_xr.tscn" id="6_04ur8"]
|
|
[ext_resource type="PackedScene" uid="uid://btknduttnmoxf" path="res://addons/godot-xr-tools/misc/vr_common_shader_cache.tscn" id="7_6e3wc"]
|
|
[ext_resource type="PackedScene" uid="uid://fiul51tsyoop" path="res://addons/godot-xr-tools/functions/function_teleport.tscn" id="8_sdnhf"]
|
|
[ext_resource type="PackedScene" uid="uid://bpdj5njb8nhot" path="res://addons/godot-xr-tools/hands/scenes/highpoly/left_fullglove_hand.tscn" id="9_lbciv"]
|
|
[ext_resource type="PackedScene" uid="uid://diyu06cw06syv" path="res://addons/godot-xr-tools/player/player_body.tscn" id="9_oc356"]
|
|
[ext_resource type="PackedScene" uid="uid://b6bk2pj8vbj28" path="res://addons/godot-xr-tools/functions/movement_turn.tscn" id="10_w86gs"]
|
|
|
|
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_hsfmm"]
|
|
|
|
[sub_resource type="Sky" id="Sky_moihr"]
|
|
sky_material = SubResource("PanoramaSkyMaterial_hsfmm")
|
|
|
|
[sub_resource type="Environment" id="Environment_j8pqa"]
|
|
sky = SubResource("Sky_moihr")
|
|
ambient_light_color = Color(1, 1, 1, 1)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_a2irf"]
|
|
size = Vector3(100, 1, 100)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_w6ymr"]
|
|
size = Vector3(100, 1, 100)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_t6ifk"]
|
|
albedo_color = Color(0.192157, 1, 1, 1)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_sdlf3"]
|
|
size = Vector3(0.01, 0.01, 5)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_5dybt"]
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_pf5t6"]
|
|
material = SubResource("StandardMaterial3D_5dybt")
|
|
size = Vector3(0.1, 0.1, 0.1)
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_8e1pb"]
|
|
height = 1.8
|
|
radius = 0.4
|
|
|
|
[node name="Node3D" type="Node3D"]
|
|
script = ExtResource("1_3tnby")
|
|
|
|
[node name="incoming1" parent="." instance=ExtResource("1_xhh08")]
|
|
transform = Transform3D(0.429158, 0, 0.256561, 0, 0.5, 0, -0.256561, 0, 0.429158, -0.989138, 0.5, -0.816659)
|
|
|
|
[node name="outgoing1" parent="." instance=ExtResource("2_smsq3")]
|
|
transform = Transform3D(0.445828, 0, 0.226358, 0, 0.5, 0, -0.226358, 0, 0.445828, -0.451796, 0.5, -1.14087)
|
|
|
|
[node name="Control" type="Control" parent="."]
|
|
layout_mode = 3
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Line2D" type="Line2D" parent="Control"]
|
|
points = PackedVector2Array(0, -7, 0, -13)
|
|
width = 1.0
|
|
default_color = Color(0, 1, 0, 1)
|
|
|
|
[node name="Line2D3" type="Line2D" parent="Control"]
|
|
points = PackedVector2Array(7, 0, 13, 0)
|
|
width = 1.0
|
|
default_color = Color(0, 1, 0, 1)
|
|
|
|
[node name="Line2D2" type="Line2D" parent="Control"]
|
|
points = PackedVector2Array(-7, 0, -13, 0)
|
|
width = 1.0
|
|
default_color = Color(0, 1, 0, 1)
|
|
|
|
[node name="Line2D4" type="Line2D" parent="Control"]
|
|
points = PackedVector2Array(0, 6, 0, 12)
|
|
width = 1.0
|
|
default_color = Color(0, 1, 0, 1)
|
|
|
|
[node name="incoming3" parent="." instance=ExtResource("1_xhh08")]
|
|
transform = Transform3D(-0.422845, 0, -0.266837, 0, 0.5, 0, 0.266837, 0, -0.422845, 0.982887, 0.5, 1.21519)
|
|
|
|
[node name="outgoing3" parent="." instance=ExtResource("2_smsq3")]
|
|
transform = Transform3D(-0.434532, 0, -0.24735, 0, 0.5, 0, 0.24735, 0, -0.434532, 0.383557, 0.5, 1.51923)
|
|
|
|
[node name="ComputerNetworkEndpoint" parent="." instance=ExtResource("4_rxmsa")]
|
|
transform = Transform3D(-0.245467, 0, 0.435598, 0, 0.5, 0, -0.435598, 0, -0.245467, -1.15133, 0.24067, 0.914988)
|
|
MAC = "a3:14:54:12:55:21"
|
|
IPv4 = "192.168.0.1"
|
|
targetIPv4 = "192.168.0.2"
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
environment = SubResource("Environment_j8pqa")
|
|
|
|
[node name="OmniLight3D" type="OmniLight3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.802708, 3.38195, 0.110003)
|
|
omni_range = 15.157
|
|
|
|
[node name="Floor" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.22032, -1.56734)
|
|
collision_layer = 129
|
|
collision_mask = 129
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Floor"]
|
|
shape = SubResource("BoxShape3D_a2irf")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Floor"]
|
|
mesh = SubResource("BoxMesh_w6ymr")
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_t6ifk")
|
|
|
|
[node name="Note" parent="." instance=ExtResource("5_2txnr")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.68638, 1.3669, -3.39838)
|
|
message = "Your task is to route incoming network packets."
|
|
|
|
[node name="StartXR" parent="." instance=ExtResource("6_04ur8")]
|
|
|
|
[node name="VRCommonShaderCache" parent="." instance=ExtResource("7_6e3wc")]
|
|
|
|
[node name="XROrigin3D" type="XROrigin3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0165855, 0, -0.221281)
|
|
|
|
[node name="XRCamera3D" type="XRCamera3D" parent="XROrigin3D"]
|
|
transform = Transform3D(0.99978, 0, 0.0209599, 0, 1, 0, -0.0209599, 0, 0.99978, -0.859763, 1.54669, 0.428423)
|
|
current = true
|
|
|
|
[node name="LeftHand" type="XRController3D" parent="XROrigin3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1.56734)
|
|
tracker = &"left_hand"
|
|
|
|
[node name="FunctionTeleport" parent="XROrigin3D/LeftHand" instance=ExtResource("8_sdnhf")]
|
|
collision_mask = 1
|
|
|
|
[node name="LeftHand" parent="XROrigin3D/LeftHand" instance=ExtResource("9_lbciv")]
|
|
|
|
[node name="RightHand" type="XRController3D" parent="XROrigin3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1.56734)
|
|
tracker = &"right_hand"
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="XROrigin3D/RightHand"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1.74249)
|
|
mesh = SubResource("BoxMesh_sdlf3")
|
|
skeleton = NodePath("../../XRCamera3D")
|
|
|
|
[node name="HoldPosition" type="Node3D" parent="XROrigin3D/RightHand"]
|
|
|
|
[node name="ActionRay" type="RayCast3D" parent="XROrigin3D/RightHand"]
|
|
target_position = Vector3(0, 0, -5)
|
|
collision_mask = 8192
|
|
collide_with_areas = true
|
|
collide_with_bodies = false
|
|
|
|
[node name="MeshInstance3D2" type="MeshInstance3D" parent="XROrigin3D/RightHand"]
|
|
mesh = SubResource("BoxMesh_pf5t6")
|
|
|
|
[node name="RayCast3D" type="RayCast3D" parent="XROrigin3D/RightHand"]
|
|
target_position = Vector3(0, 0, -5)
|
|
collision_mask = 32
|
|
|
|
[node name="MovementTurn" parent="XROrigin3D/RightHand" instance=ExtResource("10_w86gs")]
|
|
|
|
[node name="PlayerBody" parent="XROrigin3D" instance=ExtResource("9_oc356")]
|
|
collision_mask = 1
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="XROrigin3D/PlayerBody"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
|
|
shape = SubResource("CylinderShape3D_8e1pb")
|
|
|
|
[node name="ComputerNetworkEndpoint2" parent="." instance=ExtResource("4_rxmsa")]
|
|
transform = Transform3D(0.232421, 0, -0.442697, 0, 0.5, 0, 0.442697, 0, 0.232421, 1.17727, 0.2753, -0.466702)
|
|
MAC = "dc:15:c8:87:39:ee"
|
|
IPv4 = "192.168.0.2"
|
|
targetIPv4 = "192.168.0.1"
|
|
|
|
[connection signal="packet_received" from="outgoing1" to="." method="_on_outgoing_1_packet_received"]
|
|
[connection signal="packet_received" from="outgoing3" to="." method="_on_outgoing_3_packet_received"]
|
|
[connection signal="button_pressed" from="XROrigin3D/RightHand" to="." method="_on_right_hand_button_pressed"]
|
|
[connection signal="button_pressed" from="XROrigin3D/RightHand" to="outgoing1" method="_on_right_hand_button_pressed"]
|
|
[connection signal="button_pressed" from="XROrigin3D/RightHand" to="outgoing3" method="_on_right_hand_button_pressed"]
|
|
[connection signal="button_pressed" from="XROrigin3D/RightHand" to="ComputerNetworkEndpoint" method="_on_right_hand_button_pressed"]
|
|
[connection signal="button_released" from="XROrigin3D/RightHand" to="." method="_on_right_hand_button_released"]
|