-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tscn
117 lines (91 loc) · 11.3 KB
/
main.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[gd_scene load_steps=13 format=3 uid="uid://bw3oer6ees3cd"]
[ext_resource type="Script" path="res://Player.gd" id="1_ir4dd"]
[ext_resource type="MeshLibrary" uid="uid://diojhdjy63e07" path="res://meshlib/meshlib.tres" id="2_b75sg"]
[ext_resource type="PackedScene" path="res://scenes/house.tscn" id="3_5bqog"]
[ext_resource type="PackedScene" path="res://scenes/tower.tscn" id="4_iyvu7"]
[ext_resource type="PackedScene" path="res://scenes/forest_border.tscn" id="5_qx41h"]
[ext_resource type="Script" path="res://IntroText.gd" id="6_1fpem"]
[ext_resource type="FontFile" uid="uid://c4idaf7tjjvwd" path="res://assets/arena.otf" id="6_ab00q"]
[ext_resource type="AudioStream" uid="uid://cay4cofjwkfyy" path="res://assets/elven_forest.mp3" id="8_ajjfb"]
[sub_resource type="CapsuleMesh" id="CapsuleMesh_uyr4x"]
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_h0wn3"]
points = PackedVector3Array(-0.125207, -0.532801, -0.480507, 0.0227831, 0.47607, 0.498884, 0.169713, 0.559144, 0.464172, 0.231051, -0.803591, 0.320455, 0.40741, 0.651043, -0.243523, -0.482789, 0.594843, 0.0822132, -0.362868, -0.682312, 0.289697, 0.469044, -0.654529, -0.0662713, -0.127444, 0.842701, -0.338103, -0.393435, -0.683942, -0.244717, 0.438255, 0.623309, 0.200849, 0.0841477, 0.977454, 0.114795, -0.0682023, -0.976458, -0.12927, 0.20055, -0.563129, -0.451454, -0.185527, 0.595453, -0.453475, -0.273363, 0.592268, 0.407754, -0.00693649, -0.476823, 0.49966, 0.375821, -0.588614, 0.316955, 0.111579, 0.563059, -0.481177, -0.41725, 0.527866, -0.270497, -0.484546, -0.596972, -0.0665097, -0.279747, 0.908561, 0.0533361, -0.250197, -0.880712, 0.205319, 0.263647, -0.902771, -0.127394, 0.293368, 0.871526, -0.157196, 0.373412, -0.526319, -0.328246, 0.499663, 0.476641, -0.00688856, 0.0531056, 0.875001, 0.324703, -0.154543, -0.590854, 0.465879, -0.0972799, -0.782358, -0.398188, -0.387649, -0.498171, 0.31565, -0.30068, -0.587995, -0.388901)
[sub_resource type="Environment" id="Environment_2t8wp"]
background_mode = 1
ambient_light_source = 1
ambient_light_energy = 0.0
reflected_light_source = 1
[sub_resource type="LabelSettings" id="LabelSettings_axsar"]
font = ExtResource("6_ab00q")
font_size = 9
[node name="Node3D" type="Node3D"]
[node name="CharacterBody3D" type="CharacterBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 11.2703, 0.559519, 4.79854)
script = ExtResource("1_ir4dd")
[node name="MeshInstance3D" type="MeshInstance3D" parent="CharacterBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.08918, 0)
mesh = SubResource("CapsuleMesh_uyr4x")
[node name="CollisionShape3D" type="CollisionShape3D" parent="CharacterBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.09675, 0)
shape = SubResource("ConvexPolygonShape3D_h0wn3")
[node name="Neck" type="Node3D" parent="CharacterBody3D"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 1.59474, 0)
[node name="Cam" type="Camera3D" parent="CharacterBody3D/Neck"]
far = 20.0
[node name="OmniLight3D" type="OmniLight3D" parent="CharacterBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.028, 0)
light_energy = 2.0
light_specular = 0.0
distance_fade_begin = 0.0
distance_fade_length = 0.0
omni_range = 15.0
omni_attenuation = 0.13308
[node name="GridmapTerrain" type="GridMap" parent="."]
mesh_library = ExtResource("2_b75sg")
cell_center_y = false
data = {
"cells": PackedInt32Array(2, 0, 0, 3, 65534, 1, 3, 65535, 0, 3, 0, 0, 65534, 65526, 0, 65534, 65527, 0, 65534, 65528, 0, 65534, 65529, 0, 65534, 65530, 0, 65534, 65531, 0, 65534, 65532, 0, 65534, 65533, 0, 65534, 65535, 0, 65534, 0, 0, 1, 0, 0, 0, 1, 0, 65535, 1, 0, 65534, 1, 0, 1, 1, 0, 65534, 65534, 0, 65535, 65535, 1, 0, 65535, 1, 65535, 0, 0, 0, 0, 0, 0, 65478, 0, 2, 1, 0, 3, 1, 0, 4, 1, 0, 4, 0, 0, 5, 0, 0, 5, 1, 0, 65535, 65534, 1, 0, 65534, 1, 0, 65533, 1, 0, 65532, 1, 0, 65531, 1, 0, 65530, 1, 0, 65529, 1, 65535, 65529, 1, 65535, 65531, 0, 65535, 65532, 1, 65535, 65533, 1, 65535, 65530, 1, 65535, 65528, 1, 65535, 65527, 1, 0, 65527, 1, 0, 65528, 1, 65535, 65526, 1, 0, 65526, 1, 1, 65526, 1, 1, 65527, 1, 1, 65528, 1, 1, 65529, 1, 1, 65530, 1, 1, 65531, 1, 1, 65532, 1, 1, 65533, 1, 1, 65534, 1, 1, 65535, 1, 2, 65535, 1, 2, 65534, 1, 2, 65533, 1, 2, 65532, 1, 2, 65531, 1, 2, 65530, 1, 2, 65529, 1, 2, 65528, 1, 2, 65527, 1, 2, 65526, 1, 2, 65525, 1, 2, 65524, 1, 2, 65523, 1, 1, 65523, 1, 1, 65522, 1, 1, 65521, 0, 1, 65520, 0, 1, 65519, 0, 1, 65518, 0, 1, 65517, 0, 1, 65516, 0, 1, 65515, 0, 1, 65514, 0, 0, 65513, 1, 0, 65512, 1, 0, 65511, 1, 0, 65510, 1, 0, 65509, 1, 0, 65508, 1, 65535, 65508, 1, 65535, 65509, 1, 0, 65515, 1, 0, 65516, 1, 0, 65518, 1, 0, 65519, 1, 1, 65524, 1, 1, 65525, 1, 0, 65522, 1, 0, 65521, 0, 0, 65520, 1, 0, 65517, 1, 65535, 65516, 1, 65535, 65515, 1, 65535, 65517, 1, 65535, 65518, 1, 0, 65523, 1, 0, 65524, 1, 0, 65525, 1, 65535, 65525, 1, 65535, 65524, 1, 65534, 65523, 1, 65534, 65522, 1, 65534, 65521, 0, 65534, 65520, 1, 65534, 65518, 1, 65534, 65517, 1, 65535, 65523, 1, 65534, 65519, 1, 65534, 65516, 1, 65534, 65515, 1, 65534, 65514, 1, 65534, 65513, 1, 65535, 65513, 1, 65535, 65514, 1, 65535, 65519, 1, 65535, 65520, 1, 65535, 65521, 0, 65535, 65522, 1, 65534, 65524, 0, 65533, 65526, 1, 65533, 65525, 0, 65533, 65524, 0, 65532, 65523, 1, 65532, 65522, 1, 65532, 65521, 0, 65533, 65520, 1, 65533, 65519, 1, 65533, 65518, 1, 65533, 65517, 1, 65534, 65525, 0, 65532, 65526, 1, 65532, 65525, 0, 65532, 65524, 1, 65532, 65520, 1, 65533, 65529, 1, 65533, 65528, 1, 65532, 65527, 1, 65532, 65519, 1, 65533, 65521, 0, 65533, 65522, 0, 65533, 65523, 0, 65531, 65527, 1, 65530, 65527, 1, 65530, 65526, 1, 65530, 65525, 0, 65530, 65524, 0, 65530, 65523, 0, 65530, 65522, 0, 65530, 65521, 0, 65530, 65519, 1, 65531, 65519, 1, 65531, 65518, 1, 65532, 65517, 1, 65532, 65516, 1, 65533, 65516, 1, 65532, 65528, 1, 65531, 65528, 1, 65531, 65520, 1, 65530, 65528, 1, 65529, 65528, 1, 65529, 65527, 1, 65529, 65526, 1, 65531, 65523, 0, 65532, 65529, 1, 65532, 65530, 1, 65532, 65531, 1, 65532, 65532, 1, 65531, 65534, 1, 65531, 65533, 1, 65531, 65532, 1, 65532, 65534, 1, 65532, 65535, 1, 65532, 0, 1, 65533, 0, 1, 65533, 1, 1, 65533, 65535, 1, 65533, 65534, 0, 65533, 65532, 1, 65533, 65531, 1, 65533, 65530, 1, 65533, 65527, 1, 65531, 65526, 1, 65531, 65525, 0, 65530, 65531, 1, 65530, 65530, 1, 65530, 65529, 1, 65529, 65524, 1, 65529, 65523, 1, 65529, 65522, 1, 65529, 65521, 1, 65529, 65520, 1, 65529, 65525, 1, 65529, 65529, 1, 65529, 65530, 1, 65529, 65531, 1, 65529, 65532, 1, 65529, 65533, 1, 65529, 65534, 1, 65529, 65535, 1, 65529, 0, 1, 65529, 1, 1, 65529, 2, 1, 65529, 3, 1, 65529, 4, 1, 65529, 5, 1, 65529, 6, 1, 65529, 7, 1, 65530, 7, 1, 65531, 7, 1, 65532, 7, 1, 65533, 7, 1, 65533, 6, 1, 65534, 6, 1, 65535, 6, 1, 0, 6, 1, 1, 6, 1, 0, 7, 1, 65535, 7, 1, 65534, 7, 1, 1, 7, 1, 2, 7, 1, 2, 6, 1, 2, 5, 1, 2, 4, 1, 2, 3, 1, 2, 2, 1, 1, 2, 1, 0, 2, 1, 65532, 3, 1, 65530, 2, 1, 65530, 3, 1, 65531, 3, 1, 65532, 4, 1, 65533, 4, 1, 65534, 4, 1, 65535, 4, 1, 1, 3, 1, 0, 4, 1, 1, 4, 1, 1, 5, 1, 0, 5, 1, 65535, 5, 1, 65534, 5, 1, 65533, 5, 1, 65532, 5, 1, 65531, 5, 1, 65531, 6, 1, 65532, 6, 1, 65530, 6, 1, 65530, 5, 1, 65530, 4, 1, 65531, 4, 1, 65530, 1, 1, 65530, 0, 1, 65530, 65535, 1, 65530, 65534, 1, 65530, 65533, 1, 65530, 65532, 1, 65531, 65530, 1, 65531, 65529, 1, 65531, 65531, 1, 65531, 65524, 0, 65531, 65522, 0, 65531, 65521, 0, 65530, 65520, 1, 65529, 65519, 1, 65529, 65518, 1, 65529, 65517, 1, 65530, 65517, 1, 65530, 65516, 1, 65530, 65515, 1, 65529, 65516, 1, 65529, 65515, 1, 65529, 65514, 1, 65529, 65513, 1, 65529, 65512, 1, 65529, 65511, 1, 65529, 65510, 1, 65529, 65509, 1, 65530, 65509, 1, 65531, 65509, 1, 65531, 65510, 1, 65532, 65510, 1, 65533, 65510, 1, 65533, 65511, 1, 65534, 65511, 1, 65535, 65511, 1, 65535, 65512, 1, 65535, 65510, 1, 65534, 65510, 1, 65533, 65509, 1, 65532, 65509, 1, 65534, 65509, 1, 65533, 65512, 1, 65532, 65512, 1, 65531, 65512, 1, 65531, 65511, 1, 65530, 65511, 1, 65530, 65510, 1, 65532, 65511, 1, 65531, 65513, 1, 65530, 65513, 1, 65531, 65514, 1, 65531, 65515, 1, 65531, 65516, 1, 65530, 65514, 1, 65530, 65512, 1, 65531, 65517, 1, 65530, 65518, 1, 65532, 65518, 1, 65532, 65515, 1, 65532, 65514, 1, 65532, 65513, 1, 65533, 65514, 1, 65533, 65515, 1, 65533, 65513, 1, 65534, 65512, 1, 0, 65514, 1, 2, 65520, 1, 2, 65521, 1, 2, 65522, 1, 3, 65527, 1, 3, 65528, 1, 3, 65529, 1, 3, 65530, 1, 3, 65531, 1, 3, 65532, 1, 3, 65533, 1, 3, 65523, 1, 3, 65524, 1, 3, 65525, 1, 3, 65526, 1, 3, 65522, 1, 2, 65519, 1, 2, 65518, 1, 2, 65517, 1, 2, 65516, 1, 2, 65515, 1, 2, 65514, 1, 2, 65513, 1, 3, 65519, 1, 3, 65520, 1, 3, 65521, 1, 2, 65512, 1, 2, 65511, 1, 3, 65514, 1, 3, 65515, 1, 3, 65516, 1, 3, 65517, 1, 3, 65518, 1, 3, 65513, 1, 3, 65512, 1, 3, 65511, 1, 3, 65510, 1, 2, 65510, 1, 1, 65511, 0, 1, 65512, 0, 1, 65513, 0, 1, 65510, 1, 1, 65509, 1, 1, 65508, 1, 2, 65509, 1, 2, 65508, 1, 3, 65509, 1, 3, 65508, 1, 65532, 65533, 1, 65533, 65533, 1, 3, 7, 1, 3, 6, 1, 3, 5, 1, 3, 4, 1, 3, 3, 1, 3, 2, 1, 4, 2, 1, 4, 3, 1, 4, 4, 1, 4, 5, 1, 4, 6, 1, 4, 7, 1, 5, 6, 1, 5, 5, 1, 5, 4, 1, 5, 3, 1, 5, 2, 1, 4, 65535, 1, 5, 65535, 1, 65531, 2, 1, 65534, 2, 1, 65535, 2, 1, 65535, 3, 1, 0, 3, 1, 5, 7, 1, 4, 65534, 1441793, 4, 65533, 1441793, 4, 65532, 1441793, 4, 65531, 1441793, 4, 65530, 1441793, 4, 65529, 1441793, 4, 65528, 1441793, 4, 65527, 1441793, 4, 65526, 1441793, 4, 65525, 1441793, 4, 65524, 1441793, 4, 65523, 1441793, 4, 65522, 1441793, 4, 65520, 1441793, 4, 65521, 1441793, 4, 65519, 1441793, 4, 65518, 1441793, 4, 65517, 1441793, 4, 65516, 1441793, 4, 65515, 1441793, 4, 65514, 1441793, 4, 65513, 1441793, 4, 65512, 1441793, 4, 65511, 1441793, 4, 65510, 1441793, 4, 65509, 1441793, 4, 65508, 1441793, 65533, 3, 1, 65533, 2, 1, 65532, 2, 1, 65532, 1, 1, 65531, 1, 1, 65531, 0, 1, 65531, 65535, 1, 65534, 3, 1)
}
metadata/_editor_floor_ = Vector3(0, 0, 0)
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_2t8wp")
[node name="house" parent="." instance=ExtResource("3_5bqog")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, 0)
[node name="house2" parent="." instance=ExtResource("3_5bqog")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, 0, -1)
[node name="tower" parent="." instance=ExtResource("4_iyvu7")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8, 0, -26)
[node name="house3" parent="." instance=ExtResource("3_5bqog")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, -34)
[node name="forest-border" parent="." instance=ExtResource("5_qx41h")]
[node name="Dialogue" type="Control" parent="."]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("6_1fpem")
[node name="HBoxContainer" type="HBoxContainer" parent="Dialogue"]
layout_mode = 0
offset_right = 320.0
offset_bottom = 240.0
[node name="leftpad" type="MarginContainer" parent="Dialogue/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="dialogue" type="MarginContainer" parent="Dialogue/HBoxContainer"]
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
size_flags_stretch_ratio = 0.0
[node name="Label" type="Label" parent="Dialogue/HBoxContainer/dialogue"]
custom_minimum_size = Vector2(0, 25)
layout_mode = 2
label_settings = SubResource("LabelSettings_axsar")
autowrap_mode = 2
[node name="rightpad" type="MarginContainer" parent="Dialogue/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="Music" type="AudioStreamPlayer" parent="."]
stream = ExtResource("8_ajjfb")
volume_db = -4.0
autoplay = true