konkr_game_3d/scenes/main.tscn

100 lines
4.7 KiB
Text
Raw Permalink Normal View History

2023-08-09 23:12:19 +03:00
[gd_scene load_steps=13 format=2]
[ext_resource path="res://buildings.tres" type="MeshLibrary" id=1]
[ext_resource path="res://environment_tiles.tres" type="MeshLibrary" id=2]
[ext_resource path="res://scenes/character.tscn" type="PackedScene" id=3]
[ext_resource path="res://scripts/Camera.gd" type="Script" id=4]
[ext_resource path="res://scripts/Cursor.gd" type="Script" id=5]
[ext_resource path="res://scripts/Map.gd" type="Script" id=6]
[ext_resource path="res://player_tiles.tres" type="MeshLibrary" id=7]
[ext_resource path="res://scripts/Characters.gd" type="Script" id=8]
[ext_resource path="res://scripts/Money.gd" type="Script" id=9]
[ext_resource path="res://scripts/Utils.gd" type="Script" id=10]
[ext_resource path="res://scripts/PlayerActions.gd" type="Script" id=11]
[sub_resource type="SphereMesh" id=33]
radius = 0.2
height = 0.4
[node name="Level" type="Spatial"]
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 1, 0, 0, 0, 0.761855, 0.647748, 0, -0.647748, 0.761855, 0, 17.466, 20.703 )
[node name="Camera" type="Camera" parent="."]
transform = Transform( -4.37114e-08, -0.707107, 0.707107, 0, 0.707107, 0.707107, -1, 3.09086e-08, -3.09086e-08, 14, 11.6391, 5.7063 )
current = true
script = ExtResource( 4 )
[node name="Map" type="Spatial" parent="."]
script = ExtResource( 6 )
[node name="Characters" type="Spatial" parent="Map"]
script = ExtResource( 8 )
[node name="Money" type="Spatial" parent="Map"]
script = ExtResource( 9 )
[node name="Utils" type="Spatial" parent="Map"]
script = ExtResource( 10 )
[node name="PlayerActions" type="Spatial" parent="Map"]
script = ExtResource( 11 )
[node name="Tiles" type="GridMap" parent="Map"]
mesh_library = ExtResource( 7 )
cell_size = Vector3( 1, 1, 0.87 )
cell_center_y = false
data = {
2023-08-10 12:18:17 +03:00
"cells": PoolIntArray( 2, 1, 0, 6, 1, 0, 12, 1, 2, 65532, 1, 1, 65534, 1, 1, 3, 3, 0, 5, 3, 0, 7, 3, 0, 65533, 3, 1, 2, 5, 1, 4, 5, 1, 6, 5, 0, 65534, 5, 1, 1, 7, 1, 3, 7, 1, 5, 7, 1, 2, 9, 1, 3, 65527, 2, 5, 65527, 2, 4, 65529, 2, 6, 65529, 0, 5, 65531, 0, 2, 65533, 0, 4, 65533, 0, 6, 65533, 0, 8, 65533, 2, 10, 65533, 2, 12, 65533, 2, 1, 65535, 0, 3, 65535, 0, 5, 65535, 0, 9, 65535, 2, 11, 65535, 2, 13, 65535, 2, 65533, 65535, 1, 65535, 65535, 1 )
2023-08-09 23:12:19 +03:00
}
__meta__ = {
"_editor_clip_": 0,
"_editor_floor_": Vector3( 0, 0, 0 )
}
[node name="Buildings" type="GridMap" parent="Map"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
mesh_library = ExtResource( 1 )
cell_size = Vector3( 1, 1, 0.87 )
cell_center_y = false
data = {
2023-08-10 12:18:17 +03:00
"cells": PoolIntArray( 4, 5, 18, 3, 7, 11, 131062, 65528, 29, 9, 65535, 2 )
2023-08-09 23:12:19 +03:00
}
__meta__ = {
"_editor_clip_": 0,
"_editor_floor_": Vector3( 0, 0, 0 )
}
[node name="Player0" parent="Map" instance=ExtResource( 3 )]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 2.531, 0, 8.28 )
[node name="Decorations" type="GridMap" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
mesh_library = ExtResource( 1 )
cell_size = Vector3( 1, 1, 0.87 )
cell_center_y = false
data = {
2023-08-10 12:18:17 +03:00
"cells": PoolIntArray( 0, 1, 10, 6, 1, 4, 65534, 1, 4, 1, 3, 10, 65535, 3, 10, 0, 5, 5, 12, 5, 16, 5, 7, 4, 11, 7, 4, 65535, 7, 10, 0, 9, 10, 10, 9, 10, 12, 9, 2, 5, 11, 17, 4, 65525, 10, 131062, 65528, 29, 6, 65529, 4, 3, 65531, 5, 11, 65531, 10, 2, 65533, 4, 8, 65533, 4 )
2023-08-09 23:12:19 +03:00
}
__meta__ = {
"_editor_clip_": 0,
"_editor_floor_": Vector3( 0, 0, 0 )
}
[node name="EnvironmentTiles" type="GridMap" parent="."]
mesh_library = ExtResource( 2 )
cell_size = Vector3( 1, 1, 0.87 )
cell_center_y = false
data = {
2023-08-10 12:18:17 +03:00
"cells": PoolIntArray( 0, 1, 0, 4, 1, 3, 8, 1, 3, 10, 1, 3, 14, 1, 3, 16, 1, 3, 65530, 1, 3, 1, 3, 0, 9, 3, 3, 11, 3, 3, 13, 3, 3, 15, 3, 3, 17, 3, 3, 65531, 3, 3, 65535, 3, 0, 0, 5, 0, 8, 5, 3, 10, 5, 3, 12, 5, 0, 14, 5, 3, 16, 5, 3, 18, 5, 3, 65532, 5, 3, 7, 7, 3, 9, 7, 3, 11, 7, 0, 13, 7, 3, 15, 7, 3, 17, 7, 3, 65531, 7, 3, 65533, 7, 3, 65535, 7, 0, 0, 9, 0, 4, 9, 3, 6, 9, 3, 8, 9, 3, 10, 9, 0, 12, 9, 0, 14, 9, 3, 65532, 9, 3, 65534, 9, 3, 1, 11, 3, 3, 11, 3, 5, 11, 0, 7, 11, 3, 9, 11, 3, 11, 11, 3, 13, 11, 3, 15, 11, 3, 65535, 11, 3, 4, 13, 3, 6, 13, 3, 10, 13, 3, 12, 13, 3, 11, 15, 3, 1, 65523, 3, 3, 65523, 3, 5, 65523, 3, 2, 65525, 3, 4, 65525, 0, 6, 65525, 3, 8, 65525, 3, 1, 65527, 3, 7, 65527, 3, 11, 65527, 3, 13, 65527, 3, 2, 65529, 3, 8, 65529, 3, 10, 65529, 3, 12, 65529, 3, 1, 65531, 3, 3, 65531, 0, 7, 65531, 3, 9, 65531, 3, 11, 65531, 0, 13, 65531, 3, 17, 65531, 3, 65535, 65531, 3, 0, 65533, 3, 14, 65533, 3, 16, 65533, 3, 18, 65533, 3, 65532, 65533, 3, 65534, 65533, 3, 7, 65535, 3, 15, 65535, 3, 17, 65535, 3, 65531, 65535, 3 )
2023-08-09 23:12:19 +03:00
}
__meta__ = {
"_editor_clip_": 0,
"_editor_floor_": Vector3( 0, 0, 0 )
}
[node name="Cursor" type="MeshInstance" parent="."]
mesh = SubResource( 33 )
script = ExtResource( 5 )