-
Notifications
You must be signed in to change notification settings - Fork 0
/
escena_ppal.tscn
57 lines (43 loc) · 9.7 KB
/
escena_ppal.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
[gd_scene load_steps=9 format=2]
[ext_resource path="res://script.gd" type="Script" id=1]
[ext_resource path="res://warrior.tscn" type="PackedScene" id=2]
[ext_resource path="res://enemy.tscn" type="PackedScene" id=3]
[ext_resource path="res://tileset.meshlib" type="MeshLibrary" id=4]
[ext_resource path="res://CamBase.gd" type="Script" id=5]
[ext_resource path="res://SelectionBox.gd" type="Script" id=6]
[sub_resource type="NavigationMesh" id=22]
vertices = PoolVector3Array( -11.4, 2.2235, -19.8, -13.5, 2.2235, -19.5, -13.8, 2.2235, -17.4, -8.1, 2.2235, -21.6, -8.4, 2.2235, -23.4, -11.4, 2.2235, -23.4, -11.4, 2.2235, -19.8, -13.8, 2.2235, -17.4, -15.6, 2.2235, -6.3, -5.7, 2.2235, -1.8, 3.3, 2.2235, -3.3, 5.4, 2.2235, -20.1, -5.7, 2.2235, -21.6, -15.6, 2.2235, -9.9, -17.4, 2.2235, -9.6, -17.4, 2.2235, -6.6, -15.6, 2.2235, -6.3, 5.4, 2.2235, -23.4, -5.4, 2.2235, -23.4, -5.7, 2.2235, -21.6, 5.4, 2.2235, -20.1, -5.7, 2.2235, -21.6, -8.1, 2.2235, -21.6, -11.4, 2.2235, -19.8, -13.8, 2.2235, -17.4, -13.8, 2.2235, -17.4, -15.6, 2.2235, -17.4, -15.6, 2.2235, -9.9, -5.7, 2.2235, -1.8, 2.4, 2.2235, -1.8, 3.3, 2.2235, -3.3, -13.8, 2.2235, -17.4, -15.6, 2.2235, -9.9, -15.6, 2.2235, -6.3, -15.6, 2.2235, -6.3, -15.6, 2.2235, -2.1, -5.7, 2.2235, -1.8, 13.5, 2.2235, -11.7, 13.5, 2.2235, -15.6, 11.4, 2.2235, -15.9, 11.4, 2.2235, -15.9, 11.4, 2.2235, -19.5, 5.7, 2.2235, -19.5, 13.5, 2.2235, -11.7, 11.4, 2.2235, -15.9, 5.7, 2.2235, -19.5, 3.3, 2.2235, -3.3, 3.3, 2.2235, -3.3, 14.1, 2.2235, -11.4, 13.5, 2.2235, -11.7, 3.3, 2.2235, -3.3, 5.7, 2.2235, -19.5, 5.4, 2.2235, -20.1, 3.3, 2.2235, -3.3, 2.4, 2.2235, -1.8, 3, 2.2235, -1.5, 13.5, 2.2235, 1.8, 15.6, 2.2235, 1.5, 15.9, 2.2235, -0.599998, 12, 2.2235, 5.4, 13.5, 2.2235, 5.4, 13.5, 2.2235, 1.8, 3, 2.2235, 1.2, 15.9, 2.2235, -0.599998, 19.5, 2.2235, -0.599998, 19.5, 2.2235, -2.1, 3.3, 2.2235, -3.3, 3, 2.2235, -1.5, 3, 2.2235, 1.2, 19.5, 2.2235, -9.9, 19.5, 2.2235, -11.4, 14.1, 2.2235, -11.4, 19.5, 2.2235, -2.1, 21.3, 2.2235, -2.4, 21.3, 2.2235, -9.6, 19.5, 2.2235, -2.1, 21.3, 2.2235, -9.6, 19.5, 2.2235, -9.9, 15.9, 2.2235, -0.599998, 15.9, 2.2235, -0.599998, 19.5, 2.2235, -9.9, 14.1, 2.2235, -11.4, 3.3, 2.2235, -3.3, 3, 2.2235, 1.2, 13.5, 2.2235, 1.8, -13.5, 2.2235, 5.7, -13.5, 2.2235, 9.6, -8.4, 2.2235, 9.6, -15.6, 2.2235, -2.1, -15.6, 2.2235, 5.4, -13.5, 2.2235, 5.7, -13.5, 2.2235, 5.7, -8.4, 2.2235, 9.6, -6.3, 2.2235, 1.5, -6.3, 2.2235, -1.5, -15.6, 2.2235, -2.1, -6.3, 2.2235, -1.5, -5.7, 2.2235, -1.8, -15.6, 2.2235, -2.1, -5.1, 3.6235, -0.599998, -5.1, 3.6235, 0.6, 1.8, 3.6235, 0.6, 1.8, 3.6235, -0.599998, 9.6, 2.2235, 7.8, 11.4, 2.2235, 7.5, 11.4, 2.2235, 5.7, 7.5, 2.2235, 9.9, 9.6, 2.2235, 9.6, 9.6, 2.2235, 7.8, 7.5, 2.2235, 9.9, 9.6, 2.2235, 7.8, 11.4, 2.2235, 5.7, 3, 2.2235, 1.2, 2.7, 2.2235, 1.8, 0.300001, 2.2235, 11.4, 7.5, 2.2235, 11.4, 7.5, 2.2235, 9.9, 2.7, 2.2235, 1.8, 0.300001, 2.2235, 1.8, 11.4, 2.2235, 5.7, 12, 2.2235, 5.4, 3, 2.2235, 1.2, -7.5, 2.2235, 9.9, -7.5, 2.2235, 11.4, 0.300001, 2.2235, 11.4, -6.3, 2.2235, 1.5, -8.4, 2.2235, 9.6, -7.5, 2.2235, 9.9, 0.300001, 2.2235, 11.4, 0.300001, 2.2235, 1.8 )
polygons = [ PoolIntArray( 2, 1, 0 ), PoolIntArray( 4, 3, 5 ), PoolIntArray( 5, 3, 6 ), PoolIntArray( 7, 12, 8 ), PoolIntArray( 8, 12, 9 ), PoolIntArray( 9, 12, 10 ), PoolIntArray( 10, 12, 11 ), PoolIntArray( 15, 14, 16 ), PoolIntArray( 16, 14, 13 ), PoolIntArray( 18, 17, 19 ), PoolIntArray( 19, 17, 20 ), PoolIntArray( 22, 21, 23 ), PoolIntArray( 23, 21, 24 ), PoolIntArray( 25, 27, 26 ), PoolIntArray( 30, 29, 28 ), PoolIntArray( 33, 32, 31 ), PoolIntArray( 36, 35, 34 ), PoolIntArray( 39, 38, 37 ), PoolIntArray( 42, 41, 40 ), PoolIntArray( 44, 43, 45 ), PoolIntArray( 45, 43, 46 ), PoolIntArray( 47, 49, 48 ), PoolIntArray( 50, 52, 51 ), PoolIntArray( 55, 54, 53 ), PoolIntArray( 58, 57, 56 ), PoolIntArray( 60, 59, 61 ), PoolIntArray( 61, 59, 62 ), PoolIntArray( 65, 64, 63 ), PoolIntArray( 68, 67, 66 ), PoolIntArray( 71, 70, 69 ), PoolIntArray( 74, 73, 72 ), PoolIntArray( 76, 75, 77 ), PoolIntArray( 77, 75, 78 ), PoolIntArray( 83, 82, 84 ), PoolIntArray( 84, 82, 79 ), PoolIntArray( 79, 82, 81 ), PoolIntArray( 79, 81, 80 ), PoolIntArray( 87, 86, 85 ), PoolIntArray( 90, 89, 88 ), PoolIntArray( 94, 93, 95 ), PoolIntArray( 95, 93, 91 ), PoolIntArray( 91, 93, 92 ), PoolIntArray( 96, 98, 97 ), PoolIntArray( 102, 101, 99 ), PoolIntArray( 99, 101, 100 ), PoolIntArray( 105, 104, 103 ), PoolIntArray( 108, 107, 106 ), PoolIntArray( 110, 109, 111 ), PoolIntArray( 111, 109, 113 ), PoolIntArray( 111, 113, 112 ), PoolIntArray( 115, 114, 116 ), PoolIntArray( 116, 114, 117 ), PoolIntArray( 117, 114, 118 ), PoolIntArray( 121, 120, 119 ), PoolIntArray( 124, 123, 122 ), PoolIntArray( 127, 126, 128 ), PoolIntArray( 128, 126, 125 ), PoolIntArray( 128, 125, 129 ) ]
[sub_resource type="CubeMesh" id=23]
[node name="Escena principal" type="Spatial"]
script = ExtResource( 1 )
[node name="CamBase" type="Spatial" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.22685, 0 )
script = ExtResource( 5 )
[node name="Elevation" type="Spatial" parent="CamBase"]
transform = Transform( 1, 0, 0, 0, 0.627882, 0.778309, 0, -0.778309, 0.627882, 0, 11.508, 12.7404 )
[node name="Camera" type="Camera" parent="CamBase/Elevation"]
size = 50.0
[node name="SelectionBox" type="Control" parent="CamBase"]
margin_right = 40.0
margin_bottom = 40.0
script = ExtResource( 6 )
[node name="Navigation" type="Navigation" parent="."]
[node name="NavigationMeshInstance" type="NavigationMeshInstance" parent="Navigation"]
navmesh = SubResource( 22 )
[node name="GridMap" type="GridMap" parent="Navigation/NavigationMeshInstance"]
mesh_library = ExtResource( 4 )
data = {
"cells": PoolIntArray( 0, 0, 0, 1, 0, 0, 2, 0, 0, 3, 0, 0, 4, 0, 1, 5, 0, 0, 6, 0, 0, 7, 0, 0, 65528, 0, 0, 65529, 0, 0, 65530, 0, 0, 65531, 0, 0, 65532, 0, 0, 65533, 0, 0, 65534, 0, 0, 65535, 0, 0, 0, 1, 0, 1, 1, 0, 2, 1, 0, 3, 1, 0, 4, 1, 1, 5, 1, 0, 6, 1, 0, 65528, 1, 0, 65529, 1, 0, 65530, 1, 0, 65531, 1, 0, 65532, 1, 1, 65533, 1, 0, 65534, 1, 0, 65535, 1, 0, 0, 2, 0, 1, 2, 0, 2, 2, 0, 3, 2, 1, 4, 2, 1, 5, 2, 0, 6, 2, 0, 65528, 2, 0, 65529, 2, 0, 65530, 2, 0, 65531, 2, 0, 65532, 2, 0, 65533, 2, 1, 65534, 2, 1, 65535, 2, 0, 0, 3, 1, 1, 3, 1, 2, 3, 1, 3, 3, 1, 4, 3, 0, 5, 3, 0, 65529, 3, 0, 65530, 3, 0, 65531, 3, 0, 65532, 3, 0, 65533, 3, 0, 65534, 3, 1, 65535, 3, 1, 0, 4, 1, 1, 4, 0, 2, 4, 0, 3, 4, 0, 4, 4, 0, 65529, 4, 0, 65530, 4, 0, 65531, 4, 0, 65532, 4, 0, 65533, 4, 0, 65534, 4, 0, 65535, 4, 1, 0, 5, 0, 1, 5, 0, 2, 5, 0, 3, 5, 0, 65532, 5, 0, 65533, 5, 0, 65534, 5, 0, 65535, 5, 0, 0, 65524, 0, 1, 65524, 0, 2, 65524, 0, 65530, 65524, 0, 65531, 65524, 0, 65533, 65524, 0, 65534, 65524, 0, 65535, 65524, 0, 0, 65525, 0, 1, 65525, 0, 2, 65525, 0, 65530, 65525, 0, 65531, 65525, 0, 65532, 65525, 0, 65533, 65525, 0, 65534, 65525, 0, 65535, 65525, 0, 0, 65526, 0, 1, 65526, 0, 2, 65526, 0, 3, 65526, 0, 4, 65526, 0, 5, 65526, 0, 65529, 65526, 0, 65530, 65526, 0, 65531, 65526, 0, 65532, 65526, 0, 65533, 65526, 0, 65534, 65526, 0, 65535, 65526, 0, 0, 65527, 0, 1, 65527, 1, 2, 65527, 0, 3, 65527, 0, 4, 65527, 0, 5, 65527, 0, 65528, 65527, 0, 65529, 65527, 0, 65530, 65527, 0, 65531, 65527, 0, 65532, 65527, 1, 65533, 65527, 1, 65534, 65527, 1, 65535, 65527, 1, 0, 65528, 0, 1, 65528, 0, 2, 65528, 0, 3, 65528, 1, 4, 65528, 1, 5, 65528, 0, 6, 65528, 0, 65528, 65528, 0, 65529, 65528, 0, 65530, 65528, 0, 65531, 65528, 0, 65532, 65528, 1, 65533, 65528, 0, 65534, 65528, 0, 65535, 65528, 0, 0, 65529, 0, 1, 65529, 0, 2, 65529, 0, 3, 65529, 0, 4, 65529, 1, 5, 65529, 0, 6, 65529, 0, 65528, 65529, 0, 65529, 65529, 0, 65530, 65529, 0, 65531, 65529, 1, 65532, 65529, 0, 65533, 65529, 0, 65534, 65529, 0, 65535, 65529, 0, 0, 65530, 0, 1, 65530, 0, 2, 65530, 0, 3, 65530, 0, 4, 65530, 0, 5, 65530, 1, 6, 65530, 0, 7, 65530, 0, 8, 65530, 0, 9, 65530, 0, 65528, 65530, 0, 65529, 65530, 0, 65530, 65530, 1, 65531, 65530, 0, 65532, 65530, 0, 65533, 65530, 0, 65534, 65530, 0, 65535, 65530, 0, 0, 65531, 0, 1, 65531, 0, 2, 65531, 0, 3, 65531, 0, 4, 65531, 0, 5, 65531, 1, 6, 65531, 0, 7, 65531, 0, 8, 65531, 0, 9, 65531, 0, 10, 65531, 0, 65527, 65531, 0, 65528, 65531, 0, 65529, 65531, 1, 65530, 65531, 0, 65531, 65531, 0, 65532, 65531, 0, 65533, 65531, 0, 65534, 65531, 0, 65535, 65531, 0, 0, 65532, 0, 1, 65532, 0, 2, 65532, 0, 3, 65532, 0, 4, 65532, 0, 5, 65532, 1, 6, 65532, 0, 7, 65532, 0, 8, 65532, 0, 9, 65532, 0, 10, 65532, 0, 65527, 65532, 0, 65528, 65532, 0, 65529, 65532, 1, 65530, 65532, 0, 65531, 65532, 0, 65532, 65532, 0, 65533, 65532, 0, 65534, 65532, 0, 65535, 65532, 0, 0, 65533, 0, 1, 65533, 0, 2, 65533, 0, 3, 65533, 0, 4, 65533, 0, 5, 65533, 1, 6, 65533, 0, 7, 65533, 0, 8, 65533, 0, 9, 65533, 0, 10, 65533, 0, 65528, 65533, 0, 65529, 65533, 1, 65530, 65533, 1, 65531, 65533, 0, 65532, 65533, 0, 65533, 65533, 0, 65534, 65533, 0, 65535, 65533, 0, 0, 65534, 0, 1, 65534, 0, 2, 65534, 0, 3, 65534, 0, 4, 65534, 0, 5, 65534, 1, 6, 65534, 0, 7, 65534, 0, 8, 65534, 0, 9, 65534, 0, 10, 65534, 0, 65528, 65534, 0, 65529, 65534, 0, 65530, 65534, 1, 65531, 65534, 0, 65532, 65534, 0, 65533, 65534, 0, 65534, 65534, 0, 65535, 65534, 0, 0, 65535, 0, 1, 65535, 0, 2, 65535, 0, 3, 65535, 0, 4, 65535, 0, 5, 65535, 1, 6, 65535, 0, 7, 65535, 0, 8, 65535, 0, 9, 65535, 0, 65528, 65535, 0, 65529, 65535, 0, 65530, 65535, 1, 65531, 65535, 1, 65532, 65535, 0, 65533, 65535, 0, 65534, 65535, 0, 65535, 65535, 0 )
}
__meta__ = {
"_editor_clip_": 0
}
[node name="MeshInstance" type="MeshInstance" parent="Navigation/NavigationMeshInstance"]
transform = Transform( 4, 0, 0, 0, 2, 0, 0, 0, 1, -1.61983, 1.2235, -0.0606833 )
mesh = SubResource( 23 )
material/0 = null
[node name="Enemy" parent="Navigation" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 6.8004, 2.71043, 0 )
[node name="Warrior" parent="Navigation" instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -11.5803, 2.53762, 4.90679 )