forked from gagdiez/PACgd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Level.tscn
88 lines (61 loc) · 3.31 KB
/
Level.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
[gd_scene load_steps=17 format=3 uid="uid://cnwi2ngjlvso5"]
[ext_resource type="Script" path="res://scripts/Level.gd" id="1"]
[ext_resource type="PackedScene" uid="uid://2vq8cu88dbrd" path="res://addons/PACgd/Cole/Cole.tscn" id="2"]
[ext_resource type="PackedScene" uid="uid://vlst1as5k0ye" path="res://addons/PACgd/Point_and_Click.tscn" id="3"]
[ext_resource type="Script" path="res://scripts/WhiteBox.gd" id="4"]
[ext_resource type="Script" path="res://scripts/Floor.gd" id="5"]
[ext_resource type="Script" path="res://scripts/RedBox.gd" id="6"]
[sub_resource type="BoxShape3D" id="1"]
size = Vector3(19.7233, 0.002, 19.788)
[sub_resource type="NavigationMesh" id="NavigationMesh_wjqf3"]
vertices = PackedVector3Array(0, 0.5, -9.5, -9.5, 0.5, 0, -9.5, 0.5, 9.5, 0, 0.5, 9.5, 9.5, 0.5, 0, 9.5, 0.5, -9.5, 0, 0.5, 9.5, 9.5, 0.5, 9.5, 9.5, 0.5, 0, 0, 0.5, -9.5, -9.5, 0.5, -9.5, -9.5, 0.5, 0)
polygons = [PackedInt32Array(5, 4, 0), PackedInt32Array(0, 4, 3), PackedInt32Array(0, 3, 1), PackedInt32Array(1, 3, 2), PackedInt32Array(8, 7, 6), PackedInt32Array(11, 10, 9)]
[sub_resource type="PlaneMesh" id="3"]
size = Vector2(20, 20)
[sub_resource type="BoxShape3D" id="4"]
[sub_resource type="StandardMaterial3D" id="5"]
albedo_color = Color(0.988235, 0.00392157, 0.00392157, 1)
[sub_resource type="BoxMesh" id="6"]
material = SubResource("5")
[sub_resource type="BoxMesh" id="7"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_obbpb"]
[sub_resource type="Sky" id="Sky_4lsmb"]
sky_material = SubResource("ProceduralSkyMaterial_obbpb")
[sub_resource type="Environment" id="Environment_47tdp"]
background_mode = 2
sky = SubResource("Sky_4lsmb")
ambient_light_color = Color(1, 1, 1, 1)
ambient_light_sky_contribution = 0.9
ambient_light_energy = 10.0
reflected_light_source = 2
[node name="Level" type="Node3D"]
script = ExtResource("1")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5.28896, 13.6301)
[node name="Cole" parent="." instance=ExtResource("2")]
[node name="Floor" type="StaticBody3D" parent="."]
script = ExtResource("5")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Floor"]
shape = SubResource("1")
[node name="Node3D_floor" type="Node3D" parent="."]
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="Node3D_floor"]
navmesh = SubResource("NavigationMesh_wjqf3")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Node3D_floor/NavigationRegion3D"]
mesh = SubResource("3")
[node name="PointClick" parent="." instance=ExtResource("3")]
[node name="Red Box" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.30924, 1.11524, 0)
script = ExtResource("6")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Red Box"]
shape = SubResource("4")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Red Box"]
mesh = SubResource("6")
[node name="White Box" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.35066, 1.11524, 0)
script = ExtResource("4")
[node name="CollisionShape3D" type="CollisionShape3D" parent="White Box"]
shape = SubResource("4")
[node name="MeshInstance3D" type="MeshInstance3D" parent="White Box"]
mesh = SubResource("7")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_47tdp")