82 lines
3.3 KiB
Plaintext
82 lines
3.3 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://decqqq0og2rlj"]
|
|
|
|
[ext_resource type="Script" uid="uid://bb637mub3kf7j" path="res://test/start_test_1.gd" id="1_mvxhd"]
|
|
[ext_resource type="Texture2D" uid="uid://icwcdyvrtcwe" path="res://test/TestTex1.png" id="2_wx4h4"]
|
|
[ext_resource type="Script" uid="uid://cjiiw7cybj24b" path="res://script/ButtonLogicImpulse.gd" id="3_heqde"]
|
|
[ext_resource type="Script" uid="uid://ymaax1x5fos3" path="res://script/interactBox.gd" id="4_u8s3t"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ext5g"]
|
|
albedo_color = Color(0.11372549, 0.11372549, 0.25882354, 1)
|
|
albedo_texture = ExtResource("2_wx4h4")
|
|
uv1_scale = Vector3(0.25, 0.25, 0.25)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_dn4m7"]
|
|
albedo_color = Color(0.7397895, 2.0094587e-06, 5.7756904e-07, 1)
|
|
albedo_texture = ExtResource("2_wx4h4")
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_8yekt"]
|
|
size = Vector3(4.5, 1, 1)
|
|
|
|
[node name="StartTest" type="Node3D" node_paths=PackedStringArray("Lights")]
|
|
script = ExtResource("1_mvxhd")
|
|
Lights = [NodePath("OmniLight3D")]
|
|
metadata/_custom_type_script = "uid://lmn08s8c5lfo"
|
|
|
|
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0.5, -10)
|
|
material_override = SubResource("StandardMaterial3D_ext5g")
|
|
use_collision = true
|
|
collision_layer = 5
|
|
collision_mask = 0
|
|
|
|
[node name="CSGBox3D" type="CSGBox3D" parent="CSGCombiner3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 2, 10)
|
|
size = Vector3(12, 6, 10)
|
|
|
|
[node name="CSGBox3D2" type="CSGBox3D" parent="CSGCombiner3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.5, 1, 5)
|
|
operation = 2
|
|
size = Vector3(3, 3, 1)
|
|
|
|
[node name="CSGBox3D5" type="CSGBox3D" parent="CSGCombiner3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 1, 9.5)
|
|
operation = 2
|
|
size = Vector3(1, 3, 3)
|
|
|
|
[node name="CSGBox3D4" type="CSGBox3D" parent="CSGCombiner3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.5, 1, 15)
|
|
operation = 2
|
|
size = Vector3(3, 3, 1)
|
|
|
|
[node name="CSGBox3D3" type="CSGBox3D" parent="CSGCombiner3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 2, 10)
|
|
operation = 2
|
|
size = Vector3(11.5, 5, 9.5)
|
|
|
|
[node name="OmniLight3D" type="OmniLight3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.8641336, 2.426403, 0)
|
|
omni_range = 9.494983
|
|
|
|
[node name="CSGBox3D" type="CSGBox3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.719673, -0.45798564, 0.000104904175)
|
|
size = Vector3(4, 1, 8)
|
|
material = SubResource("StandardMaterial3D_dn4m7")
|
|
|
|
[node name="Label3D" type="Label3D" parent="."]
|
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -8.160564, 1.116311, 0)
|
|
text = "Leave Mission"
|
|
font_size = 120
|
|
|
|
[node name="ButtonLogicImpulse" type="Timer" parent="Label3D" node_paths=PackedStringArray("interactBox")]
|
|
script = ExtResource("3_heqde")
|
|
interactBox = NodePath("../InteractBox")
|
|
metadata/_custom_type_script = "uid://cjiiw7cybj24b"
|
|
|
|
[node name="InteractBox" type="Area3D" parent="Label3D" node_paths=PackedStringArray("object")]
|
|
script = ExtResource("4_u8s3t")
|
|
object = NodePath("../ButtonLogicImpulse")
|
|
metadata/_custom_type_script = "uid://ymaax1x5fos3"
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Label3D/InteractBox"]
|
|
shape = SubResource("BoxShape3D_8yekt")
|