-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmain.tscn
More file actions
84 lines (70 loc) · 5.56 KB
/
Copy pathmain.tscn
File metadata and controls
84 lines (70 loc) · 5.56 KB
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
[gd_scene load_steps=8 format=3 uid="uid://cs2yiu4buvf8c"]
[ext_resource type="Script" uid="uid://iauwgi6j1653" path="res://main.gd" id="1_0xm2m"]
[ext_resource type="MeshLibrary" uid="uid://wth3mu8tdbtw" path="res://assets/mesh_library.tres" id="2_0xm2m"]
[ext_resource type="Script" uid="uid://ubfk2a80dhfp" path="res://addons/grid_map_pathfinding/grid_map_pathfinding.gd" id="3_1bvp3"]
[ext_resource type="Texture2D" uid="uid://bggff76i2s7h8" path="res://assets/antz_512.png" id="3_h2yge"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_rxg2q"]
[sub_resource type="Sky" id="Sky_glv2v"]
sky_material = SubResource("ProceduralSkyMaterial_rxg2q")
[sub_resource type="Environment" id="Environment_uu6xs"]
background_mode = 2
sky = SubResource("Sky_glv2v")
[node name="Main" type="Node3D"]
script = ExtResource("1_0xm2m")
end_tile = Vector3i(2, 0, 2)
[node name="GridMap" type="GridMap" parent="."]
mesh_library = ExtResource("2_0xm2m")
cell_size = Vector3(2, 1, 2)
cell_center_y = false
data = {
"cells": PackedInt32Array(65534, 0, 1048576, 0, 0, 1048576, 2, 0, 1048576, 4, 0, 1048576, 4, 2, 1048576, 2, 2, 1048576, 0, 2, 1048576, 65534, 2, 0, 65534, 4, 0, 65534, 6, 0, 65534, 8, 0, 4, 8, 1048576, 65534, 10, 1048576, 6, 10, 1048576, 6, 8, 0, 6, 6, 0, 6, 4, 1048576, 6, 2, 1048576, 6, 0, 0, 2, 8, 1048576, 0, 8, 1048576, 65534, 12, 1048576, 6, 12, 1048576, 65534, 14, 655360, 0, 14, 1048576, 2, 14, 1048576, 4, 14, 1048576, 6, 14, 655360, 8, 2, 655360, 10, 2, 655360, 12, 2, 655360, 12, 4, 655360, 12, 6, 655360, 12, 8, 1048576, 12, 10, 655360, 12, 12, 655360, 12, 14, 1048576, 12, 16, 1048576, 65534, 16, 655360, 65534, 22, 655360, 65534, 24, 655360, 12, 18, 1048576, 12, 20, 655360, 10, 20, 655360, 8, 20, 655360, 6, 20, 655360, 4, 20, 655360, 2, 20, 655360, 0, 20, 655360, 65534, 18, 655360, 65534, 23, 1048576, 65534, 21, 1048576, 65534, 19, 1048576, 65535, 20, 1048576, 1, 20, 1048576, 3, 20, 1048576, 5, 20, 1048576, 7, 20, 1048576, 9, 20, 1048576, 11, 20, 1048576, 12, 19, 1048576, 65534, 13, 1048576, 65535, 13, 1048576, 0, 13, 1048576, 1, 13, 1048576, 2, 13, 1048576, 3, 13, 1048576, 5, 14, 1048576, 5, 13, 1048576, 4, 13, 1048576, 65535, 14, 1048576, 5, 12, 1048576, 6, 13, 1048576, 12, 17, 1048576, 12, 15, 1048576, 12, 11, 1048576, 12, 9, 1048576, 12, 7, 1048576, 12, 5, 1048576, 12, 3, 1048576, 11, 2, 1048576, 9, 2, 1048576, 7, 2, 1048576, 5, 2, 1048576, 3, 2, 1048576, 1, 2, 1048576, 65535, 2, 1048576, 65535, 1, 1048576, 65534, 1, 1048576, 65533, 1, 1048576, 65533, 0, 1048576, 65535, 0, 1048576, 1, 0, 1048576, 3, 0, 1048576, 5, 0, 1048576, 5, 1, 1048576, 6, 1, 1048576, 2, 1, 1048576, 3, 1, 1048576, 4, 1, 1048576, 1, 1, 1048576, 0, 1, 1048576, 65533, 2, 1048576, 65533, 3, 1048576, 65533, 4, 1048576, 65533, 5, 1048576, 65533, 6, 1048576, 65533, 7, 1048576, 65533, 8, 1048576, 65533, 10, 1048576, 65535, 8, 1048576, 1, 8, 1048576, 3, 8, 1048576, 5, 8, 1048576, 5, 11, 1048576, 5, 10, 1048576, 5, 9, 1048576, 6, 9, 1048576, 6, 11, 1048576, 65534, 11, 1048576, 65534, 9, 1048576, 65534, 7, 1048576, 65535, 7, 1048576, 0, 7, 1048576, 1, 7, 1048576, 2, 7, 1048576, 3, 7, 1048576, 4, 7, 1048576, 5, 7, 1048576, 6, 7, 1048576, 65534, 3, 1048576, 65534, 5, 1048576, 5, 6, 1048576, 6, 5, 1048576, 5, 4, 1048576, 6, 3, 1048576, 5, 3, 1048576, 5, 5, 1048576, 65535, 9, 1, 0, 9, 1, 65535, 10, 1, 65535, 11, 1, 65535, 12, 1, 0, 12, 1, 1, 12, 1, 2, 12, 1, 3, 12, 1, 4, 12, 1, 4, 11, 1, 4, 10, 1, 4, 9, 1, 3, 9, 1, 2, 9, 1, 1, 9, 1, 65535, 3, 1, 65535, 4, 1, 65535, 5, 1, 0, 6, 1, 65535, 6, 1, 1, 6, 1, 2, 6, 1, 3, 6, 1, 4, 6, 1, 4, 5, 1, 4, 4, 1, 4, 3, 1, 3, 3, 1, 2, 3, 1, 1, 3, 1, 0, 3, 1, 2, 18, 1, 2, 17, 1, 2, 16, 1, 2, 15, 1, 0, 10, 2, 1, 10, 2, 2, 10, 2, 3, 10, 655362, 0, 4, 655362, 1, 4, 655362, 2, 4, 655362, 3, 4, 655362, 65533, 12, 1048576, 65533, 9, 1048576, 65533, 11, 1048576, 65533, 13, 1048576, 65533, 14, 1048576, 65534, 15, 1048576, 2, 19, 1, 65534, 20, 655360, 3, 14, 1048576, 65534, 17, 0, 12, 13, 0, 1, 14, 1048576)
}
script = ExtResource("3_1bvp3")
walkable_items = Array[int]([0])
debug_start_cell = Vector3i(-2, 0, 13)
debug_end_cell = Vector3i(7, 0, 2)
metadata/_custom_type_script = "uid://ubfk2a80dhfp"
metadata/_editor_floor_ = Vector3(0, 0, 0)
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_uu6xs")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.5, 0.866026, 0, -0.866026, 0.5, 2, 30, 50)
fov = 60.0
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 14.8533, 0)
shadow_enabled = true
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_top = -33.0
offset_right = 242.0
offset_bottom = 33.0
grow_vertical = 2
scale = Vector2(2, 2)
[node name="RemoveTile" type="CheckButton" parent="VBoxContainer"]
layout_mode = 2
button_pressed = true
text = "Test Tile State"
alignment = 2
[node name="AddWood" type="CheckButton" parent="VBoxContainer"]
layout_mode = 2
text = "Is Wooden Tile Navigable"
alignment = 2
[node name="Logo" type="TextureRect" parent="."]
custom_minimum_size = Vector2(64, 64)
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -63.0
offset_top = -41.0
offset_right = 1.0
offset_bottom = 23.0
grow_horizontal = 0
grow_vertical = 0
texture = ExtResource("3_h2yge")
expand_mode = 1
[connection signal="toggled" from="VBoxContainer/RemoveTile" to="." method="_on_remove_tile_toggled"]
[connection signal="toggled" from="VBoxContainer/AddWood" to="." method="_on_add_wood_toggled"]