28 Commits

Author SHA1 Message Date
14938d0649 Merge branch 'main' into polish9 2026-06-30 21:57:01 +02:00
859d0039a9 fix snow and exposure 2026-06-30 21:56:36 +02:00
Matteo Sonaglioni
0a9d1a3679 polish god ray 2026-06-30 21:35:53 +02:00
Matteo Sonaglioni
200e99418a polish splash screen 2026-06-30 18:16:50 +02:00
8198f7df1f fix snow and exposure 2026-06-30 17:04:40 +02:00
Matteo Sonaglioni
b2d2cca36d Merge branch 'main' into polish9 2026-06-30 17:02:35 +02:00
Matteo Sonaglioni
4d169b3a2d fix human color 2026-06-30 17:02:08 +02:00
952058b0e0 fix snow for train and wagons 2026-06-30 11:08:37 +02:00
475749c4df fix wires, fix exposition for wheater change, add base wind, add fireflies when is night 2026-06-30 10:08:18 +02:00
Matteo Sonaglioni
4b46448f74 fix farmer dress 2026-06-29 21:22:00 +02:00
086167a5a6 fix transition from splash 2026-06-29 18:16:30 +02:00
Matteo Sonaglioni
0d49071724 fix color - optimization shadow - color animals 2026-06-29 18:14:59 +02:00
885bac9a4a Merge branch 'main' of https://gitea.jmpgames.it/jmp-games/tgcc 2026-06-29 18:10:58 +02:00
496a271946 fix transition 2026-06-29 18:10:38 +02:00
d0d052f65b polish 8 2026-06-29 13:33:30 +00:00
67a99051bd update save mode 2026-06-29 15:23:44 +02:00
fb848a9848 add new transaction and add splash screen 2026-06-29 14:59:58 +02:00
bc30a169dc fix stats manager 2026-06-29 10:48:58 +02:00
f5576959b7 add achievement for train change 2026-06-29 10:21:56 +02:00
b8ab8f4971 Merge pull request 'add whistle to train' (#38) from whitleandstats into main
Reviewed-on: #38
2026-06-29 08:20:37 +00:00
77df5fbbfd add human dresses 2026-06-27 18:13:09 +02:00
Matteo Sonaglioni
ed5eb706a1 fix ai 2026-06-27 17:47:15 +02:00
Matteo Sonaglioni
58f9188794 Merge branch 'main' into polish8 2026-06-27 16:40:46 +02:00
Matteo Sonaglioni
b463f55f53 nav mesh chunk 2026-06-27 16:23:24 +02:00
c0a68da7d1 update and improve ui 2026-06-27 11:54:01 +00:00
97bbca95e8 add sit state and colors to cat 2026-06-25 19:46:13 +00:00
Matteo Sonaglioni
ed25b40969 add nav mesh chunk pt1 2026-06-25 18:02:44 +02:00
2b1370bd40 update biome generator to support new ai 2026-06-24 17:44:41 +00:00
163 changed files with 4087 additions and 869 deletions

View File

@@ -15,8 +15,8 @@ var _enable_state_machine: bool = true
@export var anim_player: AnimationPlayer
@export_group("Entities")
enum EntityType { HUMANOID, ANIMAL }
@export var entity_type: EntityType = EntityType.HUMANOID
enum EntityType { FARMER, CITIZEN_WALKER, CITIZEN_SITTER, CAT, CROW, FOX, GOAT, RACOON, WAGYU }
@export var entity_type: EntityType = EntityType.FARMER
@export var entity_name: String = ""
@export var allowed_biomes: Array[String] = []
@export_range(0.0, 100.0, 0.1) var spawn_uniqueness: float = 1.0
@@ -32,7 +32,8 @@ func _ready() -> void:
toggle_enable_state_machine()
func toggle_enable_state_machine() -> void:
state_machine.enable = _enable_state_machine
if state_machine:
state_machine.enable = _enable_state_machine
func _physics_process(delta: float) -> void:
if !_enable_state_machine:

View File

@@ -0,0 +1,38 @@
extends AIBase
class_name AICat
@export_group("Cat Colors")
@export var mesh: MeshInstance3D
@export var fur_colors: Array[Color] = []
@export var eye_colors: Array[Color] = []
@export var fur_material_index: int = 0
@export var eye_material_index: int = 1
func _ready() -> void:
super._ready()
_apply_random_color()
func _apply_random_color() -> void:
if fur_colors.is_empty() or eye_colors.is_empty():
return
if not mesh or not mesh.mesh:
return
var max_index = min(fur_colors.size(), eye_colors.size())
var random_idx = randi() % max_index
_override_material_color(mesh, fur_material_index, fur_colors[random_idx])
_override_material_color(mesh, eye_material_index, eye_colors[random_idx])
func _override_material_color(mesh_node: MeshInstance3D, surface_idx: int, color: Color) -> void:
if surface_idx < 0 or surface_idx >= mesh_node.mesh.get_surface_count():
return
var mat = mesh_node.mesh.surface_get_material(surface_idx)
if mat and mat is StandardMaterial3D:
var new_mat = mat.duplicate() as StandardMaterial3D
new_mat.albedo_color = color
mesh_node.set_surface_override_material(surface_idx, new_mat)

View File

@@ -0,0 +1 @@
uid://cx67xas1hxv3x

View File

@@ -2,12 +2,63 @@
[ext_resource type="PackedScene" uid="uid://clx701xdwelgx" path="res://core/ai/agents/base/ai_base.tscn" id="1_85o24"]
[ext_resource type="Script" uid="uid://d3hy70ec8vqo5" path="res://core/ai/framework/run_animation_state.gd" id="2_6mu8r"]
[ext_resource type="Script" uid="uid://cx67xas1hxv3x" path="res://core/ai/agents/cat/ai_cat.gd" id="2_cat_script"]
[ext_resource type="PackedScene" uid="uid://c5rccx22gs6jt" path="res://core/ai/agents/cat/Cat_rig.fbx" id="2_rohxe"]
[ext_resource type="Script" uid="uid://bngfthvt04ivv" path="res://core/ai/framework/patrol_state.gd" id="3_0jm3k"]
[ext_resource type="Script" uid="uid://dty1p02kqviwf" path="res://core/ai/framework/sit_state.gd" id="3_scd7t"]
[ext_resource type="Shader" uid="uid://d0ch5ofrgf7y6" path="res://core/daynight/trunk_shader.gdshader" id="7_rxsfd"]
[node name="AiCat" unique_id=1228675528 node_paths=PackedStringArray("anim_player") instance=ExtResource("1_85o24")]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_1rb57"]
render_priority = 0
shader = ExtResource("7_rxsfd")
shader_parameter/albedo_color = Color(0.7389186, 0.53468716, 0.19165063, 1)
shader_parameter/use_texture = true
shader_parameter/uv_scale = Vector2(1, 1)
shader_parameter/palette_shift_y = 0.0
shader_parameter/gradient_start_y = 0.0
shader_parameter/gradient_end_y = 10.0
shader_parameter/light_steps = 3.0
shader_parameter/step_softness = 0.1
shader_parameter/shadow_color = Color(0.4, 0.4, 0.6, 1)
shader_parameter/shadow_offset = 0.0
shader_parameter/cast_shadow_strength = 0.6
shader_parameter/use_ghibli_glint = true
shader_parameter/glint_color = Color(1, 0.95, 0.85, 1)
shader_parameter/glint_intensity = 1.0
shader_parameter/glint_sharpness = 32.0
shader_parameter/emission_color = Color(0, 0, 0, 1)
shader_parameter/emission_energy = 0.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_42ie3"]
render_priority = 0
shader = ExtResource("7_rxsfd")
shader_parameter/albedo_color = Color(0.099985994, 0.09998601, 0.099985965, 1)
shader_parameter/use_texture = true
shader_parameter/uv_scale = Vector2(1, 1)
shader_parameter/palette_shift_y = 0.0
shader_parameter/gradient_start_y = 0.0
shader_parameter/gradient_end_y = 10.0
shader_parameter/light_steps = 3.0
shader_parameter/step_softness = 0.1
shader_parameter/shadow_color = Color(0.4, 0.4, 0.6, 1)
shader_parameter/shadow_offset = 0.0
shader_parameter/cast_shadow_strength = 0.6
shader_parameter/use_ghibli_glint = true
shader_parameter/glint_color = Color(1, 0.95, 0.85, 1)
shader_parameter/glint_intensity = 1.0
shader_parameter/glint_sharpness = 32.0
shader_parameter/emission_color = Color(0, 0, 0, 1)
shader_parameter/emission_energy = 0.0
[node name="AiCat" unique_id=1228675528 node_paths=PackedStringArray("mesh", "anim_player") instance=ExtResource("1_85o24")]
script = ExtResource("2_cat_script")
mesh = NodePath("Cat_rig/Rig_Cat/Skeleton3D/Cat")
fur_colors = Array[Color]([Color(0.8716863, 0.762116, 0.1809479, 1)])
eye_colors = Array[Color]([Color(0.12955844, 0.12955847, 0.12955844, 1), Color(0.6901961, 0.3019608, 0.12156863, 1), Color(0.6830768, 0.6830776, 0.68307686, 1), Color(0.6273405, 0.15743047, 0, 1)])
fur_material_index = 0
eye_material_index = 1
anim_player = NodePath("Cat_rig/AnimationPlayer")
entity_type = 1
entity_type = 3
entity_name = "Cat"
[node name="StateMachine" parent="." index="1" unique_id=1286404264 node_paths=PackedStringArray("initial_state")]
@@ -17,9 +68,16 @@ initial_state = NodePath("IdleState")
script = ExtResource("2_6mu8r")
state_id = &"idle"
next_state_id = &"patrol"
random_next_state_ids = Array[StringName]([&"patrol", &"sit"])
animation_name = "Cat_Idle"
[node name="PatrolState" type="Node" parent="StateMachine" index="1" unique_id=1861645340]
[node name="SitState" type="Node" parent="StateMachine" index="1" unique_id=860354787]
script = ExtResource("3_scd7t")
state_id = &"sit"
next_state_id = &"idle"
animation_name = "Cat_Sit"
[node name="PatrolState" type="Node" parent="StateMachine" index="2" unique_id=1861645340]
script = ExtResource("3_0jm3k")
state_id = &"patrol"
next_state_id = &"idle"
@@ -28,7 +86,7 @@ exit_on_action_finished = true
[node name="Cat_rig" parent="." index="3" unique_id=1332997618 instance=ExtResource("2_rohxe")]
[node name="Skeleton3D" parent="Cat_rig/Rig_Cat" parent_id_path=PackedInt32Array(1332997618, 1292226211) index="0" unique_id=807490174]
[node name="Skeleton3D" parent="Cat_rig/Rig_Cat" parent_id_path=PackedInt32Array(1332997618, 1024066488) index="0" unique_id=1455145313]
bones/1/position = Vector3(1.6719584e-08, 0.23547882, 0.34218493)
bones/1/rotation = Quaternion(0.12769094, -0.6954821, -0.12769029, 0.69548184)
bones/2/rotation = Quaternion(-1.5819447e-07, -1.9079575e-07, -0.5904159, 0.8070992)
@@ -57,4 +115,8 @@ bones/27/rotation = Quaternion(-8.140452e-08, 1.1560887e-07, -0.47071794, 0.8822
bones/28/position = Vector3(0.18089616, -0.000116375166, 0.011642809)
bones/28/rotation = Quaternion(4.5638826e-05, -8.8217595e-05, 0.5290293, 0.84860367)
[node name="Cat" parent="Cat_rig/Rig_Cat/Skeleton3D" index="0" unique_id=869144045]
surface_material_override/0 = SubResource("ShaderMaterial_1rb57")
surface_material_override/1 = SubResource("ShaderMaterial_42ie3")
[editable path="Cat_rig"]

View File

@@ -7,18 +7,22 @@
[node name="AiCrow" unique_id=1228675528 node_paths=PackedStringArray("anim_player") instance=ExtResource("1_tx3nx")]
anim_player = NodePath("Crow_rig/AnimationPlayer")
entity_type = 4
entity_name = "Crow"
[node name="StateMachine" parent="." index="1" unique_id=1286404264 node_paths=PackedStringArray("initial_state")]
initial_state = NodePath("WaitTrainState")
[node name="WaitTrainState" type="Node" parent="StateMachine" index="0" unique_id=1000000000]
script = ExtResource("3_wait")
fly_distance_threshold = 10.0
state_id = &"wait"
next_state_id = &"fly"
animation_name = "Idle_Crow"
[node name="FlyAwayState" type="Node" parent="StateMachine" index="1" unique_id=1000000001]
script = ExtResource("4_fly")
destroy_after_seconds = 20.0
state_id = &"fly"
animation_name = "Fly_Crow"

View File

@@ -5,9 +5,34 @@
[ext_resource type="PackedScene" uid="uid://4y4tffc723lg" path="res://core/ai/agents/fox/Fox_rig.fbx" id="2_xaafp"]
[ext_resource type="Script" uid="uid://bngfthvt04ivv" path="res://core/ai/framework/patrol_state.gd" id="3_d1sp2"]
[ext_resource type="Script" uid="uid://b5y4u0itec8g1" path="res://core/ai/framework/run_state.gd" id="4_d1sp2"]
[ext_resource type="Shader" uid="uid://d0ch5ofrgf7y6" path="res://core/daynight/trunk_shader.gdshader" id="6_oqxvo"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_4pdxi"]
render_priority = 0
shader = ExtResource("6_oqxvo")
shader_parameter/albedo_color = Color(0.5408599, 0.27705142, 0.12841594, 1)
shader_parameter/use_texture = true
shader_parameter/uv_scale = Vector2(3, 3)
shader_parameter/palette_shift_y = 0.0
shader_parameter/gradient_start_y = 0.0
shader_parameter/gradient_end_y = 1.5
shader_parameter/light_steps = 3.0
shader_parameter/step_softness = 0.1
shader_parameter/shadow_color = Color(0.4, 0.4, 0.6, 1)
shader_parameter/shadow_offset = 0.0
shader_parameter/cast_shadow_strength = 0.6
shader_parameter/use_ghibli_glint = true
shader_parameter/glint_color = Color(1, 0.95, 0.85, 1)
shader_parameter/glint_intensity = 1.0
shader_parameter/glint_sharpness = 32.0
shader_parameter/emission_color = Color(0, 0, 0, 1)
shader_parameter/emission_energy = 0.0
[node name="AiFox" unique_id=1228675528 node_paths=PackedStringArray("anim_player") instance=ExtResource("1_m3efo")]
navigation_layers = 4
anim_player = NodePath("Fox_rig/AnimationPlayer")
entity_type = 5
entity_name = "Fox"
[node name="StateMachine" parent="." index="1" unique_id=1286404264 node_paths=PackedStringArray("initial_state")]
initial_state = NodePath("IdleState")
@@ -35,7 +60,7 @@ exit_on_action_finished = true
[node name="Fox_rig" parent="." index="3" unique_id=2044859181 instance=ExtResource("2_xaafp")]
[node name="Skeleton3D" parent="Fox_rig/Rig_Fox" parent_id_path=PackedInt32Array(2044859181, 1371677834) index="0" unique_id=625291101]
[node name="Skeleton3D" parent="Fox_rig/Rig_Fox" parent_id_path=PackedInt32Array(2044859181, 975246732) index="0" unique_id=1559174379]
bones/1/position = Vector3(1.2443564e-08, 0.24551632, 0.408434)
bones/1/rotation = Quaternion(0.12769088, -0.6954821, -0.12769023, 0.69548184)
bones/2/rotation = Quaternion(-1.492881e-07, -1.7862074e-07, -0.5904159, 0.8070992)
@@ -58,4 +83,7 @@ bones/26/rotation = Quaternion(-3.3980676e-05, -0.00016874354, 0.9618461, -0.273
bones/27/rotation = Quaternion(-1.9324155e-08, 4.5031282e-08, -0.47071794, 0.8822838)
bones/28/rotation = Quaternion(4.549153e-05, -8.8271285e-05, 0.5290293, 0.84860367)
[node name="fox" parent="Fox_rig/Rig_Fox/Skeleton3D" index="0" unique_id=2042924802]
surface_material_override/1 = SubResource("ShaderMaterial_4pdxi")
[editable path="Fox_rig"]

View File

@@ -4,9 +4,55 @@
[ext_resource type="PackedScene" uid="uid://cumnmnbdjbgas" path="res://core/ai/agents/goat/Goat_rig.fbx" id="2_oxwbf"]
[ext_resource type="Script" uid="uid://d3hy70ec8vqo5" path="res://core/ai/framework/run_animation_state.gd" id="2_ucoix"]
[ext_resource type="Script" uid="uid://bngfthvt04ivv" path="res://core/ai/framework/patrol_state.gd" id="3_lqqd8"]
[ext_resource type="Shader" uid="uid://d0ch5ofrgf7y6" path="res://core/daynight/trunk_shader.gdshader" id="5_lqqd8"]
[ext_resource type="Material" uid="uid://cn20mp8ep3yxu" path="res://tgcc/chunk/material/wires.tres" id="6_xcxu7"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_xcxu7"]
render_priority = 0
shader = ExtResource("5_lqqd8")
shader_parameter/albedo_color = Color(0.46774077, 0.51844496, 0.510305, 1)
shader_parameter/use_texture = true
shader_parameter/uv_scale = Vector2(3, 3)
shader_parameter/palette_shift_y = 0.0
shader_parameter/gradient_start_y = 0.0
shader_parameter/gradient_end_y = 1.5
shader_parameter/light_steps = 3.0
shader_parameter/step_softness = 0.1
shader_parameter/shadow_color = Color(0.4, 0.4, 0.6, 1)
shader_parameter/shadow_offset = 0.0
shader_parameter/cast_shadow_strength = 0.6
shader_parameter/use_ghibli_glint = true
shader_parameter/glint_color = Color(1, 0.95, 0.85, 1)
shader_parameter/glint_intensity = 1.0
shader_parameter/glint_sharpness = 32.0
shader_parameter/emission_color = Color(0, 0, 0, 1)
shader_parameter/emission_energy = 0.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_lqqd8"]
render_priority = 0
shader = ExtResource("5_lqqd8")
shader_parameter/albedo_color = Color(0.49370736, 0.43829006, 0.29924837, 1)
shader_parameter/use_texture = true
shader_parameter/uv_scale = Vector2(3, 3)
shader_parameter/palette_shift_y = 0.0
shader_parameter/gradient_start_y = 0.0
shader_parameter/gradient_end_y = 1.5
shader_parameter/light_steps = 3.0
shader_parameter/step_softness = 0.1
shader_parameter/shadow_color = Color(0.4, 0.4, 0.6, 1)
shader_parameter/shadow_offset = 0.0
shader_parameter/cast_shadow_strength = 0.6
shader_parameter/use_ghibli_glint = true
shader_parameter/glint_color = Color(1, 0.95, 0.85, 1)
shader_parameter/glint_intensity = 1.0
shader_parameter/glint_sharpness = 32.0
shader_parameter/emission_color = Color(0, 0, 0, 1)
shader_parameter/emission_energy = 0.0
[node name="AiGoat" unique_id=1228675528 node_paths=PackedStringArray("anim_player") instance=ExtResource("1_f7hhh")]
anim_player = NodePath("Goat_rig/AnimationPlayer")
entity_type = 6
entity_name = "Goat"
[node name="StateMachine" parent="." index="1" unique_id=1286404264 node_paths=PackedStringArray("initial_state")]
initial_state = NodePath("IdleState")
@@ -26,7 +72,7 @@ exit_on_action_finished = true
[node name="Goat_rig" parent="." index="3" unique_id=1336829719 instance=ExtResource("2_oxwbf")]
[node name="Skeleton3D" parent="Goat_rig/Rig_Goat" parent_id_path=PackedInt32Array(1336829719, 1896192446) index="0" unique_id=1573667924]
[node name="Skeleton3D" parent="Goat_rig/Rig_Goat" parent_id_path=PackedInt32Array(1336829719, 1679574624) index="0" unique_id=1406072579]
bones/1/position = Vector3(-8.352713e-09, 0.36986786, 0.8951362)
bones/1/rotation = Quaternion(0.1276911, -0.695482, -0.12769035, 0.69548184)
bones/2/rotation = Quaternion(-8.7811394e-08, -9.458198e-08, -0.5904155, 0.80709946)
@@ -49,4 +95,10 @@ bones/26/rotation = Quaternion(2.713829e-07, 8.5825764e-07, 0.9653876, -0.260819
bones/27/rotation = Quaternion(-3.8362674e-07, 5.6200027e-09, -0.3680436, 0.92980856)
bones/28/rotation = Quaternion(-0.00015313082, -7.842175e-05, 0.45790914, 0.888999)
[node name="Goat" parent="Goat_rig/Rig_Goat/Skeleton3D" index="0" unique_id=1545212389]
surface_material_override/0 = SubResource("ShaderMaterial_xcxu7")
surface_material_override/1 = SubResource("ShaderMaterial_lqqd8")
surface_material_override/2 = ExtResource("6_xcxu7")
surface_material_override/3 = ExtResource("6_xcxu7")
[editable path="Goat_rig"]

Binary file not shown.

View File

@@ -0,0 +1,44 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://b3j2dbcqwodx1"
path="res://.godot/imported/Farmer1.fbx-c6b3fa9e901f9ab5b38c67c1343eab85.scn"
[deps]
source_file="res://core/ai/agents/human/Farmer1.fbx"
dest_files=["res://.godot/imported/Farmer1.fbx-c6b3fa9e901f9ab5b38c67c1343eab85.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/root_script=null
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_name_suffixes=true
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=true
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
materials/extract=0
materials/extract_format=0
materials/extract_path=""
_subresources={}
fbx/importer=0
fbx/allow_geometry_helper_nodes=false
fbx/embedded_image_handling=1
fbx/naming_version=2

Binary file not shown.

View File

@@ -0,0 +1,44 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://c5x3ycaxixpxy"
path="res://.godot/imported/Farmer2.fbx-da830fcedaed7d46b77458a4c0e1f611.scn"
[deps]
source_file="res://core/ai/agents/human/Farmer2.fbx"
dest_files=["res://.godot/imported/Farmer2.fbx-da830fcedaed7d46b77458a4c0e1f611.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/root_script=null
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_name_suffixes=true
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=true
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
materials/extract=0
materials/extract_format=0
materials/extract_path=""
_subresources={}
fbx/importer=0
fbx/allow_geometry_helper_nodes=false
fbx/embedded_image_handling=1
fbx/naming_version=2

View File

@@ -3,6 +3,7 @@
[ext_resource type="PackedScene" uid="uid://bdqeshcwwnyc4" path="res://core/ai/agents/human/ai_citizen.tscn" id="1_cduuu"]
[node name="AiCitizenSitter" unique_id=1228675528 instance=ExtResource("1_cduuu")]
entity_type = 2
entity_name = "CitizenSitter"
[node name="Skeleton3D" parent="BaseMesh/BaseMesh" parent_id_path=PackedInt32Array(1846171523, 1142246531) index="0" unique_id=928995817]

View File

@@ -5,6 +5,7 @@
[ext_resource type="Script" uid="uid://bngfthvt04ivv" path="res://core/ai/framework/patrol_state.gd" id="3_8d0tj"]
[node name="AiCitizenWalker" unique_id=1228675528 instance=ExtResource("1_dms8s")]
entity_type = 1
entity_name = "CitizenWalker"
[node name="StateMachine" parent="." index="1" unique_id=1286404264 node_paths=PackedStringArray("initial_state")]

View File

@@ -3,13 +3,39 @@
[ext_resource type="PackedScene" uid="uid://mvh2v6v72stt" path="res://core/ai/agents/human/ai_human.tscn" id="1_l2y7m"]
[ext_resource type="Script" uid="uid://bngfthvt04ivv" path="res://core/ai/framework/patrol_state.gd" id="3_2oda6"]
[ext_resource type="Script" uid="uid://d3hy70ec8vqo5" path="res://core/ai/framework/run_animation_state.gd" id="4_2oda6"]
[ext_resource type="Shader" uid="uid://d0ch5ofrgf7y6" path="res://core/daynight/trunk_shader.gdshader" id="6_ejkex"]
[ext_resource type="Texture2D" uid="uid://jn4seoee6vtw" path="res://tgcc/chunk/prop/house/main_texture.png" id="7_ax7ee"]
[ext_resource type="Material" uid="uid://b2lg2y1k7grmo" path="res://tgcc/chunk/prop/tree/trunk.tres" id="9_gownw"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_gownw"]
render_priority = 0
shader = ExtResource("6_ejkex")
shader_parameter/albedo_color = Color(1, 1, 1, 1)
shader_parameter/albedo_texture = ExtResource("7_ax7ee")
shader_parameter/use_texture = true
shader_parameter/uv_scale = Vector2(1, 1)
shader_parameter/palette_shift_y = 0.0
shader_parameter/gradient_start_y = 0.0
shader_parameter/gradient_end_y = 10.0
shader_parameter/light_steps = 3.0
shader_parameter/step_softness = 0.1
shader_parameter/shadow_color = Color(0.4, 0.4, 0.6, 1)
shader_parameter/shadow_offset = 0.0
shader_parameter/cast_shadow_strength = 0.6
shader_parameter/use_ghibli_glint = true
shader_parameter/glint_color = Color(1, 0.95, 0.85, 1)
shader_parameter/glint_intensity = 0.446000021185
shader_parameter/glint_sharpness = 7.000000285
shader_parameter/emission_color = Color(0, 0, 0, 1)
shader_parameter/emission_energy = 0.0
[node name="AiFarmer" unique_id=1228675528 instance=ExtResource("1_l2y7m")]
navigation_layers = 2
entity_name = "Farmer"
allowed_biomes = Array[String](["countryside"])
[node name="StateMachine" parent="." index="1" unique_id=1286404264 node_paths=PackedStringArray("initial_state")]
initial_state = NodePath("GatherState")
initial_state = NodePath("IdleState")
[node name="PatrolState" type="Node" parent="StateMachine" index="0" unique_id=930272128]
script = ExtResource("3_2oda6")
@@ -33,8 +59,64 @@ state_id = &"idle"
next_state_id = &"patrol"
animation_name = "custom/idle"
[node name="Skeleton3D" parent="BaseMesh/BaseMesh" parent_id_path=PackedInt32Array(1846171523, 1142246531) index="0" unique_id=928995817]
bones/8/rotation = Quaternion(-0.6173422, -0.37346625, 0.5666242, -0.3979305)
bones/46/rotation = Quaternion(0.059241787, 0.12928401, 0.9836761, -0.110261135)
[node name="Skeleton3D" parent="BaseMesh/BaseMesh" parent_id_path=PackedInt32Array(1846171523, 1363988051) index="0" unique_id=1848874512]
bones/0/position = Vector3(-0.0015795716, 0.9761277, 0.0012886743)
bones/0/rotation = Quaternion(0.008345705, 0.02440254, -0.0222881, 0.999419)
bones/1/rotation = Quaternion(-0.033856627, 0.0019547925, 0.01148837, 0.9993588)
bones/2/rotation = Quaternion(0.003385691, 0.0057030413, 0.004773842, 0.9999666)
bones/3/rotation = Quaternion(0.0033856947, 0.0057030534, 0.0047738357, 0.9999666)
bones/4/rotation = Quaternion(0.03554347, -0.0036022358, -0.01067691, 0.9993046)
bones/5/rotation = Quaternion(0.023500564, -0.0268053, 0.016007349, 0.9992362)
bones/8/rotation = Quaternion(-0.677935, -0.3162402, 0.5391133, -0.3869797)
bones/9/rotation = Quaternion(0.33057448, -0.0144906035, -0.024771411, 0.9433436)
bones/10/rotation = Quaternion(0.071588665, 0.16423635, 0.26876602, 0.9463965)
bones/11/rotation = Quaternion(-0.11033899, 0.19317266, 0.18225361, 0.95775425)
bones/12/rotation = Quaternion(0.28979003, -0.100065045, 0.021221647, 0.95160836)
bones/13/rotation = Quaternion(-0.01075587, -0.003262491, 0.085242614, 0.9962969)
bones/17/rotation = Quaternion(0.372185, -0.04203017, 0.003265603, 0.9272007)
bones/18/rotation = Quaternion(0.6449709, -0.022805, 0.11591787, 0.7550203)
bones/22/rotation = Quaternion(0.5152635, -0.09862117, 0.07484319, 0.8480425)
bones/23/rotation = Quaternion(0.7634141, -0.01797779, 0.14009176, 0.63027775)
bones/27/rotation = Quaternion(0.6460654, -0.34361044, 0.58023506, 0.35757324)
bones/28/rotation = Quaternion(0.3564352, 0.033001784, 0.1479881, 0.9219352)
bones/29/rotation = Quaternion(0.10407414, -0.119882874, -0.20823832, 0.96510804)
bones/30/rotation = Quaternion(-0.040577345, -0.20657076, -0.14159827, 0.96728075)
bones/31/rotation = Quaternion(0.18718895, 0.11185156, -0.005364931, 0.97592044)
bones/32/rotation = Quaternion(0.077440694, -0.18545257, 0.02808432, 0.9791944)
bones/36/rotation = Quaternion(0.33726785, 0.06133867, 0.07482985, 0.93642324)
bones/37/rotation = Quaternion(0.5483169, 0.027307179, -0.058035128, 0.83380747)
bones/41/rotation = Quaternion(0.4086348, 0.09420283, 0.037183065, 0.90706164)
bones/42/rotation = Quaternion(0.59161603, 0.030198008, -0.037664413, 0.8047733)
bones/46/rotation = Quaternion(0.060233127, 0.24369022, 0.966249, -0.05787964)
bones/47/rotation = Quaternion(-0.56581247, 0.0105282655, -0.0027436528, 0.8244622)
bones/48/rotation = Quaternion(0.46872035, 0.0146656195, -0.0033694527, 0.88321847)
bones/49/rotation = Quaternion(0.49349385, 0.06718427, -0.01829647, 0.86695755)
bones/52/rotation = Quaternion(-0.0765912, 0.12600712, 0.988389, -0.03665043)
bones/53/rotation = Quaternion(-0.25056988, -0.06629382, 0.018621337, 0.96564656)
bones/54/rotation = Quaternion(0.549743, -0.041815143, -0.046032935, 0.83301574)
bones/55/rotation = Quaternion(0.3627838, -0.05369254, 0.01255593, 0.9302406)
[node name="hat_001" parent="Farmer1/BaseMesh/Skeleton3D" parent_id_path=PackedInt32Array(925374995, 224377346) index="1" unique_id=1950307793]
surface_material_override/0 = SubResource("ShaderMaterial_gownw")
[node name="pants" parent="Farmer1/BaseMesh/Skeleton3D" parent_id_path=PackedInt32Array(925374995, 224377346) index="2" unique_id=1080342530]
surface_material_override/0 = ExtResource("9_gownw")
[node name="shirt2" parent="Farmer1/BaseMesh/Skeleton3D" parent_id_path=PackedInt32Array(925374995, 224377346) index="3" unique_id=1846653994]
surface_material_override/0 = ExtResource("9_gownw")
surface_material_override/1 = ExtResource("9_gownw")
surface_material_override/2 = ExtResource("9_gownw")
[node name="pants" parent="Farmer2/BaseMesh/Skeleton3D" parent_id_path=PackedInt32Array(1239853450, 1824387143) index="1" unique_id=1777820543]
surface_material_override/0 = ExtResource("9_gownw")
[node name="shirt1" parent="Farmer2/BaseMesh/Skeleton3D" parent_id_path=PackedInt32Array(1239853450, 1824387143) index="2" unique_id=1243989703]
surface_material_override/0 = ExtResource("9_gownw")
surface_material_override/1 = ExtResource("9_gownw")
[node name="DressHuman" parent="." index="6" unique_id=107727715]
colors = Array[Color]([Color(0.8, 0.45490196, 0.32156864, 1), Color(0.84797, 0.6868576, 0.24382448, 1), Color(0.4862745, 0.60784316, 0.6901961, 1), Color(0.24718326, 0.3552445, 0.23638204, 1), Color(0.34000763, 0.32978323, 0.29223797, 1)])
[editable path="BaseMesh"]
[editable path="Farmer1"]
[editable path="Farmer2"]

View File

@@ -6,6 +6,14 @@
[ext_resource type="Animation" uid="uid://ptj85lvvtjpg" path="res://core/ai/agents/human/sitting.res" id="4_8kg0q"]
[ext_resource type="Animation" uid="uid://oq22ilhxjejj" path="res://core/ai/agents/human/idle.res" id="4_cuxdk"]
[ext_resource type="Animation" uid="uid://6xnsf8x7nmsl" path="res://core/ai/agents/human/walking.res" id="6_cuxdk"]
[ext_resource type="PackedScene" uid="uid://b3j2dbcqwodx1" path="res://core/ai/agents/human/Farmer1.fbx" id="7_hguxe"]
[ext_resource type="Material" uid="uid://blqelpjvdv23j" path="res://tgcc/chunk/material/grassflat_chunk.tres" id="8_362f3"]
[ext_resource type="PackedScene" uid="uid://c5x3ycaxixpxy" path="res://core/ai/agents/human/Farmer2.fbx" id="8_ke7sb"]
[ext_resource type="Script" uid="uid://dauqq8cqmwrqh" path="res://core/ai/agents/human/dress_human.gd" id="9_2tpdi"]
[ext_resource type="Material" uid="uid://b4luvp3fi0p43" path="res://tgcc/chunk/material/railway_chunk.tres" id="9_12auf"]
[ext_resource type="Shader" uid="uid://d0ch5ofrgf7y6" path="res://core/daynight/trunk_shader.gdshader" id="10_3t1a4"]
[ext_resource type="Texture2D" uid="uid://jn4seoee6vtw" path="res://tgcc/chunk/prop/house/main_texture.png" id="11_o6vi4"]
[ext_resource type="Material" uid="uid://wkegx4a21x7u" path="res://tgcc/chunk/prop/fence/fences.tres" id="11_v2pkc"]
[sub_resource type="AnimationLibrary" id="AnimationLibrary_8kg0q"]
_data = {
@@ -15,13 +23,123 @@ _data = {
&"walking": ExtResource("6_cuxdk")
}
[sub_resource type="ShaderMaterial" id="ShaderMaterial_vuqrb"]
render_priority = 0
shader = ExtResource("10_3t1a4")
shader_parameter/albedo_color = Color(1, 1, 1, 1)
shader_parameter/albedo_texture = ExtResource("11_o6vi4")
shader_parameter/use_texture = true
shader_parameter/uv_scale = Vector2(1, 1)
shader_parameter/palette_shift_y = 0.0
shader_parameter/gradient_start_y = 0.0
shader_parameter/gradient_end_y = 10.0
shader_parameter/light_steps = 3.0
shader_parameter/step_softness = 0.1
shader_parameter/shadow_color = Color(0.4, 0.4, 0.6, 1)
shader_parameter/shadow_offset = 0.0
shader_parameter/cast_shadow_strength = 0.6
shader_parameter/use_ghibli_glint = false
shader_parameter/glint_color = Color(1, 0.95, 0.85, 1)
shader_parameter/glint_intensity = 2.000000095
shader_parameter/glint_sharpness = 7.000000285
shader_parameter/emission_color = Color(0, 0, 0, 1)
shader_parameter/emission_energy = 0.0
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ke7sb"]
_data = {
&"gathering": ExtResource("3_8kg0q"),
&"idle": ExtResource("4_cuxdk"),
&"sitting": ExtResource("4_8kg0q"),
&"walking": ExtResource("6_cuxdk")
}
[sub_resource type="ShaderMaterial" id="ShaderMaterial_v2pkc"]
render_priority = 0
shader = ExtResource("10_3t1a4")
shader_parameter/albedo_color = Color(1, 1, 1, 1)
shader_parameter/albedo_texture = ExtResource("11_o6vi4")
shader_parameter/use_texture = true
shader_parameter/uv_scale = Vector2(1, 1)
shader_parameter/palette_shift_y = 0.0
shader_parameter/gradient_start_y = 0.0
shader_parameter/gradient_end_y = 10.0
shader_parameter/light_steps = 3.0
shader_parameter/step_softness = 0.1
shader_parameter/shadow_color = Color(0.4, 0.4, 0.6, 1)
shader_parameter/shadow_offset = 0.0
shader_parameter/cast_shadow_strength = 0.6
shader_parameter/use_ghibli_glint = false
shader_parameter/glint_color = Color(1, 0.95, 0.85, 1)
shader_parameter/glint_intensity = 2.000000095
shader_parameter/glint_sharpness = 7.000000285
shader_parameter/emission_color = Color(0, 0, 0, 1)
shader_parameter/emission_energy = 0.0
[sub_resource type="AnimationLibrary" id="AnimationLibrary_2tpdi"]
_data = {
&"gathering": ExtResource("3_8kg0q"),
&"idle": ExtResource("4_cuxdk"),
&"sitting": ExtResource("4_8kg0q"),
&"walking": ExtResource("6_cuxdk")
}
[node name="AiHuman" unique_id=1228675528 node_paths=PackedStringArray("anim_player") instance=ExtResource("1_hko2w")]
anim_player = NodePath("BaseMesh/AnimationPlayer")
[node name="BaseMesh" parent="." index="3" unique_id=1846171523 instance=ExtResource("3_ef4cu")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.9, 0)
[node name="Skeleton3D" parent="BaseMesh/BaseMesh" parent_id_path=PackedInt32Array(1846171523, 1142246531) index="0" unique_id=928995817]
[node name="Skeleton3D" parent="BaseMesh/BaseMesh" parent_id_path=PackedInt32Array(1846171523, 1363988051) index="0" unique_id=1848874512]
bones/0/position = Vector3(-0.0024333135, 0.9952637, 6.9276895e-05)
bones/0/rotation = Quaternion(-0.0049152793, -0.050206795, -0.026513178, 0.99837476)
bones/1/rotation = Quaternion(-0.025209453, 0.006135946, 0.009180705, 0.9996213)
bones/2/rotation = Quaternion(0.020680578, 0.011754706, 0.015464293, 0.99959743)
bones/3/rotation = Quaternion(0.020680578, 0.011754692, 0.015464287, 0.99959743)
bones/4/rotation = Quaternion(-0.053108443, 0.009324013, 0.011697456, 0.9984768)
bones/5/rotation = Quaternion(0.03947722, 0.0123098595, -0.024802445, 0.99883676)
bones/8/rotation = Quaternion(-0.5728458, -0.38286844, 0.60871977, -0.39334446)
bones/9/rotation = Quaternion(0.44939622, 0.29187396, 0.053696252, 0.84259677)
bones/10/rotation = Quaternion(-0.013349593, 0.006303966, 0.231745, 0.97266454)
bones/11/rotation = Quaternion(-0.13493852, -0.23365982, 0.088579476, 0.95882654)
bones/12/rotation = Quaternion(0.1921569, 0.10821218, -0.024087887, 0.9750824)
bones/13/rotation = Quaternion(0.025333803, 0.00917047, 0.048555605, 0.9984571)
bones/14/rotation = Quaternion(-0.0120385215, 0.035021365, -0.027293455, 0.99894124)
bones/17/rotation = Quaternion(0.09417869, -0.072669275, -0.17156787, 0.9779642)
bones/18/rotation = Quaternion(0.14308922, 0.0019350327, -0.0097575225, 0.98965985)
bones/19/rotation = Quaternion(0.114431076, 0.0009974723, -0.016153814, 0.99329937)
bones/22/rotation = Quaternion(0.11025663, -0.026056329, -0.115814656, 0.9867886)
bones/23/rotation = Quaternion(0.08941777, 0.0010620031, -0.023814844, 0.9957089)
bones/24/rotation = Quaternion(0.18236126, 0.0039793584, -0.014504941, 0.9831166)
bones/27/rotation = Quaternion(0.5637914, -0.40525162, 0.5912719, 0.41025364)
bones/28/rotation = Quaternion(0.5117543, -0.062450167, 0.07040776, 0.8539615)
bones/29/rotation = Quaternion(0.06749446, 0.22771753, -0.20722775, 0.9490237)
bones/30/rotation = Quaternion(-0.0005478785, -0.33554533, -0.112540804, 0.93527734)
bones/31/rotation = Quaternion(0.13877106, 0.12508087, 0.031252213, 0.9818965)
bones/32/rotation = Quaternion(-0.01564488, 0.0028465544, -0.073795564, 0.9971466)
bones/33/rotation = Quaternion(0.09055836, 0.16444178, -0.016598457, 0.9820808)
bones/36/rotation = Quaternion(0.048626706, 0.08521321, 0.1502388, 0.98376954)
bones/37/rotation = Quaternion(0.20746112, 0.00031290663, 0.0112788575, 0.97817826)
bones/38/rotation = Quaternion(0.15843387, -0.0010695796, -0.0025179624, 0.9873659)
bones/41/rotation = Quaternion(0.16202472, 0.04171574, 0.09497025, 0.98131984)
bones/42/rotation = Quaternion(0.14799795, 0.00100551, 0.030993575, 0.9885015)
bones/43/rotation = Quaternion(0.04765674, -0.005312021, -0.037802245, 0.9981341)
bones/46/rotation = Quaternion(0.024758164, 0.13509843, 0.9874187, -0.07835583)
bones/47/rotation = Quaternion(-0.1871983, 0.0008643933, -0.010582049, 0.98226476)
bones/48/rotation = Quaternion(0.46037424, -0.13497493, 0.042778272, 0.87636036)
bones/49/rotation = Quaternion(0.3209879, 0.038273156, 0.0024189365, 0.9463065)
bones/52/rotation = Quaternion(-0.060150255, 0.009860813, 0.99663967, -0.05471906)
bones/53/rotation = Quaternion(-0.10502596, -0.00032293255, 0.008123855, 0.9944363)
bones/54/rotation = Quaternion(0.51151097, 0.066536464, -0.07767137, 0.8531686)
bones/55/rotation = Quaternion(0.3453064, -0.067497015, 0.02391528, 0.93575406)
[node name="AnimationPlayer" parent="BaseMesh" index="1" unique_id=930749540]
libraries/custom = SubResource("AnimationLibrary_8kg0q")
[node name="Farmer1" parent="." index="4" unique_id=925374995 instance=ExtResource("7_hguxe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.9, 0)
visible = false
[node name="Skeleton3D" parent="Farmer1/BaseMesh" parent_id_path=PackedInt32Array(925374995, 1608049295) index="0" unique_id=224377346]
bones/0/position = Vector3(0.00060560287, 0.9719096, 0.007789615)
bones/0/rotation = Quaternion(-0.03158553, -0.024531638, -0.086598895, 0.9954402)
bones/1/rotation = Quaternion(-0.068302006, -0.011589706, 0.088431515, 0.99367017)
@@ -29,7 +147,7 @@ bones/2/rotation = Quaternion(0.013750468, -0.0028497525, 0.022636604, 0.9996452
bones/3/rotation = Quaternion(0.014052153, -0.0046672956, 0.021981178, 0.99964875)
bones/4/rotation = Quaternion(0.08060878, 0.0009885994, -0.05385771, 0.99528927)
bones/5/rotation = Quaternion(-0.08819712, -0.010719821, 0.004734955, 0.9960341)
bones/8/rotation = Quaternion(-0.5780019, -0.40066734, 0.5948007, -0.38934776)
bones/8/rotation = Quaternion(-0.6173422, -0.37346625, 0.5666242, -0.3979305)
bones/9/rotation = Quaternion(0.5403529, 0.038538188, -0.087646246, 0.8359735)
bones/10/rotation = Quaternion(-0.009744837, 0.0007412914, 0.18789424, 0.98214066)
bones/11/rotation = Quaternion(0.019992959, 0.15807849, 0.15262179, 0.9753554)
@@ -55,7 +173,7 @@ bones/38/rotation = Quaternion(0.13336712, -0.0009009653, 0.002359003, 0.9910635
bones/41/rotation = Quaternion(0.12012116, 0.015946638, 0.088212825, 0.9887037)
bones/42/rotation = Quaternion(0.11693482, 0.00096280884, 0.06057904, 0.99128985)
bones/43/rotation = Quaternion(0.22191456, 0.026510797, -0.016629422, 0.9745638)
bones/46/rotation = Quaternion(0.00039673893, 0.021240532, 0.99960107, -0.018613452)
bones/46/rotation = Quaternion(0.059241787, 0.12928401, 0.9836761, -0.110261135)
bones/47/rotation = Quaternion(-0.34151906, -0.06546942, 0.0071559767, 0.93756455)
bones/48/rotation = Quaternion(0.60213244, 0.010313871, -0.012120304, 0.7982376)
bones/49/rotation = Quaternion(0.31586254, 0.059334766, -0.020474449, 0.9467265)
@@ -64,7 +182,93 @@ bones/53/rotation = Quaternion(-0.20515193, 0.049833227, 0.0071537, 0.9774345)
bones/54/rotation = Quaternion(0.55275166, -0.049315806, -0.007871797, 0.8318483)
bones/55/rotation = Quaternion(0.326561, -0.058840513, 0.019667907, 0.9431378)
[node name="AnimationPlayer" parent="BaseMesh" index="1" unique_id=2096005878]
libraries/custom = SubResource("AnimationLibrary_8kg0q")
[node name="Cesto" parent="Farmer1/BaseMesh/Skeleton3D" index="0" unique_id=1473592366]
surface_material_override/0 = ExtResource("8_362f3")
surface_material_override/1 = ExtResource("9_12auf")
surface_material_override/2 = ExtResource("9_12auf")
[node name="hat_001" parent="Farmer1/BaseMesh/Skeleton3D" index="1" unique_id=1950307793]
surface_material_override/0 = SubResource("ShaderMaterial_vuqrb")
surface_material_override/1 = ExtResource("11_v2pkc")
[node name="pants" parent="Farmer1/BaseMesh/Skeleton3D" index="2" unique_id=1080342530]
surface_material_override/0 = ExtResource("11_v2pkc")
[node name="shirt2" parent="Farmer1/BaseMesh/Skeleton3D" index="3" unique_id=1846653994]
surface_material_override/0 = ExtResource("11_v2pkc")
surface_material_override/1 = ExtResource("11_v2pkc")
surface_material_override/2 = ExtResource("11_v2pkc")
[node name="AnimationPlayer" parent="Farmer1" index="1" unique_id=2137081705]
libraries/custom = SubResource("AnimationLibrary_ke7sb")
[node name="Farmer2" parent="." index="5" unique_id=1239853450 instance=ExtResource("8_ke7sb")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.9, 0)
visible = false
[node name="Skeleton3D" parent="Farmer2/BaseMesh" parent_id_path=PackedInt32Array(1239853450, 2068119799) index="0" unique_id=1824387143]
bones/0/position = Vector3(0.00060560287, 0.9719096, 0.007789615)
bones/0/rotation = Quaternion(-0.03158553, -0.024531638, -0.086598895, 0.9954402)
bones/1/rotation = Quaternion(-0.068302006, -0.011589706, 0.088431515, 0.99367017)
bones/2/rotation = Quaternion(0.013750468, -0.0028497525, 0.022636604, 0.99964523)
bones/3/rotation = Quaternion(0.014052153, -0.0046672956, 0.021981178, 0.99964875)
bones/4/rotation = Quaternion(0.08060878, 0.0009885994, -0.05385771, 0.99528927)
bones/5/rotation = Quaternion(-0.08819712, -0.010719821, 0.004734955, 0.9960341)
bones/8/rotation = Quaternion(-0.6173422, -0.37346625, 0.5666242, -0.3979305)
bones/9/rotation = Quaternion(0.5403529, 0.038538188, -0.087646246, 0.8359735)
bones/10/rotation = Quaternion(-0.009744837, 0.0007412914, 0.18789424, 0.98214066)
bones/11/rotation = Quaternion(0.019992959, 0.15807849, 0.15262179, 0.9753554)
bones/12/rotation = Quaternion(0.11525436, -0.03521942, -0.0147265345, 0.9926023)
bones/13/rotation = Quaternion(0.004553697, -0.0011956134, 0.0748576, 0.9971832)
bones/14/rotation = Quaternion(-0.021573644, -0.09607655, -0.02610063, 0.9947978)
bones/17/rotation = Quaternion(0.10615231, -0.012490018, -0.06538699, 0.9921191)
bones/18/rotation = Quaternion(0.112639524, -0.0005986789, -0.020016164, 0.99343413)
bones/19/rotation = Quaternion(0.13624819, 0.001439244, -0.018421004, 0.9905025)
bones/22/rotation = Quaternion(0.051831737, -0.007218998, -0.063239366, 0.9966254)
bones/23/rotation = Quaternion(0.12439526, 0.00031310506, -0.03746358, 0.99152523)
bones/24/rotation = Quaternion(0.14832872, 0.0028264069, -0.017447466, 0.9887802)
bones/27/rotation = Quaternion(0.6085938, -0.37735197, 0.5827399, 0.3842309)
bones/28/rotation = Quaternion(0.42811802, -0.12440211, 0.04666202, 0.8939026)
bones/29/rotation = Quaternion(-0.010464899, -0.0008133942, -0.24076757, 0.97052604)
bones/30/rotation = Quaternion(0.01554073, -0.15455346, -0.11519627, 0.9811226)
bones/31/rotation = Quaternion(0.109474085, 0.02398801, 0.02464503, 0.99339455)
bones/32/rotation = Quaternion(-0.03558804, 0.04901748, 0.08471445, 0.9945624)
bones/33/rotation = Quaternion(0.014632019, 0.019343862, -0.1317728, 0.9909832)
bones/36/rotation = Quaternion(0.19392295, 0.020005528, 0.11780725, 0.973712)
bones/37/rotation = Quaternion(0.090232305, 2.462184e-07, 0.01726049, 0.9957712)
bones/38/rotation = Quaternion(0.13336712, -0.0009009653, 0.002359003, 0.9910635)
bones/41/rotation = Quaternion(0.12012116, 0.015946638, 0.088212825, 0.9887037)
bones/42/rotation = Quaternion(0.11693482, 0.00096280884, 0.06057904, 0.99128985)
bones/43/rotation = Quaternion(0.22191456, 0.026510797, -0.016629422, 0.9745638)
bones/46/rotation = Quaternion(0.059241787, 0.12928401, 0.9836761, -0.110261135)
bones/47/rotation = Quaternion(-0.34151906, -0.06546942, 0.0071559767, 0.93756455)
bones/48/rotation = Quaternion(0.60213244, 0.010313871, -0.012120304, 0.7982376)
bones/49/rotation = Quaternion(0.31586254, 0.059334766, -0.020474449, 0.9467265)
bones/52/rotation = Quaternion(-0.07240856, 0.034467246, 0.9931159, -0.085380435)
bones/53/rotation = Quaternion(-0.20515193, 0.049833227, 0.0071537, 0.9774345)
bones/54/rotation = Quaternion(0.55275166, -0.049315806, -0.007871797, 0.8318483)
bones/55/rotation = Quaternion(0.326561, -0.058840513, 0.019667907, 0.9431378)
[node name="hat_001" parent="Farmer2/BaseMesh/Skeleton3D" index="0" unique_id=1838787788]
surface_material_override/0 = SubResource("ShaderMaterial_v2pkc")
surface_material_override/1 = ExtResource("11_v2pkc")
[node name="pants" parent="Farmer2/BaseMesh/Skeleton3D" index="1" unique_id=1777820543]
surface_material_override/0 = ExtResource("11_v2pkc")
[node name="shirt1" parent="Farmer2/BaseMesh/Skeleton3D" index="2" unique_id=1243989703]
surface_material_override/0 = ExtResource("11_v2pkc")
surface_material_override/1 = ExtResource("11_v2pkc")
[node name="AnimationPlayer" parent="Farmer2" index="1" unique_id=995025267]
libraries/custom = SubResource("AnimationLibrary_2tpdi")
[node name="DressHuman" type="Node3D" parent="." index="6" unique_id=107727715 node_paths=PackedStringArray("farmers", "main_anim_player")]
script = ExtResource("9_2tpdi")
farmers = [NodePath("../Farmer1"), NodePath("../Farmer2")]
colors = Array[Color]([Color(0.4089676, 0.23789883, 0.083061926, 1), Color(0.4862745, 0.60784316, 0.6901961, 1), Color(0.3529412, 0.41960785, 0.32941177, 1), Color(0.31533447, 0.3330399, 0.29725653, 1)])
main_anim_player = NodePath("../BaseMesh/AnimationPlayer")
[editable path="BaseMesh"]
[editable path="Farmer1"]
[editable path="Farmer2"]

View File

@@ -0,0 +1,59 @@
extends Node
@export var farmers: Array[Node3D]
@export var colors: Array[Color]
@export var main_anim_player: AnimationPlayer
var dress_anim_player: AnimationPlayer
func _ready() -> void:
if farmers.is_empty():
return
for farmer in farmers:
if farmer:
farmer.hide()
var selected_farmer = farmers.pick_random()
if selected_farmer:
selected_farmer.show()
dress_anim_player = selected_farmer.get_node_or_null("AnimationPlayer")
if main_anim_player and dress_anim_player:
main_anim_player.current_animation_changed.connect(_on_animation_sync)
main_anim_player.animation_started.connect(_on_animation_sync)
if main_anim_player.current_animation != "":
_on_animation_sync(main_anim_player.current_animation)
dress_anim_player.seek(main_anim_player.current_animation_position)
if colors.size() > 0:
var parts_to_color = ["pants", "shirt"]
var shared_color = colors.pick_random()
for part_name in parts_to_color:
var piece_node = _find_mesh_case_insensitive(selected_farmer, part_name)
if piece_node:
var mat = StandardMaterial3D.new()
mat.albedo_color = shared_color
piece_node.set_surface_override_material(0, mat)
func _on_animation_sync(anim_name: StringName) -> void:
if dress_anim_player and dress_anim_player.has_animation(anim_name):
dress_anim_player.play(anim_name)
dress_anim_player.speed_scale = main_anim_player.speed_scale
func _find_mesh_case_insensitive(parent: Node, part_name: String) -> MeshInstance3D:
var target = part_name.to_lower()
for child in parent.get_children():
if child.name.to_lower().contains(target) and child is MeshInstance3D:
return child
var found = _find_mesh_case_insensitive(child, target)
if found:
return found
return null

View File

@@ -0,0 +1 @@
uid://dauqq8cqmwrqh

Binary file not shown.

Binary file not shown.

View File

@@ -6,7 +6,10 @@
[ext_resource type="Script" uid="uid://bngfthvt04ivv" path="res://core/ai/framework/patrol_state.gd" id="3_x67t3"]
[node name="AiRacoon" unique_id=1228675528 node_paths=PackedStringArray("anim_player") instance=ExtResource("1_seif5")]
navigation_layers = 4
anim_player = NodePath("Raccoon_rig/AnimationPlayer")
entity_type = 7
entity_name = "Racoon"
[node name="StateMachine" parent="." index="1" unique_id=1286404264 node_paths=PackedStringArray("initial_state")]
initial_state = NodePath("IdleState")
@@ -26,7 +29,7 @@ exit_on_action_finished = true
[node name="Raccoon_rig" parent="." index="3" unique_id=338211330 instance=ExtResource("2_obtl0")]
[node name="Skeleton3D" parent="Raccoon_rig/Rig_Raccoon" parent_id_path=PackedInt32Array(338211330, 1484615769) index="0" unique_id=689430915]
[node name="Skeleton3D" parent="Raccoon_rig/Rig_Raccoon" parent_id_path=PackedInt32Array(338211330, 1450300070) index="0" unique_id=745849430]
bones/1/position = Vector3(2.0224038e-08, 0.20926544, 0.2908604)
bones/1/rotation = Quaternion(0.12769087, -0.6954821, -0.12769023, 0.69548184)
bones/1/scale = Vector3(1, 0.99999994, 0.99999994)

View File

@@ -4,10 +4,75 @@
[ext_resource type="Script" uid="uid://d3hy70ec8vqo5" path="res://core/ai/framework/run_animation_state.gd" id="2_euyvm"]
[ext_resource type="PackedScene" uid="uid://dg6eq5bjdv77x" path="res://core/ai/agents/wagyu/Wagyu_rig.fbx" id="2_kinfw"]
[ext_resource type="Script" uid="uid://bngfthvt04ivv" path="res://core/ai/framework/patrol_state.gd" id="3_stslt"]
[ext_resource type="Shader" uid="uid://d0ch5ofrgf7y6" path="res://core/daynight/trunk_shader.gdshader" id="5_stslt"]
[ext_resource type="Material" uid="uid://cn20mp8ep3yxu" path="res://tgcc/chunk/material/wires.tres" id="7_qxgon"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_jndo6"]
render_priority = 0
shader = ExtResource("5_stslt")
shader_parameter/albedo_color = Color(0.3003036, 0.13408488, 0.037156556, 1)
shader_parameter/use_texture = true
shader_parameter/uv_scale = Vector2(3, 3)
shader_parameter/palette_shift_y = 0.0
shader_parameter/gradient_start_y = 0.0
shader_parameter/gradient_end_y = 1.5
shader_parameter/light_steps = 3.0
shader_parameter/step_softness = 0.1
shader_parameter/shadow_color = Color(0.4, 0.4, 0.6, 1)
shader_parameter/shadow_offset = 0.0
shader_parameter/cast_shadow_strength = 0.6
shader_parameter/use_ghibli_glint = true
shader_parameter/glint_color = Color(1, 0.95, 0.85, 1)
shader_parameter/glint_intensity = 1.0
shader_parameter/glint_sharpness = 32.0
shader_parameter/emission_color = Color(0, 0, 0, 1)
shader_parameter/emission_energy = 0.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ffprj"]
render_priority = 0
shader = ExtResource("5_stslt")
shader_parameter/albedo_color = Color(0.8936267, 0.48305064, 0.25341055, 1)
shader_parameter/use_texture = true
shader_parameter/uv_scale = Vector2(3, 3)
shader_parameter/palette_shift_y = 0.0
shader_parameter/gradient_start_y = 0.0
shader_parameter/gradient_end_y = 1.5
shader_parameter/light_steps = 3.0
shader_parameter/step_softness = 0.1
shader_parameter/shadow_color = Color(0.4, 0.4, 0.6, 1)
shader_parameter/shadow_offset = 0.0
shader_parameter/cast_shadow_strength = 0.6
shader_parameter/use_ghibli_glint = true
shader_parameter/glint_color = Color(1, 0.95, 0.85, 1)
shader_parameter/glint_intensity = 1.0
shader_parameter/glint_sharpness = 32.0
shader_parameter/emission_color = Color(0, 0, 0, 1)
shader_parameter/emission_energy = 0.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_4po7g"]
render_priority = 0
shader = ExtResource("5_stslt")
shader_parameter/albedo_color = Color(0.91262335, 0.6514041, 0.37075257, 1)
shader_parameter/use_texture = true
shader_parameter/uv_scale = Vector2(3, 3)
shader_parameter/palette_shift_y = 0.0
shader_parameter/gradient_start_y = 0.0
shader_parameter/gradient_end_y = 1.5
shader_parameter/light_steps = 3.0
shader_parameter/step_softness = 0.1
shader_parameter/shadow_color = Color(0.4, 0.4, 0.6, 1)
shader_parameter/shadow_offset = 0.0
shader_parameter/cast_shadow_strength = 0.6
shader_parameter/use_ghibli_glint = true
shader_parameter/glint_color = Color(1, 0.95, 0.85, 1)
shader_parameter/glint_intensity = 1.0
shader_parameter/glint_sharpness = 32.0
shader_parameter/emission_color = Color(0, 0, 0, 1)
shader_parameter/emission_energy = 0.0
[node name="AiWagyu" unique_id=1228675528 node_paths=PackedStringArray("anim_player") instance=ExtResource("1_01jto")]
anim_player = NodePath("Wagyu_rig/AnimationPlayer")
entity_type = 1
entity_type = 8
entity_name = "Wagyu"
[node name="StateMachine" parent="." index="1" unique_id=1286404264 node_paths=PackedStringArray("initial_state")]
@@ -28,7 +93,7 @@ exit_on_action_finished = true
[node name="Wagyu_rig" parent="." index="3" unique_id=434062845 instance=ExtResource("2_kinfw")]
[node name="Skeleton3D" parent="Wagyu_rig/Rig_wagyu" parent_id_path=PackedInt32Array(434062845, 984050088) index="0" unique_id=1381831503]
[node name="Skeleton3D" parent="Wagyu_rig/Rig_wagyu" parent_id_path=PackedInt32Array(434062845, 1389976890) index="0" unique_id=1274413548]
bones/1/position = Vector3(3.0605813e-06, 0.93198204, 1.5827273)
bones/1/rotation = Quaternion(0.12769, -0.69548225, -0.12769146, 0.6954816)
bones/2/rotation = Quaternion(-7.474808e-08, -1.0355375e-07, -0.5904155, 0.80709946)
@@ -51,4 +116,10 @@ bones/26/rotation = Quaternion(3.2779312e-07, 1.2327837e-06, 0.9652686, -0.26125
bones/27/rotation = Quaternion(-6.191086e-07, -2.305114e-07, -0.36804327, 0.9298087)
bones/28/rotation = Quaternion(-0.0001528551, -7.8230434e-05, 0.45790893, 0.8889991)
[node name="Wagyu" parent="Wagyu_rig/Rig_wagyu/Skeleton3D" index="0" unique_id=2005444162]
surface_material_override/0 = SubResource("ShaderMaterial_jndo6")
surface_material_override/1 = SubResource("ShaderMaterial_ffprj")
surface_material_override/2 = ExtResource("7_qxgon")
surface_material_override/3 = SubResource("ShaderMaterial_4po7g")
[editable path="Wagyu_rig"]

View File

@@ -0,0 +1,40 @@
extends State
class_name SitState
var reverse: bool = false
func enter() -> void:
reverse = false
super.enter()
if agent.anim_player and not agent.anim_player.animation_finished.is_connected(_on_animation_finished):
agent.anim_player.animation_finished.connect(_on_animation_finished)
if runtime_timer and not runtime_timer.is_stopped():
runtime_timer.stop()
run_animation()
func exit() -> void:
super.exit()
if agent.anim_player and agent.anim_player.animation_finished.is_connected(_on_animation_finished):
agent.anim_player.animation_finished.disconnect(_on_animation_finished)
func _on_animation_finished(anim_name: StringName) -> void:
if animation_name == anim_name:
if not reverse:
if min_wait_time > 0:
var wait_time := randf_range(min_wait_time, max_wait_time)
runtime_timer.start(wait_time)
else:
_on_timer_timeout()
else:
transitioned.emit(self, get_next_state())
func _on_timer_timeout() -> void:
reverse = true
if agent.anim_player and agent.anim_player.has_animation(animation_name):
agent.anim_player.play_backwards(animation_name, blend_time)
else:
transitioned.emit(self, get_next_state())

View File

@@ -0,0 +1 @@
uid://dty1p02kqviwf

View File

@@ -4,11 +4,6 @@ extends Node3D
const CHUNK_TYPE_BIOME: int = 0
const CHUNK_TYPE_STRAIGHT_TRACK: int = 1
const CHUNK_TYPE_CURVED_TRACK: int = 2
const ENTITY_TYPE_HUMANOID: int = 0
const ENTITY_TYPE_ANIMAL: int = 1
const ENTITY_SPAWN_ANY: int = 0
const ENTITY_SPAWN_HUMANOID_ONLY: int = 1
const ENTITY_SPAWN_ANIMAL_ONLY: int = 2
const CHUNK_GENERATION_FRAME_BUDGET_USEC: int = 1000 #2 ms/frame to generate chunks
const CHUNK_CLEANUP_FRAME_BUDGET_USEC: int = 1000 #1 ms/frame per cleanup
@@ -91,7 +86,7 @@ const RIVER_NEIGHBOUR_OFFSETS: Dictionary = {
##max cells to search around a lamppost chunk
@export_range(1, 6, 1) var lamppost_search_radius_cells: int = 3
##max allowed distance between lamppost pairs
@export var lamppost_max_wire_distance: float = 60.0
@export var lamppost_max_wire_distance: float = 35.0
##if true wire connections blocked by colliders are discarded
@export var lamppost_obstacle_check_enabled: bool = true
@@ -922,11 +917,10 @@ func _spawn_entities_for_chunk(root: Node, biome_name: String) -> void:
func _get_spawn_point_type_filter(spawn_point: Node) -> int:
if "allowed_type" in spawn_point:
match spawn_point.allowed_type:
ENTITY_SPAWN_HUMANOID_ONLY:
return ENTITY_TYPE_HUMANOID
ENTITY_SPAWN_ANIMAL_ONLY:
return ENTITY_TYPE_ANIMAL
if spawn_point.allowed_type == 0:
return -1
else:
return spawn_point.allowed_type - 1
return -1
func _pick_compatible_entity(biome_name: String, type_filter: int) -> PackedScene:

View File

@@ -1,7 +1,7 @@
extends Marker3D
class_name EntitySpawnPoint
enum AllowedType { ANY, HUMANOID_ONLY, ANIMAL_ONLY }
enum AllowedType { ANY, FARMER, CITIZEN_WALKER, CITIZEN_SITTER, CAT, CROW, FOX, GOAT, RACOON, WAGYU }
@export var allowed_type: AllowedType = AllowedType.ANY
@export_range(0.0, 1.0, 0.01) var spawn_chance: float = 1.0

View File

@@ -1,7 +1,7 @@
extends Path3D
const STEAM_DISTANCE_STAT: String = "stat_distance_km"
const DISTANCE_KM_PER_UNIT: float = 0.001
const DISTANCE_KM_PER_UNIT: float = 0.01
@export_group("Train")
##train speed
@@ -83,17 +83,20 @@ var environment_config: EnvironmentConfig
var wagon_instances: Array[Node3D] = []
var wagon_progress_offsets: Array[float] = []
var _pending_steam_distance_km: float = 0.0
var _initial_is_inmotion: bool = true
func _ready() -> void:
randomize()
_cache_environment_config()
_initial_is_inmotion = is_inmotion
if curve != null and curve.get_baked_length() > 0:
build_rails()
build_train()
_plan_stops()
_apply_initial_train_start()
_apply_train_start_delay()
else:
print("WARNING: Draw Path3D for rails!")
@@ -138,6 +141,23 @@ func _apply_initial_train_start() -> void:
_snap_train_to_progress()
func _apply_train_start_delay() -> void:
if not _initial_is_inmotion:
return
var start_delay_seconds: float = 0.0
if environment_config != null:
start_delay_seconds = maxf(environment_config.train_start_delay_seconds, 0.0)
if start_delay_seconds <= 0.0:
return
is_inmotion = false
await get_tree().create_timer(start_delay_seconds).timeout
if not is_inside_tree():
return
is_inmotion = _initial_is_inmotion
func _set_next_stop_index_from_current(current_stop_index: int) -> void:
if stop_offset.is_empty():
next_stop_index = 0
@@ -392,7 +412,14 @@ func train_move(delta: float) -> void:
#Calculate train distance for steam stats
func _track_steam_distance(distance_units: float) -> void:
if distance_units <= 0.0 or not SteamManager.is_on_steam:
if distance_units <= 0.0:
return
# Always track the global distance in our save file (for UI and persistency)
GameState.save_data.total_distance_km += distance_units * DISTANCE_KM_PER_UNIT
# Steam specific logic
if not SteamManager.is_on_steam:
return
_pending_steam_distance_km += distance_units * DISTANCE_KM_PER_UNIT

View File

@@ -1,5 +1,5 @@
shader_type spatial;
render_mode blend_mix, depth_draw_opaque, cull_disabled;
render_mode blend_mix, depth_draw_opaque, cull_disabled, shadows_disabled;
//Wire color
uniform vec4 albedo_color : source_color = vec4(0.1, 0.1, 0.1, 1.0);

View File

@@ -5,3 +5,4 @@
[resource]
render_priority = 0
shader = ExtResource("1_6saq1")
shader_parameter/albedo_color = Color(0.1, 0.1, 0.1, 1)

View File

@@ -39,6 +39,7 @@ var weather_controller: WeatherController
var day_tween: Tween
var day_time: float = 0.0
var pending_environment_nodes: Dictionary = {}
var weather_shader_no_noise: Material
func _ready() -> void:
@@ -80,6 +81,9 @@ func _ready() -> void:
weather_controller.name = "WeatherController"
add_child(weather_controller)
if day_night_controller != null:
select_day_time(day_night_controller.current_time)
func _process(_delta: float) -> void:
_process_pending_environment_nodes()
@@ -135,10 +139,10 @@ func _apply_dynamic_environment_materials(node: Node) -> void:
if node.is_in_group("wind_node"):
_apply_wind_noise_to_node(node, NOISE_TEXTURE)
if node.is_in_group("weather_node"):
_apply_weather_overlay_to_node(node, WEATHER_SHADER)
if node.is_in_group("weather_node") or node.is_in_group("weather_vegetables_node"):
_apply_weather_overlay_to_node(node, _get_weather_overlay_material(node))
if _should_clear_weather_overlay(node):
if _should_ignore_weather_overlay(node):
_clear_weather_overlay_from_node(node)
func ApplyWindNoiseToMaterials():
@@ -162,19 +166,30 @@ func _apply_wind_noise_to_node(node: Node, noise_tex: Texture2D) -> void:
func ApplyWeatherShaderToMaterials():
for node in get_tree().get_nodes_in_group("weather_node"):
_apply_weather_overlay_to_node(node, WEATHER_SHADER)
_apply_weather_overlay_to_node(node, _get_weather_overlay_material(node))
for node in get_tree().get_nodes_in_group("weather_vegetables_node"):
if _should_clear_weather_overlay(node):
_clear_weather_overlay_from_node(node)
_apply_weather_overlay_to_node(node, _get_weather_overlay_material(node))
func _get_weather_overlay_material(node: Node) -> Material:
if not node.is_in_group("weather_overlay_no_noise"):
return WEATHER_SHADER
if weather_shader_no_noise == null:
weather_shader_no_noise = WEATHER_SHADER.duplicate() as Material
var shader_material := weather_shader_no_noise as ShaderMaterial
if shader_material:
shader_material.set_shader_parameter("snow_noise_enabled", false)
return weather_shader_no_noise
func _apply_weather_overlay_to_node(node: Node, material: Material) -> void:
if _should_clear_weather_overlay(node):
if _should_ignore_weather_overlay(node):
_clear_weather_overlay_from_node(node)
return
if node is GeometryInstance3D:
if _geometry_uses_alpha_texture(node):
if _should_clear_weather_overlay(node) or _geometry_uses_alpha_texture(node):
node.material_overlay = null
else:
node.material_overlay = material
@@ -214,6 +229,9 @@ func _shader_material_uses_alpha_texture(material: ShaderMaterial) -> bool:
return material.shader.code.find("alpha_texture") != -1
func _should_ignore_weather_overlay(node: Node) -> bool:
return node.is_in_group("weather_overlay_ignore")
func _should_clear_weather_overlay(node: Node) -> bool:
return node.is_in_group("weather_vegetables_node")

View File

@@ -20,13 +20,13 @@ render_priority = 0
shader = ExtResource("1_qxph4")
shader_parameter/noise_texture = SubResource("NoiseTexture2D_kavln")
shader_parameter/ray_color = Color(1, 0.78431374, 0.27058825, 1)
shader_parameter/base_alpha = 1.0
shader_parameter/noise_stretching = 3.17200010317
shader_parameter/base_alpha = 0.150000007125
shader_parameter/noise_stretching = 3.000000095
shader_parameter/noise_scale = 1.0
shader_parameter/scrolling_speed = Vector2(0, 0.15)
shader_parameter/depth_softness = 1.0
shader_parameter/edge_fade_power = 2.0
shader_parameter/intensity_multiplier = 0.5330000253175
shader_parameter/intensity_multiplier = 0.50000002375
[node name="GodRay" type="Node3D" unique_id=1679441931]
script = ExtResource("2_v3yr3")

View File

@@ -53,7 +53,7 @@ var is_storm: bool = false
var cold_tween: Tween
var wind_tween: Tween
var is_windy: bool = false
var thereare_fireflies: bool = false
var thereare_fireflies: bool = true
var current_wind_speed: float = 0.0
var current_wind_strength: float = 0.0
var current_wind_fade: float = 0.0
@@ -128,10 +128,8 @@ func _process(delta: float) -> void:
_follow_camera()
var is_night = day_time >= 2.5
if particles_fireflies:
particles_fireflies.emitting = thereare_fireflies and is_night and not is_raining and not is_snowing and not is_storm
_update_fireflies_visibility()
var base_tint: Color
var base_sky_top: Color
var base_sky_horizon: Color
@@ -197,11 +195,9 @@ func _process(delta: float) -> void:
var final_fog_color = base_fog_color.lerp(base_fog_color * weather_color, clamp(rain_intensity, 0.0, 1.0))
var final_fog_density = lerp(base_fog_density, base_fog_density * 4.0, clamp(rain_intensity, 0.0, 1.0))
var final_water_color = base_water_color.darkened(clamp(environment_config.water_darkening_rain, 0.0, 1.0) * clamp(rain_intensity, 0.0, 1.0))
var rain_weather_amount: float = 0.0
if is_raining:
rain_weather_amount = clamp(rain_intensity, 0.0, 1.0)
var rain_weather_amount: float = clamp(rain_intensity, 0.0, 1.0)
var storm_weather_amount: float = 0.0
if is_raining and is_storm:
if is_storm:
if environment_config.storm_rain_intensity_multiplier > 1.0:
storm_weather_amount = clamp((rain_intensity - 1.0) / (environment_config.storm_rain_intensity_multiplier - 1.0), 0.0, 1.0)
else:
@@ -389,9 +385,7 @@ func _follow_camera() -> void:
func toggle_fireflies(value: bool):
thereare_fireflies = value
var is_night = day_time >= 2.5
if particles_fireflies:
particles_fireflies.emitting = thereare_fireflies and is_night and not is_raining
_update_fireflies_visibility()
#disable fireflies and set default values and materials
func init_fireflies():
@@ -402,7 +396,16 @@ func init_fireflies():
var proc_mat = particles_fireflies.process_material as ParticleProcessMaterial
if proc_mat:
proc_mat.emission_box_extents = Vector3(environment_config.fireflies_spawn_ray, environment_config.fireflies_spawn_height, environment_config.fireflies_spawn_ray)
_update_fireflies_visibility()
func _should_show_fireflies() -> bool:
var is_night: bool = day_time >= 2.5
return thereare_fireflies and is_night and not is_raining and not is_snowing and not is_storm
func _update_fireflies_visibility() -> void:
if particles_fireflies:
particles_fireflies.emitting = _should_show_fireflies()
#endregion
#region Wind
@@ -410,7 +413,7 @@ func init_fireflies():
func toggle_wind(value: bool):
is_windy = value
if particles_wind:
particles_wind.emitting = is_windy
particles_wind.emitting = true
_apply_wind_state()
_emit_weather_event_label()
@@ -420,7 +423,7 @@ func init_wind():
_update_wind_amount_from_strength(environment_config.wind_strength)
if particles_wind:
particles_wind.visible = true
particles_wind.emitting = false
particles_wind.emitting = true
particles_wind.amount = environment_config.wind_amount
var proc_mat_wind = particles_wind.process_material as ParticleProcessMaterial
if proc_mat_wind:
@@ -451,6 +454,11 @@ func _apply_wind_config() -> void:
_apply_wind_state(true)
func _get_target_wind_strength() -> float:
if is_windy:
return environment_config.wind_boost_strength
return environment_config.wind_strength
func _apply_wind_state(immediate: bool = false) -> void:
if environment_config == null:
return
@@ -458,20 +466,23 @@ func _apply_wind_state(immediate: bool = false) -> void:
if wind_tween and wind_tween.is_valid():
wind_tween.kill()
var active_wind_speed := environment_config.wind_speed if is_windy else 0.0
var active_wind_strength := environment_config.wind_strength if is_windy else 0.0
var active_wind_fade := 1.0 if is_windy else 0.0
if particles_wind:
particles_wind.emitting = true
var active_wind_speed := environment_config.wind_speed
var active_wind_strength := _get_target_wind_strength()
var active_wind_fade := 1.0
if immediate:
_set_current_wind_speed(active_wind_speed)
_set_current_wind_strength(active_wind_strength)
_set_current_wind_fade(active_wind_fade)
return
_set_current_wind_speed(environment_config.wind_speed)
_set_current_wind_strength(environment_config.wind_strength)
_set_current_wind_speed(active_wind_speed)
_set_current_wind_fade(active_wind_fade)
wind_tween = create_tween()
wind_tween.tween_method(_set_current_wind_fade, current_wind_fade, active_wind_fade, environment_config.wind_fade_in_out_time)
wind_tween.tween_callback(_finish_wind_fade_out)
wind_tween.tween_method(_set_current_wind_strength, current_wind_strength, active_wind_strength, environment_config.wind_fade_in_out_time)
wind_tween.tween_callback(_finish_wind_transition)
func _set_current_wind_speed(value: float) -> void:
current_wind_speed = value
@@ -481,6 +492,7 @@ func _set_current_wind_speed(value: float) -> void:
func _set_current_wind_strength(value: float) -> void:
current_wind_strength = value
RenderingServer.global_shader_parameter_set("global_wind_strength", value)
_set_wind_particles_amount_from_strength(value)
_sync_wind_event_state()
func _set_current_wind_fade(value: float) -> void:
@@ -494,13 +506,10 @@ func _sync_wind_event_state() -> void:
#used to notify wind_decoration when wind change state
wind_parameters_changed.emit(current_wind_speed, current_wind_strength, current_wind_fade, environment_config.wind_direction)
func _finish_wind_fade_out() -> void:
if is_windy:
return
_set_current_wind_speed(0.0)
_set_current_wind_strength(0.0)
_set_current_wind_fade(0.0)
func _finish_wind_transition() -> void:
_set_current_wind_speed(environment_config.wind_speed)
_set_current_wind_strength(_get_target_wind_strength())
_set_current_wind_fade(1.0)
func change_wind_strength(value: float) -> void:
if environment_config == null:
@@ -508,10 +517,11 @@ func change_wind_strength(value: float) -> void:
environment_config.wind_strength = value
_update_wind_amount_from_strength(value)
if is_windy or current_wind_fade > 0.0:
if current_wind_fade > 0.0 and not is_windy:
_set_current_wind_strength(value)
if particles_wind:
particles_wind.amount = environment_config.wind_amount
_apply_wind_state()
func _update_wind_amount_from_strength(value: float) -> void:
if environment_config == null:
@@ -519,12 +529,22 @@ func _update_wind_amount_from_strength(value: float) -> void:
if max_wind_amount <= 0:
max_wind_amount = max(environment_config.wind_amount, 1)
environment_config.wind_amount = _get_wind_particles_amount_from_strength(value)
func _get_wind_particles_amount_from_strength(value: float) -> int:
if max_wind_amount <= 0:
max_wind_amount = 1
var normalized_strength: float = clamp(value, 0.0, 1.0)
var amount_ratio: float = normalized_strength
if normalized_strength > 0.0 and normalized_strength < 0.3:
amount_ratio = lerp(0.08, 0.25, normalized_strength / 0.3)
environment_config.wind_amount = roundi(max_wind_amount * amount_ratio)
return roundi(max_wind_amount * amount_ratio)
func _set_wind_particles_amount_from_strength(value: float) -> void:
if particles_wind:
particles_wind.amount = _get_wind_particles_amount_from_strength(value)
func trigger_random_weather_event(duration: float = 0.0) -> void:
if random_weather_restore_tween and random_weather_restore_tween.is_valid():

View File

@@ -17,6 +17,7 @@ global uniform float global_snow_cap_flatness_end = 0.96;
global uniform float global_snow_cap_noise_scale = 0.22;
global uniform float global_snow_cap_noise_strength = 0.18;
const float SNOW_VISUAL_RESPONSE = 0.55;
uniform bool snow_noise_enabled = true;
uniform float snow_noise_scale : hint_range(0.01, 1.0) = 0.15;
uniform float snow_edge_softness : hint_range(0.01, 0.5) = 0.2;
uniform float snow_roughness_variation : hint_range(0.0, 0.3) = 0.15;
@@ -92,6 +93,10 @@ float get_visual_snow_progress(float snow_progress) {
}
float get_snow_noise_mask(vec3 world_pos, float snow_progress) {
if (!snow_noise_enabled) {
return 1.0;
}
float detail_noise = texture(noise_texture, world_pos.xz * snow_noise_scale).r;
float broad_noise = texture(noise_texture, world_pos.xz * snow_noise_scale * 0.35 + vec2(19.1, 7.4)).r;
float combined_noise = mix(detail_noise, broad_noise, 0.35);
@@ -118,7 +123,7 @@ void vertex() {
world_normal.y
);
float accumulation_growth = smoothstep(0.02, 0.45, snow_progress);
float cap_noise = fbm(world_pos.xz * global_snow_cap_noise_scale + vec2(11.3, 4.7));
float cap_noise = snow_noise_enabled ? fbm(world_pos.xz * global_snow_cap_noise_scale + vec2(11.3, 4.7)) : 0.5;
float cap_variation = mix(1.0 - global_snow_cap_noise_strength, 1.0 + global_snow_cap_noise_strength, cap_noise);
v_snow_amount = snow_progress;
@@ -133,7 +138,7 @@ void fragment() {
float facing_up = clamp(world_normal.y, 0.0, 1.0);
vec3 geometric_normal = normalize(cross(dFdx(world_pos), dFdy(world_pos)));
float snow_facing_up = max(facing_up, abs(geometric_normal.y));
float noise_val = texture(noise_texture, world_pos.xz * snow_noise_scale).r;
float noise_val = snow_noise_enabled ? texture(noise_texture, world_pos.xz * snow_noise_scale).r : 0.5;
//Snow
float snow_progress = v_snow_amount;

View File

@@ -158,6 +158,8 @@ extends Resource
@export_group("Train Start")
@export var train_start_from_random_position: bool = true #When enabled the train starts from a random offset on the rail curve instead of a stop
@export_range(0, 64, 1, "or_greater") var train_start_stop_index: int = 1 #Stop index used for the train start when random start is disabled
@export var train_start_delay_seconds: float = 3.0 #Seconds the train waits before starting at game launch
@export var train_start_acceleration_seconds: float = 4.0 #Seconds used to progressively reach normal train speed after launch
#Snow settings
@export_group("Snow")
@@ -185,7 +187,8 @@ extends Resource
@export var wind_direction: Vector2 = Vector2(0.5, 0.4) #Global wind direction (XZ)
@export var wind_speed: float = 0.2 #Global wind animation speed
@export var wind_scale: float = 0.025 #Global wind noise scale
@export var wind_strength: float = 0.3 #Global wind displacement strength
@export var wind_strength: float = 0.12 #Low ambient wind displacement strength
@export var wind_boost_strength: float = 1.0 #Wind displacement strength while wind event is active
@export var cloud_scale: float = 0.5 #Cloud noise scale in sky shader
@export var cloud_speed: float = 0.05 #Cloud movement speed in sky shader
@export_range(0.01, 1.0) var cloud_scale_envshadows_rate: float = 0.01 #Cloud scale multiplier for environment shadows

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d2s020wikunuo"
path="res://.godot/imported/barretta_main.png-d118ead98672de7a9802ba85eaf04053.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://core/game_menu/assets/page_1/barretta_main.png"
dest_files=["res://.godot/imported/barretta_main.png-d118ead98672de7a9802ba85eaf04053.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ct7o3u6i5rka6"
path="res://.godot/imported/barretta_second.png-7f0af7da51c3ebb821e017a3fe148c6e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://core/game_menu/assets/page_1/barretta_second.png"
dest_files=["res://.godot/imported/barretta_second.png-7f0af7da51c3ebb821e017a3fe148c6e.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -2,7 +2,7 @@
[ext_resource type="Script" uid="uid://c7q3d823b1v1h" path="res://core/game_menu/biome_picker.gd" id="1_jqji0"]
[ext_resource type="Texture2D" uid="uid://dc0sl04wem136" path="res://core/game_menu/assets/page_1/color_main_biome.png" id="2_8s4h5"]
[ext_resource type="Texture2D" uid="uid://dj6pt25w5i4jq" path="res://core/game_menu/assets/page_1/lucchetto.png" id="2_jqji0"]
[ext_resource type="Texture2D" uid="uid://bx6gsh5uchkge" path="res://core/game_menu/assets/lock.png" id="3_jqji0"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_jqji0"]
@@ -65,18 +65,19 @@ stretch_mode = 3
[node name="TextureRect" type="TextureRect" parent="Texture" unique_id=288045010]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_left = 0.36645964
anchor_top = 0.41690964
anchor_right = 0.6335404
anchor_bottom = 0.58309036
offset_left = 1.5
offset_top = 8.5
offset_right = -1.5
offset_bottom = -8.5
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -26.8755
offset_top = -34.375504
offset_right = 26.8755
offset_bottom = 34.375504
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
texture = ExtResource("2_jqji0")
texture = ExtResource("3_jqji0")
expand_mode = 1
[connection signal="pressed" from="." to="." method="_on_pressed"]

View File

@@ -25,9 +25,11 @@ grow_vertical = 2
unique_name_in_owner = true
layout_mode = 1
anchor_left = 0.3625
anchor_top = 0.14351852
anchor_top = 0.21481481
anchor_right = 0.6375
anchor_bottom = 0.8564815
anchor_bottom = 0.78518516
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="ColorRect" parent="Photo" index="0" unique_id=1208008621]
@@ -37,6 +39,12 @@ offset_top = 0.0
offset_right = 0.0
offset_bottom = 0.0
[node name="MarginContainer" parent="Photo/ColorRect" index="0" unique_id=1141643525]
theme_override_constants/margin_left = 20
theme_override_constants/margin_top = 30
theme_override_constants/margin_right = 20
theme_override_constants/margin_bottom = 185
[connection signal="gui_input" from="Panel" to="." method="_on_panel_gui_input"]
[editable path="Photo"]

View File

@@ -1,20 +1,47 @@
extends Control
const TRAIN_WHISTLE_STREAM: AudioStream = preload("res://tgcc/train/sounds/train_whistle2.mp3")
@onready var play_button: Button = $%PlayButton
@onready var resume_button: Button = $%ResumeButton
@onready var settings_button: Button = $%SettingsButton
@onready var save_button: Button = $%SaveButton
@onready var quit_button: Button = $%QuitButton
@export var fade_time: float = 0.5
@export var menu_whistle_volume_db: float = -12.0
var _fallback_whistle_player: AudioStreamPlayer
func _ready() -> void:
_create_fallback_whistle_player()
play_button.pressed.connect(_on_play_button_pressed)
save_button.pressed.connect(_on_save_button_pressed)
quit_button.pressed.connect(_on_quit_button_pressed)
func _on_play_button_pressed() -> void:
_play_train_horn()
await get_tree().create_timer(fade_time).timeout
SceneManager.change_scene(SceneConfig.SceneName.GAME)
func _create_fallback_whistle_player() -> void:
_fallback_whistle_player = AudioStreamPlayer.new()
_fallback_whistle_player.name = "FallbackTrainWhistlePlayer"
_fallback_whistle_player.bus = &"SFX"
_fallback_whistle_player.volume_db = menu_whistle_volume_db
_fallback_whistle_player.stream = TRAIN_WHISTLE_STREAM
add_child(_fallback_whistle_player)
func _play_train_horn() -> void:
if not UIEvents.toot_toot.get_connections().is_empty():
UIEvents.toot_toot.emit(false)
return
if _fallback_whistle_player == null:
return
_fallback_whistle_player.stop()
_fallback_whistle_player.play()
func _on_save_button_pressed() -> void:
GameState.save_game()

View File

@@ -3,10 +3,11 @@
[ext_resource type="Script" uid="uid://dsey5dvc11vpq" path="res://core/game_menu/photo.gd" id="1_u0arp"]
[node name="Photo" type="Button" unique_id=1451980505]
custom_minimum_size = Vector2(132, 154)
custom_minimum_size = Vector2(132, 154.02)
anchors_preset = -1
anchor_right = 0.06875
anchor_bottom = 0.1425926
offset_bottom = 0.020004272
pivot_offset_ratio = Vector2(0.5, 0.5)
script = ExtResource("1_u0arp")
metadata/_edit_use_anchors_ = true
@@ -34,9 +35,9 @@ anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 14
theme_override_constants/margin_top = 15
theme_override_constants/margin_right = 14
theme_override_constants/margin_left = 10
theme_override_constants/margin_top = 10
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 50
[node name="PhotoTexture" type="TextureRect" parent="ColorRect/MarginContainer" unique_id=506844785]

View File

@@ -2,8 +2,9 @@
[ext_resource type="Script" uid="uid://8k1msabobhks" path="res://core/game_menu/train_selector.gd" id="1_puip6"]
[ext_resource type="Texture2D" uid="uid://bjqp8kmb5y7px" path="res://core/game_menu/assets/page_1/chooseyourtrain_text.png" id="2_cfvtr"]
[ext_resource type="PackedScene" uid="uid://dm3skv22c60tm" path="res://core/game_menu/arrow_button.tscn" id="2_puip6"]
[ext_resource type="PackedScene" uid="uid://ch1st1oryjoio" path="res://core/game_menu/color_picker.tscn" id="3_i2rs1"]
[ext_resource type="Texture2D" uid="uid://d2s020wikunuo" path="res://core/game_menu/assets/page_1/barretta_main.png" id="4_ftlwq"]
[ext_resource type="Texture2D" uid="uid://ct7o3u6i5rka6" path="res://core/game_menu/assets/page_1/barretta_second.png" id="6_y1o8e"]
[ext_resource type="PackedScene" uid="uid://dxun0jk5t0n6" path="res://core/tween/container_tween.tscn" id="10_i2rs1"]
[ext_resource type="PackedScene" uid="uid://otptvwer4par" path="res://tgcc/train/train.tscn" id="11_train"]
@@ -31,7 +32,7 @@ stretch = true
own_world_3d = true
transparent_bg = true
handle_input_locally = false
size = Vector2i(660, 180)
size = Vector2i(625, 180)
render_target_update_mode = 4
[node name="Camera3D" type="Camera3D" parent="TrainViewportContainer/SubViewport" unique_id=1674220602]
@@ -43,59 +44,118 @@ transform = Transform3D(0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, -
[node name="Treno" parent="TrainViewportContainer/SubViewport" unique_id=1674220603 instance=ExtResource("11_train")]
[node name="HBoxContainer2" type="HBoxContainer" parent="." unique_id=607833319]
[node name="TextureRect" type="TextureRect" parent="." unique_id=338929443]
layout_mode = 2
alignment = 1
mouse_filter = 2
texture = ExtResource("4_ftlwq")
[node name="ArrowButtonLeft" parent="HBoxContainer2" unique_id=103192648 instance=ExtResource("2_puip6")]
unique_name_in_owner = true
layout_mode = 2
flip_h = true
[node name="MarginContainer" type="MarginContainer" parent="TextureRect" unique_id=616392028]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme_override_constants/margin_left = 116
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer2" unique_id=1364417494]
[node name="HBoxContainer" type="HBoxContainer" parent="TextureRect/MarginContainer" unique_id=1364417494]
layout_mode = 2
theme_override_constants/separation = 0
alignment = 1
[node name="ColorPicker1" parent="HBoxContainer2/HBoxContainer" unique_id=59169767 instance=ExtResource("3_i2rs1")]
[node name="ColorPicker1" parent="TextureRect/MarginContainer/HBoxContainer" unique_id=59169767 instance=ExtResource("3_i2rs1")]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 4
color = Color(0.7432059, 0.5684909, 1, 1)
color = Color(0.72156864, 0.3529412, 0.32156864, 1)
[node name="ColorPicker2" parent="HBoxContainer2/HBoxContainer" unique_id=584054476 instance=ExtResource("3_i2rs1")]
[node name="ColorPicker2" parent="TextureRect/MarginContainer/HBoxContainer" unique_id=584054476 instance=ExtResource("3_i2rs1")]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 4
color = Color(0.47657922, 0.8792635, 0.8823829, 1)
color = Color(0.83137256, 0.61960787, 0.3254902, 1)
[node name="ColorPicker3" parent="HBoxContainer2/HBoxContainer" unique_id=889429149 instance=ExtResource("3_i2rs1")]
[node name="ColorPicker3" parent="TextureRect/MarginContainer/HBoxContainer" unique_id=889429149 instance=ExtResource("3_i2rs1")]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 4
color = Color(0.35686275, 0.54901963, 0.5803922, 1)
[node name="ColorPicker4" parent="TextureRect/MarginContainer/HBoxContainer" unique_id=466686411 instance=ExtResource("3_i2rs1")]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 4
color = Color(0.43137255, 0.52156866, 0.40784314, 1)
[node name="ColorPicker5" parent="TextureRect/MarginContainer/HBoxContainer" unique_id=675841518 instance=ExtResource("3_i2rs1")]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 4
color = Color(0.5568628, 0.49803922, 0.65882355, 1)
[node name="ColorPicker6" parent="TextureRect/MarginContainer/HBoxContainer" unique_id=1698412911 instance=ExtResource("3_i2rs1")]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 4
color = Color(0.32156864, 0.43137255, 0.49019608, 1)
[node name="TextureRect2" type="TextureRect" parent="." unique_id=1180760395]
layout_mode = 2
mouse_filter = 2
texture = ExtResource("6_y1o8e")
[node name="MarginContainer" type="MarginContainer" parent="TextureRect2" unique_id=651764288]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme_override_constants/margin_left = 116
[node name="HBoxContainer2" type="HBoxContainer" parent="TextureRect2/MarginContainer" unique_id=2122540668]
layout_mode = 2
theme_override_constants/separation = 0
alignment = 1
[node name="ColorPicker7" parent="TextureRect2/MarginContainer/HBoxContainer2" unique_id=1664685328 instance=ExtResource("3_i2rs1")]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 4
color = Color(0.92156863, 0.7529412, 0.40784314, 1)
[node name="ColorPicker8" parent="TextureRect2/MarginContainer/HBoxContainer2" unique_id=396324135 instance=ExtResource("3_i2rs1")]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 4
color = Color(0.9529412, 0.91764706, 0.827451, 1)
[node name="ColorPicker9" parent="TextureRect2/MarginContainer/HBoxContainer2" unique_id=1233950004 instance=ExtResource("3_i2rs1")]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 4
color = Color(0.54004896, 0.5516501, 0.45533067, 1)
[node name="ColorPicker4" parent="HBoxContainer2/HBoxContainer" unique_id=466686411 instance=ExtResource("3_i2rs1")]
[node name="ColorPicker10" parent="TextureRect2/MarginContainer/HBoxContainer2" unique_id=2132596175 instance=ExtResource("3_i2rs1")]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 4
color = Color(0.40863404, 1, 0.47657922, 1)
color = Color(0.33591065, 0.42461705, 0.38732395, 1)
[node name="ColorPicker5" parent="HBoxContainer2/HBoxContainer" unique_id=675841518 instance=ExtResource("3_i2rs1")]
[node name="ColorPicker11" parent="TextureRect2/MarginContainer/HBoxContainer2" unique_id=831493295 instance=ExtResource("3_i2rs1")]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 4
color = Color(1, 0, 0, 1)
color = Color(0.44940293, 0.7807106, 0.89803255, 1)
[node name="ColorPicker6" parent="HBoxContainer2/HBoxContainer" unique_id=1698412911 instance=ExtResource("3_i2rs1")]
[node name="ColorPicker12" parent="TextureRect2/MarginContainer/HBoxContainer2" unique_id=170636843 instance=ExtResource("3_i2rs1")]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 4
[node name="ArrowButtonRight" parent="HBoxContainer2" unique_id=68298624 instance=ExtResource("2_puip6")]
unique_name_in_owner = true
layout_mode = 2
color = Color(0.9098039, 0.6, 0.5529412, 1)
[node name="ContainerTween" parent="." unique_id=160227524 node_paths=PackedStringArray("targets") instance=ExtResource("10_i2rs1")]
unique_name_in_owner = true
targets = [NodePath("../HBoxContainer2/ArrowButtonLeft"), NodePath("../HBoxContainer2/HBoxContainer/ColorPicker1"), NodePath("../HBoxContainer2/HBoxContainer/ColorPicker2"), NodePath("../HBoxContainer2/HBoxContainer/ColorPicker3"), NodePath("../HBoxContainer2/HBoxContainer/ColorPicker4"), NodePath("../HBoxContainer2/HBoxContainer/ColorPicker5"), NodePath("../HBoxContainer2/HBoxContainer/ColorPicker6"), NodePath("../HBoxContainer2/ArrowButtonRight")]
targets = [null, NodePath("../TextureRect/MarginContainer/HBoxContainer/ColorPicker1"), NodePath("../TextureRect/MarginContainer/HBoxContainer/ColorPicker2"), NodePath("../TextureRect/MarginContainer/HBoxContainer/ColorPicker3"), NodePath("../TextureRect/MarginContainer/HBoxContainer/ColorPicker4"), NodePath("../TextureRect/MarginContainer/HBoxContainer/ColorPicker5"), NodePath("../TextureRect/MarginContainer/HBoxContainer/ColorPicker6"), null]

View File

@@ -22,6 +22,7 @@ signal on_photo_taken_finished
signal on_photo_mode_black_screen_disappeared
const SAVE_PATH: String = "user://savegame.json"
const SAVE_PASSWORD: String = "jmpgames_megapwd"
var save_data: SaveGameData = SaveGameData.new()
var is_loaded: bool = false
@@ -29,6 +30,11 @@ var is_loaded: bool = false
func _ready() -> void:
load_game()
apply_video_settings()
apply_train_colors()
func _process(delta: float) -> void:
if not get_tree().paused and is_loaded:
save_data.total_time_played_seconds += delta
func apply_video_settings() -> void:
get_viewport().use_taa = save_data.anti_aliasing
@@ -36,6 +42,16 @@ func apply_video_settings() -> void:
get_viewport().msaa_3d = msaa_mode
get_viewport().msaa_2d = Viewport.MSAA_DISABLED
func apply_train_colors() -> void:
if not save_data.train_color_1.is_empty():
var mat1: ShaderMaterial = load("res://tgcc/train/Color1_train.tres")
if mat1:
mat1.set_shader_parameter("albedo_color", Color(save_data.train_color_1))
if not save_data.train_color_2.is_empty():
var mat2: ShaderMaterial = load("res://tgcc/train/Color2_train.tres")
if mat2:
mat2.set_shader_parameter("albedo_color", Color(save_data.train_color_2))
match save_data.window_mode_index:
0:
DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_EXCLUSIVE_FULLSCREEN)
@@ -62,29 +78,55 @@ func apply_video_settings() -> void:
)
DisplayServer.window_set_position(screen_center - window_half_size)
func save_game() -> void:
var save_file = FileAccess.open(SAVE_PATH, FileAccess.WRITE)
var json_string = JSON.stringify(save_data.to_dictionary())
save_file.store_line(json_string)
#encrypted file + binary serialization (standard)
func load_game() -> void:
if not FileAccess.file_exists(SAVE_PATH):
save_data = SaveGameData.new()
is_loaded = true
return
var file = FileAccess.open(SAVE_PATH, FileAccess.READ)
var json_string = file.get_as_text()
var json = JSON.new()
var parse_result = json.parse(json_string)
var file := FileAccess.open_encrypted_with_pass(SAVE_PATH, FileAccess.READ, SAVE_PASSWORD)
save_data = SaveGameData.new()
if parse_result == OK and json.data is Dictionary:
save_data = SaveGameData.from_dictionary(json.data)
if file != null:
var data = file.get_var()
file.close()
if data is Dictionary:
save_data = SaveGameData.from_dictionary(data)
#if file == null the key or the file is corrupted -> start with new data
is_loaded = true
func save_game() -> void:
var file := FileAccess.open_encrypted_with_pass(SAVE_PATH, FileAccess.WRITE, SAVE_PASSWORD)
if file == null:
push_error("Salvataggio fallito: %s" % FileAccess.get_open_error())
return
file.store_var(save_data.to_dictionary()) # binario, non JSON
file.close()
#JSon Version
#func save_game() -> void:
#var save_file = FileAccess.open(SAVE_PATH, FileAccess.WRITE)
#var json_string = JSON.stringify(save_data.to_dictionary())
#save_file.store_line(json_string)
#
#func load_game() -> void:
#if not FileAccess.file_exists(SAVE_PATH):
#save_data = SaveGameData.new()
#is_loaded = true
#return
#
#var file = FileAccess.open(SAVE_PATH, FileAccess.READ)
#var json_string = file.get_as_text()
#
#var json = JSON.new()
#var parse_result = json.parse(json_string)
#
#save_data = SaveGameData.new()
#if parse_result == OK and json.data is Dictionary:
#save_data = SaveGameData.from_dictionary(json.data)
#
#is_loaded = true
func pause_game() -> void:
get_tree().paused = true

View File

@@ -9,6 +9,13 @@ var anti_aliasing: bool = true
var window_mode_index: int = 0
var resolution_x: int = 1920
var resolution_y: int = 1080
var train_color_1: String = ""
var train_color_2: String = ""
var train_color_1_index: int = 0
var train_color_2_index: int = 0
var total_distance_km: float = 0.0
var total_time_played_seconds: float = 0.0
func to_dictionary() -> Dictionary:
var serialized_collectible_ids: Array[String] = []
@@ -23,6 +30,12 @@ func to_dictionary() -> Dictionary:
"window_mode_index": window_mode_index,
"resolution_x": resolution_x,
"resolution_y": resolution_y,
"train_color_1": train_color_1,
"train_color_2": train_color_2,
"train_color_1_index": train_color_1_index,
"train_color_2_index": train_color_2_index,
"total_distance_km": total_distance_km,
"total_time_played_seconds": total_time_played_seconds,
}
static func from_dictionary(data: Dictionary) -> SaveGameData:
@@ -52,4 +65,22 @@ static func from_dictionary(data: Dictionary) -> SaveGameData:
if data.has("resolution_y"):
save_game_data.resolution_y = int(data["resolution_y"])
if data.has("train_color_1"):
save_game_data.train_color_1 = str(data["train_color_1"])
if data.has("train_color_2"):
save_game_data.train_color_2 = str(data["train_color_2"])
if data.has("train_color_1_index"):
save_game_data.train_color_1_index = int(data["train_color_1_index"])
if data.has("train_color_2_index"):
save_game_data.train_color_2_index = int(data["train_color_2_index"])
if data.has("total_distance_km"):
save_game_data.total_distance_km = float(data["total_distance_km"])
if data.has("total_time_played_seconds"):
save_game_data.total_time_played_seconds = float(data["total_time_played_seconds"])
return save_game_data

Binary file not shown.

After

Width:  |  Height:  |  Size: 774 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c31yut8p24t8g"
path="res://.godot/imported/button_customize.png-2b9ab16ca23c28488847c768be1934d0.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://core/main_scene_ui/assets/button_customize.png"
dest_files=["res://.godot/imported/button_customize.png-2b9ab16ca23c28488847c768be1934d0.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -3,7 +3,10 @@ extends Control
@onready var game_menu: Control = $%GameMenu
@onready var game_menu_panel: Control = $%GameMenuPanel
@onready var menu_icon_button: Button = $%MenuIconButton
@onready var hide_ui_button: Button = $%HideUIButton
@onready var customize_train_button: Button = $%CustomizeTrainButton
@onready var photo_icon_button: Button = $%PhotoIconButton
@onready var choo_choo_button: Button = $%ChooChooButton
@onready var collectible_icon_button: Button = $%CollectibleIconButton
@onready var resume_button: Button = $GameMenuPanel/GameMenu/Pages/Page3/OptionMenu/VBoxContainer/ResumeButton
@onready var weather_row: HBoxContainer = $%WeatherRow
@@ -12,6 +15,8 @@ extends Control
@onready var photo_mode_texture_mask: TextureRect = $%PhotoModeTextureMask
@onready var photo_mode_black_screen: ColorRect = $%PhotoModeBlackScreen
@onready var audio_player: Control = $%AudioPlayer
@onready var time_label: Label = $%TimeLabel
@onready var dist_label: Label = $%DistLabel
var _cycle = false
var _rain = false
@@ -23,29 +28,49 @@ var _photo_mode_alpha_tween: Tween
var _photo_mode_fold_tween: Tween
func _ready() -> void:
set_process_input(false)
GameState.on_enable_photo_mode_request.connect(_on_enable_photo_mode)
GameState.on_disable_photo_mode_request.connect(_on_disable_photo_mode)
GameState.on_photo_taken_started.connect(_on_photo_taken_started)
GameState.on_photo_taken_finished.connect(_on_photo_taken_finished)
GameState.on_photo_taken_prepare.connect(_on_photo_capture_prepare)
menu_icon_button.pressed.connect(_on_menu_icon_button_pressed)
hide_ui_button.pressed.connect(_on_hide_ui_button_pressed)
customize_train_button.pressed.connect(_open_game_menu_on_page.bind(0))
collectible_icon_button.pressed.connect(_open_game_menu_on_page.bind(1))
menu_icon_button.pressed.connect(_open_game_menu_on_page.bind(2))
photo_icon_button.pressed.connect(_on_photo_icon_button_pressed)
collectible_icon_button.pressed.connect(_on_collectible_icon_button_pressed)
choo_choo_button.pressed.connect(_on_choo_choo_button_pressed)
resume_button.pressed.connect(_on_resume_button_pressed)
func _on_menu_icon_button_pressed() -> void:
GameState.pause_game()
game_menu_panel.show()
game_menu.scale = Vector2(1, 1)
game_menu.open()
TweenFX.fold_in(game_menu)
func _process(_delta: float) -> void:
if time_label and dist_label and GameState.is_loaded:
var time = GameState.save_data.total_time_played_seconds
@warning_ignore("integer_division")
var hours = int(time) / 3600
@warning_ignore("integer_division")
var minutes = (int(time) % 3600) / 60
var seconds = int(time) % 60
time_label.text = "Travel Time: %02d:%02d:%02d" % [hours, minutes, seconds]
dist_label.text = "Distance Traveled: %d km" % int(GameState.save_data.total_distance_km)
func _on_hide_ui_button_pressed() -> void:
hide_ui()
Input.set_mouse_mode(Input.MOUSE_MODE_HIDDEN)
await get_tree().create_timer(0.3).timeout
set_process_input(true)
func _input(event: InputEvent) -> void:
if event is InputEventMouseMotion:
set_process_input(false)
Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
show_ui()
func _on_photo_icon_button_pressed() -> void:
GameState.on_enable_photo_mode_request.emit()
func _on_collectible_icon_button_pressed() -> void:
func _open_game_menu_on_page(tab_index: int) -> void:
GameState.pause_game()
game_menu.on_tab_pressed(1, true)
game_menu.on_tab_pressed(tab_index, true)
game_menu_panel.show()
game_menu.scale = Vector2(1, 1)
TweenFX.fold_in(game_menu)
@@ -102,7 +127,7 @@ func pick_random_weather() -> void:
weather_row.on_icon_pressed_changed(random_button)
func _on_enable_photo_mode() -> void:
hide_ui_for_photo_mode()
hide_ui()
photo_mode_texture_mask.scale = Vector2(1,1)
photo_mode_texture_mask.modulate.a = 0.0
photo_mode_texture_panel.show()
@@ -125,7 +150,7 @@ func _on_enable_photo_mode() -> void:
_photo_mode_fold_tween = TweenFX.fold_in(photo_mode_texture_mask)
func _on_disable_photo_mode() -> void:
show_ui_for_photo_mode()
show_ui()
var mat = photo_mode_texture_panel.material as ShaderMaterial
if mat:
if _photo_mode_mat_tween:
@@ -170,24 +195,31 @@ func _on_photo_taken_finished() -> void:
StatsManager.add_int("stat_photo_number", 1)
StatsManager.store()
func hide_ui_for_photo_mode() -> void:
TweenFX.fade_out(weather_row, 0.25)
TweenFX.fade_out(time_of_day_row, 0.25)
TweenFX.fade_out(menu_icon_button, 0.25)
TweenFX.fade_out(photo_icon_button, 0.25)
TweenFX.fade_out(collectible_icon_button, 0.25)
TweenFX.fade_out(audio_player, 0.25)
func _on_choo_choo_button_pressed() -> void:
UIEvents.toot_toot.emit(true)
AchievementManager.is_unlocked("ACH_CHANGE_TRAIN_COLOR")
func show_ui_for_photo_mode() -> void:
weather_row.show()
time_of_day_row.show()
menu_icon_button.show()
photo_icon_button.show()
collectible_icon_button.show()
audio_player.show()
TweenFX.fade_in(weather_row, 0.25)
TweenFX.fade_in(time_of_day_row, 0.25)
TweenFX.fade_in(menu_icon_button, 0.25)
TweenFX.fade_in(photo_icon_button, 0.25)
TweenFX.fade_in(collectible_icon_button, 0.25)
TweenFX.fade_in(audio_player, 0.25)
func _set_buttons_mouse_filter(ignore: bool) -> void:
var filter = Control.MOUSE_FILTER_IGNORE if ignore else Control.MOUSE_FILTER_STOP
var buttons = [hide_ui_button, customize_train_button, collectible_icon_button, menu_icon_button, photo_icon_button, choo_choo_button]
if weather_row and "options_icon_buttons" in weather_row:
buttons.append_array(weather_row.options_icon_buttons)
if time_of_day_row and "options_icon_buttons" in time_of_day_row:
buttons.append_array(time_of_day_row.options_icon_buttons)
for btn in buttons:
if btn is Control:
btn.mouse_filter = filter
func hide_ui() -> void:
_set_buttons_mouse_filter(true)
var hud_elements = [hide_ui_button, weather_row, time_of_day_row, customize_train_button, collectible_icon_button, menu_icon_button, photo_icon_button, audio_player, choo_choo_button, time_label, dist_label]
for element in hud_elements:
TweenFX.fade_out(element, 0.25)
func show_ui() -> void:
_set_buttons_mouse_filter(false)
var hud_elements = [hide_ui_button, weather_row, time_of_day_row, customize_train_button, collectible_icon_button, menu_icon_button, photo_icon_button, audio_player, choo_choo_button, time_label, dist_label]
for element in hud_elements:
element.show()
TweenFX.fade_in(element, 0.25)

View File

@@ -26,7 +26,9 @@
[ext_resource type="Texture2D" uid="uid://cq65xyg4wsctm" path="res://core/main_scene_ui/assets/button_weather_nowind.png" id="12_fjfwt"]
[ext_resource type="Texture2D" uid="uid://tex06svipyg4" path="res://core/main_scene_ui/assets/button_random.png" id="14_gcgq4"]
[ext_resource type="Texture2D" uid="uid://1n3paucfsovj" path="res://core/main_scene_ui/assets/button_photomode.png" id="15_th1nj"]
[ext_resource type="Texture2D" uid="uid://c31yut8p24t8g" path="res://core/main_scene_ui/assets/button_customize.png" id="19_vywaj"]
[ext_resource type="Texture2D" uid="uid://b03si5ir3ypp7" path="res://core/main_scene_ui/assets/button_collection03.png" id="19_yggu7"]
[ext_resource type="FontFile" uid="uid://bclja5no1qteh" path="res://core/font/Kestila.ttf" id="29_jn6vt"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_hole"]
shader = ExtResource("10_shader")
@@ -48,8 +50,10 @@ layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -164.0
offset_right = 80.0
offset_left = 20.0
offset_top = -184.0
offset_right = 100.0
offset_bottom = -20.0
grow_vertical = 0
[node name="TimeOfDayRow" parent="Rows" unique_id=1734127019 instance=ExtResource("2_4cc8f")]
@@ -132,40 +136,80 @@ data = "Random"
image = ExtResource("14_gcgq4")
apply_texture_on_selection = false
[node name="MenuIconButton" parent="." unique_id=707872474 instance=ExtResource("3_t1xop")]
unique_name_in_owner = true
[node name="TopButtons" type="VBoxContainer" parent="." unique_id=1644086668]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
anchor_bottom = 0.0
offset_left = -80.0
offset_bottom = 80.0
offset_left = -100.0
offset_top = 20.0
offset_right = -20.0
offset_bottom = 100.0
grow_horizontal = 0
theme_override_constants/separation = 8
[node name="MenuIconButton" parent="TopButtons" unique_id=707872474 instance=ExtResource("3_t1xop")]
unique_name_in_owner = true
layout_mode = 2
image = ExtResource("10_6016m")
[node name="CollectionOptions" type="VBoxContainer" parent="." unique_id=542153805]
[node name="HideUIButton" parent="TopButtons" unique_id=1621140689 instance=ExtResource("3_t1xop")]
unique_name_in_owner = true
layout_mode = 2
image = ExtResource("10_6016m")
[node name="MiddleButtons" type="VBoxContainer" parent="." unique_id=542153805]
layout_mode = 1
anchors_preset = 6
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -40.0
offset_top = -20.0
offset_bottom = 20.0
offset_left = -100.0
offset_top = -124.0
offset_right = -20.0
offset_bottom = 124.0
grow_horizontal = 0
grow_vertical = 2
theme_override_constants/separation = 8
[node name="PhotoIconButton" parent="CollectionOptions" unique_id=1863476241 instance=ExtResource("3_t1xop")]
[node name="CustomizeTrainButton" parent="MiddleButtons" unique_id=27430111 instance=ExtResource("3_t1xop")]
unique_name_in_owner = true
layout_mode = 2
image = ExtResource("19_vywaj")
[node name="CollectibleIconButton" parent="MiddleButtons" unique_id=520235552 instance=ExtResource("3_t1xop")]
unique_name_in_owner = true
layout_mode = 2
image = ExtResource("19_yggu7")
[node name="PhotoIconButton" parent="MiddleButtons" unique_id=1863476241 instance=ExtResource("3_t1xop")]
unique_name_in_owner = true
layout_mode = 2
image = ExtResource("15_th1nj")
[node name="CollectibleIconButton" parent="CollectionOptions" unique_id=520235552 instance=ExtResource("3_t1xop")]
[node name="ChooChooButton" parent="MiddleButtons" unique_id=774819903 instance=ExtResource("3_t1xop")]
unique_name_in_owner = true
layout_mode = 2
image = ExtResource("19_yggu7")
image = ExtResource("15_th1nj")
[node name="InfoLabels" type="VBoxContainer" parent="." unique_id=234435566]
custom_minimum_size = Vector2(400, 0)
layout_mode = 1
offset_left = 20.0
offset_top = 20.0
offset_right = 420.0
offset_bottom = 220.0
[node name="TimeLabel" type="Label" parent="InfoLabels" unique_id=18932607]
unique_name_in_owner = true
layout_mode = 2
theme_override_fonts/font = ExtResource("29_jn6vt")
[node name="DistLabel" type="Label" parent="InfoLabels" unique_id=1743894966]
unique_name_in_owner = true
layout_mode = 2
theme_override_fonts/font = ExtResource("29_jn6vt")
[node name="AudioPlayer" parent="." unique_id=425192018 node_paths=PackedStringArray("radio") instance=ExtResource("7_lapqe")]
unique_name_in_owner = true
@@ -174,10 +218,10 @@ anchor_left = 1.0
anchor_top = 0.99814814
anchor_right = 1.0
anchor_bottom = 0.99814814
offset_left = -146.0
offset_top = -57.0
offset_right = -146.0
offset_bottom = -57.0
offset_left = -166.0
offset_top = -74.0
offset_right = -166.0
offset_bottom = -74.0
grow_horizontal = 0
grow_vertical = 0
radio = NodePath("../Radio")
@@ -222,18 +266,6 @@ texture = ExtResource("9_4cc8f")
stretch_mode = 3
metadata/_edit_use_anchors_ = true
[node name="PhotoModeBlackScreen" type="ColorRect" parent="." unique_id=1928591477]
unique_name_in_owner = true
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
pivot_offset_ratio = Vector2(0.5, 0.5)
color = Color(0, 0, 0, 1)
[node name="PhotoTaken" parent="." unique_id=683693112 instance=ExtResource("8_t1xop")]
visible = false
layout_mode = 1
@@ -246,6 +278,18 @@ offset_bottom = 0.0
grow_horizontal = 2
grow_vertical = 2
[node name="PhotoModeBlackScreen" type="ColorRect" parent="." unique_id=1928591477]
unique_name_in_owner = true
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
pivot_offset_ratio = Vector2(0.5, 0.5)
color = Color(0, 0, 0, 1)
[node name="Radio" parent="." unique_id=1234112225 instance=ExtResource("5_nevjt")]
playlist = Array[AudioStream]([ExtResource("6_kd244")])

View File

@@ -5,12 +5,13 @@ extends Control
var initial_pos_saved := false
var initial_pos: Vector2
var appear_tween: Tween
var move_tween: Tween
var is_photo_mode_enable = false
var current_execution: int = 0
func _ready() -> void:
CollectionManager.on_photo_saved.connect(_set_photo_taken)
CollectionManager.on_photo_preview_ready.connect(_set_photo_preview)
GameState.on_enable_photo_mode_request.connect(_on_enable_photo_mode)
GameState.on_disable_photo_mode_request.connect(_on_disable_photo_mode)
GameState.on_photo_taken_finished.connect(_show_photo_taken)
@@ -19,8 +20,7 @@ func _ready() -> void:
func _hide_photo_taken() -> void:
hide()
func _set_photo_taken(file_path) -> void:
var image = Image.load_from_file(file_path)
func _set_photo_preview(image: Image) -> void:
if image:
var texture = ImageTexture.create_from_image(image)
photo_texture.texture = texture
@@ -41,12 +41,17 @@ func _show_photo_taken() -> void:
rotation_degrees = 0.0
show()
var explode_tween_duration = 5.5
var appear_duration = 0.8
var float_duration = 1.5
var move_tween_duration = 1.0
var shrink_duration = 1
var scale_amt = 3.0
var explode_tween = TweenFX.explode(self, explode_tween_duration, 3)
appear_tween = create_tween()
appear_tween.tween_property(self, "scale", Vector2.ONE * scale_amt, appear_duration).set_trans(Tween.TRANS_BACK).set_ease(Tween.EASE_OUT)
appear_tween.parallel().tween_property(self, "rotation_degrees", randf_range(-10, 10), appear_duration * 0.8)
await get_tree().create_timer(explode_tween_duration / 2).timeout
await get_tree().create_timer(appear_duration + float_duration).timeout
if my_execution != current_execution:
return
@@ -61,10 +66,14 @@ func _show_photo_taken() -> void:
move_tween = create_tween()
var target_pos = collectible_button.global_position
move_tween.tween_property(self, "global_position:x", target_pos.x, move_tween_duration).set_trans(Tween.TRANS_SINE).set_ease(Tween.EASE_IN_OUT)
move_tween.parallel().tween_property(self, "global_position:y", target_pos.y, move_tween_duration).set_trans(Tween.TRANS_BACK).set_ease(Tween.EASE_IN)
await explode_tween.finished
move_tween.parallel().tween_property(self, "scale", Vector2.ONE * 0.1, shrink_duration).set_trans(Tween.TRANS_CUBIC).set_ease(Tween.EASE_IN_OUT)
move_tween.parallel().tween_property(self, "modulate:a", 0.0, shrink_duration).set_trans(Tween.TRANS_LINEAR)
await move_tween.finished
if my_execution != current_execution:
return
@@ -90,6 +99,8 @@ func _on_disable_photo_mode() -> void:
func reset() -> void:
TweenFX.stop_all(self)
if appear_tween:
appear_tween.kill()
if move_tween:
move_tween.kill()
hide()

View File

@@ -34,9 +34,9 @@ anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 14
theme_override_constants/margin_top = 15
theme_override_constants/margin_right = 14
theme_override_constants/margin_left = 10
theme_override_constants/margin_top = 10
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 50
[node name="PhotoTexture" type="TextureRect" parent="ColorRect/MarginContainer" unique_id=1754898569]

View File

@@ -2,6 +2,7 @@ extends Node
signal on_collectible_unlocked(collectible_id: StringName)
signal on_photo_saved(filePath: String)
signal on_photo_preview_ready(image: Image)
@export var collectibles_library: CollectibleLibrary
@@ -35,14 +36,18 @@ func save_photo_to_disk_async(image: Image) -> void:
if not image:
return
if not DirAccess.dir_exists_absolute("user://photos"):
DirAccess.make_dir_absolute("user://photos")
var timestamp = str(Time.get_unix_time_from_system())
var file_path = "user://photos/photo_" + timestamp + ".png"
image.save_png(file_path)
WorkerThreadPool.add_task(func():
image.save_png(file_path)
call_deferred("_on_photo_saved_callback", file_path)
)
func _on_photo_saved_callback(file_path: String) -> void:
saved_photos.append(file_path)
sync_save_data()
on_photo_saved.emit(file_path)

View File

@@ -121,6 +121,7 @@ func take_photo_async() -> void:
var targets = get_tree().get_nodes_in_group("collectible")
var space_state = get_world_3d().direct_space_state
CollectionManager.on_photo_preview_ready.emit(captured_image)
CollectionManager.save_photo_to_disk_async(captured_image)
for target in targets:
@@ -138,6 +139,10 @@ func take_photo_async() -> void:
CollectionManager.unlock_collectible(target.collectible_data.id)
GameState.save_game()
var shutter_stay_duration = 0.15
await get_tree().create_timer(shutter_stay_duration).timeout
GameState.on_photo_taken_finished.emit()
func _on_photo_mode_black_screen_disappeared() -> void:

View File

@@ -1,6 +1,6 @@
class_name SceneConfig
extends Resource
enum SceneName { MAIN_MENU, GAME }
enum SceneName { MAIN_MENU, GAME, SPLASH_SCREEN }
@export var scenes: Dictionary[SceneName, PackedScene]

View File

@@ -3,11 +3,13 @@
[ext_resource type="PackedScene" uid="uid://btcpge7cj2041" path="res://core/main_menu/main_menu.tscn" id="1_72aup"]
[ext_resource type="Script" uid="uid://bbgyhmb8a17i7" path="res://core/scene_manager/scene_config.gd" id="1_km45g"]
[ext_resource type="PackedScene" uid="uid://vjf4bdxd8saj" path="res://tgcc/main_scene.tscn" id="2_prsyo"]
[ext_resource type="PackedScene" uid="uid://ri5kxx4mipo" path="res://core/splash_screen/splash_screen.tscn" id="3_aasbo"]
[resource]
script = ExtResource("1_km45g")
scenes = Dictionary[int, PackedScene]({
0: ExtResource("1_72aup"),
1: ExtResource("2_prsyo")
1: ExtResource("2_prsyo"),
2: ExtResource("3_aasbo")
})
metadata/_custom_type_script = "uid://bbgyhmb8a17i7"

View File

@@ -1,44 +1,208 @@
extends CanvasLayer
@export var config: SceneConfig
@export_group("Transition Timings")
@export var fade_in_duration: float = 0.5
@export var black_screen_duration: float = 1.0
@export var fade_out_duration: float = 0.5
@export var logo_fade_in_duration: float = 0.3
@export var logo_fade_out_duration: float = 0.3
@export_group("Cozy Animation")
@export var sway_speed: float = 2.5 # Velocità dell'oscillazione (più alto = più veloce)
@export var max_sway_angle: float = 6.0 # Gradi massimi di inclinazione a destra/sinistra
@export var pulse_speed: float = 2.0 # Velocità del "respiro"
@export var pulse_amount: float = 0.015 # Quanto si ingrandisce/rimpicciolisce il logo
@export_group("Shader Parameters")
@export var base_color: Color = Color.BLACK
@export var shape_tiling: float = 16.0
@export var shape_rotation: float = 0.0
@export var shape_scroll: Vector2 = Vector2.ZERO
@export var shape_feathering: float = 0.05
@export var shape_treshold: float = 1.0
@export var width: float = 0.5
@onready var color_rect = $ColorRect
@onready var loading_screen = $LoadingScreen
@export var transition_duration: float = 1
@onready var logo = $LoadingScreen/Logo
const SHADER_PATH := "res://core/transition.gdshader"
var transaction_material: ShaderMaterial
var time_passed: float = 0.0
var initial_scale: Vector2 = Vector2.ONE
var scale_captured: bool = false
func _ready() -> void:
color_rect.color.a = 0.0
color_rect.mouse_filter = Control.MOUSE_FILTER_IGNORE
loading_screen.hide()
_build_material()
_update_resolution()
get_viewport().size_changed.connect(_update_resolution)
_set_factor(0.0)
color_rect.z_index = 0
loading_screen.z_index = 1
color_rect.visible = false
loading_screen.visible = false
loading_screen.modulate.a = 0.0
func change_scene(scene_enum: SceneConfig.SceneName) -> void:
func _process(delta: float) -> void:
if loading_screen.visible and logo and logo.visible:
# Cattura la scala originale (0.22) impostata nell'editor alla prima attivazione
if not scale_captured:
initial_scale = logo.scale
scale_captured = true
time_passed += delta
# 1. EFFETTO DONDOLIO (Usa il seno per oscillare morbidamente)
var target_rotation = sin(time_passed * sway_speed) * deg_to_rad(max_sway_angle)
logo.rotation = target_rotation
# 2. EFFETTO RESPIRO (Modifica leggermente lo scale partendo da quello base)
var pulse = sin(time_passed * pulse_speed) * pulse_amount
logo.scale = initial_scale + Vector2(pulse, pulse)
else:
# Reset del timer quando la schermata si chiude per ripartire da zero la prossima volta
time_passed = 0.0
func _build_material() -> void:
transaction_material = ShaderMaterial.new()
transaction_material.shader = load(SHADER_PATH)
var g := Gradient.new()
g.set_color(0, Color.BLACK)
g.set_color(1, Color.WHITE)
var grad_tex := GradientTexture2D.new()
grad_tex.gradient = g
grad_tex.fill = GradientTexture2D.FILL_LINEAR
grad_tex.fill_from = Vector2(0.0, 1.0)
grad_tex.fill_to = Vector2(1.0, 0.0)
grad_tex.width = 256
grad_tex.height = 256
var sg := Gradient.new()
sg.set_color(0, Color.WHITE)
sg.set_color(1, Color.BLACK)
var shape_tex := GradientTexture2D.new()
shape_tex.gradient = sg
shape_tex.fill = GradientTexture2D.FILL_RADIAL
shape_tex.fill_from = Vector2(0.5, 0.5)
shape_tex.fill_to = Vector2(0.5, 0.0)
shape_tex.width = 64
shape_tex.height = 64
transaction_material.set_shader_parameter("base_color", base_color)
transaction_material.set_shader_parameter("gradient_texture", grad_tex)
transaction_material.set_shader_parameter("gradient_fixed", false)
transaction_material.set_shader_parameter("shape_texture", shape_tex)
transaction_material.set_shader_parameter("shape_tiling", shape_tiling)
transaction_material.set_shader_parameter("shape_rotation", shape_rotation)
transaction_material.set_shader_parameter("shape_scroll", shape_scroll)
transaction_material.set_shader_parameter("shape_feathering", shape_feathering)
transaction_material.set_shader_parameter("shape_treshold", shape_treshold)
transaction_material.set_shader_parameter("width", width)
color_rect.material = transaction_material
func _update_resolution() -> void:
var s := get_viewport().get_visible_rect().size
if color_rect.material:
color_rect.material.set_shader_parameter("node_resolution", s)
func _set_factor(v: float) -> void:
if color_rect.material:
color_rect.material.set_shader_parameter("factor", v)
func cover(duration := 0.5) -> void:
color_rect.visible = true
var t := create_tween()
t.tween_method(_set_factor, 0.0, 1.0, duration)
await t.finished
func reveal(duration := 0.5) -> void:
var t := create_tween()
t.tween_method(_set_factor, 1.0, 0.0, duration)
await t.finished
color_rect.visible = false
func _setup_logo_safety() -> void:
if logo and logo.texture:
logo.visible = true
var texture_center = logo.texture.get_size() / 2
if logo.pivot_offset != texture_center:
var old_pivot = logo.pivot_offset
logo.pivot_offset = texture_center
logo.position -= (texture_center - old_pivot) * (Vector2.ONE - logo.scale)
func change_scene_with_standard_fade(scene_enum: SceneConfig.SceneName, show_loading_label: bool = true) -> void:
if not config or not config.scenes.has(scene_enum):
return
color_rect.material = null
color_rect.color = Color(0,0,0)
var target_scene: PackedScene = config.scenes[scene_enum]
color_rect.mouse_filter = Control.MOUSE_FILTER_STOP
var tween_in = create_tween()
tween_in.tween_property(color_rect, "color:a", 1.0, transition_duration)
await tween_in.finished
loading_screen.show()
await get_tree().process_frame
await cover(fade_in_duration)
get_tree().change_scene_to_packed(target_scene)
if show_loading_label:
_setup_logo_safety()
loading_screen.modulate.a = 0.0
loading_screen.visible = true
var tween_in = create_tween()
tween_in.tween_property(loading_screen, "modulate:a", 1.0, logo_fade_in_duration)
await tween_in.finished
if black_screen_duration > 0.0:
await get_tree().create_timer(black_screen_duration).timeout
if show_loading_label:
var tween_out = create_tween()
tween_out.tween_property(loading_screen, "modulate:a", 0.0, logo_fade_out_duration)
await tween_out.finished
loading_screen.visible = false
await reveal(fade_out_duration)
color_rect.mouse_filter = Control.MOUSE_FILTER_IGNORE
func change_scene(scene_enum: SceneConfig.SceneName, show_loading_label: bool = true) -> void:
if not config or not config.scenes.has(scene_enum):
return
loading_screen.hide()
var tween_out = create_tween()
tween_out.tween_property(color_rect, "color:a", 0.0, transition_duration)
await tween_out.finished
color_rect.material = transaction_material
color_rect.color = Color(0,0,0,0)
var target_scene: PackedScene = config.scenes[scene_enum]
color_rect.mouse_filter = Control.MOUSE_FILTER_STOP
await cover(fade_in_duration)
get_tree().change_scene_to_packed(target_scene)
if show_loading_label:
_setup_logo_safety()
loading_screen.modulate.a = 0.0
loading_screen.visible = true
var tween_in = create_tween()
tween_in.tween_property(loading_screen, "modulate:a", 1.0, logo_fade_in_duration)
await tween_in.finished
if black_screen_duration > 0.0:
await get_tree().create_timer(black_screen_duration).timeout
if show_loading_label:
var tween_out = create_tween()
tween_out.tween_property(loading_screen, "modulate:a", 0.0, logo_fade_out_duration)
await tween_out.finished
loading_screen.visible = false
await reveal(fade_out_duration)
color_rect.mouse_filter = Control.MOUSE_FILTER_IGNORE
func quit_game() -> void:
color_rect.mouse_filter = Control.MOUSE_FILTER_STOP
var tween = create_tween()
tween.tween_property(color_rect, "color:a", 1.0, transition_duration)
await tween.finished
get_tree().quit()

View File

@@ -3,12 +3,16 @@
[ext_resource type="Script" uid="uid://bf1f2kp8ghtei" path="res://core/scene_manager/scene_manager.gd" id="1_7resu"]
[ext_resource type="Resource" uid="uid://dr612tmciq8pg" path="res://core/scene_manager/scene_config.tres" id="2_vtdwt"]
[ext_resource type="Theme" uid="uid://bg8megpn77mod" path="res://core/font/main_theme.tres" id="3_j173j"]
[ext_resource type="Texture2D" uid="uid://dlrq07g7w5gg8" path="res://core/splash_screen/tgcc_logo.png" id="4_k2alh"]
[node name="SceneManager" type="CanvasLayer" unique_id=399843239]
process_mode = 3
layer = 100
script = ExtResource("1_7resu")
config = ExtResource("2_vtdwt")
fade_in_duration = 1.0
black_screen_duration = 3.0
fade_out_duration = 1.0
[node name="ColorRect" type="ColorRect" parent="." unique_id=1075660170]
anchors_preset = 15
@@ -45,3 +49,19 @@ theme = ExtResource("3_j173j")
theme_override_font_sizes/font_size = 32
text = "Loading..."
uppercase = true
[node name="Logo" type="TextureRect" parent="LoadingScreen" unique_id=425934742]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -233.0
offset_top = -236.0
offset_right = 791.0
offset_bottom = 788.0
grow_horizontal = 0
grow_vertical = 0
scale = Vector2(0.22, 0.22)
texture = ExtResource("4_k2alh")

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dp3qxncy8u184"
path="res://.godot/imported/jmp_logo.png-c6094efb2c4c429c25ff79b5a4cee21c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://core/splash_screen/jmp_logo.png"
dest_files=["res://.godot/imported/jmp_logo.png-c6094efb2c4c429c25ff79b5a4cee21c.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -0,0 +1,29 @@
extends Control
@export var main_menu_scene: PackedScene
@export var initial_delay: float = 0.5
@export var logo_fade_in_time: float = 1.0
@export var logo_display_time: float = 2.0
@export var logo_fade_out_time: float = 1.0
@export var black_screen_delay: float = 0.5
@onready var logo: Sprite2D = $ColorRect/JMPLogo
func _ready() -> void:
logo.modulate.a = 0.0
await get_tree().create_timer(initial_delay).timeout
var tween_in := create_tween()
tween_in.tween_property(logo, "modulate:a", 1.0, logo_fade_in_time).set_trans(Tween.TRANS_SINE).set_ease(Tween.EASE_OUT)
await tween_in.finished
await get_tree().create_timer(logo_display_time).timeout
var tween_out := create_tween()
tween_out.tween_property(logo, "modulate:a", 0.0, logo_fade_out_time).set_trans(Tween.TRANS_SINE).set_ease(Tween.EASE_IN)
await tween_out.finished
# Aspetta lo schermo nero prima di caricare il menu principale
await get_tree().create_timer(black_screen_delay).timeout
get_tree().change_scene_to_packed(main_menu_scene)

View File

@@ -0,0 +1 @@
uid://ckj2pcoxi5j3

View File

@@ -0,0 +1,30 @@
[gd_scene format=3 uid="uid://ri5kxx4mipo"]
[ext_resource type="Script" uid="uid://ckj2pcoxi5j3" path="res://core/splash_screen/splash_screen.gd" id="1_elsnp"]
[ext_resource type="Texture2D" uid="uid://dp3qxncy8u184" path="res://core/splash_screen/jmp_logo.png" id="1_jkpgl"]
[ext_resource type="PackedScene" uid="uid://btcpge7cj2041" path="res://core/main_menu/main_menu.tscn" id="2_qmlqp"]
[node name="Control" type="Control" unique_id=163470013]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_elsnp")
main_menu_scene = ExtResource("2_qmlqp")
logo_display_time = 1.25
[node name="ColorRect" type="ColorRect" parent="." unique_id=1599828641]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 1)
[node name="JMPLogo" type="Sprite2D" parent="ColorRect" unique_id=1244888940]
position = Vector2(980.99994, 556)
scale = Vector2(0.37799045, 0.37799042)
texture = ExtResource("1_jkpgl")

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dlrq07g7w5gg8"
path="res://.godot/imported/tgcc_logo.png-31dd91a5ccff8eb02e16f9fd08dfa111.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://core/splash_screen/tgcc_logo.png"
dest_files=["res://.godot/imported/tgcc_logo.png-31dd91a5ccff8eb02e16f9fd08dfa111.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -35,6 +35,8 @@ func _on_global_percentages_ready(_game: int, _result: int) -> void:
pass
func unlock(api_name: String) -> void:
if not SteamManager.is_on_steam:
return
if not KNOWN.has(api_name):
push_warning("Achievement unknown: %s" % api_name)
return
@@ -47,17 +49,25 @@ func unlock(api_name: String) -> void:
unlocked.emit(api_name)
func is_unlocked(api_name: String) -> bool:
if not SteamManager.is_on_steam:
return false
var data: Dictionary = Steam.getAchievement(api_name)
return data.get("achieved", false)
func get_display_name(api_name: String) -> String:
if not SteamManager.is_on_steam:
return ""
return Steam.getAchievementDisplayAttribute(api_name, "name")
func get_description(api_name: String) -> String:
if not SteamManager.is_on_steam:
return ""
return Steam.getAchievementDisplayAttribute(api_name, "desc")
#Global percentage of player who have unlocked the achievement
func get_global_percent(api_name: String) -> float:
if not SteamManager.is_on_steam:
return 0.0
var data: Dictionary = Steam.getAchievementAchievedPercent(api_name)
if not data.get("ret", false):
return -1.0 #global percentage not yet available
@@ -65,9 +75,10 @@ func get_global_percent(api_name: String) -> float:
#for development only: reset an achievement
func clear(api_name: String) -> void:
if not SteamManager.is_on_steam:
return
Steam.clearAchievement(api_name)
Steam.storeStats()
func _on_achievement_stored(_game: int, _group: bool, api_name: String,
current: int, maximum: int) -> void:
func _on_achievement_stored(_game: int, _group: bool, api_name: String, current: int, maximum: int) -> void:
print("Achievement confirmed by server: %s (%d/%d)" % [api_name, current, maximum])

View File

@@ -30,15 +30,21 @@ func _ready() -> void:
Steam.user_stats_stored.connect(_on_stats_stored)
func get_int(stat: String) -> int:
if not SteamManager.is_on_steam:
return 0
return Steam.getStatInt(stat)
func get_float(stat: String) -> float:
if not SteamManager.is_on_steam:
return 0.0
return Steam.getStatFloat(stat)
func set_int(stat: String, value: int) -> void:
if not KNOWN.has(stat):
push_warning("Stat not found: %s" % stat)
return
if not SteamManager.is_on_steam:
return
if not Steam.setStatInt(stat, value):
push_error("setStatInt failed (incremental with value less than current value? is published on steam?): %s" % stat)
@@ -52,18 +58,26 @@ func set_float(stat: String, value: float) -> void:
push_error("setStatFloat failed: %s" % stat)
func add_int(stat: String, amount: int = 1) -> void:
if not SteamManager.is_on_steam:
return
set_int(stat, get_int(stat) + amount)
func update_avg_rate(stat: String, count_this_session: float, session_length: float) -> void:
if not SteamManager.is_on_steam:
return
Steam.updateAvgRateStat(stat, count_this_session, session_length)
#Send all data to server; call it at the end of the game of when exit
func store() -> void:
if not SteamManager.is_on_steam:
return
if not Steam.storeStats():
push_error("storeStats failed; data saved locally")
#Development only: reset stats
func reset_all(include_achievements: bool = false) -> void:
if not SteamManager.is_on_steam:
return
if !Steam.resetAllStats(include_achievements):
push_error("resetAllStats failed")

View File

@@ -46,4 +46,4 @@ signal day_time_option_changed(index: int)
#train signals
@warning_ignore("unused_signal")
signal toot_toot()
signal toot_toot(update_stats: bool)

View File

@@ -7,14 +7,12 @@
[ext_resource type="PackedScene" uid="uid://ujv2f1l4d2ps" path="res://core/biome_generator/biome_generator.tscn" id="4_yrmqs"]
[ext_resource type="Script" uid="uid://wv6kcqkibium" path="res://core/biome_generator/biome.gd" id="5_2wjys"]
[ext_resource type="PackedScene" uid="uid://cv5xmnow451kl" path="res://core/camera.tscn" id="5_8tojn"]
[ext_resource type="PackedScene" uid="uid://crlk31ecl480n" path="res://tgcc/chunk/countryside/scene/rice/chunk_country_corner_03.tscn" id="6_21usy"]
[ext_resource type="Script" uid="uid://dboerd4a6dwj7" path="res://core/biome_generator/rails.gd" id="6_pypsn"]
[ext_resource type="PackedScene" uid="uid://dvk3bytqn3m5s" path="res://tgcc/train/test/Train_test.tscn" id="6_wjpfq"]
[ext_resource type="PackedScene" uid="uid://brpp7fe5noq8v" path="res://tgcc/chunk/countryside/scene/rice/chunk_country_cross_3_01.tscn" id="7_qe84w"]
[ext_resource type="PackedScene" uid="uid://f53hfrjaxkwa" path="res://tgcc/chunk/railway/scene/chunk_railway_straight_bridge.tscn" id="7_sjsoh"]
[ext_resource type="Resource" uid="uid://cmd6s6thq4f7r" path="res://core/biome_generator/entities_pool.tres" id="8_c7mkj"]
[ext_resource type="PackedScene" uid="uid://0kgjaqijaqku" path="res://docs/museums/biome_generator/rails.tscn" id="8_mb5yv"]
[ext_resource type="PackedScene" uid="uid://dn1btv0e0ses7" path="res://core/fireworks.tscn" id="8_xtogr"]
[ext_resource type="PackedScene" uid="uid://cu2chsjh8wuvp" path="res://tgcc/chunk/countryside/scene/rice/chunk_country_straight_02.tscn" id="9_sw7bt"]
[ext_resource type="PackedScene" uid="uid://c73yk6858dmwn" path="res://tgcc/chunk/countryside/scene/rice/chunk_country_cross_4_01.tscn" id="10_c7mkj"]
[ext_resource type="PackedScene" uid="uid://cmuvmmp7xam4o" path="res://core/daynight/environment_management.tscn" id="16_c7mkj"]
[ext_resource type="AudioStream" uid="uid://dvabvoqyya0g5" path="res://core/daynight/sounds/thunder_3.mp3" id="17_sw7bt"]
[ext_resource type="AudioStream" uid="uid://creenugno7hm" path="res://core/daynight/sounds/thunder_4.mp3" id="18_2l6dd"]
@@ -102,7 +100,7 @@ compositor_effects = Array[CompositorEffect]([SubResource("CompositorEffect_q52t
[sub_resource type="Resource" id="Resource_3qrd0"]
script = ExtResource("5_2wjys")
name = "countryside"
available_chunks = Array[PackedScene]([ExtResource("6_21usy"), ExtResource("7_qe84w"), ExtResource("9_sw7bt"), ExtResource("10_c7mkj")])
available_chunks = Array[PackedScene]([ExtResource("7_sjsoh")])
metadata/_custom_type_script = "uid://wv6kcqkibium"
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_pypsn"]
@@ -135,6 +133,9 @@ compositor = SubResource("Compositor_mb5yv")
[node name="biome_generator" parent="." unique_id=1861369341 node_paths=PackedStringArray("rail_path") instance=ExtResource("4_yrmqs")]
rail_path = NodePath("../rails")
biome_list = Array[ExtResource("5_2wjys")]([SubResource("Resource_3qrd0")])
entity_pool = ExtResource("8_c7mkj")
entity_spawn_probability = 1.0
max_entities_per_chunk = 6
[node name="Terrain" type="MeshInstance3D" parent="." unique_id=219178561]
visible = false

View File

@@ -109,7 +109,7 @@ func _on_update_rails_pressed() -> void:
UIEvents.update_rail_chunks.emit()
func _on_toot_toot_pressed() -> void:
UIEvents.toot_toot.emit()
UIEvents.toot_toot.emit(true)
func _on_reset_stats_ach_pressed() -> void:
StatsManager.reset_all(true)

File diff suppressed because one or more lines are too long

View File

@@ -11,7 +11,7 @@ config_version=5
[application]
config/name="tgcc"
run/main_scene="uid://vjf4bdxd8saj"
run/main_scene="uid://ri5kxx4mipo"
config/features=PackedStringArray("4.6", "Forward Plus")
run/max_fps=60
config/icon="uid://bfar1kk3pgq8f"

View File

@@ -1,6 +1,7 @@
[gd_scene format=3 uid="uid://jqc2fsh7ktn3"]
[ext_resource type="PackedScene" uid="uid://b1b84hr1574ot" path="res://tgcc/chunk/animal/mesh/chunk_animal_cross_3_1.fbx" id="1_bqftt"]
[ext_resource type="Script" uid="uid://dg2h4kbqe8j3m" path="res://core/biome_generator/chunk_info.gd" id="2_0hsy3"]
[ext_resource type="Material" uid="uid://cn20mp8ep3yxu" path="res://tgcc/chunk/material/wires.tres" id="2_03ljn"]
[ext_resource type="Material" uid="uid://blqelpjvdv23j" path="res://tgcc/chunk/material/grassflat_chunk.tres" id="3_ywcam"]
[ext_resource type="Material" uid="uid://biaudrjlfoflm" path="res://tgcc/chunk/prop/house/house.tres" id="4_l2gd7"]
@@ -15,16 +16,11 @@
[ext_resource type="Material" uid="uid://0x17mj2v807r" path="res://tgcc/chunk/prop/grass/grass_chunk_weeds2.tres" id="14_6c0ej"]
[ext_resource type="Material" uid="uid://baot4vy3fqrdw" path="res://tgcc/chunk/prop/flower/bush.tres" id="15_s0o3b"]
[ext_resource type="Material" uid="uid://f5uoreickew7" path="res://tgcc/chunk/prop/flower/flower.tres" id="16_52qno"]
[ext_resource type="Script" uid="uid://dg6ngy4pmtsyc" path="res://core/biome_generator/prop_info.gd" id="17_g11bs"]
[ext_resource type="PackedScene" uid="uid://cn2n7ehlt6hya" path="res://tgcc/chunk/prop/empty.tscn" id="18_j7fqf"]
[ext_resource type="PackedScene" uid="uid://blev8k57qnb6v" path="res://tgcc/chunk/prop/sign/scene/sign_1.tscn" id="19_yx1vk"]
[ext_resource type="PackedScene" uid="uid://dho6nfkjoyqls" path="res://tgcc/chunk/prop/sign/scene/sign_2.tscn" id="20_adhlc"]
[ext_resource type="PackedScene" uid="uid://b5fhktgyjcxhn" path="res://tgcc/chunk/prop/sign/scene/sign_4.tscn" id="21_vtm7f"]
[ext_resource type="PackedScene" uid="uid://swbs2s3libd3" path="res://tgcc/chunk/prop/sign/scene/sign_3.tscn" id="22_7qswo"]
[ext_resource type="PackedScene" uid="uid://co2r77xcdktu1" path="res://tgcc/chunk/prop/windhousedecoration/wind_decoration.tscn" id="26_k8qvo"]
[ext_resource type="PackedScene" uid="uid://cggrg4rq164kv" path="res://tgcc/chunk/prop/tenda noren/tenda3.tscn" id="29_msmtc"]
[ext_resource type="PackedScene" uid="uid://e08y0isvh5xs" path="res://tgcc/chunk/prop/tenda noren/tenda1.tscn" id="30_lcs01"]
[ext_resource type="PackedScene" uid="uid://c058662vbd6ey" path="res://tgcc/chunk/prop/tree/tree_03/tree_03.tscn" id="31_lqfk2"]
[ext_resource type="Script" uid="uid://c5ercbqy7srx3" path="res://core/biome_generator/entity_spawn_point.gd" id="31_smf03"]
[ext_resource type="PackedScene" uid="uid://bxuhubp1ug6j4" path="res://tgcc/chunk/prop/vase/vase_4.tscn" id="32_nkfum"]
[ext_resource type="PackedScene" uid="uid://b1gx0pkd4bwlq" path="res://tgcc/chunk/prop/vase/vase_5.tscn" id="33_4kerf"]
[ext_resource type="PackedScene" uid="uid://b53eql8vsisae" path="res://tgcc/chunk/prop/vase/vase_2.tscn" id="34_6m2pu"]
@@ -82,9 +78,20 @@ instance_count = 29
mesh = ExtResource("37_2x6gy")
buffer = PackedFloat32Array(-0.06664866, -5.194634, -2.2706466e-07, -0.2425, 0, -3.70015e-07, 8.464956, 0, -5.194634, 0.06664866, 2.9133056e-09, -3.185, -1.1421599, -4.4487686, -1.9446185e-07, 0.2425, 0, -4.0701795e-07, 9.311485, 0, -4.4487686, 1.1421599, 4.9925397e-08, -3.185, -0.046814755, 4.874615, 2.1307619e-07, -0.2425, 0, -3.9862888e-07, 9.119566, 0, 4.874615, 0.046814755, 2.046338e-09, -2.73, -2.237415, 4.8654275, 2.1267459e-07, 0.2425, 0, -4.1424042e-07, 9.476716, 0, 4.8654275, 2.237415, 9.7800516e-08, -2.73, 2.552968, 3.664362, 1.6017435e-07, -0.2425, 0, -4.7244734e-07, 10.808335, 0, 3.664362, -2.552968, -1.1159378e-07, -2.275, 1.8105153, 4.50349, 1.968538e-07, 0.2425, 0, -3.0212027e-07, 6.911706, 0, 4.50349, -1.8105153, -7.9140136e-08, -2.275, -1.9527054, 4.725312, 2.0654996e-07, -0.2425, 0, -4.2098645e-07, 9.631047, 0, 4.725312, 1.9527054, 8.535547e-08, -1.82, -4.520556, 1.8626103, 8.1417284e-08, 0.2425, 0, -3.187494e-07, 7.2921357, 0, 1.8626103, 4.520556, 1.9759977e-07, -1.82, -1.5101467, 5.1146483, 2.2356838e-07, -0.2425, 0, -4.81422e-07, 11.013651, 0, 5.1146483, 1.5101467, 6.6010614e-08, -1.365, -0.39667818, 5.0150795, 2.1921609e-07, 0.2425, 0, -4.5527548e-07, 10.415489, 0, 5.0150795, 0.39667818, 1.7339353e-08, -1.365, 4.910238, 2.163411, 9.456569e-08, -0.2425, 0, -2.3649532e-07, 5.4103823, 0, 2.163411, -4.910238, -2.1463332e-07, -0.91, -4.515354, 0.7853641, 3.4329354e-08, 0.2425, 0, -2.593531e-07, 5.933307, 0, 0.7853641, 4.515354, 1.973724e-07, -0.91, -4.518371, -1.6865913, -7.372324e-08, -0.2425, 0, -2.756641e-07, 6.3064594, 0, -1.6865913, 4.518371, 1.9750428e-07, -0.455, 1.1408135, -5.1769686, -2.2629249e-07, 0.2425, 0, -4.7989647e-07, 10.978751, 0, -5.1769686, -1.1408135, -4.986654e-08, -0.455, 3.315373, 3.248334, 1.4198919e-07, -0.2425, 0, -4.3756026e-07, 10.010212, 0, 3.248334, -3.315373, -1.4491955e-07, 0, 4.424317, -2.0163426, -8.8137135e-08, 0.2425, 0, -4.335058e-07, 9.917457, 0, -2.0163426, -4.424317, -1.9339303e-07, 0, 4.644195, -1.1235999, -4.911411e-08, -0.2425, 0, -4.1457332e-07, 9.484332, 0, -1.1235999, -4.644195, -2.0300422e-07, 0.455, -5.0032973, 0.9244527, 4.0409113e-08, 0.2425, 0, -4.729428e-07, 10.81967, 0, 0.9244527, 5.0032973, 2.1870108e-07, 0.455, -3.8264813, 3.711105, 1.6221756e-07, -0.2425, 0, -3.4918145e-07, 7.9883404, 0, 3.711105, 3.8264813, 1.6726081e-07, 0.91, -5.329773, -0.18204457, -7.9574205e-09, 0.2425, 0, -3.4672098e-07, 7.9320517, 0, -0.18204457, 5.329773, 2.3297177e-07, 0.91, -2.5650833, -4.3976808, -1.9222873e-07, -0.2425, 0, -4.0229676e-07, 9.203477, 0, -4.3976808, 2.5650833, 1.1212335e-07, 1.365, -2.5395496, -3.9127095, -1.7102997e-07, 0.2425, 0, -4.4491065e-07, 10.1783695, 0, -3.9127095, 2.5395496, 1.1100724e-07, 1.365, 3.0145772, -3.716389, -1.6244852e-07, -0.2425, 0, -3.6319054e-07, 8.308831, 0, -3.716389, -3.0145772, -1.3177136e-07, 1.82, 2.23483, 4.2739015, 1.8681817e-07, 0.2425, 0, -3.78291e-07, 8.654289, 0, 4.2739015, -2.23483, -9.768752e-08, 1.82, -2.2681458, -4.1759634, -1.8253716e-07, -0.2425, 0, -3.293582e-07, 7.5348372, 0, -4.1759634, 2.2681458, 9.9143804e-08, 2.275, 1.8609717, 4.9811106, 2.1773126e-07, 0.2425, 0, -5.033408e-07, 11.515096, 0, 4.9811106, -1.8609717, -8.1345654e-08, 2.275, 4.8748484, -0.49008697, -2.1422382e-08, -0.2425, 0, -2.5210466e-07, 5.7674823, 0, -0.49008697, -4.8748484, -2.130864e-07, 2.73, 5.1304207, 0.246953, 1.07946585e-08, 0.2425, 0, -4.700347e-07, 10.75314, 0, 0.246953, -5.1304207, -2.2425782e-07, 2.73, 5.0724115, 1.2150409, 5.3111126e-08, -0.2425, 0, -2.6372234e-07, 6.033264, 0, 1.2150409, -5.0724115, -2.2172215e-07, 3.185)
[sub_resource type="NavigationMesh" id="NavigationMesh_0hsy3"]
vertices = PackedVector3Array(1.749999, 0.4999988, -9.499803, 1.749999, 0.4999988, 9.500197, 9.499999, 0.4999988, 9.500197, 9.499999, 0.4999988, -9.499803)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1)]
geometry_source_geometry_mode = 1
geometry_source_group_name = &"FieldNav"
[node name="chunk_animal_cross_3_1" unique_id=1494236933 instance=ExtResource("1_bqftt")]
script = ExtResource("2_0hsy3")
north = true
est = true
south = true
[node name="Cavi_005" parent="." index="0" unique_id=1310790518]
cast_shadow = 0
surface_material_override/0 = ExtResource("2_03ljn")
surface_material_override/1 = ExtResource("2_03ljn")
@@ -106,6 +113,7 @@ surface_material_override/0 = ExtResource("4_l2gd7")
surface_material_override/1 = ExtResource("5_2d7r4")
[node name="Lanterne_006" parent="." index="6" unique_id=2038837947]
cast_shadow = 0
surface_material_override/0 = ExtResource("5_2d7r4")
surface_material_override/1 = ExtResource("4_l2gd7")
@@ -231,62 +239,52 @@ shadow_opacity = 0.96
omni_range = 10.0
omni_attenuation = 2.0
[node name="Prop7" type="Marker3D" parent="." index="15" unique_id=811220296]
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 1.7960589, 0.042618692, -0.8912107)
script = ExtResource("17_g11bs")
available_props = Array[PackedScene]([ExtResource("18_j7fqf"), ExtResource("19_yx1vk"), ExtResource("20_adhlc"), ExtResource("21_vtm7f"), ExtResource("22_7qswo")])
[node name="Prop8" type="Marker3D" parent="." index="16" unique_id=1948462701]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.031748, 0.042618692, 9.469461)
script = ExtResource("17_g11bs")
available_props = Array[PackedScene]([ExtResource("18_j7fqf"), ExtResource("19_yx1vk"), ExtResource("20_adhlc"), ExtResource("21_vtm7f"), ExtResource("22_7qswo")])
[node name="WindDecoration" parent="." index="17" unique_id=2146740679 instance=ExtResource("26_k8qvo")]
[node name="WindDecoration" parent="." index="15" unique_id=2146740679 instance=ExtResource("26_k8qvo")]
transform = Transform3D(1.9905398, 0.19395185, 0.011580614, -0.19368553, 1.9901968, -0.04003887, -0.015406657, 0.03872799, 1.9995658, 4.4318647, 2.1423423, -3.9336014)
[node name="WindDecoration2" parent="." index="18" unique_id=1009126130 instance=ExtResource("26_k8qvo")]
[node name="WindDecoration2" parent="." index="16" unique_id=1009126130 instance=ExtResource("26_k8qvo")]
transform = Transform3D(1.999275, -0.053754073, 0.003284915, 0.05310862, 1.9881506, 0.21080151, -0.008931173, -0.21063784, 1.9888572, 4.7311583, 2.1197329, -3.9115348)
[node name="Tenda" parent="." index="19" unique_id=1345812366 instance=ExtResource("29_msmtc")]
[node name="Tenda" parent="." index="17" unique_id=1345812366 instance=ExtResource("29_msmtc")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.3771143, 1.1729414, -3.9607637)
[node name="Tenda2" parent="." index="20" unique_id=1427496781 instance=ExtResource("30_lcs01")]
[node name="Tenda2" parent="." index="18" unique_id=1427496781 instance=ExtResource("30_lcs01")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.9251027, 1.1588418, 4.116235)
[node name="Tenda3" parent="." index="21" unique_id=409238593 instance=ExtResource("30_lcs01")]
[node name="Tenda3" parent="." index="19" unique_id=409238593 instance=ExtResource("30_lcs01")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.7634077, 1.1588418, 4.116235)
[node name="Tree_03" parent="." index="22" unique_id=633798313 instance=ExtResource("31_lqfk2")]
[node name="Tree_03" parent="." index="20" unique_id=633798313 instance=ExtResource("31_lqfk2")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.9734292, 0, 1.856449)
[node name="Tree_04" parent="." index="23" unique_id=562604379 instance=ExtResource("31_lqfk2")]
[node name="Tree_04" parent="." index="21" unique_id=562604379 instance=ExtResource("31_lqfk2")]
transform = Transform3D(-0.6487576, 0, -0.76099515, 0, 1, 0, 0.76099515, 0, -0.6487576, 2.9780407, 0, -2.3545852)
[node name="Vase4" parent="." index="24" unique_id=237410267 instance=ExtResource("32_nkfum")]
[node name="Vase4" parent="." index="22" unique_id=237410267 instance=ExtResource("32_nkfum")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.9979796, 0, -2.585821)
[node name="Vase5" parent="." index="25" unique_id=1114537332 instance=ExtResource("32_nkfum")]
[node name="Vase5" parent="." index="23" unique_id=1114537332 instance=ExtResource("32_nkfum")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.162592, 0, -2.585821)
[node name="Vase6" parent="." index="26" unique_id=698237843 instance=ExtResource("32_nkfum")]
[node name="Vase6" parent="." index="24" unique_id=698237843 instance=ExtResource("32_nkfum")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.162592, 0, -1.0483675)
[node name="Vase7" parent="." index="27" unique_id=239838523 instance=ExtResource("32_nkfum")]
[node name="Vase7" parent="." index="25" unique_id=239838523 instance=ExtResource("32_nkfum")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.8921347, 0, -1.1478238)
[node name="Vase8" parent="." index="28" unique_id=400744767 instance=ExtResource("33_4kerf")]
[node name="Vase8" parent="." index="26" unique_id=400744767 instance=ExtResource("33_4kerf")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.166416, 0, 1.1686581)
[node name="Vase9" parent="." index="29" unique_id=1955450861 instance=ExtResource("33_4kerf")]
[node name="Vase9" parent="." index="27" unique_id=1955450861 instance=ExtResource("33_4kerf")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.096204, 0, 1.1686581)
[node name="Vase2" parent="." index="30" unique_id=888035065 instance=ExtResource("34_6m2pu")]
[node name="Vase2" parent="." index="28" unique_id=888035065 instance=ExtResource("34_6m2pu")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.8088408, 0, 2.147787)
[node name="Vase3" parent="." index="31" unique_id=70642256 instance=ExtResource("34_6m2pu")]
[node name="Vase3" parent="." index="29" unique_id=70642256 instance=ExtResource("34_6m2pu")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.251544, 0, 2.147787)
[node name="Bambù" type="MultiMeshInstance3D" parent="." index="32" unique_id=1150173783]
[node name="Bambù" type="MultiMeshInstance3D" parent="." index="30" unique_id=1150173783]
transform = Transform3D(-0.99994344, 0, -0.010646291, 0, 1, 0, 0.010646291, 0, -0.99994344, -1.5478942, 0.09051311, 6.4366016)
cast_shadow = 0
multimesh = SubResource("MultiMesh_vhcq3")
@@ -300,7 +298,7 @@ scala_correzione_xz = 4.955
scala_correzione_y = 5.945
altezza_massima = 2.0
[node name="Bambù2" type="MultiMeshInstance3D" parent="." index="33" unique_id=1525761815]
[node name="Bambù2" type="MultiMeshInstance3D" parent="." index="31" unique_id=1525761815]
transform = Transform3D(-0.99994344, 0, -0.010646291, 0, 1, 0, 0.010646291, 0, -0.99994344, -1.5478942, 0.09051311, -6.467807)
cast_shadow = 0
multimesh = SubResource("MultiMesh_vhcq3")
@@ -313,3 +311,27 @@ spaziatura_z = 0.455
scala_correzione_xz = 4.955
scala_correzione_y = 5.945
altezza_massima = 2.0
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="." index="32" unique_id=454728343]
transform = Transform3D(0.961393, 0, 0, 0, 1, 0, 0, 0, 0.89794207, -11.460708, 0, -0.07594031)
navigation_mesh = SubResource("NavigationMesh_0hsy3")
[node name="Spawn_Farmer3" type="Marker3D" parent="NavigationRegion3D" index="0" unique_id=1951627321]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.456726, 0.046188235, -4.201037)
script = ExtResource("31_smf03")
allowed_type = 7
[node name="Spawn_Farmer4" type="Marker3D" parent="NavigationRegion3D" index="1" unique_id=1165841038]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.119673, 0.046188235, -6.245075)
script = ExtResource("31_smf03")
allowed_type = 7
[node name="Spawn_Farmer5" type="Marker3D" parent="NavigationRegion3D" index="2" unique_id=977645883]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.119673, 0.046188235, -3.2450752)
script = ExtResource("31_smf03")
allowed_type = 7
[node name="Spawn_Farmer6" type="Marker3D" parent="NavigationRegion3D" index="3" unique_id=1658504745]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.2441616, 0.046188235, 5.291614)
script = ExtResource("31_smf03")
allowed_type = 7

View File

@@ -2,6 +2,7 @@
[ext_resource type="PackedScene" uid="uid://ct81x3tc7yvd1" path="res://tgcc/chunk/animal/mesh/chunk_animal_cross_3_2.fbx" id="1_hgcj4"]
[ext_resource type="Material" uid="uid://cn20mp8ep3yxu" path="res://tgcc/chunk/material/wires.tres" id="2_jytqw"]
[ext_resource type="Script" uid="uid://dg2h4kbqe8j3m" path="res://core/biome_generator/chunk_info.gd" id="2_tpcwb"]
[ext_resource type="Material" uid="uid://blqelpjvdv23j" path="res://tgcc/chunk/material/grassflat_chunk.tres" id="3_tpcwb"]
[ext_resource type="Material" uid="uid://biaudrjlfoflm" path="res://tgcc/chunk/prop/house/house.tres" id="4_fxi6n"]
[ext_resource type="Material" uid="uid://dbmyfi5t0yfy" path="res://tgcc/chunk/prop/house/house_emissiv.tres" id="5_554b4"]
@@ -15,12 +16,6 @@
[ext_resource type="Material" uid="uid://0x17mj2v807r" path="res://tgcc/chunk/prop/grass/grass_chunk_weeds2.tres" id="13_ycs2f"]
[ext_resource type="Material" uid="uid://baot4vy3fqrdw" path="res://tgcc/chunk/prop/flower/bush.tres" id="14_bnh4n"]
[ext_resource type="Material" uid="uid://f5uoreickew7" path="res://tgcc/chunk/prop/flower/flower.tres" id="15_6iod8"]
[ext_resource type="Script" uid="uid://dg6ngy4pmtsyc" path="res://core/biome_generator/prop_info.gd" id="16_xw2xa"]
[ext_resource type="PackedScene" uid="uid://cn2n7ehlt6hya" path="res://tgcc/chunk/prop/empty.tscn" id="17_f1ci6"]
[ext_resource type="PackedScene" uid="uid://blev8k57qnb6v" path="res://tgcc/chunk/prop/sign/scene/sign_1.tscn" id="18_o4voa"]
[ext_resource type="PackedScene" uid="uid://dho6nfkjoyqls" path="res://tgcc/chunk/prop/sign/scene/sign_2.tscn" id="19_ltj3r"]
[ext_resource type="PackedScene" uid="uid://b5fhktgyjcxhn" path="res://tgcc/chunk/prop/sign/scene/sign_4.tscn" id="20_ouw5l"]
[ext_resource type="PackedScene" uid="uid://swbs2s3libd3" path="res://tgcc/chunk/prop/sign/scene/sign_3.tscn" id="21_fxpso"]
[ext_resource type="PackedScene" uid="uid://co2r77xcdktu1" path="res://tgcc/chunk/prop/windhousedecoration/wind_decoration.tscn" id="22_7fex4"]
[ext_resource type="PackedScene" uid="uid://cggrg4rq164kv" path="res://tgcc/chunk/prop/tenda noren/tenda3.tscn" id="23_vuhd8"]
[ext_resource type="PackedScene" uid="uid://e08y0isvh5xs" path="res://tgcc/chunk/prop/tenda noren/tenda1.tscn" id="24_o330c"]
@@ -30,6 +25,7 @@
[ext_resource type="PackedScene" uid="uid://b53eql8vsisae" path="res://tgcc/chunk/prop/vase/vase_2.tscn" id="28_anamx"]
[ext_resource type="ArrayMesh" uid="uid://bg5rfu7tyl3p8" path="res://tgcc/chunk/prop/tree/bambu/Bambu.res" id="29_txj6b"]
[ext_resource type="Script" uid="uid://cp1pb5dnuojg3" path="res://tgcc/chunk/prop/tree/bambu/bambu.gd" id="30_hrpcq"]
[ext_resource type="Script" uid="uid://c5ercbqy7srx3" path="res://core/biome_generator/entity_spawn_point.gd" id="31_jytqw"]
[sub_resource type="PlaneMesh" id="PlaneMesh_3uyao"]
size = Vector2(0.5, 0.5)
@@ -85,9 +81,20 @@ instance_count = 29
mesh = ExtResource("29_txj6b")
buffer = PackedFloat32Array(-0.06664866, -5.194634, -2.2706466e-07, -0.2425, 0, -3.70015e-07, 8.464956, 0, -5.194634, 0.06664866, 2.9133056e-09, -3.185, -1.1421599, -4.4487686, -1.9446185e-07, 0.2425, 0, -4.0701795e-07, 9.311485, 0, -4.4487686, 1.1421599, 4.9925397e-08, -3.185, -0.046814755, 4.874615, 2.1307619e-07, -0.2425, 0, -3.9862888e-07, 9.119566, 0, 4.874615, 0.046814755, 2.046338e-09, -2.73, -2.237415, 4.8654275, 2.1267459e-07, 0.2425, 0, -4.1424042e-07, 9.476716, 0, 4.8654275, 2.237415, 9.7800516e-08, -2.73, 2.552968, 3.664362, 1.6017435e-07, -0.2425, 0, -4.7244734e-07, 10.808335, 0, 3.664362, -2.552968, -1.1159378e-07, -2.275, 1.8105153, 4.50349, 1.968538e-07, 0.2425, 0, -3.0212027e-07, 6.911706, 0, 4.50349, -1.8105153, -7.9140136e-08, -2.275, -1.9527054, 4.725312, 2.0654996e-07, -0.2425, 0, -4.2098645e-07, 9.631047, 0, 4.725312, 1.9527054, 8.535547e-08, -1.82, -4.520556, 1.8626103, 8.1417284e-08, 0.2425, 0, -3.187494e-07, 7.2921357, 0, 1.8626103, 4.520556, 1.9759977e-07, -1.82, -1.5101467, 5.1146483, 2.2356838e-07, -0.2425, 0, -4.81422e-07, 11.013651, 0, 5.1146483, 1.5101467, 6.6010614e-08, -1.365, -0.39667818, 5.0150795, 2.1921609e-07, 0.2425, 0, -4.5527548e-07, 10.415489, 0, 5.0150795, 0.39667818, 1.7339353e-08, -1.365, 4.910238, 2.163411, 9.456569e-08, -0.2425, 0, -2.3649532e-07, 5.4103823, 0, 2.163411, -4.910238, -2.1463332e-07, -0.91, -4.515354, 0.7853641, 3.4329354e-08, 0.2425, 0, -2.593531e-07, 5.933307, 0, 0.7853641, 4.515354, 1.973724e-07, -0.91, -4.518371, -1.6865913, -7.372324e-08, -0.2425, 0, -2.756641e-07, 6.3064594, 0, -1.6865913, 4.518371, 1.9750428e-07, -0.455, 1.1408135, -5.1769686, -2.2629249e-07, 0.2425, 0, -4.7989647e-07, 10.978751, 0, -5.1769686, -1.1408135, -4.986654e-08, -0.455, 3.315373, 3.248334, 1.4198919e-07, -0.2425, 0, -4.3756026e-07, 10.010212, 0, 3.248334, -3.315373, -1.4491955e-07, 0, 4.424317, -2.0163426, -8.8137135e-08, 0.2425, 0, -4.335058e-07, 9.917457, 0, -2.0163426, -4.424317, -1.9339303e-07, 0, 4.644195, -1.1235999, -4.911411e-08, -0.2425, 0, -4.1457332e-07, 9.484332, 0, -1.1235999, -4.644195, -2.0300422e-07, 0.455, -5.0032973, 0.9244527, 4.0409113e-08, 0.2425, 0, -4.729428e-07, 10.81967, 0, 0.9244527, 5.0032973, 2.1870108e-07, 0.455, -3.8264813, 3.711105, 1.6221756e-07, -0.2425, 0, -3.4918145e-07, 7.9883404, 0, 3.711105, 3.8264813, 1.6726081e-07, 0.91, -5.329773, -0.18204457, -7.9574205e-09, 0.2425, 0, -3.4672098e-07, 7.9320517, 0, -0.18204457, 5.329773, 2.3297177e-07, 0.91, -2.5650833, -4.3976808, -1.9222873e-07, -0.2425, 0, -4.0229676e-07, 9.203477, 0, -4.3976808, 2.5650833, 1.1212335e-07, 1.365, -2.5395496, -3.9127095, -1.7102997e-07, 0.2425, 0, -4.4491065e-07, 10.1783695, 0, -3.9127095, 2.5395496, 1.1100724e-07, 1.365, 3.0145772, -3.716389, -1.6244852e-07, -0.2425, 0, -3.6319054e-07, 8.308831, 0, -3.716389, -3.0145772, -1.3177136e-07, 1.82, 2.23483, 4.2739015, 1.8681817e-07, 0.2425, 0, -3.78291e-07, 8.654289, 0, 4.2739015, -2.23483, -9.768752e-08, 1.82, -2.2681458, -4.1759634, -1.8253716e-07, -0.2425, 0, -3.293582e-07, 7.5348372, 0, -4.1759634, 2.2681458, 9.9143804e-08, 2.275, 1.8609717, 4.9811106, 2.1773126e-07, 0.2425, 0, -5.033408e-07, 11.515096, 0, 4.9811106, -1.8609717, -8.1345654e-08, 2.275, 4.8748484, -0.49008697, -2.1422382e-08, -0.2425, 0, -2.5210466e-07, 5.7674823, 0, -0.49008697, -4.8748484, -2.130864e-07, 2.73, 5.1304207, 0.246953, 1.07946585e-08, 0.2425, 0, -4.700347e-07, 10.75314, 0, 0.246953, -5.1304207, -2.2425782e-07, 2.73, 5.0724115, 1.2150409, 5.3111126e-08, -0.2425, 0, -2.6372234e-07, 6.033264, 0, 1.2150409, -5.0724115, -2.2172215e-07, 3.185)
[sub_resource type="NavigationMesh" id="NavigationMesh_tpcwb"]
vertices = PackedVector3Array(1.749999, 0.4999988, -9.499803, 1.749999, 0.4999988, 9.500197, 9.499999, 0.4999988, 9.500197, 9.499999, 0.4999988, -9.499803)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1)]
geometry_source_geometry_mode = 1
geometry_source_group_name = &"FieldNav"
[node name="chunk_animal_cross_3_2" unique_id=1475413581 instance=ExtResource("1_hgcj4")]
script = ExtResource("2_tpcwb")
north = true
est = true
south = true
[node name="Cavi_012" parent="." index="0" unique_id=499052446]
cast_shadow = 0
surface_material_override/0 = ExtResource("2_jytqw")
surface_material_override/1 = ExtResource("2_jytqw")
@@ -109,6 +116,7 @@ surface_material_override/0 = ExtResource("4_fxi6n")
surface_material_override/1 = ExtResource("5_554b4")
[node name="Lanterne_012" parent="." index="6" unique_id=1936861637]
cast_shadow = 0
surface_material_override/0 = ExtResource("5_554b4")
surface_material_override/1 = ExtResource("4_fxi6n")
@@ -234,62 +242,52 @@ shadow_opacity = 0.96
omni_range = 10.0
omni_attenuation = 2.0
[node name="Prop7" type="Marker3D" parent="." index="15" unique_id=228008689]
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 1.7960589, 0.042618692, -0.8912107)
script = ExtResource("16_xw2xa")
available_props = Array[PackedScene]([ExtResource("17_f1ci6"), ExtResource("18_o4voa"), ExtResource("19_ltj3r"), ExtResource("20_ouw5l"), ExtResource("21_fxpso")])
[node name="Prop8" type="Marker3D" parent="." index="16" unique_id=1324023792]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.031748, 0.042618692, 9.469461)
script = ExtResource("16_xw2xa")
available_props = Array[PackedScene]([ExtResource("17_f1ci6"), ExtResource("18_o4voa"), ExtResource("19_ltj3r"), ExtResource("20_ouw5l"), ExtResource("21_fxpso")])
[node name="WindDecoration" parent="." index="17" unique_id=2146740679 instance=ExtResource("22_7fex4")]
[node name="WindDecoration" parent="." index="15" unique_id=2146740679 instance=ExtResource("22_7fex4")]
transform = Transform3D(1.9905398, 0.19395185, 0.011580614, -0.19368553, 1.9901968, -0.04003887, -0.015406657, 0.03872799, 1.9995658, 4.4318647, 2.1423423, -3.9336014)
[node name="WindDecoration2" parent="." index="18" unique_id=1728527759 instance=ExtResource("22_7fex4")]
[node name="WindDecoration2" parent="." index="16" unique_id=1728527759 instance=ExtResource("22_7fex4")]
transform = Transform3D(1.999275, -0.053754073, 0.003284915, 0.05310862, 1.9881506, 0.21080151, -0.008931173, -0.21063784, 1.9888572, 4.7311583, 2.1197329, -3.9115348)
[node name="Tenda" parent="." index="19" unique_id=1345812366 instance=ExtResource("23_vuhd8")]
[node name="Tenda" parent="." index="17" unique_id=1345812366 instance=ExtResource("23_vuhd8")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.3771143, 1.1729414, -3.9607637)
[node name="Tenda2" parent="." index="20" unique_id=1330955393 instance=ExtResource("24_o330c")]
[node name="Tenda2" parent="." index="18" unique_id=1330955393 instance=ExtResource("24_o330c")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.9251027, 1.1588418, 4.116235)
[node name="Tenda3" parent="." index="21" unique_id=1702789059 instance=ExtResource("24_o330c")]
[node name="Tenda3" parent="." index="19" unique_id=1702789059 instance=ExtResource("24_o330c")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.7634077, 1.1588418, 4.116235)
[node name="Tree_03" parent="." index="22" unique_id=633798313 instance=ExtResource("25_rj73x")]
[node name="Tree_03" parent="." index="20" unique_id=633798313 instance=ExtResource("25_rj73x")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.9734292, 0, 1.856449)
[node name="Tree_04" parent="." index="23" unique_id=116488560 instance=ExtResource("25_rj73x")]
[node name="Tree_04" parent="." index="21" unique_id=116488560 instance=ExtResource("25_rj73x")]
transform = Transform3D(-0.6487576, 0, -0.76099515, 0, 1, 0, 0.76099515, 0, -0.6487576, 2.9780407, 0, -2.3545852)
[node name="Vase4" parent="." index="24" unique_id=237410267 instance=ExtResource("26_bejk2")]
[node name="Vase4" parent="." index="22" unique_id=237410267 instance=ExtResource("26_bejk2")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.9979796, 0, -2.585821)
[node name="Vase5" parent="." index="25" unique_id=2025788904 instance=ExtResource("26_bejk2")]
[node name="Vase5" parent="." index="23" unique_id=2025788904 instance=ExtResource("26_bejk2")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.162592, 0, -2.585821)
[node name="Vase6" parent="." index="26" unique_id=1697603202 instance=ExtResource("26_bejk2")]
[node name="Vase6" parent="." index="24" unique_id=1697603202 instance=ExtResource("26_bejk2")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.162592, 0, -1.0483675)
[node name="Vase7" parent="." index="27" unique_id=439552691 instance=ExtResource("26_bejk2")]
[node name="Vase7" parent="." index="25" unique_id=439552691 instance=ExtResource("26_bejk2")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.8921347, 0, -1.1478238)
[node name="Vase8" parent="." index="28" unique_id=400744767 instance=ExtResource("27_bt0qc")]
[node name="Vase8" parent="." index="26" unique_id=400744767 instance=ExtResource("27_bt0qc")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.166416, 0, 1.1686581)
[node name="Vase9" parent="." index="29" unique_id=2033604986 instance=ExtResource("27_bt0qc")]
[node name="Vase9" parent="." index="27" unique_id=2033604986 instance=ExtResource("27_bt0qc")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.096204, 0, 1.1686581)
[node name="Vase2" parent="." index="30" unique_id=888035065 instance=ExtResource("28_anamx")]
[node name="Vase2" parent="." index="28" unique_id=888035065 instance=ExtResource("28_anamx")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.8088408, 0, 2.147787)
[node name="Vase3" parent="." index="31" unique_id=1220952510 instance=ExtResource("28_anamx")]
[node name="Vase3" parent="." index="29" unique_id=1220952510 instance=ExtResource("28_anamx")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.251544, 0, 2.147787)
[node name="Bambù" type="MultiMeshInstance3D" parent="." index="32" unique_id=2086780563]
[node name="Bambù" type="MultiMeshInstance3D" parent="." index="30" unique_id=2086780563]
transform = Transform3D(-0.99994344, 0, -0.010646291, 0, 1, 0, 0.010646291, 0, -0.99994344, -1.5478942, 0.09051311, 6.4366016)
cast_shadow = 0
multimesh = SubResource("MultiMesh_rsrfy")
@@ -303,7 +301,7 @@ scala_correzione_xz = 4.955
scala_correzione_y = 5.945
altezza_massima = 2.0
[node name="Bambù2" type="MultiMeshInstance3D" parent="." index="33" unique_id=604554940]
[node name="Bambù2" type="MultiMeshInstance3D" parent="." index="31" unique_id=604554940]
transform = Transform3D(-0.99994344, 0, -0.010646291, 0, 1, 0, 0.010646291, 0, -0.99994344, -1.5478942, 0.09051311, -6.467807)
cast_shadow = 0
multimesh = SubResource("MultiMesh_rsrfy")
@@ -316,3 +314,46 @@ spaziatura_z = 0.455
scala_correzione_xz = 4.955
scala_correzione_y = 5.945
altezza_massima = 2.0
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="." index="32" unique_id=596197795]
transform = Transform3D(0.90313953, 0, 0, 0, 1, 0, 0, 0, 0.3623262, -10.960677, 0, -5.221591)
navigation_mesh = SubResource("NavigationMesh_tpcwb")
[node name="Spawn_Farmer3" type="Marker3D" parent="NavigationRegion3D" index="0" unique_id=1223486848]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.456726, 0.046188235, -4.201037)
script = ExtResource("31_jytqw")
allowed_type = 7
[node name="Spawn_Farmer4" type="Marker3D" parent="NavigationRegion3D" index="1" unique_id=422276973]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.119673, 0.046188235, -6.245075)
script = ExtResource("31_jytqw")
allowed_type = 7
[node name="Spawn_Farmer5" type="Marker3D" parent="NavigationRegion3D" index="2" unique_id=283598541]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.119673, 0.046188235, -3.2450752)
script = ExtResource("31_jytqw")
allowed_type = 7
[node name="Spawn_Farmer6" type="Marker3D" parent="NavigationRegion3D" index="3" unique_id=698598609]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.2441616, 0.046188235, 5.291614)
script = ExtResource("31_jytqw")
allowed_type = 7
[node name="NavigationRegion3D2" type="NavigationRegion3D" parent="." index="33" unique_id=2046004584]
transform = Transform3D(0.885483, 0, 0, 0, 1, 0, 0, 0, 0.3623262, -10.9514265, 0, 4.9554515)
navigation_mesh = SubResource("NavigationMesh_tpcwb")
[node name="Spawn_Farmer3" type="Marker3D" parent="NavigationRegion3D2" index="0" unique_id=1830896040]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.456726, 0.046188235, -4.201037)
script = ExtResource("31_jytqw")
allowed_type = 9
[node name="Spawn_Farmer4" type="Marker3D" parent="NavigationRegion3D2" index="1" unique_id=1321789351]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.119673, 0.046188235, -6.245075)
script = ExtResource("31_jytqw")
allowed_type = 9
[node name="Spawn_Farmer5" type="Marker3D" parent="NavigationRegion3D2" index="2" unique_id=185649323]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.119673, 0.046188235, -3.2450752)
script = ExtResource("31_jytqw")
allowed_type = 9

View File

@@ -1,6 +1,7 @@
[gd_scene format=3 uid="uid://d0tu1r7ucwrdh"]
[ext_resource type="PackedScene" uid="uid://b3l382myb5h2a" path="res://tgcc/chunk/animal/mesh/chunk_animal_empty.fbx" id="1_p1vqj"]
[ext_resource type="Script" uid="uid://dg2h4kbqe8j3m" path="res://core/biome_generator/chunk_info.gd" id="2_n5ngy"]
[ext_resource type="Material" uid="uid://buxlrrpn7rdgs" path="res://tgcc/chunk/material/wood.tres" id="2_s3kfq"]
[ext_resource type="Material" uid="uid://wkegx4a21x7u" path="res://tgcc/chunk/prop/fence/fences.tres" id="3_ljxdx"]
[ext_resource type="Material" uid="uid://fnjxocmx16b7" path="res://tgcc/chunk/prop/grass/grass_chunk.tres" id="4_m748y"]
@@ -18,6 +19,7 @@
[ext_resource type="Material" uid="uid://d37iugof887py" path="res://tgcc/chunk/material/water_river.tres" id="10_5fcc6"]
[ext_resource type="Script" uid="uid://ckbbcsaxl0wrt" path="res://tgcc/chunk/prop/fields/potato/potatofields.gd" id="10_jp565"]
[ext_resource type="Material" uid="uid://duqt8txtre3qm" path="res://tgcc/chunk/material/wood2.tres" id="11_wjy78"]
[ext_resource type="Script" uid="uid://c5ercbqy7srx3" path="res://core/biome_generator/entity_spawn_point.gd" id="19_jp565"]
[sub_resource type="PlaneMesh" id="PlaneMesh_n5ngy"]
size = Vector2(0.5, 0.5)
@@ -52,7 +54,14 @@ instance_count = 8
mesh = ExtResource("9_wjy78")
buffer = PackedFloat32Array(-1.345079, -104.836205, -4.582536e-06, -0.87, 0, -5.087695e-06, 116.3929, 0, -104.836205, 1.345079, 5.879527e-08, -2.0475, -23.050655, -89.78343, -3.9245583e-06, 0.87, 0, -5.4507746e-06, 124.69919, 0, -89.78343, 23.050655, 1.0075762e-06, -2.0475, -0.94479823, 98.3777, 4.300226e-06, -0.87, 0, -5.36846e-06, 122.81604, 0, 98.3777, 0.94479823, 4.1298442e-08, -0.6825, -45.15469, 98.192276, 4.2921206e-06, 0.87, 0, -5.5216424e-06, 126.32045, 0, 98.192276, 45.15469, 1.9737743e-06, -0.6825, 51.523067, 73.95281, 3.2325802e-06, -0.87, 0, -6.092778e-06, 139.38652, 0, 73.95281, -51.523067, -2.252145e-06, 0.6825, 36.539158, 90.88779, 3.9728316e-06, 0.87, 0, -4.4215008e-06, 101.152145, 0, 90.88779, -36.539158, -1.5971773e-06, 0.6825, -39.408787, 95.364525, 4.1685157e-06, -0.87, 0, -5.5878354e-06, 127.83478, 0, 95.364525, 39.408787, 1.7226128e-06, 2.0475, -91.232216, 37.590523, 1.6431339e-06, 0.87, 0, -4.584668e-06, 104.88499, 0, 37.590523, 91.232216, 3.987887e-06, 2.0475)
[sub_resource type="NavigationMesh" id="NavigationMesh_n5ngy"]
vertices = PackedVector3Array(1.749999, 0.4999988, -9.499803, 1.749999, 0.4999988, 9.500197, 9.499999, 0.4999988, 9.500197, 9.499999, 0.4999988, -9.499803)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1)]
geometry_source_geometry_mode = 1
geometry_source_group_name = &"FieldNav"
[node name="chunk_animal_empty" unique_id=871678368 instance=ExtResource("1_p1vqj")]
script = ExtResource("2_n5ngy")
[node name="Cube_230" parent="." index="0" unique_id=18008477]
surface_material_override/0 = ExtResource("2_s3kfq")
@@ -189,3 +198,46 @@ spaziatura_z = 1.365
scala_correzione_xz = 100.0
scala_correzione_y = 100.0
altezza_massima = 1.5
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="." index="15" unique_id=551160027]
transform = Transform3D(0.90313953, 0, 0, 0, 1, 0, 0, 0, 0.3623262, 0.25448036, 0, 4.950394)
navigation_mesh = SubResource("NavigationMesh_n5ngy")
[node name="Spawn_Farmer3" type="Marker3D" parent="NavigationRegion3D" index="0" unique_id=2062850502]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.456726, 0.046188235, -4.201037)
script = ExtResource("19_jp565")
allowed_type = 7
[node name="Spawn_Farmer4" type="Marker3D" parent="NavigationRegion3D" index="1" unique_id=1064684500]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.119673, 0.046188235, -6.245075)
script = ExtResource("19_jp565")
allowed_type = 7
[node name="Spawn_Farmer5" type="Marker3D" parent="NavigationRegion3D" index="2" unique_id=1173664256]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.119673, 0.046188235, -3.2450752)
script = ExtResource("19_jp565")
allowed_type = 7
[node name="Spawn_Farmer6" type="Marker3D" parent="NavigationRegion3D" index="3" unique_id=88290989]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.2441616, 0.046188235, 5.291614)
script = ExtResource("19_jp565")
allowed_type = 7
[node name="NavigationRegion3D2" type="NavigationRegion3D" parent="." index="16" unique_id=952121547]
transform = Transform3D(0.885483, 0, 0, 0, 1, 0, 0, 0, 0.3623262, -10.32793, 0, 5.100934)
navigation_mesh = SubResource("NavigationMesh_n5ngy")
[node name="Spawn_Farmer3" type="Marker3D" parent="NavigationRegion3D2" index="0" unique_id=616691048]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.456726, 0.046188235, -4.201037)
script = ExtResource("19_jp565")
allowed_type = 9
[node name="Spawn_Farmer4" type="Marker3D" parent="NavigationRegion3D2" index="1" unique_id=1457340210]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.119673, 0.046188235, -6.245075)
script = ExtResource("19_jp565")
allowed_type = 9
[node name="Spawn_Farmer5" type="Marker3D" parent="NavigationRegion3D2" index="2" unique_id=1932372085]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.119673, 0.046188235, -3.2450752)
script = ExtResource("19_jp565")
allowed_type = 9

View File

@@ -2,6 +2,7 @@
[ext_resource type="PackedScene" uid="uid://b7vsobxts27bd" path="res://tgcc/chunk/animal/mesh/chunk_animal_end_1.fbx" id="1_dk5o1"]
[ext_resource type="Material" uid="uid://cn20mp8ep3yxu" path="res://tgcc/chunk/material/wires.tres" id="2_7usw4"]
[ext_resource type="Script" uid="uid://dg2h4kbqe8j3m" path="res://core/biome_generator/chunk_info.gd" id="2_8n3i8"]
[ext_resource type="Material" uid="uid://4xhpd6lust7w" path="res://tgcc/chunk/material/path_chunk.tres" id="3_nko1h"]
[ext_resource type="Material" uid="uid://blqelpjvdv23j" path="res://tgcc/chunk/material/grassflat_chunk.tres" id="4_8n3i8"]
[ext_resource type="Material" uid="uid://biaudrjlfoflm" path="res://tgcc/chunk/prop/house/house.tres" id="5_cu284"]
@@ -17,19 +18,13 @@
[ext_resource type="Material" uid="uid://f5uoreickew7" path="res://tgcc/chunk/prop/flower/flower.tres" id="15_b28pt"]
[ext_resource type="PackedScene" uid="uid://cff8d3fy3cd6b" path="res://tgcc/chunk/prop/well/wood/well_wood.tscn" id="16_pcdi3"]
[ext_resource type="PackedScene" uid="uid://e08y0isvh5xs" path="res://tgcc/chunk/prop/tenda noren/tenda1.tscn" id="17_8sgyy"]
[ext_resource type="Script" uid="uid://dg6ngy4pmtsyc" path="res://core/biome_generator/prop_info.gd" id="18_ack5i"]
[ext_resource type="PackedScene" uid="uid://cn2n7ehlt6hya" path="res://tgcc/chunk/prop/empty.tscn" id="19_4ohfk"]
[ext_resource type="PackedScene" uid="uid://3esmv2ut0o75" path="res://tgcc/chunk/prop/vending machine/vending_machine_2.tscn" id="20_ih5xu"]
[ext_resource type="PackedScene" uid="uid://bxjjgsgc2rrk5" path="res://tgcc/chunk/prop/vending machine/vending_machine_3.tscn" id="21_mne3w"]
[ext_resource type="PackedScene" uid="uid://be1px5nxfr4hs" path="res://tgcc/chunk/prop/scarecrow/scarecrow.tscn" id="22_mxfiw"]
[ext_resource type="PackedScene" uid="uid://chhdorj82bkus" path="res://tgcc/chunk/prop/scarecrow/scarecrow2.tscn" id="23_d3pn3"]
[ext_resource type="PackedScene" uid="uid://dn2b3f3nr6btn" path="res://tgcc/chunk/prop/scarecrow/scarecrow3.tscn" id="24_kxhdi"]
[ext_resource type="PackedScene" uid="uid://b1gx0pkd4bwlq" path="res://tgcc/chunk/prop/vase/vase_5.tscn" id="25_o38ek"]
[ext_resource type="PackedScene" uid="uid://bxuhubp1ug6j4" path="res://tgcc/chunk/prop/vase/vase_4.tscn" id="26_wxj20"]
[ext_resource type="PackedScene" uid="uid://r720wolh815q" path="res://tgcc/chunk/prop/vase/vase_3.tscn" id="27_kha5a"]
[ext_resource type="PackedScene" uid="uid://b53eql8vsisae" path="res://tgcc/chunk/prop/vase/vase_2.tscn" id="28_yyrii"]
[ext_resource type="PackedScene" uid="uid://bllge1erdtn05" path="res://tgcc/chunk/prop/vase/vase_1.tscn" id="29_eah2q"]
[ext_resource type="PackedScene" uid="uid://c058662vbd6ey" path="res://tgcc/chunk/prop/tree/tree_03/tree_03.tscn" id="30_u82rg"]
[ext_resource type="Script" uid="uid://c5ercbqy7srx3" path="res://core/biome_generator/entity_spawn_point.gd" id="31_nko1h"]
[sub_resource type="PlaneMesh" id="PlaneMesh_y1xr5"]
size = Vector2(0.5, 0.5)
@@ -76,9 +71,18 @@ gradient = SubResource("Gradient_qbybq")
fill = 2
fill_from = Vector2(0.5, 0.5)
[sub_resource type="NavigationMesh" id="NavigationMesh_8n3i8"]
vertices = PackedVector3Array(1.749999, 0.4999988, -9.499803, 1.749999, 0.4999988, 9.500197, 9.499999, 0.4999988, 9.500197, 9.499999, 0.4999988, -9.499803)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1)]
geometry_source_geometry_mode = 1
geometry_source_group_name = &"FieldNav"
[node name="chunk_animal_end_1" unique_id=1399479549 instance=ExtResource("1_dk5o1")]
script = ExtResource("2_8n3i8")
west = true
[node name="Cavi_006" parent="." index="1" unique_id=14990543]
cast_shadow = 0
surface_material_override/0 = ExtResource("2_7usw4")
surface_material_override/1 = ExtResource("2_7usw4")
@@ -99,6 +103,7 @@ surface_material_override/0 = ExtResource("5_cu284")
surface_material_override/1 = ExtResource("6_b0a1l")
[node name="Lanterne_007" parent="." index="7" unique_id=1615340934]
cast_shadow = 0
surface_material_override/0 = ExtResource("6_b0a1l")
surface_material_override/1 = ExtResource("5_cu284")
@@ -243,30 +248,44 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.0380297, 1.1459794, 2.4858
[node name="Tenda4" parent="." index="22" unique_id=2072721670 instance=ExtResource("17_8sgyy")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.0281196, 1.1459794, 2.4858966)
[node name="Prop4" type="Marker3D" parent="." index="23" unique_id=9236476]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 1.2248883, 0.35683155, -0.16885519)
script = ExtResource("18_ack5i")
available_props = Array[PackedScene]([ExtResource("19_4ohfk"), ExtResource("20_ih5xu"), ExtResource("21_mne3w")])
[node name="Prop1" type="Marker3D" parent="." index="24" unique_id=1176412840]
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 5.5856895, 0.35683155, -0.22699451)
script = ExtResource("18_ack5i")
available_props = Array[PackedScene]([ExtResource("22_mxfiw"), ExtResource("23_d3pn3"), ExtResource("24_kxhdi"), ExtResource("19_4ohfk")])
[node name="Vase5" parent="." index="25" unique_id=400744767 instance=ExtResource("25_o38ek")]
[node name="Vase5" parent="." index="23" unique_id=400744767 instance=ExtResource("25_o38ek")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.6904826, 0, -3.7465148)
[node name="Vase4" parent="." index="26" unique_id=237410267 instance=ExtResource("26_wxj20")]
[node name="Vase4" parent="." index="24" unique_id=237410267 instance=ExtResource("26_wxj20")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.2640238, 0, -4.765435)
[node name="Vase3" parent="." index="27" unique_id=1886668319 instance=ExtResource("27_kha5a")]
[node name="Vase3" parent="." index="25" unique_id=1886668319 instance=ExtResource("27_kha5a")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.8931057, 0, -4.7898393)
[node name="Vase2" parent="." index="28" unique_id=888035065 instance=ExtResource("28_yyrii")]
[node name="Vase2" parent="." index="26" unique_id=888035065 instance=ExtResource("28_yyrii")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.4152794, 0, -8.1740885)
[node name="Vase1" parent="." index="29" unique_id=705516693 instance=ExtResource("29_eah2q")]
[node name="Vase1" parent="." index="27" unique_id=705516693 instance=ExtResource("29_eah2q")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.9597483, 0, -7.311408)
[node name="Tree_03" parent="." index="30" unique_id=633798313 instance=ExtResource("30_u82rg")]
[node name="Tree_03" parent="." index="28" unique_id=633798313 instance=ExtResource("30_u82rg")]
transform = Transform3D(1.195, 0, 0, 0, 1.195, 0, 0, 0, 1.195, -9.461752, 0, -4.5862556)
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="." index="29" unique_id=975040626]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 0.91478384, 0, 0, -0.11984444)
navigation_mesh = SubResource("NavigationMesh_8n3i8")
[node name="Spawn_Farmer3" type="Marker3D" parent="NavigationRegion3D" index="0" unique_id=1980349909]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.456726, 0.046188235, -4.201037)
script = ExtResource("31_nko1h")
allowed_type = 9
[node name="Spawn_Farmer4" type="Marker3D" parent="NavigationRegion3D" index="1" unique_id=908372129]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.119673, 0.046188235, -6.245075)
script = ExtResource("31_nko1h")
allowed_type = 9
[node name="Spawn_Farmer5" type="Marker3D" parent="NavigationRegion3D" index="2" unique_id=804338594]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.119673, 0.046188235, -3.2450752)
script = ExtResource("31_nko1h")
allowed_type = 9
[node name="Spawn_Farmer6" type="Marker3D" parent="NavigationRegion3D" index="3" unique_id=973162977]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.2441616, 0.046188235, 5.291614)
script = ExtResource("31_nko1h")
allowed_type = 9

View File

@@ -2,6 +2,7 @@
[ext_resource type="PackedScene" uid="uid://bi40xq1kqfyuj" path="res://tgcc/chunk/animal/mesh/chunk_animal_straight_1.fbx" id="1_bnb6d"]
[ext_resource type="Shader" uid="uid://d0ch5ofrgf7y6" path="res://core/daynight/trunk_shader.gdshader" id="2_254jj"]
[ext_resource type="Script" uid="uid://dg2h4kbqe8j3m" path="res://core/biome_generator/chunk_info.gd" id="2_qvskg"]
[ext_resource type="Material" uid="uid://4xhpd6lust7w" path="res://tgcc/chunk/material/path_chunk.tres" id="3_n8ha4"]
[ext_resource type="Material" uid="uid://blqelpjvdv23j" path="res://tgcc/chunk/material/grassflat_chunk.tres" id="4_423u5"]
[ext_resource type="Material" uid="uid://biaudrjlfoflm" path="res://tgcc/chunk/prop/house/house.tres" id="5_qkxm3"]
@@ -21,6 +22,7 @@
[ext_resource type="PackedScene" uid="uid://bklpig8fmtajl" path="res://tgcc/chunk/prop/climax/climax_2.tscn" id="25_x06dq"]
[ext_resource type="PackedScene" uid="uid://cqsp8pai6vw22" path="res://tgcc/chunk/prop/climax/climax_1.tscn" id="26_0nkni"]
[ext_resource type="PackedScene" uid="uid://c6lh23yhi330a" path="res://tgcc/chunk/prop/tenda noren/tenda2.tscn" id="27_xfuly"]
[ext_resource type="Script" uid="uid://c5ercbqy7srx3" path="res://core/biome_generator/entity_spawn_point.gd" id="28_rriqf"]
[ext_resource type="PackedScene" uid="uid://b1gx0pkd4bwlq" path="res://tgcc/chunk/prop/vase/vase_5.tscn" id="29_eel2p"]
[ext_resource type="PackedScene" uid="uid://bxuhubp1ug6j4" path="res://tgcc/chunk/prop/vase/vase_4.tscn" id="30_gtf38"]
[ext_resource type="PackedScene" uid="uid://r720wolh815q" path="res://tgcc/chunk/prop/vase/vase_3.tscn" id="31_0alwi"]
@@ -94,7 +96,16 @@ gradient = SubResource("Gradient_qbybq")
fill = 2
fill_from = Vector2(0.5, 0.5)
[sub_resource type="NavigationMesh" id="NavigationMesh_qvskg"]
vertices = PackedVector3Array(1.749999, 0.4999988, -9.499803, 1.749999, 0.4999988, 9.500197, 9.499999, 0.4999988, 9.500197, 9.499999, 0.4999988, -9.499803)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1)]
geometry_source_geometry_mode = 1
geometry_source_group_name = &"FieldNav"
[node name="chunk_animal_straight_1" unique_id=1752776714 instance=ExtResource("1_bnb6d")]
script = ExtResource("2_qvskg")
north = true
south = true
[node name="Bags_001" parent="." index="0" unique_id=2120387351]
surface_material_override/0 = SubResource("ShaderMaterial_km3dw")
@@ -111,7 +122,7 @@ visible = false
[node name="FlowerG_023" parent="." index="5" unique_id=1646400432]
visible = false
[node name="Grass_026" parent="." index="6" unique_id=487111193]
[node name="Grass_026" parent="." index="6" unique_id=487111193 groups=["FieldNav"]]
surface_material_override/0 = ExtResource("4_423u5")
[node name="House_L_2_002|Cube_228|Dupli|" parent="House_L_2_002" parent_id_path=PackedInt32Array(2042123118) index="0" unique_id=938325335]
@@ -313,3 +324,46 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.939485, -4.7683716e-07, 9.
[node name="Tree_04" parent="." index="33" unique_id=1162844891 groups=["weather_node", "wind_node"] instance=ExtResource("34_uofcm")]
transform = Transform3D(-1.0825468, 0, -0.22162421, 0, 1.105, 0, 0.22162421, 0, -1.0825468, -8.404745, -4.7683716e-07, 7.928421)
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="." index="34" unique_id=2124464707]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 0.3623262, 0, 0, 4.950394)
navigation_mesh = SubResource("NavigationMesh_qvskg")
[node name="Spawn_Farmer3" type="Marker3D" parent="NavigationRegion3D" index="0" unique_id=1060964056]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.456726, 0.046188235, -4.201037)
script = ExtResource("28_rriqf")
allowed_type = 7
[node name="Spawn_Farmer4" type="Marker3D" parent="NavigationRegion3D" index="1" unique_id=474153760]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.119673, 0.046188235, -6.245075)
script = ExtResource("28_rriqf")
allowed_type = 7
[node name="Spawn_Farmer5" type="Marker3D" parent="NavigationRegion3D" index="2" unique_id=1308444759]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.119673, 0.046188235, -3.2450752)
script = ExtResource("28_rriqf")
allowed_type = 7
[node name="Spawn_Farmer6" type="Marker3D" parent="NavigationRegion3D" index="3" unique_id=282779023]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.2441616, 0.046188235, 5.291614)
script = ExtResource("28_rriqf")
allowed_type = 7
[node name="NavigationRegion3D2" type="NavigationRegion3D" parent="." index="35" unique_id=1361616545]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 0.3623262, 0, 0, -4.9049406)
navigation_mesh = SubResource("NavigationMesh_qvskg")
[node name="Spawn_Farmer3" type="Marker3D" parent="NavigationRegion3D2" index="0" unique_id=2114879690]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.456726, 0.046188235, -4.201037)
script = ExtResource("28_rriqf")
allowed_type = 9
[node name="Spawn_Farmer4" type="Marker3D" parent="NavigationRegion3D2" index="1" unique_id=1796851921]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.119673, 0.046188235, -6.245075)
script = ExtResource("28_rriqf")
allowed_type = 9
[node name="Spawn_Farmer5" type="Marker3D" parent="NavigationRegion3D2" index="2" unique_id=622414789]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.119673, 0.046188235, -3.2450752)
script = ExtResource("28_rriqf")
allowed_type = 9

View File

@@ -122,31 +122,33 @@ south = true
surface_material_override/0 = ExtResource("3_7ldxj")
[node name="Cavi_004" parent="." index="1" unique_id=253539518]
cast_shadow = 0
surface_material_override/0 = ExtResource("4_t6n0s")
surface_material_override/1 = ExtResource("4_t6n0s")
[node name="Flower_008" parent="." index="2" unique_id=8446212]
[node name="Flower_008" parent="." index="2" unique_id=992129707]
visible = false
[node name="FlowerG_005" parent="." index="3" unique_id=2045663830]
[node name="FlowerG_005" parent="." index="3" unique_id=1721720069]
visible = false
[node name="Grass_010" parent="." index="4" unique_id=2049316115]
surface_material_override/0 = ExtResource("3_7ldxj")
[node name="House_C_1_002" parent="." index="5" unique_id=628395080 groups=["weather_node"]]
[node name="House_C_1_002" parent="." index="5" unique_id=1344987535 groups=["weather_node"]]
[node name="House_C_1_002|Cube_330|Dupli|" parent="House_C_1_002" index="0" unique_id=141290732]
surface_material_override/0 = ExtResource("5_i3as5")
surface_material_override/1 = ExtResource("6_w6gyr")
[node name="House_C_1_003" parent="." index="6" unique_id=224251697 groups=["weather_node"]]
[node name="House_C_1_003" parent="." index="6" unique_id=5893163 groups=["weather_node"]]
[node name="House_C_1_003|Cube_330|Dupli|" parent="House_C_1_003" index="0" unique_id=1916361483]
surface_material_override/0 = ExtResource("5_i3as5")
surface_material_override/1 = ExtResource("6_w6gyr")
[node name="Lanterne_002" parent="." index="7" unique_id=174576336]
cast_shadow = 0
surface_material_override/0 = ExtResource("6_w6gyr")
surface_material_override/1 = ExtResource("5_i3as5")

View File

@@ -16,6 +16,7 @@
[ext_resource type="Script" uid="uid://cp1pb5dnuojg3" path="res://tgcc/chunk/prop/tree/bambu/bambu.gd" id="8_v3sbk"]
[ext_resource type="ArrayMesh" uid="uid://3xdihj6bgthr" path="res://tgcc/chunk/prop/fields/carrot/carrot.res" id="9_rwkip"]
[ext_resource type="Script" uid="uid://ckbbcsaxl0wrt" path="res://tgcc/chunk/prop/fields/potato/potatofields.gd" id="10_0euy0"]
[ext_resource type="Script" uid="uid://c5ercbqy7srx3" path="res://core/biome_generator/entity_spawn_point.gd" id="17_6mtqq"]
[sub_resource type="PlaneMesh" id="PlaneMesh_eriw3"]
size = Vector2(0.5, 0.5)
@@ -74,28 +75,34 @@ instance_count = 10
mesh = ExtResource("9_rwkip")
buffer = PackedFloat32Array(-1.345079, -104.836205, -4.582536e-06, -0.7675, 0, -5.087695e-06, 116.3929, 0, -104.836205, 1.345079, 5.879527e-08, -2.73, -23.050655, -89.78343, -3.9245583e-06, 0.7675, 0, -5.4507746e-06, 124.69919, 0, -89.78343, 23.050655, 1.0075762e-06, -2.73, -0.94479823, 98.3777, 4.300226e-06, -0.7675, 0, -5.36846e-06, 122.81604, 0, 98.3777, 0.94479823, 4.1298442e-08, -1.365, -45.15469, 98.192276, 4.2921206e-06, 0.7675, 0, -5.5216424e-06, 126.32045, 0, 98.192276, 45.15469, 1.9737743e-06, -1.365, 51.523067, 73.95281, 3.2325802e-06, -0.7675, 0, -6.092778e-06, 139.38652, 0, 73.95281, -51.523067, -2.252145e-06, 0, 36.539158, 90.88779, 3.9728316e-06, 0.7675, 0, -4.4215008e-06, 101.152145, 0, 90.88779, -36.539158, -1.5971773e-06, 0, -39.408787, 95.364525, 4.1685157e-06, -0.7675, 0, -5.5878354e-06, 127.83478, 0, 95.364525, 39.408787, 1.7226128e-06, 1.365, -91.232216, 37.590523, 1.6431339e-06, 0.7675, 0, -4.584668e-06, 104.88499, 0, 37.590523, 91.232216, 3.987887e-06, 1.365, -30.47723, 103.22197, 4.5119755e-06, -0.7675, 0, -6.1808396e-06, 141.40112, 0, 103.22197, 30.47723, 1.332202e-06, 2.73, -8.005614, 101.21251, 4.424139e-06, 0.7675, 0, -5.9242852e-06, 135.53185, 0, 101.21251, 8.005614, 3.4993653e-07, 2.73)
[sub_resource type="NavigationMesh" id="NavigationMesh_0n537"]
vertices = PackedVector3Array(-8.904611, 1.2499989, -8.609608, -8.904611, 1.2499989, -0.3596077, 8.845389, 1.2499989, -0.3596077, 8.845389, 1.2499989, -8.609608, 0.34538937, 0.49999887, 8.140392, 1.0953894, 0.49999887, 7.8903923, 1.0953894, 0.49999887, 7.6403923, 0.34538937, 0.49999887, 7.3903923, -0.90461063, 0.49999887, 7.3903923, -0.65461063, 0.49999887, 8.390392, -1.9046106, 0.49999887, 7.6403923, -1.6546106, 0.49999887, 6.8903923, -1.6546106, 0.49999887, 2.1403923, 0.59538937, 0.49999887, 2.1403923, 1.3453894, 0.49999887, 1.8903923, 1.3453894, 0.49999887, 1.6403923, 0.84538937, 0.49999887, 0.8903923, -0.65461063, 0.49999887, 0.8903923, 1.3453894, 0.49999887, 4.1403923, 1.5953894, 0.49999887, 4.6403923, 1.8453894, 0.49999887, 3.1403923, 0.59538937, 0.49999887, 3.1403923, 0.34538937, 0.49999887, 4.3903923, -1.1546106, 0.49999887, 8.890392, 0.34538937, 0.49999887, 9.140392, -8.404611, 0.49999887, 8.890392, -1.9046106, 0.49999887, 8.890392, -2.4046106, 0.49999887, 1.1403923, -7.4046106, 0.49999887, 1.1403923, -8.404611, 0.49999887, 1.6403923, -0.65461063, 0.49999887, 6.6403923, 1.8453894, 0.49999887, 2.1403923, 3.8453894, 0.49999887, 1.1403923, 1.5953894, 0.49999887, 7.3903923, 1.5953894, 0.49999887, 8.140392, 8.345389, 0.49999887, 8.890392, 8.345389, 0.49999887, 1.6403923, 1.5953894, 0.49999887, 8.890392)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1), PackedInt32Array(5, 4, 6), PackedInt32Array(6, 4, 7), PackedInt32Array(7, 4, 9), PackedInt32Array(7, 9, 8), PackedInt32Array(12, 11, 10), PackedInt32Array(14, 13, 15), PackedInt32Array(15, 13, 16), PackedInt32Array(16, 13, 17), PackedInt32Array(19, 18, 20), PackedInt32Array(22, 21, 18), PackedInt32Array(18, 21, 20), PackedInt32Array(4, 24, 9), PackedInt32Array(9, 24, 23), PackedInt32Array(10, 26, 25), PackedInt32Array(27, 12, 28), PackedInt32Array(28, 12, 29), PackedInt32Array(29, 12, 10), PackedInt32Array(29, 10, 25), PackedInt32Array(8, 30, 7), PackedInt32Array(7, 30, 22), PackedInt32Array(21, 22, 13), PackedInt32Array(13, 22, 17), PackedInt32Array(17, 22, 30), PackedInt32Array(30, 8, 11), PackedInt32Array(11, 8, 10), PackedInt32Array(14, 15, 31), PackedInt32Array(31, 15, 32), PackedInt32Array(6, 33, 5), PackedInt32Array(5, 33, 34), PackedInt32Array(34, 33, 35), PackedInt32Array(35, 33, 32), PackedInt32Array(35, 32, 36), PackedInt32Array(35, 37, 34), PackedInt32Array(20, 31, 32), PackedInt32Array(20, 32, 19), PackedInt32Array(19, 32, 33)]
geometry_source_geometry_mode = 2
geometry_source_group_name = &"FieldNav"
[node name="chunk_country_field_empty" unique_id=982394051 instance=ExtResource("1_flaaw")]
script = ExtResource("2_v3sbk")
[node name="Plane_024" parent="." index="0" unique_id=1587657694 groups=["weather_node"]]
[node name="Plane_024" parent="." index="0" unique_id=134688339 groups=["FieldNav", "weather_node"]]
surface_material_override/0 = ExtResource("2_lalbj")
[node name="Scale_006" parent="." index="1" unique_id=360166841 groups=["weather_node"]]
[node name="Scale_006" parent="." index="1" unique_id=504226706 groups=["weather_node"]]
surface_material_override/0 = ExtResource("3_b4jqp")
[node name="Stone_002" parent="." index="2" unique_id=760162550 groups=["weather_node"]]
[node name="Stone_002" parent="." index="2" unique_id=1208260147 groups=["weather_node"]]
surface_material_override/0 = ExtResource("3_b4jqp")
[node name="fence" parent="." index="3" unique_id=650743588]
[node name="fence" parent="." index="3" unique_id=2052406900]
surface_material_override/0 = ExtResource("4_whjqu")
[node name="field_001" parent="." index="4" unique_id=1306208418 groups=["weather_node"]]
[node name="field_001" parent="." index="4" unique_id=2120768163 groups=["weather_node"]]
surface_material_override/0 = ExtResource("5_0s75p")
[node name="grass_002" parent="." index="5" unique_id=495228889]
[node name="grass_002" parent="." index="5" unique_id=1537817574]
surface_material_override/0 = ExtResource("6_x8x47")
[node name="tool" parent="." index="6" unique_id=1439438532 groups=["weather_node"]]
[node name="tool" parent="." index="6" unique_id=1838162161 groups=["weather_node"]]
surface_material_override/0 = ExtResource("7_v3sbk")
surface_material_override/1 = ExtResource("8_rwkip")
@@ -280,3 +287,17 @@ spaziatura_z = 1.365
scala_correzione_xz = 100.0
scala_correzione_y = 100.0
altezza_massima = 1.5
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="." index="18" unique_id=1720067059]
navigation_mesh = SubResource("NavigationMesh_0n537")
navigation_layers = 2
[node name="Spawn_Farmer2" type="Marker3D" parent="NavigationRegion3D" index="0" unique_id=7731188]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.385668, 0.8148663, 2.899427)
script = ExtResource("17_6mtqq")
allowed_type = 1
[node name="Spawn_Farmer3" type="Marker3D" parent="NavigationRegion3D" index="1" unique_id=1919131330]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.456726, 1.5039473, -4.201037)
script = ExtResource("17_6mtqq")
allowed_type = 1

View File

@@ -107,57 +107,59 @@ buffer = PackedFloat32Array(-1.345079, -104.836205, -4.582536e-06, -1.52, 0, -5.
script = ExtResource("2_i2sew")
west = true
[node name="Argini_004" parent="." index="0" unique_id=1858205185]
[node name="Argini_004" parent="." index="0" unique_id=2092471339]
surface_material_override/0 = ExtResource("3_xbvfl")
[node name="Cart_001" parent="." index="1" unique_id=1835353896]
[node name="Cart_001" parent="." index="1" unique_id=1302373818]
surface_material_override/0 = ExtResource("4_oq3ud")
surface_material_override/1 = ExtResource("5_x8oai")
surface_material_override/2 = ExtResource("6_int6c")
[node name="Cavi_007" parent="." index="2" unique_id=994450170]
[node name="Cavi_007" parent="." index="2" unique_id=891974148]
cast_shadow = 0
surface_material_override/0 = ExtResource("5_x8oai")
surface_material_override/1 = ExtResource("5_x8oai")
[node name="Cortile_002" parent="." index="3" unique_id=267016892 groups=["weather_node"]]
[node name="Cortile_002" parent="." index="3" unique_id=1440977285 groups=["weather_node"]]
surface_material_override/0 = ExtResource("6_int6c")
[node name="Flower_005" parent="." index="4" unique_id=1549966189 groups=["weather_node", "wind_node"]]
[node name="Flower_005" parent="." index="4" unique_id=1151898243 groups=["weather_node", "wind_node"]]
visible = false
[node name="FlowerG_003" parent="." index="5" unique_id=65871813 groups=["weather_node", "wind_node"]]
[node name="FlowerG_003" parent="." index="5" unique_id=1421252949 groups=["weather_node", "wind_node"]]
visible = false
[node name="Grass_008" parent="." index="6" unique_id=1853173495]
[node name="Grass_008" parent="." index="6" unique_id=565930716]
surface_material_override/0 = ExtResource("3_xbvfl")
[node name="House_M_3" parent="." index="7" unique_id=155596536 groups=["weather_node"]]
[node name="House_M_3" parent="." index="7" unique_id=1248182939 groups=["weather_node"]]
[node name="House_M_3|Cube_212|Dupli|" parent="House_M_3" index="0" unique_id=1321014561]
[node name="House_M_3|Cube_212|Dupli|" parent="House_M_3" index="0" unique_id=1251663089]
surface_material_override/0 = ExtResource("7_wdcqm")
surface_material_override/1 = ExtResource("8_lfxig")
[node name="Lanterne_003" parent="." index="8" unique_id=595596056]
[node name="Lanterne_003" parent="." index="8" unique_id=913131637]
cast_shadow = 0
surface_material_override/0 = ExtResource("8_lfxig")
surface_material_override/1 = ExtResource("7_wdcqm")
[node name="MSH_Staccioanta_1_005" parent="." index="9" unique_id=1042751383]
[node name="MSH_Staccioanta_1_005" parent="." index="9" unique_id=615838630]
surface_material_override/0 = ExtResource("9_rfrug")
[node name="PaliLuci_002" parent="." index="10" unique_id=1504995410]
[node name="PaliLuci_002" parent="." index="10" unique_id=1928143564]
surface_material_override/0 = ExtResource("4_oq3ud")
surface_material_override/1 = ExtResource("4_oq3ud")
[node name="Panchina_002" parent="." index="11" unique_id=876085859 groups=["weather_node"]]
[node name="Panchina_002" parent="." index="11" unique_id=1561611835 groups=["weather_node"]]
surface_material_override/0 = ExtResource("9_rfrug")
[node name="Strada_006" parent="." index="12" unique_id=76888486 groups=["weather_node"]]
[node name="Strada_006" parent="." index="12" unique_id=1433458432 groups=["weather_node"]]
surface_material_override/0 = ExtResource("6_int6c")
[node name="Water_005" parent="." index="13" unique_id=425747200]
[node name="Water_005" parent="." index="13" unique_id=689760906]
surface_material_override/0 = ExtResource("10_hfpir")
[node name="WoodPile_003" parent="." index="14" unique_id=1314797412 groups=["weather_node"]]
[node name="WoodPile_003" parent="." index="14" unique_id=363736169 groups=["weather_node"]]
surface_material_override/0 = ExtResource("4_oq3ud")
surface_material_override/1 = ExtResource("11_x7fjv")
surface_material_override/2 = ExtResource("5_x8oai")

View File

@@ -43,6 +43,7 @@
[ext_resource type="ArrayMesh" uid="uid://c2tkniimk7ty1" path="res://tgcc/chunk/prop/fields/potato/potato.res" id="41_dn7xc"]
[ext_resource type="ArrayMesh" uid="uid://3xdihj6bgthr" path="res://tgcc/chunk/prop/fields/carrot/carrot.res" id="42_0txat"]
[ext_resource type="PackedScene" uid="uid://umwfewa74elg" path="res://tgcc/chunk/prop/fields/field_m.tscn" id="43_3321o"]
[ext_resource type="Script" uid="uid://c5ercbqy7srx3" path="res://core/biome_generator/entity_spawn_point.gd" id="44_m8agr"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_q2s76"]
render_priority = 0
@@ -200,6 +201,18 @@ instance_count = 6
mesh = ExtResource("42_0txat")
buffer = PackedFloat32Array(-1.345079, -104.836205, -4.582536e-06, -1.24, 0, -5.087695e-06, 116.3929, 0, -104.836205, 1.345079, 5.879527e-08, -1.38, -23.050655, -89.78343, -3.9245583e-06, 1.24, 0, -5.4507746e-06, 124.69919, 0, -89.78343, 23.050655, 1.0075762e-06, -1.38, -0.94479823, 98.3777, 4.300226e-06, -1.24, 0, -5.36846e-06, 122.81604, 0, 98.3777, 0.94479823, 4.1298442e-08, 0, -45.15469, 98.192276, 4.2921206e-06, 1.24, 0, -5.5216424e-06, 126.32045, 0, 98.192276, 45.15469, 1.9737743e-06, 0, 51.523067, 73.95281, 3.2325802e-06, -1.24, 0, -6.092778e-06, 139.38652, 0, 73.95281, -51.523067, -2.252145e-06, 1.38, 36.539158, 90.88779, 3.9728316e-06, 1.24, 0, -4.4215008e-06, 101.152145, 0, 90.88779, -36.539158, -1.5971773e-06, 1.38)
[sub_resource type="NavigationMesh" id="NavigationMesh_la34y"]
vertices = PackedVector3Array(3.642759, 0.7619238, -8.467581, 3.642759, 0.7619238, -2.9675808, 8.142759, 0.7619238, -2.9675808, 8.142759, 0.7619238, -8.467581, 3.642759, 0.7619238, 2.7824192, 3.642759, 0.7619238, 8.532419, 8.142759, 0.7619238, 8.532419, 8.142759, 0.7619238, 2.7824192)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1), PackedInt32Array(7, 6, 4), PackedInt32Array(4, 6, 5)]
geometry_source_geometry_mode = 2
geometry_source_group_name = &"FieldNav"
[sub_resource type="NavigationMesh" id="NavigationMesh_nisx8"]
vertices = PackedVector3Array(-1.8700409, 0.45649529, 2.500001, -1.8700409, 0.45649529, 5.500001, -1.1200409, 0.45649529, 5.750001, -1.1200409, 0.45649529, 2.250001, 0.8799591, 0.45649529, 9.500001, -1.1200409, 0.45649529, 9.500001, 0.8799591, 0.45649529, -9.499999, -1.1200409, 0.45649529, -9.499999, -2.370041, 0.45649529, 2.250001, -2.370041, 0.45649529, 5.750001, -8.870041, 0.45649529, -0.74999905, -8.870041, 0.45649529, 9.250001, -2.370041, 0.45649529, -0.74999905, -2.370041, 0.45649529, 9.250001)
polygons = [PackedInt32Array(0, 2, 1), PackedInt32Array(0, 3, 2), PackedInt32Array(2, 3, 4), PackedInt32Array(4, 5, 2), PackedInt32Array(7, 6, 3), PackedInt32Array(3, 6, 4), PackedInt32Array(1, 9, 0), PackedInt32Array(0, 9, 8), PackedInt32Array(8, 9, 10), PackedInt32Array(10, 9, 11), PackedInt32Array(10, 12, 8), PackedInt32Array(9, 13, 11)]
geometry_source_geometry_mode = 2
geometry_source_group_name = &"RoadNav"
[node name="chunk_country_straight_02" unique_id=1847746456 node_paths=PackedStringArray("connection_left", "connection_right") instance=ExtResource("1_r08di")]
script = ExtResource("2_yivw1")
north = true
@@ -208,54 +221,54 @@ have_lamppost = true
connection_left = [NodePath("PaloLuce/sx")]
connection_right = [NodePath("PaloLuce/dx")]
[node name="Argini_005" parent="." index="0" unique_id=255857931]
[node name="Argini_005" parent="." index="0" unique_id=1699913806]
surface_material_override/0 = ExtResource("3_dn7xc")
[node name="Bags" parent="." index="1" unique_id=2117673123]
[node name="Bags" parent="." index="1" unique_id=885374680]
surface_material_override/0 = SubResource("ShaderMaterial_q2s76")
[node name="Cart" parent="." index="2" unique_id=884973125 groups=["weather_node"]]
[node name="Cart" parent="." index="2" unique_id=1431553734 groups=["weather_node"]]
surface_material_override/0 = ExtResource("5_3321o")
surface_material_override/1 = SubResource("ShaderMaterial_mqw0y")
surface_material_override/2 = SubResource("ShaderMaterial_dxwao")
[node name="Chunk_045" parent="." index="3" unique_id=121750865 groups=["weather_node"]]
[node name="Chunk_045" parent="." index="3" unique_id=905054485 groups=["weather_node"]]
surface_material_override/0 = ExtResource("6_uj5at")
[node name="Cortile" parent="." index="4" unique_id=91819151 groups=["weather_node"]]
[node name="Cortile" parent="." index="4" unique_id=1916980077 groups=["weather_node"]]
surface_material_override/0 = ExtResource("6_uj5at")
[node name="Flower_002" parent="." index="5" unique_id=833640333 groups=["weather_vegetables_node", "wind_node"]]
[node name="Flower_002" parent="." index="5" unique_id=879662150 groups=["weather_vegetables_node", "wind_node"]]
visible = false
[node name="FlowerG_001" parent="." index="6" unique_id=1651138709 groups=["weather_vegetables_node", "wind_node"]]
[node name="FlowerG_001" parent="." index="6" unique_id=506605481 groups=["weather_vegetables_node", "wind_node"]]
visible = false
[node name="Grass_006" parent="." index="7" unique_id=2081004392 groups=["weather_vegetables_node", "wind_node"]]
[node name="Grass_006" parent="." index="7" unique_id=921275290 groups=["weather_vegetables_node", "wind_node"]]
surface_material_override/0 = ExtResource("3_dn7xc")
[node name="House_L_2" parent="." index="8" unique_id=1993375668 groups=["weather_node"]]
[node name="House_L_2" parent="." index="8" unique_id=1330804574 groups=["weather_node"]]
[node name="House_L_2|Cube_349|Dupli|" parent="House_L_2" index="0" unique_id=18124515]
[node name="House_L_2|Cube_349|Dupli|" parent="House_L_2" index="0" unique_id=1823344237]
surface_material_override/0 = ExtResource("7_x0i6t")
surface_material_override/1 = ExtResource("8_hgv7f")
[node name="MSH_Staccioanta_1_003" parent="." index="9" unique_id=568627289]
[node name="MSH_Staccioanta_1_003" parent="." index="9" unique_id=1980961732]
surface_material_override/0 = ExtResource("9_yo242")
[node name="Rocks_001" parent="." index="10" unique_id=2004921299 groups=["weather_node"]]
[node name="Rocks_001" parent="." index="10" unique_id=375547626 groups=["weather_node"]]
surface_material_override/0 = ExtResource("10_tlfou")
surface_material_override/1 = ExtResource("10_tlfou")
surface_material_override/2 = ExtResource("11_dgiha")
[node name="Statue" parent="." index="11" unique_id=1814801509]
[node name="Statue" parent="." index="11" unique_id=1169373891]
surface_material_override/0 = ExtResource("10_tlfou")
surface_material_override/1 = ExtResource("8_hgv7f")
[node name="Water_006" parent="." index="12" unique_id=1352334701]
[node name="Water_006" parent="." index="12" unique_id=2064105008]
surface_material_override/0 = ExtResource("12_c2lg4")
[node name="WoodPile" parent="." index="13" unique_id=1088104699]
[node name="WoodPile" parent="." index="13" unique_id=1512653267]
surface_material_override/0 = ExtResource("5_3321o")
surface_material_override/1 = ExtResource("13_n8lgw")
surface_material_override/2 = SubResource("ShaderMaterial_ytk0o")
@@ -537,4 +550,36 @@ transform = Transform3D(8.203345e-08, 0, 0.74346155, 0, 1, 0, -0.6255688, 0, 9.7
[node name="field_M5" parent="." index="46" unique_id=1882888747 groups=["weather_node"] instance=ExtResource("43_3321o")]
transform = Transform3D(8.203345e-08, 0, 0.74346155, 0, 1, 0, -0.6255688, 0, 9.74932e-08, 5.899083, 0.37209892, 5.840713)
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="." index="47" unique_id=411413102]
navigation_mesh = SubResource("NavigationMesh_la34y")
navigation_layers = 2
[node name="Spawn_Farmer" type="Marker3D" parent="NavigationRegion3D" index="0" unique_id=890486900]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.907281, 0.8148663, 4.6581635)
script = ExtResource("44_m8agr")
allowed_type = 1
[node name="Spawn_Farmer2" type="Marker3D" parent="NavigationRegion3D" index="1" unique_id=1966355768]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.5021486, 0.8148663, -4.94293)
script = ExtResource("44_m8agr")
allowed_type = 1
[node name="NavigationRegion3D2" type="NavigationRegion3D" parent="." index="48" unique_id=160618099]
navigation_mesh = SubResource("NavigationMesh_nisx8")
[node name="Spawn_Sit" type="Marker3D" parent="NavigationRegion3D2" index="0" unique_id=525528179]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.3757677, 0.8148663, -1.2029009)
script = ExtResource("44_m8agr")
allowed_type = 3
[node name="Spawn_FarmerWalk" type="Marker3D" parent="NavigationRegion3D2" index="1" unique_id=1168466140]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.543914, 0.8148663, -0.19890785)
script = ExtResource("44_m8agr")
allowed_type = 2
[node name="Spawn_Cat" type="Marker3D" parent="NavigationRegion3D2" index="2" unique_id=459591901]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.543914, 0.05734712, 0.9483993)
script = ExtResource("44_m8agr")
allowed_type = 4
[editable path="PaloLuce"]

View File

@@ -26,6 +26,7 @@
[ext_resource type="ArrayMesh" uid="uid://3xdihj6bgthr" path="res://tgcc/chunk/prop/fields/carrot/carrot.res" id="24_ipx6q"]
[ext_resource type="PackedScene" uid="uid://cqstxvrtabka3" path="res://tgcc/chunk/prop/fields/field_big.tscn" id="25_6xi2j"]
[ext_resource type="PackedScene" uid="uid://umwfewa74elg" path="res://tgcc/chunk/prop/fields/field_m.tscn" id="26_w4o0d"]
[ext_resource type="Script" uid="uid://c5ercbqy7srx3" path="res://core/biome_generator/entity_spawn_point.gd" id="27_okoff"]
[sub_resource type="PlaneMesh" id="PlaneMesh_uf7g8"]
size = Vector2(1, 1)
@@ -93,24 +94,30 @@ instance_count = 24
mesh = ExtResource("24_ipx6q")
buffer = PackedFloat32Array(-1.345079, -104.836205, -4.582536e-06, -1.51, 0, -5.087695e-06, 116.3929, 0, -104.836205, 1.345079, 5.879527e-08, -7.205, -23.050655, -89.78343, -3.9245583e-06, 1.51, 0, -5.4507746e-06, 124.69919, 0, -89.78343, 23.050655, 1.0075762e-06, -7.205, -0.94479823, 98.3777, 4.300226e-06, -1.51, 0, -5.36846e-06, 122.81604, 0, 98.3777, 0.94479823, 4.1298442e-08, -5.895, -45.15469, 98.192276, 4.2921206e-06, 1.51, 0, -5.5216424e-06, 126.32045, 0, 98.192276, 45.15469, 1.9737743e-06, -5.895, 51.523067, 73.95281, 3.2325802e-06, -1.51, 0, -6.092778e-06, 139.38652, 0, 73.95281, -51.523067, -2.252145e-06, -4.585, 36.539158, 90.88779, 3.9728316e-06, 1.51, 0, -4.4215008e-06, 101.152145, 0, 90.88779, -36.539158, -1.5971773e-06, -4.585, -39.408787, 95.364525, 4.1685157e-06, -1.51, 0, -5.5878354e-06, 127.83478, 0, 95.364525, 39.408787, 1.7226128e-06, -3.275, -91.232216, 37.590523, 1.6431339e-06, 1.51, 0, -4.584668e-06, 104.88499, 0, 37.590523, 91.232216, 3.987887e-06, -3.275, -30.47723, 103.22197, 4.5119755e-06, -1.51, 0, -6.1808396e-06, 141.40112, 0, 103.22197, 30.47723, 1.332202e-06, -1.965, -8.005614, 101.21251, 4.424139e-06, 1.51, 0, -5.9242852e-06, 135.53185, 0, 101.21251, 8.005614, 3.4993653e-07, -1.965, 99.09663, 43.66117, 1.9084905e-06, -1.51, 0, -3.7775778e-06, 86.420906, 0, 43.66117, -99.09663, -4.3316513e-06, -0.655, -91.12723, 15.849931, 6.928225e-07, 1.51, 0, -4.001862e-06, 91.55193, 0, 15.849931, 91.12723, 3.9832976e-06, -0.655, -91.18811, -34.03817, -1.4878557e-06, -1.51, 0, -4.1619082e-06, 95.21336, 0, -34.03817, 91.18811, 3.9859588e-06, 0.655, 23.023481, -104.47969, -4.566952e-06, 1.51, 0, -6.165871e-06, 141.05869, 0, -104.47969, -23.023481, -1.0063883e-06, 0.655, 66.909645, 65.55669, 2.8655738e-06, -1.51, 0, -5.750461e-06, 131.5552, 0, 65.55669, -66.909645, -2.9247135e-06, 1.965, 89.28995, -40.693092, -1.7787515e-06, 1.51, 0, -5.710677e-06, 130.64507, 0, -40.693092, -89.28995, -3.9029874e-06, 1.965, 93.72745, -22.676085, -9.912031e-07, -1.51, 0, -5.524909e-06, 126.39518, 0, -22.676085, -93.72745, -4.0969567e-06, 3.275, -100.97472, 18.656967, 8.1552196e-07, 1.51, 0, -6.09764e-06, 139.49774, 0, 18.656967, 100.97472, 4.413745e-06, 3.275, -77.22465, 74.896164, 3.2738153e-06, -1.51, 0, -4.883273e-06, 111.71626, 0, 74.896164, 77.22465, 3.3755966e-06, 4.585, -107.56353, -3.6739569, -1.6059376e-07, 1.51, 0, -4.8591305e-06, 111.16395, 0, -3.6739569, 107.56353, 4.701751e-06, 4.585, -51.76757, -88.75239, -3.87949e-06, -1.51, 0, -5.404449e-06, 123.63938, 0, -88.75239, 51.76757, 2.2628324e-06, 5.895, -51.252262, -78.96487, -3.451664e-06, 1.51, 0, -5.822584e-06, 133.2052, 0, -78.96487, 51.252262, 2.2403076e-06, 5.895, 60.839096, -75.0028, -3.2784765e-06, -1.51, 0, -5.0207327e-06, 114.86098, 0, -75.0028, -60.839096, -2.6593614e-06, 7.205, 45.102516, 86.25432, 3.770296e-06, 1.51, 0, -5.1689008e-06, 118.25066, 0, 86.25432, -45.102516, -1.9714937e-06, 7.205)
[sub_resource type="NavigationMesh" id="NavigationMesh_mb2qy"]
vertices = PackedVector3Array(-8.4942665, 0.45926487, -8.623274, -8.4942665, 0.45926487, 8.626726, -3.4942665, 0.45926487, 8.626726, -3.4942665, 0.45926487, -8.623274, 3.5057335, 0.45926487, -8.623274, 3.5057335, 0.45926487, 8.626726, 8.5057335, 0.45926487, 8.626726, 8.5057335, 0.45926487, -8.623274)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1), PackedInt32Array(7, 6, 4), PackedInt32Array(4, 6, 5)]
geometry_source_geometry_mode = 2
geometry_source_group_name = &"FieldNav"
[node name="chunk_country_straight_03" unique_id=626808879 instance=ExtResource("1_bbibh")]
script = ExtResource("2_gottn")
north = true
south = true
[node name="Argini_003" parent="." index="0" unique_id=509439881]
[node name="Argini_003" parent="." index="0" unique_id=1178813592]
surface_material_override/0 = ExtResource("3_ipx6q")
[node name="Grass_005" parent="." index="1" unique_id=188609017 groups=["weather_vegetables_node", "wind_node"]]
[node name="Grass_005" parent="." index="1" unique_id=1427965126 groups=["weather_vegetables_node", "wind_node"]]
surface_material_override/0 = ExtResource("3_ipx6q")
[node name="MSH_Staccioanta_1_002" parent="." index="2" unique_id=746941179]
[node name="MSH_Staccioanta_1_002" parent="." index="2" unique_id=562234307]
surface_material_override/0 = ExtResource("4_6xi2j")
[node name="Strada_004" parent="." index="3" unique_id=604168900 groups=["weather_node"]]
[node name="Strada_004" parent="." index="3" unique_id=387203009 groups=["weather_node"]]
surface_material_override/0 = ExtResource("5_w4o0d")
[node name="Water_004" parent="." index="4" unique_id=244513747]
[node name="Water_004" parent="." index="4" unique_id=1258756459]
surface_material_override/0 = ExtResource("6_e6ira")
[node name="grass" type="Node3D" parent="." index="5" unique_id=1540226859 groups=["weather_vegetables_node", "wind_node"]]
@@ -263,3 +270,17 @@ transform = Transform3D(-4.9052467e-08, 0, -0.8890016, 0, 1, 0, 1.1221895, 0, -3
[node name="field_M2" parent="." index="19" unique_id=1963504315 groups=["weather_node"] instance=ExtResource("26_w4o0d")]
transform = Transform3D(-5.213253e-08, 0, -0.85037357, 0, 1, 0, 1.1926534, 0, -3.7171013e-08, -6.0629134, 0, -4.090724)
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="." index="20" unique_id=1548869383]
navigation_mesh = SubResource("NavigationMesh_mb2qy")
navigation_layers = 2
[node name="Spawn_Farmer2" type="Marker3D" parent="NavigationRegion3D" index="0" unique_id=169985271]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.385668, 0.8148663, 0.50232124)
script = ExtResource("27_okoff")
allowed_type = 1
[node name="Spawn_Farmer3" type="Marker3D" parent="NavigationRegion3D" index="1" unique_id=905983467]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.456726, 0.8148663, -4.201037)
script = ExtResource("27_okoff")
allowed_type = 1

View File

@@ -24,6 +24,7 @@
[ext_resource type="Script" uid="uid://cp1pb5dnuojg3" path="res://tgcc/chunk/prop/tree/bambu/bambu.gd" id="22_dhwpq"]
[ext_resource type="ArrayMesh" uid="uid://3xdihj6bgthr" path="res://tgcc/chunk/prop/fields/carrot/carrot.res" id="23_8bmw0"]
[ext_resource type="PackedScene" uid="uid://cqstxvrtabka3" path="res://tgcc/chunk/prop/fields/field_big.tscn" id="24_i8dxe"]
[ext_resource type="Script" uid="uid://c5ercbqy7srx3" path="res://core/biome_generator/entity_spawn_point.gd" id="25_pqdb4"]
[sub_resource type="PlaneMesh" id="PlaneMesh_uf7g8"]
size = Vector2(1, 1)
@@ -67,25 +68,31 @@ instance_count = 36
mesh = ExtResource("23_8bmw0")
buffer = PackedFloat32Array(-1.345079, -104.836205, -4.582536e-06, -1.54, 0, -5.087695e-06, 116.3929, 0, -104.836205, 1.345079, 5.879527e-08, -7.205, -23.050655, -89.78343, -3.9245583e-06, 0, 0, -5.4507746e-06, 124.69919, 0, -89.78343, 23.050655, 1.0075762e-06, -7.205, -0.94479823, 98.3777, 4.300226e-06, 1.54, 0, -5.36846e-06, 122.81604, 0, 98.3777, 0.94479823, 4.1298442e-08, -7.205, -45.15469, 98.192276, 4.2921206e-06, -1.54, 0, -5.5216424e-06, 126.32045, 0, 98.192276, 45.15469, 1.9737743e-06, -5.895, 51.523067, 73.95281, 3.2325802e-06, 0, 0, -6.092778e-06, 139.38652, 0, 73.95281, -51.523067, -2.252145e-06, -5.895, 36.539158, 90.88779, 3.9728316e-06, 1.54, 0, -4.4215008e-06, 101.152145, 0, 90.88779, -36.539158, -1.5971773e-06, -5.895, -39.408787, 95.364525, 4.1685157e-06, -1.54, 0, -5.5878354e-06, 127.83478, 0, 95.364525, 39.408787, 1.7226128e-06, -4.585, -91.232216, 37.590523, 1.6431339e-06, 0, 0, -4.584668e-06, 104.88499, 0, 37.590523, 91.232216, 3.987887e-06, -4.585, -30.47723, 103.22197, 4.5119755e-06, 1.54, 0, -6.1808396e-06, 141.40112, 0, 103.22197, 30.47723, 1.332202e-06, -4.585, -8.005614, 101.21251, 4.424139e-06, -1.54, 0, -5.9242852e-06, 135.53185, 0, 101.21251, 8.005614, 3.4993653e-07, -3.275, 99.09663, 43.66117, 1.9084905e-06, 0, 0, -3.7775778e-06, 86.420906, 0, 43.66117, -99.09663, -4.3316513e-06, -3.275, -91.12723, 15.849931, 6.928225e-07, 1.54, 0, -4.001862e-06, 91.55193, 0, 15.849931, 91.12723, 3.9832976e-06, -3.275, -91.18811, -34.03817, -1.4878557e-06, -1.54, 0, -4.1619082e-06, 95.21336, 0, -34.03817, 91.18811, 3.9859588e-06, -1.965, 23.023481, -104.47969, -4.566952e-06, 0, 0, -6.165871e-06, 141.05869, 0, -104.47969, -23.023481, -1.0063883e-06, -1.965, 66.909645, 65.55669, 2.8655738e-06, 1.54, 0, -5.750461e-06, 131.5552, 0, 65.55669, -66.909645, -2.9247135e-06, -1.965, 89.28995, -40.693092, -1.7787515e-06, -1.54, 0, -5.710677e-06, 130.64507, 0, -40.693092, -89.28995, -3.9029874e-06, -0.655, 93.72745, -22.676085, -9.912031e-07, 0, 0, -5.524909e-06, 126.39518, 0, -22.676085, -93.72745, -4.0969567e-06, -0.655, -100.97472, 18.656967, 8.1552196e-07, 1.54, 0, -6.09764e-06, 139.49774, 0, 18.656967, 100.97472, 4.413745e-06, -0.655, -77.22465, 74.896164, 3.2738153e-06, -1.54, 0, -4.883273e-06, 111.71626, 0, 74.896164, 77.22465, 3.3755966e-06, 0.655, -107.56353, -3.6739569, -1.6059376e-07, 0, 0, -4.8591305e-06, 111.16395, 0, -3.6739569, 107.56353, 4.701751e-06, 0.655, -51.76757, -88.75239, -3.87949e-06, 1.54, 0, -5.404449e-06, 123.63938, 0, -88.75239, 51.76757, 2.2628324e-06, 0.655, -51.252262, -78.96487, -3.451664e-06, -1.54, 0, -5.822584e-06, 133.2052, 0, -78.96487, 51.252262, 2.2403076e-06, 1.965, 60.839096, -75.0028, -3.2784765e-06, 0, 0, -5.0207327e-06, 114.86098, 0, -75.0028, -60.839096, -2.6593614e-06, 1.965, 45.102516, 86.25432, 3.770296e-06, 1.54, 0, -5.1689008e-06, 118.25066, 0, 86.25432, -45.102516, -1.9714937e-06, 1.965, -45.774887, -84.27777, -3.6838983e-06, -1.54, 0, -4.688764e-06, 107.26642, 0, -84.27777, 45.774887, 2.0008838e-06, 3.275, 37.557453, 100.526955, 4.3941727e-06, 0, 0, -6.3959105e-06, 146.32138, 0, 100.526955, -37.557453, -1.6416884e-06, 3.275, 98.38241, -9.890756, -4.3233865e-07, 1.54, 0, -3.9307392e-06, 89.924835, 0, -9.890756, -98.38241, -4.3004316e-06, 3.275, 103.54028, 4.9839153, 2.1785385e-07, -1.54, 0, -6.069105e-06, 138.84494, 0, 4.9839153, -103.54028, -4.5258894e-06, 4.585, 102.36956, 24.521513, 1.0718694e-06, 0, 0, -4.044734e-06, 92.53273, 0, 24.521513, -102.36956, -4.4747158e-06, 4.585, 105.1959, 7.585843, 3.3158773e-07, 1.54, 0, -6.167206e-06, 141.08922, 0, 7.585843, -105.1959, -4.598259e-06, 4.585, 73.95148, 55.84805, 2.4411959e-06, -1.54, 0, -3.8557673e-06, 88.20968, 0, 55.84805, -73.95148, -3.2325217e-06, 5.895, -40.48249, 80.52682, 3.519939e-06, 0, 0, -3.6236802e-06, 82.90014, 0, 80.52682, 40.48249, 1.7695459e-06, 5.895, 64.16195, -67.11791, -2.933817e-06, 1.54, 0, -6.2094355e-06, 142.05533, 0, -67.11791, -64.16195, -2.804608e-06, 5.895, 8.926217, 91.20872, 3.9868596e-06, -1.54, 0, -5.248008e-06, 120.06043, 0, 91.20872, -8.926217, -3.9017735e-07, 7.205, -76.16213, 48.633587, 2.1258415e-06, 0, 0, -4.5697843e-06, 104.54448, 0, 48.633587, 76.16213, 3.3291526e-06, 7.205, -5.050711, -92.44421, -4.0408645e-06, 1.54, 0, -5.142215e-06, 117.64016, 0, -92.44421, 5.050711, 2.207736e-07, 7.205)
[sub_resource type="NavigationMesh" id="NavigationMesh_3yqrh"]
vertices = PackedVector3Array(-8.4942665, 0.45926487, -8.623274, -8.4942665, 0.45926487, 8.626726, -3.4942665, 0.45926487, 8.626726, -3.4942665, 0.45926487, -8.623274, 3.5057335, 0.45926487, -8.623274, 3.5057335, 0.45926487, 8.626726, 8.5057335, 0.45926487, 8.626726, 8.5057335, 0.45926487, -8.623274)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1), PackedInt32Array(7, 6, 4), PackedInt32Array(4, 6, 5)]
geometry_source_geometry_mode = 2
geometry_source_group_name = &"FieldNav"
[node name="chunk_country_straight_03" unique_id=626808879 instance=ExtResource("1_qbuc6")]
script = ExtResource("2_pqomp")
uniqueness = 1
north = true
south = true
[node name="Argini_003" parent="." index="0" unique_id=509439881]
[node name="Argini_003" parent="." index="0" unique_id=1178813592]
surface_material_override/0 = ExtResource("3_2v6k0")
[node name="Grass_005" parent="." index="1" unique_id=188609017 groups=["weather_vegetables_node", "wind_node"]]
[node name="Grass_005" parent="." index="1" unique_id=1427965126 groups=["weather_vegetables_node", "wind_node"]]
surface_material_override/0 = ExtResource("3_2v6k0")
[node name="MSH_Staccioanta_1_002" parent="." index="2" unique_id=746941179]
[node name="MSH_Staccioanta_1_002" parent="." index="2" unique_id=562234307]
surface_material_override/0 = ExtResource("4_c5xvt")
[node name="Strada_004" parent="." index="3" unique_id=604168900 groups=["weather_node"]]
[node name="Strada_004" parent="." index="3" unique_id=387203009 groups=["weather_node"]]
surface_material_override/0 = ExtResource("5_dhwpq")
[node name="Water_004" parent="." index="4" unique_id=244513747]
[node name="Water_004" parent="." index="4" unique_id=1258756459 groups=["FieldNav"]]
surface_material_override/0 = ExtResource("6_8bmw0")
[node name="grass" type="Node3D" parent="." index="5" unique_id=1540226859 groups=["weather_vegetables_node", "wind_node"]]
@@ -175,3 +182,17 @@ altezza_massima = 1.5
[node name="field_big2" parent="." index="14" unique_id=786719417 groups=["weather_node"] instance=ExtResource("24_i8dxe")]
transform = Transform3D(-4.371139e-08, 0, -0.8995179, 0, 1, 0, 1, 0, -3.9319175e-08, -6.073056, 0, 0.09082699)
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="." index="15" unique_id=1710796225]
navigation_mesh = SubResource("NavigationMesh_3yqrh")
navigation_layers = 2
[node name="Spawn_Farmer2" type="Marker3D" parent="NavigationRegion3D" index="0" unique_id=1063503185]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.385668, 0.8148663, 0.50232124)
script = ExtResource("25_pqdb4")
allowed_type = 1
[node name="Spawn_Farmer3" type="Marker3D" parent="NavigationRegion3D" index="1" unique_id=1275960828]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.456726, 0.8148663, -4.201037)
script = ExtResource("25_pqdb4")
allowed_type = 1

View File

@@ -28,6 +28,7 @@
[ext_resource type="ArrayMesh" uid="uid://c2tkniimk7ty1" path="res://tgcc/chunk/prop/fields/potato/potato.res" id="26_sa8j3"]
[ext_resource type="ArrayMesh" uid="uid://3xdihj6bgthr" path="res://tgcc/chunk/prop/fields/carrot/carrot.res" id="27_wx70f"]
[ext_resource type="PackedScene" uid="uid://cqstxvrtabka3" path="res://tgcc/chunk/prop/fields/field_big.tscn" id="28_05rnc"]
[ext_resource type="Script" uid="uid://c5ercbqy7srx3" path="res://core/biome_generator/entity_spawn_point.gd" id="29_4gdes"]
[sub_resource type="PlaneMesh" id="PlaneMesh_cnnpi"]
size = Vector2(0.5, 0.5)
@@ -107,65 +108,79 @@ instance_count = 24
mesh = ExtResource("27_wx70f")
buffer = PackedFloat32Array(-1.345079, -104.836205, -4.582536e-06, -1.51, 0, -5.087695e-06, 116.3929, 0, -104.836205, 1.345079, 5.879527e-08, -7.205, -23.050655, -89.78343, -3.9245583e-06, 1.51, 0, -5.4507746e-06, 124.69919, 0, -89.78343, 23.050655, 1.0075762e-06, -7.205, -0.94479823, 98.3777, 4.300226e-06, -1.51, 0, -5.36846e-06, 122.81604, 0, 98.3777, 0.94479823, 4.1298442e-08, -5.895, -45.15469, 98.192276, 4.2921206e-06, 1.51, 0, -5.5216424e-06, 126.32045, 0, 98.192276, 45.15469, 1.9737743e-06, -5.895, 51.523067, 73.95281, 3.2325802e-06, -1.51, 0, -6.092778e-06, 139.38652, 0, 73.95281, -51.523067, -2.252145e-06, -4.585, 36.539158, 90.88779, 3.9728316e-06, 1.51, 0, -4.4215008e-06, 101.152145, 0, 90.88779, -36.539158, -1.5971773e-06, -4.585, -39.408787, 95.364525, 4.1685157e-06, -1.51, 0, -5.5878354e-06, 127.83478, 0, 95.364525, 39.408787, 1.7226128e-06, -3.275, -91.232216, 37.590523, 1.6431339e-06, 1.51, 0, -4.584668e-06, 104.88499, 0, 37.590523, 91.232216, 3.987887e-06, -3.275, -30.47723, 103.22197, 4.5119755e-06, -1.51, 0, -6.1808396e-06, 141.40112, 0, 103.22197, 30.47723, 1.332202e-06, -1.965, -8.005614, 101.21251, 4.424139e-06, 1.51, 0, -5.9242852e-06, 135.53185, 0, 101.21251, 8.005614, 3.4993653e-07, -1.965, 99.09663, 43.66117, 1.9084905e-06, -1.51, 0, -3.7775778e-06, 86.420906, 0, 43.66117, -99.09663, -4.3316513e-06, -0.655, -91.12723, 15.849931, 6.928225e-07, 1.51, 0, -4.001862e-06, 91.55193, 0, 15.849931, 91.12723, 3.9832976e-06, -0.655, -91.18811, -34.03817, -1.4878557e-06, -1.51, 0, -4.1619082e-06, 95.21336, 0, -34.03817, 91.18811, 3.9859588e-06, 0.655, 23.023481, -104.47969, -4.566952e-06, 1.51, 0, -6.165871e-06, 141.05869, 0, -104.47969, -23.023481, -1.0063883e-06, 0.655, 66.909645, 65.55669, 2.8655738e-06, -1.51, 0, -5.750461e-06, 131.5552, 0, 65.55669, -66.909645, -2.9247135e-06, 1.965, 89.28995, -40.693092, -1.7787515e-06, 1.51, 0, -5.710677e-06, 130.64507, 0, -40.693092, -89.28995, -3.9029874e-06, 1.965, 93.72745, -22.676085, -9.912031e-07, -1.51, 0, -5.524909e-06, 126.39518, 0, -22.676085, -93.72745, -4.0969567e-06, 3.275, -100.97472, 18.656967, 8.1552196e-07, 1.51, 0, -6.09764e-06, 139.49774, 0, 18.656967, 100.97472, 4.413745e-06, 3.275, -77.22465, 74.896164, 3.2738153e-06, -1.51, 0, -4.883273e-06, 111.71626, 0, 74.896164, 77.22465, 3.3755966e-06, 4.585, -107.56353, -3.6739569, -1.6059376e-07, 1.51, 0, -4.8591305e-06, 111.16395, 0, -3.6739569, 107.56353, 4.701751e-06, 4.585, -51.76757, -88.75239, -3.87949e-06, -1.51, 0, -5.404449e-06, 123.63938, 0, -88.75239, 51.76757, 2.2628324e-06, 5.895, -51.252262, -78.96487, -3.451664e-06, 1.51, 0, -5.822584e-06, 133.2052, 0, -78.96487, 51.252262, 2.2403076e-06, 5.895, 60.839096, -75.0028, -3.2784765e-06, -1.51, 0, -5.0207327e-06, 114.86098, 0, -75.0028, -60.839096, -2.6593614e-06, 7.205, 45.102516, 86.25432, 3.770296e-06, 1.51, 0, -5.1689008e-06, 118.25066, 0, 86.25432, -45.102516, -1.9714937e-06, 7.205)
[sub_resource type="NavigationMesh" id="NavigationMesh_88rdk"]
vertices = PackedVector3Array(-3, 0.45649588, -8.165606, -3.25, 0.45649588, -8.915606, -4.25, 0.45649588, -8.915606, -4.5, 0.45649588, -8.165606, -3, 0.45649588, -6.9156055, -6.5, 0.45649588, -1.4156055, -9.5, 0.45649588, -1.1656055, -9.5, 0.45649588, 1.0843945, 1, 0.45649588, 1.0843945, -1.25, 0.45649588, -1.1656055, -5, 0.45649588, -1.4156055, -6.75, 0.45649588, -6.4156055, -9, 0.45649588, -6.4156055, -9, 0.45649588, -5.4156055, -6.5, 0.45649588, -5.1656055, -5, 0.45649588, -5.1656055, -3.25, 0.45649588, -5.4156055, -6.5, 0.45649588, -8.165606, 1, 0.45649588, -4.6656055, -1, 0.45649588, -4.6656055, 0.25, 0.45649588, -6.9156055, 0.25, 0.45649588, -8.165606)
polygons = [PackedInt32Array(1, 0, 2), PackedInt32Array(2, 0, 3), PackedInt32Array(3, 0, 4), PackedInt32Array(5, 10, 6), PackedInt32Array(6, 10, 7), PackedInt32Array(7, 10, 9), PackedInt32Array(7, 9, 8), PackedInt32Array(15, 14, 11), PackedInt32Array(11, 14, 13), PackedInt32Array(11, 13, 12), PackedInt32Array(5, 14, 10), PackedInt32Array(10, 14, 15), PackedInt32Array(16, 15, 4), PackedInt32Array(4, 15, 3), PackedInt32Array(3, 15, 11), PackedInt32Array(3, 11, 17), PackedInt32Array(19, 18, 9), PackedInt32Array(9, 18, 8), PackedInt32Array(0, 21, 4), PackedInt32Array(4, 21, 20)]
geometry_source_geometry_mode = 2
geometry_source_group_name = &"RoadNav"
[sub_resource type="NavigationMesh" id="NavigationMesh_4gdes"]
vertices = PackedVector3Array(3.507262, 0.45926487, -8.623274, 3.507262, 0.45926487, 8.626726, 8.507262, 0.45926487, 8.626726, 8.507262, 0.45926487, -8.623274)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1)]
geometry_source_geometry_mode = 2
geometry_source_group_name = &"FieldNav"
[node name="Chunk_R_T1_1" unique_id=1445877410 instance=ExtResource("1_jq3uq")]
script = ExtResource("2_8i0gc")
west = true
river_south = true
[node name="Argini_013" parent="." index="0" unique_id=1399541549]
[node name="Argini_013" parent="." index="0" unique_id=469582477]
surface_material_override/0 = ExtResource("3_sa8j3")
[node name="Argini_F_005" parent="." index="1" unique_id=848465495]
[node name="Argini_F_005" parent="." index="1" unique_id=1834072449]
surface_material_override/0 = ExtResource("3_sa8j3")
[node name="Cart_003" parent="." index="2" unique_id=1449498524 groups=["weather_node"]]
[node name="Cart_003" parent="." index="2" unique_id=502294431 groups=["weather_node"]]
[node name="Cavi_008" parent="." index="3" unique_id=28113039]
[node name="Cavi_008" parent="." index="3" unique_id=703264924]
cast_shadow = 0
surface_material_override/0 = ExtResource("4_wx70f")
surface_material_override/1 = ExtResource("4_wx70f")
[node name="Cortile_006" parent="." index="4" unique_id=12586199 groups=["weather_node"]]
[node name="Cortile_006" parent="." index="4" unique_id=2017701780 groups=["RoadNav", "weather_node"]]
surface_material_override/0 = ExtResource("5_05rnc")
[node name="Cube_036" parent="." index="5" unique_id=1681749225]
[node name="Cube_036" parent="." index="5" unique_id=2095890038]
surface_material_override/0 = ExtResource("6_7rejc")
[node name="Flower_012" parent="." index="6" unique_id=1658863149]
[node name="Flower_012" parent="." index="6" unique_id=772055997]
visible = false
[node name="FlowerG_011" parent="." index="7" unique_id=268762088]
[node name="FlowerG_011" parent="." index="7" unique_id=96396983]
visible = false
[node name="Grass_016" parent="." index="8" unique_id=1026053750]
[node name="Grass_016" parent="." index="8" unique_id=1087577752]
surface_material_override/0 = ExtResource("3_sa8j3")
[node name="House_M_3_001" parent="." index="9" unique_id=1585253358 groups=["weather_node"]]
[node name="House_M_3_001" parent="." index="9" unique_id=1404886979 groups=["weather_node"]]
[node name="House_M_3_001|Cube_212|Dupli|" parent="House_M_3_001" index="0" unique_id=2132520415]
[node name="House_M_3_001|Cube_212|Dupli|" parent="House_M_3_001" index="0" unique_id=1236693884]
surface_material_override/0 = ExtResource("7_pj11p")
surface_material_override/1 = ExtResource("8_4mu8m")
[node name="Lanterne_008" parent="." index="10" unique_id=703742277]
[node name="Lanterne_008" parent="." index="10" unique_id=1036407616]
cast_shadow = 0
surface_material_override/0 = ExtResource("8_4mu8m")
surface_material_override/1 = ExtResource("7_pj11p")
[node name="MSH_Staccioanta_1_013" parent="." index="11" unique_id=1793533633]
[node name="MSH_Staccioanta_1_013" parent="." index="11" unique_id=325488463]
surface_material_override/0 = ExtResource("9_k8kbp")
[node name="PaliLuci_006" parent="." index="12" unique_id=635052574]
[node name="PaliLuci_006" parent="." index="12" unique_id=1932587320]
surface_material_override/0 = ExtResource("10_tccu3")
surface_material_override/1 = ExtResource("10_tccu3")
[node name="Panchina_001" parent="." index="13" unique_id=1785861878 groups=["weather_node"]]
[node name="Panchina_001" parent="." index="13" unique_id=1203402246 groups=["weather_node"]]
surface_material_override/0 = ExtResource("10_tccu3")
[node name="Strada_012" parent="." index="14" unique_id=97571950 groups=["weather_node"]]
[node name="Strada_012" parent="." index="14" unique_id=1624218758 groups=["RoadNav", "weather_node"]]
surface_material_override/0 = ExtResource("5_05rnc")
[node name="Water_014" parent="." index="15" unique_id=2046216844]
[node name="Water_014" parent="." index="15" unique_id=1408331923 groups=["FieldNav"]]
surface_material_override/0 = ExtResource("11_shls7")
[node name="Water_F_005" parent="." index="16" unique_id=708909097]
[node name="Water_F_005" parent="." index="16" unique_id=1486142484]
surface_material_override/0 = ExtResource("12_545ly")
[node name="grass" type="Node3D" parent="." index="17" unique_id=64319559 groups=["weather_vegetables_node", "wind_node"]]
@@ -349,3 +364,41 @@ altezza_massima = 1.5
[node name="field_big" parent="." index="31" unique_id=1977343402 groups=["weather_node"] instance=ExtResource("28_05rnc")]
transform = Transform3D(-4.371139e-08, 0, -0.8995179, 0, 1, 0, 1, 0, -3.9319175e-08, 5.9860773, 0, 0.09082699)
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="." index="32" unique_id=1449477549]
navigation_mesh = SubResource("NavigationMesh_88rdk")
[node name="Spawn_Cat" type="Marker3D" parent="NavigationRegion3D" index="0" unique_id=445333839]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.074685454, 0)
script = ExtResource("29_4gdes")
allowed_type = 4
[node name="Spawn_Crow" type="Marker3D" parent="NavigationRegion3D" index="1" unique_id=555989040]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.6934576, 4.9507327, 5.5141377)
script = ExtResource("29_4gdes")
allowed_type = 5
[node name="Spawn_Crow2" type="Marker3D" parent="NavigationRegion3D" index="2" unique_id=858051656]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.115467, 4.917306, 5.5141377)
script = ExtResource("29_4gdes")
allowed_type = 5
[node name="Spawn_Crow3" type="Marker3D" parent="NavigationRegion3D" index="3" unique_id=1488370514]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.263092, 4.971624, 5.5141377)
script = ExtResource("29_4gdes")
allowed_type = 5
[node name="Spawn_CitizenSit" type="Marker3D" parent="NavigationRegion3D" index="4" unique_id=1194099587]
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -9.262991, 0.8720734, -6.173548)
script = ExtResource("29_4gdes")
allowed_type = 3
random_y_rotation = false
[node name="NavigationRegion3D2" type="NavigationRegion3D" parent="." index="33" unique_id=1382135459]
navigation_mesh = SubResource("NavigationMesh_4gdes")
navigation_layers = 2
[node name="Spawn_CitizenSit" type="Marker3D" parent="NavigationRegion3D2" index="0" unique_id=1750105763]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.989341, 0.8148663, -0.7304845)
script = ExtResource("29_4gdes")
allowed_type = 1

View File

@@ -16,6 +16,7 @@
[ext_resource type="PackedScene" uid="uid://dn2b3f3nr6btn" path="res://tgcc/chunk/prop/scarecrow/scarecrow3.tscn" id="14_1f22t"]
[ext_resource type="PackedScene" uid="uid://cn2n7ehlt6hya" path="res://tgcc/chunk/prop/empty.tscn" id="15_exqiu"]
[ext_resource type="Script" uid="uid://772g681sfkme" path="res://tgcc/chunk/prop/rice/rice.gd" id="16_egqvh"]
[ext_resource type="Script" uid="uid://c5ercbqy7srx3" path="res://core/biome_generator/entity_spawn_point.gd" id="17_hk2cn"]
[sub_resource type="PlaneMesh" id="PlaneMesh_mm7rq"]
size = Vector2(0.5, 0.5)
@@ -65,6 +66,12 @@ instance_count = 36
mesh = SubResource("PlaneMesh_hk2cn")
buffer = PackedFloat32Array(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0.78, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1.56, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 2.34, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 3.12, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 3.9, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0.92, 1, 0, 0, 0.78, 0, 1, 0, 0, 0, 0, 1, 0.92, 1, 0, 0, 1.56, 0, 1, 0, 0, 0, 0, 1, 0.92, 1, 0, 0, 2.34, 0, 1, 0, 0, 0, 0, 1, 0.92, 1, 0, 0, 3.12, 0, 1, 0, 0, 0, 0, 1, 0.92, 1, 0, 0, 3.9, 0, 1, 0, 0, 0, 0, 1, 0.92, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1.84, 1, 0, 0, 0.78, 0, 1, 0, 0, 0, 0, 1, 1.84, 1, 0, 0, 1.56, 0, 1, 0, 0, 0, 0, 1, 1.84, 1, 0, 0, 2.34, 0, 1, 0, 0, 0, 0, 1, 1.84, 1, 0, 0, 3.12, 0, 1, 0, 0, 0, 0, 1, 1.84, 1, 0, 0, 3.9, 0, 1, 0, 0, 0, 0, 1, 1.84, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 2.76, 1, 0, 0, 0.78, 0, 1, 0, 0, 0, 0, 1, 2.76, 1, 0, 0, 1.56, 0, 1, 0, 0, 0, 0, 1, 2.76, 1, 0, 0, 2.34, 0, 1, 0, 0, 0, 0, 1, 2.76, 1, 0, 0, 3.12, 0, 1, 0, 0, 0, 0, 1, 2.76, 1, 0, 0, 3.9, 0, 1, 0, 0, 0, 0, 1, 2.76, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 3.68, 1, 0, 0, 0.78, 0, 1, 0, 0, 0, 0, 1, 3.68, 1, 0, 0, 1.56, 0, 1, 0, 0, 0, 0, 1, 3.68, 1, 0, 0, 2.34, 0, 1, 0, 0, 0, 0, 1, 3.68, 1, 0, 0, 3.12, 0, 1, 0, 0, 0, 0, 1, 3.68, 1, 0, 0, 3.9, 0, 1, 0, 0, 0, 0, 1, 3.68, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 4.6, 1, 0, 0, 0.78, 0, 1, 0, 0, 0, 0, 1, 4.6, 1, 0, 0, 1.56, 0, 1, 0, 0, 0, 0, 1, 4.6, 1, 0, 0, 2.34, 0, 1, 0, 0, 0, 0, 1, 4.6, 1, 0, 0, 3.12, 0, 1, 0, 0, 0, 0, 1, 4.6, 1, 0, 0, 3.9, 0, 1, 0, 0, 0, 0, 1, 4.6)
[sub_resource type="NavigationMesh" id="NavigationMesh_g8a2q"]
vertices = PackedVector3Array(0.5998049, 0.45918328, -3.4942656, 0.5998049, 0.45918328, -8.494266, -8.650195, 0.45918328, -8.494266, -8.650195, 0.45918328, -3.4942656, 2.5998049, 0.45918328, -3.4942656, 2.8498049, 0.45918328, -1.7442656, 8.599805, 0.45918328, -1.9942656, 8.599805, 0.45918328, -8.494266, 2.8498049, 0.45918328, 8.505734, 8.599805, 0.45918328, 8.505734, -8.650195, 0.45918328, 2.7557344, -8.650195, 0.45918328, 8.755734, -2.6501951, 0.45918328, 8.755734, -2.6501951, 0.45918328, 2.7557344)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1), PackedInt32Array(4, 0, 1), PackedInt32Array(6, 5, 4), PackedInt32Array(6, 4, 7), PackedInt32Array(7, 4, 1), PackedInt32Array(8, 5, 9), PackedInt32Array(9, 5, 6), PackedInt32Array(13, 12, 10), PackedInt32Array(10, 12, 11)]
geometry_source_geometry_mode = 2
geometry_source_group_name = &"FieldNav"
[node name="chunk_country_corner_01" unique_id=200417581 node_paths=PackedStringArray("connection_left", "connection_right") instance=ExtResource("1_0ffx4")]
script = ExtResource("2_4d433")
south = true
@@ -73,19 +80,19 @@ have_lamppost = true
connection_left = [NodePath("PaloLuce/sx")]
connection_right = [NodePath("PaloLuce/dx")]
[node name="Argini_001" parent="." index="0" unique_id=1474838784]
[node name="Argini_001" parent="." index="0" unique_id=439223507]
surface_material_override/0 = ExtResource("2_ewqv4")
[node name="Chunk_005" parent="." index="1" unique_id=844192036]
[node name="Chunk_005" parent="." index="1" unique_id=1955568282]
surface_material_override/0 = ExtResource("2_ewqv4")
[node name="Chunk_036" parent="." index="2" unique_id=1584066508 groups=["weather_node"]]
[node name="Chunk_036" parent="." index="2" unique_id=1808067169 groups=["weather_node"]]
surface_material_override/0 = ExtResource("3_4d433")
[node name="Chunk_037" parent="." index="3" unique_id=1100757609 groups=["weather_node"]]
[node name="Chunk_037" parent="." index="3" unique_id=1338393481 groups=["weather_node"]]
surface_material_override/0 = ExtResource("3_4d433")
[node name="Water_003" parent="." index="4" unique_id=1047599796]
[node name="Water_003" parent="." index="4" unique_id=1175879696 groups=["FieldNav"]]
surface_material_override/0 = ExtResource("4_r06ll")
[node name="grass" type="Node3D" parent="." index="5" unique_id=924191951 groups=["weather_vegetables_node", "wind_node"]]
@@ -162,4 +169,18 @@ colonne = 6
distanza_righe = 0.92
distanza_colonne = 0.78
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="." index="12" unique_id=309021346]
navigation_mesh = SubResource("NavigationMesh_g8a2q")
navigation_layers = 2
[node name="Spawn_Farmer2" type="Marker3D" parent="NavigationRegion3D" index="0" unique_id=738919431]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.272437, 0.8148663, -5.685169)
script = ExtResource("17_hk2cn")
allowed_type = 1
[node name="Spawn_Farmer3" type="Marker3D" parent="NavigationRegion3D" index="1" unique_id=754229608]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.7657824, 0.8148663, 0.68997955)
script = ExtResource("17_hk2cn")
allowed_type = 1
[editable path="PaloLuce"]

View File

@@ -125,65 +125,67 @@ have_lamppost = true
connection_left = [NodePath("PaloLuce/sx")]
connection_right = [NodePath("PaloLuce/dx")]
[node name="Cavi_001" parent="." index="0" unique_id=1489236714]
[node name="Cavi_001" parent="." index="0" unique_id=1776585264]
cast_shadow = 0
surface_material_override/0 = ExtResource("2_skxxm")
[node name="Cube_227" parent="." index="1" unique_id=1343854496 groups=["weather_node"]]
[node name="Cube_227" parent="." index="1" unique_id=2133644431 groups=["weather_node"]]
surface_material_override/0 = ExtResource("3_xcce4")
surface_material_override/1 = ExtResource("4_w66q1")
[node name="Flower_003" parent="." index="2" unique_id=588414494]
[node name="Flower_003" parent="." index="2" unique_id=895385463]
visible = false
[node name="FlowerG" parent="." index="3" unique_id=1148144861]
[node name="FlowerG" parent="." index="3" unique_id=271983880]
visible = false
[node name="Grass_004" parent="." index="4" unique_id=1413022109]
[node name="Grass_004" parent="." index="4" unique_id=433080384]
surface_material_override/0 = ExtResource("5_rqsxa")
[node name="House_M_4" parent="." index="5" unique_id=846909534 groups=["weather_node"]]
[node name="House_M_4" parent="." index="5" unique_id=1042574904 groups=["weather_node"]]
[node name="House_M_4|Cube_357|Dupli|" parent="House_M_4" index="0" unique_id=1022330799]
[node name="House_M_4|Cube_357|Dupli|" parent="House_M_4" index="0" unique_id=374531053]
surface_material_override/0 = ExtResource("6_333a0")
surface_material_override/1 = ExtResource("4_w66q1")
[node name="House_M_4_001" parent="." index="6" unique_id=2014179807 groups=["weather_node"]]
[node name="House_M_4_001" parent="." index="6" unique_id=1658008130 groups=["weather_node"]]
[node name="House_M_4_001|Cube_357|Dupli|" parent="House_M_4_001" index="0" unique_id=1963982809]
[node name="House_M_4_001|Cube_357|Dupli|" parent="House_M_4_001" index="0" unique_id=2144242896]
surface_material_override/0 = ExtResource("6_333a0")
surface_material_override/1 = ExtResource("4_w66q1")
[node name="Lanterne_001" parent="." index="7" unique_id=877080306]
[node name="Lanterne_001" parent="." index="7" unique_id=267697647]
cast_shadow = 0
surface_material_override/0 = ExtResource("4_w66q1")
surface_material_override/1 = ExtResource("6_333a0")
[node name="MSH_Staccioanta_1_001" parent="." index="8" unique_id=2137478487]
[node name="MSH_Staccioanta_1_001" parent="." index="8" unique_id=1657352292]
surface_material_override/0 = ExtResource("7_333a0")
[node name="Palo_001" parent="." index="9" unique_id=1395117968]
[node name="Palo_001" parent="." index="9" unique_id=910139738]
visible = false
surface_material_override/0 = ExtResource("8_cbpyt")
surface_material_override/1 = ExtResource("8_tnnlv")
[node name="Panchine_001" parent="." index="10" unique_id=1252724017 groups=["weather_node"]]
[node name="Panchine_001" parent="." index="10" unique_id=1603364499 groups=["weather_node"]]
surface_material_override/0 = ExtResource("7_333a0")
[node name="Rocks" parent="." index="11" unique_id=395080391 groups=["weather_node"]]
[node name="Rocks" parent="." index="11" unique_id=533371511 groups=["weather_node"]]
surface_material_override/0 = ExtResource("8_cbpyt")
surface_material_override/1 = ExtResource("3_xcce4")
surface_material_override/2 = ExtResource("3_xcce4")
[node name="Santuario" parent="." index="12" unique_id=1075151573 groups=["weather_node"]]
[node name="Santuario" parent="." index="12" unique_id=1486207544 groups=["weather_node"]]
surface_material_override/0 = ExtResource("8_tnnlv")
surface_material_override/1 = ExtResource("3_xcce4")
[node name="Strada" parent="." index="13" unique_id=1300376742 groups=["weather_node"]]
[node name="Strada" parent="." index="13" unique_id=452244546 groups=["weather_node"]]
surface_material_override/0 = ExtResource("11_5yfr5")
[node name="Terreno_002" parent="." index="14" unique_id=1672498777 groups=["weather_node"]]
[node name="Terreno_002" parent="." index="14" unique_id=1020879859 groups=["weather_node"]]
surface_material_override/0 = ExtResource("11_5yfr5")
[node name="tree_PH" parent="." index="15" unique_id=850970876 groups=["weather_node", "wind_node"]]
[node name="tree_PH" parent="." index="15" unique_id=1550954564 groups=["weather_node", "wind_node"]]
visible = false
[node name="grass" type="Node3D" parent="." index="16" unique_id=607638887 groups=["weather_vegetables_node", "wind_node"]]
@@ -233,19 +235,19 @@ multimesh = SubResource("MultiMesh_mkuur")
[node name="TreeTest3" parent="." index="18" unique_id=1532527216 instance=ExtResource("18_fqrww")]
transform = Transform3D(-0.13587202, 0, -0.8694474, 0, 0.88, 0, 0.8694474, 0, -0.13587202, 5.7668495, -0.16967964, -8.851597)
[node name="MultiMeshInstance3D" parent="TreeTest3/Leaf" parent_id_path=PackedInt32Array(1532527216, 225495443) index="0" unique_id=153924119]
[node name="MultiMeshInstance3D" parent="TreeTest3/Leaf" parent_id_path=PackedInt32Array(1532527216, 267178995) index="0" unique_id=153924119]
material_override = SubResource("ShaderMaterial_mkuur")
[node name="TreeTest4" parent="." index="19" unique_id=523194273 instance=ExtResource("18_fqrww")]
transform = Transform3D(0.5726346, 0, 0.6681987, 0, 0.8800001, 0, -0.6681987, 0, 0.5726346, 8.081164, -0.16967964, -5.0532355)
[node name="MultiMeshInstance3D" parent="TreeTest4/Leaf" parent_id_path=PackedInt32Array(523194273, 225495443) index="0" unique_id=153924119]
[node name="MultiMeshInstance3D" parent="TreeTest4/Leaf" parent_id_path=PackedInt32Array(523194273, 267178995) index="0" unique_id=153924119]
material_override = SubResource("ShaderMaterial_mkuur")
[node name="TreeTest5" parent="." index="20" unique_id=1732926892 instance=ExtResource("18_fqrww")]
transform = Transform3D(0.65072113, 0, 0.7593168, 0, 1, 0, -0.7593168, 0, 0.65072113, -6.0227623, -0.16967964, 5.4480567)
[node name="MultiMeshInstance3D" parent="TreeTest5/Leaf" parent_id_path=PackedInt32Array(1732926892, 225495443) index="0" unique_id=153924119]
[node name="MultiMeshInstance3D" parent="TreeTest5/Leaf" parent_id_path=PackedInt32Array(1732926892, 267178995) index="0" unique_id=153924119]
material_override = SubResource("ShaderMaterial_mkuur")
[node name="shadow" type="Node3D" parent="." index="21" unique_id=889585033]
@@ -413,7 +415,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.2890406, 0, -1.3165996)
[node name="bike" parent="." index="28" unique_id=2050296111 groups=["weather_node"] instance=ExtResource("23_nv46h")]
transform = Transform3D(0.9310749, 0.36482805, 0, -0.36482805, 0.9310749, 0, 0, 0, 1, 1.0573567, 0, 0.05725062)
[node name="Bike" parent="bike" index="0" unique_id=739149734]
[node name="Bike" parent="bike" index="0" unique_id=1954936081]
surface_material_override/0 = SubResource("ShaderMaterial_kqjt3")
[node name="Prop7" type="Marker3D" parent="." index="29" unique_id=75694417]

View File

@@ -38,6 +38,7 @@
[ext_resource type="Script" uid="uid://772g681sfkme" path="res://tgcc/chunk/prop/rice/rice.gd" id="38_01xxy"]
[ext_resource type="ArrayMesh" uid="uid://bg5rfu7tyl3p8" path="res://tgcc/chunk/prop/tree/bambu/Bambu.res" id="38_lu054"]
[ext_resource type="Script" uid="uid://cp1pb5dnuojg3" path="res://tgcc/chunk/prop/tree/bambu/bambu.gd" id="39_c1o47"]
[ext_resource type="Script" uid="uid://c5ercbqy7srx3" path="res://core/biome_generator/entity_spawn_point.gd" id="39_lu054"]
[sub_resource type="PlaneMesh" id="PlaneMesh_kiycf"]
size = Vector2(0.5, 0.5)
@@ -105,6 +106,18 @@ instance_count = 29
mesh = ExtResource("38_lu054")
buffer = PackedFloat32Array(-0.06664866, -5.194634, -2.2706466e-07, -0.2425, 0, -3.70015e-07, 8.464956, 0, -5.194634, 0.06664866, 2.9133056e-09, -3.185, -1.1421599, -4.4487686, -1.9446185e-07, 0.2425, 0, -4.0701795e-07, 9.311485, 0, -4.4487686, 1.1421599, 4.9925397e-08, -3.185, -0.046814755, 4.874615, 2.1307619e-07, -0.2425, 0, -3.9862888e-07, 9.119566, 0, 4.874615, 0.046814755, 2.046338e-09, -2.73, -2.237415, 4.8654275, 2.1267459e-07, 0.2425, 0, -4.1424042e-07, 9.476716, 0, 4.8654275, 2.237415, 9.7800516e-08, -2.73, 2.552968, 3.664362, 1.6017435e-07, -0.2425, 0, -4.7244734e-07, 10.808335, 0, 3.664362, -2.552968, -1.1159378e-07, -2.275, 1.8105153, 4.50349, 1.968538e-07, 0.2425, 0, -3.0212027e-07, 6.911706, 0, 4.50349, -1.8105153, -7.9140136e-08, -2.275, -1.9527054, 4.725312, 2.0654996e-07, -0.2425, 0, -4.2098645e-07, 9.631047, 0, 4.725312, 1.9527054, 8.535547e-08, -1.82, -4.520556, 1.8626103, 8.1417284e-08, 0.2425, 0, -3.187494e-07, 7.2921357, 0, 1.8626103, 4.520556, 1.9759977e-07, -1.82, -1.5101467, 5.1146483, 2.2356838e-07, -0.2425, 0, -4.81422e-07, 11.013651, 0, 5.1146483, 1.5101467, 6.6010614e-08, -1.365, -0.39667818, 5.0150795, 2.1921609e-07, 0.2425, 0, -4.5527548e-07, 10.415489, 0, 5.0150795, 0.39667818, 1.7339353e-08, -1.365, 4.910238, 2.163411, 9.456569e-08, -0.2425, 0, -2.3649532e-07, 5.4103823, 0, 2.163411, -4.910238, -2.1463332e-07, -0.91, -4.515354, 0.7853641, 3.4329354e-08, 0.2425, 0, -2.593531e-07, 5.933307, 0, 0.7853641, 4.515354, 1.973724e-07, -0.91, -4.518371, -1.6865913, -7.372324e-08, -0.2425, 0, -2.756641e-07, 6.3064594, 0, -1.6865913, 4.518371, 1.9750428e-07, -0.455, 1.1408135, -5.1769686, -2.2629249e-07, 0.2425, 0, -4.7989647e-07, 10.978751, 0, -5.1769686, -1.1408135, -4.986654e-08, -0.455, 3.315373, 3.248334, 1.4198919e-07, -0.2425, 0, -4.3756026e-07, 10.010212, 0, 3.248334, -3.315373, -1.4491955e-07, 0, 4.424317, -2.0163426, -8.8137135e-08, 0.2425, 0, -4.335058e-07, 9.917457, 0, -2.0163426, -4.424317, -1.9339303e-07, 0, 4.644195, -1.1235999, -4.911411e-08, -0.2425, 0, -4.1457332e-07, 9.484332, 0, -1.1235999, -4.644195, -2.0300422e-07, 0.455, -5.0032973, 0.9244527, 4.0409113e-08, 0.2425, 0, -4.729428e-07, 10.81967, 0, 0.9244527, 5.0032973, 2.1870108e-07, 0.455, -3.8264813, 3.711105, 1.6221756e-07, -0.2425, 0, -3.4918145e-07, 7.9883404, 0, 3.711105, 3.8264813, 1.6726081e-07, 0.91, -5.329773, -0.18204457, -7.9574205e-09, 0.2425, 0, -3.4672098e-07, 7.9320517, 0, -0.18204457, 5.329773, 2.3297177e-07, 0.91, -2.5650833, -4.3976808, -1.9222873e-07, -0.2425, 0, -4.0229676e-07, 9.203477, 0, -4.3976808, 2.5650833, 1.1212335e-07, 1.365, -2.5395496, -3.9127095, -1.7102997e-07, 0.2425, 0, -4.4491065e-07, 10.1783695, 0, -3.9127095, 2.5395496, 1.1100724e-07, 1.365, 3.0145772, -3.716389, -1.6244852e-07, -0.2425, 0, -3.6319054e-07, 8.308831, 0, -3.716389, -3.0145772, -1.3177136e-07, 1.82, 2.23483, 4.2739015, 1.8681817e-07, 0.2425, 0, -3.78291e-07, 8.654289, 0, 4.2739015, -2.23483, -9.768752e-08, 1.82, -2.2681458, -4.1759634, -1.8253716e-07, -0.2425, 0, -3.293582e-07, 7.5348372, 0, -4.1759634, 2.2681458, 9.9143804e-08, 2.275, 1.8609717, 4.9811106, 2.1773126e-07, 0.2425, 0, -5.033408e-07, 11.515096, 0, 4.9811106, -1.8609717, -8.1345654e-08, 2.275, 4.8748484, -0.49008697, -2.1422382e-08, -0.2425, 0, -2.5210466e-07, 5.7674823, 0, -0.49008697, -4.8748484, -2.130864e-07, 2.73, 5.1304207, 0.246953, 1.07946585e-08, 0.2425, 0, -4.700347e-07, 10.75314, 0, 0.246953, -5.1304207, -2.2425782e-07, 2.73, 5.0724115, 1.2150409, 5.3111126e-08, -0.2425, 0, -2.6372234e-07, 6.033264, 0, 1.2150409, -5.0724115, -2.2172215e-07, 3.185)
[sub_resource type="NavigationMesh" id="NavigationMesh_c1o47"]
vertices = PackedVector3Array(-8.522915, 0.45926487, -8.712563, -8.522915, 0.45926487, 8.537437, -3.522915, 0.45926487, 8.537437, -3.522915, 0.45926487, -8.712563)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1)]
geometry_source_geometry_mode = 2
geometry_source_group_name = &"FieldNav"
[sub_resource type="NavigationMesh" id="NavigationMesh_bri46"]
vertices = PackedVector3Array(0.9999995, 0.45649529, -1.499999, 0.9999995, 0.45649529, -9.499999, -1.0000005, 0.45649529, -9.499999, 1.2499995, 0.45649529, 1.000001, 9.5, 0.45649529, 1.000001, 9.5, 0.45649529, -1.249999, -1.0000005, 0.45649529, 9.500001, 1.2499995, 0.45649529, 9.500001)
polygons = [PackedInt32Array(2, 1, 0), PackedInt32Array(4, 3, 5), PackedInt32Array(5, 3, 0), PackedInt32Array(7, 6, 3), PackedInt32Array(3, 6, 0), PackedInt32Array(0, 6, 2)]
geometry_source_geometry_mode = 2
geometry_source_group_name = &"RoadNav"
[node name="chunk_country_cross3_02" unique_id=1492245999 instance=ExtResource("1_2emma")]
script = ExtResource("2_aoxux")
north = true
@@ -115,6 +128,7 @@ south = true
surface_material_override/0 = ExtResource("2_jaet5")
[node name="Cavi_004" parent="." index="1" unique_id=253539518]
cast_shadow = 0
surface_material_override/0 = ExtResource("3_k52wx")
surface_material_override/1 = ExtResource("3_k52wx")
@@ -140,6 +154,7 @@ surface_material_override/0 = ExtResource("4_yg4ko")
surface_material_override/1 = ExtResource("5_yk001")
[node name="Lanterne_002" parent="." index="7" unique_id=174576336]
cast_shadow = 0
surface_material_override/0 = ExtResource("5_yk001")
surface_material_override/1 = ExtResource("4_yg4ko")
@@ -150,10 +165,10 @@ surface_material_override/0 = ExtResource("6_k52wx")
surface_material_override/0 = ExtResource("7_yg4ko")
surface_material_override/1 = ExtResource("7_yg4ko")
[node name="Strada_008" parent="." index="10" unique_id=1328236486 groups=["weather_node"]]
[node name="Strada_008" parent="." index="10" unique_id=1328236486 groups=["RoadNav", "weather_node"]]
surface_material_override/0 = ExtResource("8_yk001")
[node name="Water_009" parent="." index="11" unique_id=803608688]
[node name="Water_009" parent="." index="11" unique_id=803608688 groups=["FieldNav"]]
surface_material_override/0 = ExtResource("9_gqoia")
[node name="grass" type="Node3D" parent="." index="12" unique_id=902068161 groups=["weather_vegetables_node", "wind_node"]]
@@ -376,3 +391,25 @@ spaziatura_z = 0.455
scala_correzione_xz = 4.955
scala_correzione_y = 5.945
altezza_massima = 2.0
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="." index="40" unique_id=732717416]
navigation_mesh = SubResource("NavigationMesh_c1o47")
navigation_layers = 2
[node name="Spawn_Farmer2" type="Marker3D" parent="NavigationRegion3D" index="0" unique_id=1410293374]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.385668, 0.8148663, 0.50232124)
script = ExtResource("39_lu054")
allowed_type = 1
[node name="NavigationRegion3D2" type="NavigationRegion3D" parent="." index="41" unique_id=68125176]
navigation_mesh = SubResource("NavigationMesh_bri46")
[node name="Spawn_FarmerWalk" type="Marker3D" parent="NavigationRegion3D2" index="0" unique_id=348429103]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.76657915, 0.8148663, -2.082574)
script = ExtResource("39_lu054")
allowed_type = 2
[node name="Spawn_Cat" type="Marker3D" parent="NavigationRegion3D2" index="1" unique_id=1491035868]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.276149, 0.055908084, 0.8512018)
script = ExtResource("39_lu054")
allowed_type = 4

View File

@@ -48,6 +48,7 @@
[ext_resource type="Texture2D" uid="uid://yiw6oo6d1nyf" path="res://tgcc/chunk/material/decal/station_hero_decal_emissiv.png" id="44_2i6ym"]
[ext_resource type="Texture2D" uid="uid://2sfs5ssqvxkp" path="res://tgcc/chunk/material/decal/Kombini2_decal.png" id="45_dj5qh"]
[ext_resource type="Texture2D" uid="uid://boldgmr377fbs" path="res://tgcc/chunk/material/decal/Kombini2_decal_emissiv.png" id="46_n7dly"]
[ext_resource type="Script" uid="uid://c5ercbqy7srx3" path="res://core/biome_generator/entity_spawn_point.gd" id="49_quify"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_en6je"]
render_priority = 0
@@ -196,6 +197,12 @@ instance_count = 6
mesh = ExtResource("37_oj7t5")
buffer = PackedFloat32Array(-0.06664866, -5.194634, -2.2706466e-07, -0.2425, 0, -3.70015e-07, 8.464956, 0, -5.194634, 0.06664866, 2.9133056e-09, -0.455, -1.1421599, -4.4487686, -1.9446185e-07, 0.2425, 0, -4.0701795e-07, 9.311485, 0, -4.4487686, 1.1421599, 4.9925397e-08, -0.455, -0.046814755, 4.874615, 2.1307619e-07, -0.2425, 0, -3.9862888e-07, 9.119566, 0, 4.874615, 0.046814755, 2.046338e-09, 0, -2.237415, 4.8654275, 2.1267459e-07, 0.2425, 0, -4.1424042e-07, 9.476716, 0, 4.8654275, 2.237415, 9.7800516e-08, 0, 2.552968, 3.664362, 1.6017435e-07, -0.2425, 0, -4.7244734e-07, 10.808335, 0, 3.664362, -2.552968, -1.1159378e-07, 0.455, 1.8105153, 4.50349, 1.968538e-07, 0.2425, 0, -3.0212027e-07, 6.911706, 0, 4.50349, -1.8105153, -7.9140136e-08, 0.455)
[sub_resource type="NavigationMesh" id="NavigationMesh_6iooh"]
vertices = PackedVector3Array(-1.4771423, 0.45649529, 8.250001, -1.2271423, 0.45649529, 9.500001, 1.0228577, 0.45649529, 9.500001, 1.0228577, 0.45649529, 1.250001, -1.2271423, 0.45649529, 7.000001, 1.0228577, 0.45649529, -9.499999, -1.2271423, 0.45649529, -9.499999, -1.2271423, 0.45649529, -4.999999, 1.2728577, 0.45649529, -1.249999, -9.477142, 0.45649529, 7.250001, -9.477142, 0.45649529, 8.250001, -3.4771423, 0.45649529, -4.749999, -3.4771423, 0.45649529, 4.500001, -1.2271423, 0.45649529, 4.750001, 9.522858, 0.45649529, 1.000001, 9.522858, 0.45649529, -1.249999)
polygons = [PackedInt32Array(0, 4, 1), PackedInt32Array(1, 4, 2), PackedInt32Array(2, 4, 3), PackedInt32Array(6, 5, 7), PackedInt32Array(7, 5, 8), PackedInt32Array(10, 9, 0), PackedInt32Array(0, 9, 4), PackedInt32Array(13, 12, 3), PackedInt32Array(3, 12, 8), PackedInt32Array(8, 12, 7), PackedInt32Array(7, 12, 11), PackedInt32Array(3, 4, 13), PackedInt32Array(15, 14, 8), PackedInt32Array(8, 14, 3)]
geometry_source_geometry_mode = 2
geometry_source_group_name = &"RoadNav"
[node name="chunk_country_cross3_03" unique_id=643218732 instance=ExtResource("1_udhcw")]
script = ExtResource("2_cu4ct")
uniqueness = 1
@@ -203,54 +210,54 @@ north = true
est = true
south = true
[node name="Cartelli_L_001" parent="." index="0" unique_id=1479757825 groups=["weather_node"]]
[node name="Cartelli_L_001" parent="." index="0" unique_id=226939317 groups=["weather_node"]]
surface_material_override/0 = ExtResource("2_hcau2")
surface_material_override/1 = ExtResource("3_dwl4p")
surface_material_override/2 = ExtResource("4_badpr")
[node name="Chunk_042" parent="." index="1" unique_id=682366325 groups=["weather_node"]]
[node name="Chunk_042" parent="." index="1" unique_id=80095522 groups=["RoadNav", "weather_node"]]
surface_material_override/0 = ExtResource("5_dwl4p")
[node name="Cortile_003" parent="." index="2" unique_id=1017046627 groups=["weather_node"]]
[node name="Cortile_003" parent="." index="2" unique_id=1183773984 groups=["RoadNav", "weather_node"]]
surface_material_override/0 = ExtResource("5_dwl4p")
[node name="Cube_041" parent="." index="3" unique_id=524149864]
[node name="Cube_041" parent="." index="3" unique_id=2123223496]
visible = false
[node name="Cube_042" parent="." index="4" unique_id=1103922411]
[node name="Cube_042" parent="." index="4" unique_id=1973044231]
visible = false
[node name="Cylinder_007" parent="." index="5" unique_id=1897597539]
[node name="Cylinder_007" parent="." index="5" unique_id=1954949661]
surface_material_override/0 = SubResource("ShaderMaterial_en6je")
[node name="Flower_011" parent="." index="6" unique_id=577525161]
[node name="Flower_011" parent="." index="6" unique_id=166493523]
visible = false
[node name="FlowerG_009" parent="." index="7" unique_id=29406187]
[node name="FlowerG_009" parent="." index="7" unique_id=1107288966]
visible = false
[node name="Grass_011" parent="." index="8" unique_id=1725806038]
[node name="Grass_011" parent="." index="8" unique_id=1146210038]
surface_material_override/0 = ExtResource("7_r8jbd")
[node name="Kombini_001" parent="." index="9" unique_id=221771872 groups=["weather_node"]]
[node name="Kombini_001" parent="." index="9" unique_id=1485598674 groups=["weather_node"]]
surface_material_override/0 = ExtResource("8_784b8")
surface_material_override/1 = ExtResource("9_nhdvp")
surface_material_override/2 = ExtResource("2_hcau2")
[node name="Palo_002" parent="." index="10" unique_id=1764425764]
[node name="Palo_002" parent="." index="10" unique_id=2087312255]
surface_material_override/0 = ExtResource("2_hcau2")
[node name="Panchina_006" parent="." index="11" unique_id=1208074465 groups=["weather_node"]]
[node name="Panchina_006" parent="." index="11" unique_id=539297984 groups=["weather_node"]]
surface_material_override/0 = ExtResource("10_nhdvp")
[node name="Staccionata" parent="." index="12" unique_id=575069054]
[node name="Staccionata" parent="." index="12" unique_id=810910809]
surface_material_override/0 = ExtResource("10_nhdvp")
surface_material_override/1 = ExtResource("10_nhdvp")
[node name="Tree" parent="." index="13" unique_id=383701149 groups=["weather_node", "wind_node"]]
[node name="Tree" parent="." index="13" unique_id=265693670 groups=["weather_node", "wind_node"]]
surface_material_override/0 = ExtResource("11_3vkwb")
[node name="TreeFoglie" parent="." index="14" unique_id=1486875785]
[node name="TreeFoglie" parent="." index="14" unique_id=1190467970]
visible = false
[node name="flower" type="Node3D" parent="." index="15" unique_id=1859034918 groups=["weather_vegetables_node", "wind_node"]]
@@ -351,31 +358,29 @@ omni_attenuation = 2.0
[node name="TreeTest5" parent="." index="19" unique_id=1532527216 instance=ExtResource("21_jphge")]
transform = Transform3D(0.65072113, 0, 0.7593168, 0, 1, 0, -0.7593168, 0, 0.65072113, 5.58743, -0.16967964, 5.368773)
visible = false
[node name="MultiMeshInstance3D" parent="TreeTest5/Leaf" parent_id_path=PackedInt32Array(1532527216, 225495443) index="0" unique_id=153924119]
[node name="MultiMeshInstance3D" parent="TreeTest5/Leaf" parent_id_path=PackedInt32Array(1532527216, 267178995) index="0" unique_id=153924119]
material_override = SubResource("ShaderMaterial_aj7x1")
[node name="TreeTest6" parent="." index="20" unique_id=28764896 instance=ExtResource("21_jphge")]
transform = Transform3D(0.95030403, 0, -0.31132331, 0, 1, 0, 0.31132331, 0, 0.95030403, 5.58743, -0.010305405, -6.1516533)
visible = false
[node name="MultiMeshInstance3D" parent="TreeTest6/Leaf" parent_id_path=PackedInt32Array(28764896, 225495443) index="0" unique_id=153924119]
[node name="MultiMeshInstance3D" parent="TreeTest6/Leaf" parent_id_path=PackedInt32Array(28764896, 267178995) index="0" unique_id=153924119]
material_override = SubResource("ShaderMaterial_aj7x1")
[node name="VendingMachine_1" parent="." index="21" unique_id=595764774 instance=ExtResource("23_aj7x1")]
transform = Transform3D(0.785, 0, 0, 0, 0.785, 0, 0, 0, 0.785, -2.9157195, 0, 4.0503273)
[node name="Cartello" parent="VendingMachine_1" index="0" unique_id=1481210104]
[node name="Cartello" parent="VendingMachine_1" index="0" unique_id=83833849]
visible = false
[node name="VendingMachine_2" parent="." index="22" unique_id=200256890 instance=ExtResource("23_aj7x1")]
transform = Transform3D(0.785, 0, 0, 0, 0.785, 0, 0, 0, 0.785, -2.9157195, 0, 2.9496164)
[node name="Cartello" parent="VendingMachine_2" index="0" unique_id=1481210104]
[node name="Cartello" parent="VendingMachine_2" index="0" unique_id=83833849]
visible = false
[node name="Vending machine" parent="VendingMachine_2" index="2" unique_id=992531346]
[node name="Vending machine" parent="VendingMachine_2" index="2" unique_id=989971963]
surface_material_override/1 = SubResource("ShaderMaterial_ufr67")
[node name="well_stone" parent="." index="23" unique_id=2044144917 instance=ExtResource("24_ufr67")]
@@ -528,6 +533,49 @@ texture_emission = ExtResource("46_n7dly")
emission_energy = 5.0
modulate = Color(0.9886375, 0.7964691, 0.64222336, 1)
[node name="NavigationRegion3D2" type="NavigationRegion3D" parent="." index="53" unique_id=1791602374]
navigation_mesh = SubResource("NavigationMesh_6iooh")
[node name="Spawn_Sit" type="Marker3D" parent="NavigationRegion3D2" index="0" unique_id=1906234024]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.701174, 0.6954994, -9.05095)
script = ExtResource("49_quify")
allowed_type = 2
[node name="Spawn_Sit5" type="Marker3D" parent="NavigationRegion3D2" index="1" unique_id=1186412120]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.7720625, 0.6954994, 6.2044363)
script = ExtResource("49_quify")
allowed_type = 3
[node name="Spawn_Sit7" type="Marker3D" parent="NavigationRegion3D2" index="2" unique_id=1476067191]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.7637157, 0.6954994, 9.1344795)
script = ExtResource("49_quify")
allowed_type = 3
[node name="Spawn_Sit8" type="Marker3D" parent="NavigationRegion3D2" index="3" unique_id=1396455983]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.5322485, 0.6954994, -5.4732733)
script = ExtResource("49_quify")
allowed_type = 3
[node name="Spawn_Sit6" type="Marker3D" parent="NavigationRegion3D2" index="4" unique_id=1101303318]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.3108044, 0.6954994, 4.0507674)
script = ExtResource("49_quify")
allowed_type = 3
[node name="Spawn_Sit2" type="Marker3D" parent="NavigationRegion3D2" index="5" unique_id=1807086212]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.5485077, 0.6954994, 0.7339206)
script = ExtResource("49_quify")
allowed_type = 2
[node name="Spawn_Sit3" type="Marker3D" parent="NavigationRegion3D2" index="6" unique_id=551917826]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.55923796, 0.08957863, 4.7457027)
script = ExtResource("49_quify")
allowed_type = 4
[node name="Spawn_Sit4" type="Marker3D" parent="NavigationRegion3D2" index="7" unique_id=1973984411]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.8374887, 0.08957863, -0.90335464)
script = ExtResource("49_quify")
allowed_type = 4
[editable path="TreeTest5"]
[editable path="TreeTest6"]
[editable path="VendingMachine_1"]

View File

@@ -30,6 +30,7 @@
[ext_resource type="PackedScene" uid="uid://c058662vbd6ey" path="res://tgcc/chunk/prop/tree/tree_03/tree_03.tscn" id="28_ttcjs"]
[ext_resource type="PackedScene" uid="uid://eymqqkalqpsc" path="res://tgcc/chunk/prop/shrine/shrine_2.tscn" id="29_yyafa"]
[ext_resource type="PackedScene" uid="uid://dl8jd3q4wrxq2" path="res://tgcc/chunk/prop/lantern/lantern_1.tscn" id="30_ttcjs"]
[ext_resource type="Script" uid="uid://c5ercbqy7srx3" path="res://core/biome_generator/entity_spawn_point.gd" id="31_otuia"]
[sub_resource type="PlaneMesh" id="PlaneMesh_8pfxb"]
size = Vector2(0.5, 0.5)
@@ -100,6 +101,12 @@ shader_parameter/glint_sharpness = 32.0
shader_parameter/emission_color = Color(0, 0, 0, 1)
shader_parameter/emission_energy = 0.0
[sub_resource type="NavigationMesh" id="NavigationMesh_n4ugb"]
vertices = PackedVector3Array(1, 0.45649529, -1.499999, 1, 0.45649529, -9.499999, -1, 0.45649529, -9.499999, -1.25, 0.45649529, -1.249999, 1.25, 0.45649529, 1.000001, -1, 0.45649529, 1.250001, -1, 0.45649529, 9.500001, 1.25, 0.45649529, 9.500001, -9.5, 0.45649529, -1.249999, -9.5, 0.45649529, 1.000001, 9.5, 0.45649529, 1.000001, 9.5, 0.45649529, -1.249999)
polygons = [PackedInt32Array(1, 0, 2), PackedInt32Array(2, 0, 3), PackedInt32Array(5, 3, 4), PackedInt32Array(4, 3, 0), PackedInt32Array(6, 5, 7), PackedInt32Array(7, 5, 4), PackedInt32Array(8, 3, 9), PackedInt32Array(9, 3, 5), PackedInt32Array(10, 4, 11), PackedInt32Array(11, 4, 0)]
geometry_source_geometry_mode = 2
geometry_source_group_name = &"RoadNav"
[node name="chunk_country_cross4_01" unique_id=680431911 instance=ExtResource("1_y7nfs")]
script = ExtResource("2_vvemo")
north = true
@@ -107,54 +114,56 @@ est = true
south = true
west = true
[node name="Cavi_003" parent="." index="0" unique_id=1536880121]
[node name="Cavi_003" parent="." index="0" unique_id=1683040552]
cast_shadow = 0
surface_material_override/0 = ExtResource("2_k6fna")
surface_material_override/1 = ExtResource("2_k6fna")
[node name="Chunk_008" parent="." index="1" unique_id=2026223215]
[node name="Chunk_008" parent="." index="1" unique_id=978229734]
surface_material_override/0 = ExtResource("3_0aavg")
[node name="Chunk_015" parent="." index="2" unique_id=983339955 groups=["weather_node"]]
[node name="Chunk_015" parent="." index="2" unique_id=916064359 groups=["RoadNav", "weather_node"]]
surface_material_override/0 = ExtResource("4_642yp")
[node name="Flower_016" parent="." index="3" unique_id=2061052125]
[node name="Flower_016" parent="." index="3" unique_id=1070776780]
visible = false
[node name="FlowerG_015" parent="." index="4" unique_id=1164829892]
[node name="FlowerG_015" parent="." index="4" unique_id=824525481]
visible = false
[node name="House_C_1_004" parent="." index="5" unique_id=1513162211 groups=["weather_node"]]
[node name="House_C_1_004" parent="." index="5" unique_id=518805396 groups=["weather_node"]]
[node name="House_C_1_004|Cube_023|Dupli|" parent="House_C_1_004" index="0" unique_id=2055325984]
[node name="House_C_1_004|Cube_023|Dupli|" parent="House_C_1_004" index="0" unique_id=2033854223]
surface_material_override/0 = ExtResource("5_wbwk3")
surface_material_override/1 = ExtResource("6_b82gs")
[node name="House_C_1_005" parent="." index="6" unique_id=1325920285 groups=["weather_node"]]
[node name="House_C_1_005" parent="." index="6" unique_id=68402630 groups=["weather_node"]]
[node name="House_C_1_005|Cube_023|Dupli|" parent="House_C_1_005" index="0" unique_id=803929754]
[node name="House_C_1_005|Cube_023|Dupli|" parent="House_C_1_005" index="0" unique_id=1370013707]
surface_material_override/0 = ExtResource("5_wbwk3")
surface_material_override/1 = ExtResource("6_b82gs")
[node name="House_C_1_006" parent="." index="7" unique_id=2001122787 groups=["weather_node"]]
[node name="House_C_1_006" parent="." index="7" unique_id=1206949995 groups=["weather_node"]]
[node name="House_C_1_006|Cube_023|Dupli|" parent="House_C_1_006" index="0" unique_id=1405616088]
[node name="House_C_1_006|Cube_023|Dupli|" parent="House_C_1_006" index="0" unique_id=2100645541]
surface_material_override/0 = ExtResource("5_wbwk3")
surface_material_override/1 = ExtResource("6_b82gs")
[node name="House_C_1_007" parent="." index="8" unique_id=464621197 groups=["weather_node"]]
[node name="House_C_1_007" parent="." index="8" unique_id=746675923 groups=["weather_node"]]
[node name="House_C_1_007|Cube_023|Dupli|" parent="House_C_1_007" index="0" unique_id=1780113381]
[node name="House_C_1_007|Cube_023|Dupli|" parent="House_C_1_007" index="0" unique_id=869496471]
surface_material_override/0 = ExtResource("5_wbwk3")
surface_material_override/1 = ExtResource("6_b82gs")
[node name="Lanterne_004" parent="." index="9" unique_id=993819881]
[node name="Lanterne_004" parent="." index="9" unique_id=1013830129]
cast_shadow = 0
surface_material_override/0 = ExtResource("6_b82gs")
surface_material_override/1 = ExtResource("5_wbwk3")
[node name="MSH_Staccioanta_1_017" parent="." index="10" unique_id=845283196 groups=["weather_node"]]
[node name="MSH_Staccioanta_1_017" parent="." index="10" unique_id=1757093874 groups=["weather_node"]]
surface_material_override/0 = ExtResource("7_be1u8")
[node name="PaliLuci_001" parent="." index="11" unique_id=1390758113]
[node name="PaliLuci_001" parent="." index="11" unique_id=239883314]
surface_material_override/0 = ExtResource("8_vvemo")
surface_material_override/1 = ExtResource("8_vvemo")
@@ -362,7 +371,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.8044767, 1.2100046, -4.152
[node name="motorbike" parent="." index="22" unique_id=329677096 groups=["weather_node"] instance=ExtResource("23_e8hed")]
transform = Transform3D(0.01743498, 0, -0.999848, 0.27191982, 0.9623082, 0.0047416375, 0.96216196, -0.27196115, 0.016777825, 3.5224295, 0, -1.1199055)
[node name="motorbike" parent="motorbike" index="0" unique_id=51600636]
[node name="motorbike" parent="motorbike" index="0" unique_id=1591996623]
surface_material_override/3 = SubResource("ShaderMaterial_qj7ai")
[node name="Vase5" parent="." index="23" unique_id=400744767 instance=ExtResource("25_6hspk")]
@@ -407,4 +416,27 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.967766, 0, -1.9414132)
[node name="Vase9" parent="." index="36" unique_id=64411096 instance=ExtResource("26_rjjp2")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.489344, 0, -1.9414132)
[node name="NavigationRegion3D2" type="NavigationRegion3D" parent="." index="37" unique_id=539748445]
navigation_mesh = SubResource("NavigationMesh_n4ugb")
[node name="Spawn_Sit" type="Marker3D" parent="NavigationRegion3D2" index="0" unique_id=1223552536]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.701174, 0.6954994, -9.05095)
script = ExtResource("31_otuia")
allowed_type = 2
[node name="Spawn_Sit2" type="Marker3D" parent="NavigationRegion3D2" index="1" unique_id=807312405]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.5485077, 0.6954994, 0.7339206)
script = ExtResource("31_otuia")
allowed_type = 2
[node name="Spawn_Sit3" type="Marker3D" parent="NavigationRegion3D2" index="2" unique_id=1218385493]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.55923796, 0.11571622, 4.7457027)
script = ExtResource("31_otuia")
allowed_type = 4
[node name="Spawn_Sit4" type="Marker3D" parent="NavigationRegion3D2" index="3" unique_id=1845527123]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.8374887, 0.11571622, -0.90335464)
script = ExtResource("31_otuia")
allowed_type = 4
[editable path="motorbike"]

View File

@@ -14,6 +14,7 @@
[ext_resource type="PackedScene" uid="uid://dn2b3f3nr6btn" path="res://tgcc/chunk/prop/scarecrow/scarecrow3.tscn" id="12_kdb26"]
[ext_resource type="PackedScene" uid="uid://cn2n7ehlt6hya" path="res://tgcc/chunk/prop/empty.tscn" id="13_oc2jx"]
[ext_resource type="Script" uid="uid://772g681sfkme" path="res://tgcc/chunk/prop/rice/rice.gd" id="14_0qak8"]
[ext_resource type="Script" uid="uid://c5ercbqy7srx3" path="res://core/biome_generator/entity_spawn_point.gd" id="15_c4x8k"]
[sub_resource type="PlaneMesh" id="PlaneMesh_cd4pl"]
size = Vector2(0.5, 0.5)
@@ -66,6 +67,12 @@ instance_count = 64
mesh = SubResource("PlaneMesh_hk2cn")
buffer = PackedFloat32Array(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0.78, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1.56, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 2.34, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 3.12, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 3.9, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 4.68, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 5.46, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0.92, 1, 0, 0, 0.78, 0, 1, 0, 0, 0, 0, 1, 0.92, 1, 0, 0, 1.56, 0, 1, 0, 0, 0, 0, 1, 0.92, 1, 0, 0, 2.34, 0, 1, 0, 0, 0, 0, 1, 0.92, 1, 0, 0, 3.12, 0, 1, 0, 0, 0, 0, 1, 0.92, 1, 0, 0, 3.9, 0, 1, 0, 0, 0, 0, 1, 0.92, 1, 0, 0, 4.68, 0, 1, 0, 0, 0, 0, 1, 0.92, 1, 0, 0, 5.46, 0, 1, 0, 0, 0, 0, 1, 0.92, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1.84, 1, 0, 0, 0.78, 0, 1, 0, 0, 0, 0, 1, 1.84, 1, 0, 0, 1.56, 0, 1, 0, 0, 0, 0, 1, 1.84, 1, 0, 0, 2.34, 0, 1, 0, 0, 0, 0, 1, 1.84, 1, 0, 0, 3.12, 0, 1, 0, 0, 0, 0, 1, 1.84, 1, 0, 0, 3.9, 0, 1, 0, 0, 0, 0, 1, 1.84, 1, 0, 0, 4.68, 0, 1, 0, 0, 0, 0, 1, 1.84, 1, 0, 0, 5.46, 0, 1, 0, 0, 0, 0, 1, 1.84, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 2.76, 1, 0, 0, 0.78, 0, 1, 0, 0, 0, 0, 1, 2.76, 1, 0, 0, 1.56, 0, 1, 0, 0, 0, 0, 1, 2.76, 1, 0, 0, 2.34, 0, 1, 0, 0, 0, 0, 1, 2.76, 1, 0, 0, 3.12, 0, 1, 0, 0, 0, 0, 1, 2.76, 1, 0, 0, 3.9, 0, 1, 0, 0, 0, 0, 1, 2.76, 1, 0, 0, 4.68, 0, 1, 0, 0, 0, 0, 1, 2.76, 1, 0, 0, 5.46, 0, 1, 0, 0, 0, 0, 1, 2.76, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 3.68, 1, 0, 0, 0.78, 0, 1, 0, 0, 0, 0, 1, 3.68, 1, 0, 0, 1.56, 0, 1, 0, 0, 0, 0, 1, 3.68, 1, 0, 0, 2.34, 0, 1, 0, 0, 0, 0, 1, 3.68, 1, 0, 0, 3.12, 0, 1, 0, 0, 0, 0, 1, 3.68, 1, 0, 0, 3.9, 0, 1, 0, 0, 0, 0, 1, 3.68, 1, 0, 0, 4.68, 0, 1, 0, 0, 0, 0, 1, 3.68, 1, 0, 0, 5.46, 0, 1, 0, 0, 0, 0, 1, 3.68, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 4.6, 1, 0, 0, 0.78, 0, 1, 0, 0, 0, 0, 1, 4.6, 1, 0, 0, 1.56, 0, 1, 0, 0, 0, 0, 1, 4.6, 1, 0, 0, 2.34, 0, 1, 0, 0, 0, 0, 1, 4.6, 1, 0, 0, 3.12, 0, 1, 0, 0, 0, 0, 1, 4.6, 1, 0, 0, 3.9, 0, 1, 0, 0, 0, 0, 1, 4.6, 1, 0, 0, 4.68, 0, 1, 0, 0, 0, 0, 1, 4.6, 1, 0, 0, 5.46, 0, 1, 0, 0, 0, 0, 1, 4.6, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 5.52, 1, 0, 0, 0.78, 0, 1, 0, 0, 0, 0, 1, 5.52, 1, 0, 0, 1.56, 0, 1, 0, 0, 0, 0, 1, 5.52, 1, 0, 0, 2.34, 0, 1, 0, 0, 0, 0, 1, 5.52, 1, 0, 0, 3.12, 0, 1, 0, 0, 0, 0, 1, 5.52, 1, 0, 0, 3.9, 0, 1, 0, 0, 0, 0, 1, 5.52, 1, 0, 0, 4.68, 0, 1, 0, 0, 0, 0, 1, 5.52, 1, 0, 0, 5.46, 0, 1, 0, 0, 0, 0, 1, 5.52, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 6.44, 1, 0, 0, 0.78, 0, 1, 0, 0, 0, 0, 1, 6.44, 1, 0, 0, 1.56, 0, 1, 0, 0, 0, 0, 1, 6.44, 1, 0, 0, 2.34, 0, 1, 0, 0, 0, 0, 1, 6.44, 1, 0, 0, 3.12, 0, 1, 0, 0, 0, 0, 1, 6.44, 1, 0, 0, 3.9, 0, 1, 0, 0, 0, 0, 1, 6.44, 1, 0, 0, 4.68, 0, 1, 0, 0, 0, 0, 1, 6.44, 1, 0, 0, 5.46, 0, 1, 0, 0, 0, 0, 1, 6.44)
[sub_resource type="NavigationMesh" id="NavigationMesh_p5sif"]
vertices = PackedVector3Array(-8.782915, 0.14287543, -8.494266, -8.782915, 0.14287543, -3.4942656, 8.717085, 0.14287543, -3.4942656, 8.717085, 0.14287543, -8.494266, -8.782915, 0.14287543, -0.99426556, -8.782915, 0.14287543, 8.255734, -2.782915, 0.14287543, 8.255734, -2.782915, 0.14287543, -0.99426556, -0.032915115, 0.64287543, -0.99426556, -0.032915115, 0.64287543, 8.255734, 7.717085, 0.64287543, 8.255734, 7.717085, 0.64287543, -0.99426556)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1), PackedInt32Array(7, 6, 4), PackedInt32Array(4, 6, 5), PackedInt32Array(11, 10, 8), PackedInt32Array(8, 10, 9)]
geometry_source_geometry_mode = 2
geometry_source_group_name = &"FieldNav"
[node name="chunk_country_empty_01" unique_id=385761952 instance=ExtResource("1_xc6vo")]
script = ExtResource("2_mfq5p")
@@ -75,7 +82,7 @@ surface_material_override/0 = ExtResource("2_w0lad")
[node name="Chunk_026" parent="." index="1" unique_id=911079965]
surface_material_override/0 = ExtResource("2_w0lad")
[node name="Water_001" parent="." index="2" unique_id=517615273]
[node name="Water_001" parent="." index="2" unique_id=517615273 groups=["FieldNav"]]
surface_material_override/0 = ExtResource("3_mfq5p")
surface_material_override/1 = ExtResource("3_mfq5p")
@@ -154,3 +161,22 @@ righe = 8
colonne = 8
distanza_righe = 0.92
distanza_colonne = 0.78
[node name="NavigationRegion3D2" type="NavigationRegion3D" parent="." index="10" unique_id=1603331215]
navigation_mesh = SubResource("NavigationMesh_p5sif")
navigation_layers = 2
[node name="Spawn_Sit" type="Marker3D" parent="NavigationRegion3D2" index="0" unique_id=733581448]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.410159, 0.27525067, -6.4514475)
script = ExtResource("15_c4x8k")
allowed_type = 1
[node name="Spawn_Sit2" type="Marker3D" parent="NavigationRegion3D2" index="1" unique_id=105485094]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.4399347, 0.5338192, 1.6861258)
script = ExtResource("15_c4x8k")
allowed_type = 1
[node name="Spawn_Sit3" type="Marker3D" parent="NavigationRegion3D2" index="2" unique_id=714777352]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.8622465, 0.48194885, 6.433044)
script = ExtResource("15_c4x8k")
allowed_type = 1

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -35,6 +35,7 @@
[ext_resource type="ArrayMesh" uid="uid://bg5rfu7tyl3p8" path="res://tgcc/chunk/prop/tree/bambu/Bambu.res" id="34_wc4rw"]
[ext_resource type="Script" uid="uid://cp1pb5dnuojg3" path="res://tgcc/chunk/prop/tree/bambu/bambu.gd" id="35_4bwvb"]
[ext_resource type="PackedScene" uid="uid://c058662vbd6ey" path="res://tgcc/chunk/prop/tree/tree_03/tree_03.tscn" id="35_wc4rw"]
[ext_resource type="Script" uid="uid://c5ercbqy7srx3" path="res://core/biome_generator/entity_spawn_point.gd" id="36_4bwvb"]
[sub_resource type="PlaneMesh" id="PlaneMesh_7tu84"]
size = Vector2(0.5, 0.5)
@@ -105,6 +106,12 @@ instance_count = 17
mesh = ExtResource("34_wc4rw")
buffer = PackedFloat32Array(-0.06664866, -5.194634, -2.2706466e-07, -0.2425, 0, -3.70015e-07, 8.464956, 0, -5.194634, 0.06664866, 2.9133056e-09, -1.82, -1.1421599, -4.4487686, -1.9446185e-07, 0.2425, 0, -4.0701795e-07, 9.311485, 0, -4.4487686, 1.1421599, 4.9925397e-08, -1.82, -0.046814755, 4.874615, 2.1307619e-07, -0.2425, 0, -3.9862888e-07, 9.119566, 0, 4.874615, 0.046814755, 2.046338e-09, -1.365, -2.237415, 4.8654275, 2.1267459e-07, 0.2425, 0, -4.1424042e-07, 9.476716, 0, 4.8654275, 2.237415, 9.7800516e-08, -1.365, 2.552968, 3.664362, 1.6017435e-07, -0.2425, 0, -4.7244734e-07, 10.808335, 0, 3.664362, -2.552968, -1.1159378e-07, -0.91, 1.8105153, 4.50349, 1.968538e-07, 0.2425, 0, -3.0212027e-07, 6.911706, 0, 4.50349, -1.8105153, -7.9140136e-08, -0.91, -1.9527054, 4.725312, 2.0654996e-07, -0.2425, 0, -4.2098645e-07, 9.631047, 0, 4.725312, 1.9527054, 8.535547e-08, -0.455, -4.520556, 1.8626103, 8.1417284e-08, 0.2425, 0, -3.187494e-07, 7.2921357, 0, 1.8626103, 4.520556, 1.9759977e-07, -0.455, -1.5101467, 5.1146483, 2.2356838e-07, -0.2425, 0, -4.81422e-07, 11.013651, 0, 5.1146483, 1.5101467, 6.6010614e-08, 0, -0.39667818, 5.0150795, 2.1921609e-07, 0.2425, 0, -4.5527548e-07, 10.415489, 0, 5.0150795, 0.39667818, 1.7339353e-08, 0, 4.910238, 2.163411, 9.456569e-08, -0.2425, 0, -2.3649532e-07, 5.4103823, 0, 2.163411, -4.910238, -2.1463332e-07, 0.455, -4.515354, 0.7853641, 3.4329354e-08, 0.2425, 0, -2.593531e-07, 5.933307, 0, 0.7853641, 4.515354, 1.973724e-07, 0.455, -4.518371, -1.6865913, -7.372324e-08, -0.2425, 0, -2.756641e-07, 6.3064594, 0, -1.6865913, 4.518371, 1.9750428e-07, 0.91, 1.1408135, -5.1769686, -2.2629249e-07, 0.2425, 0, -4.7989647e-07, 10.978751, 0, -5.1769686, -1.1408135, -4.986654e-08, 0.91, 3.315373, 3.248334, 1.4198919e-07, -0.2425, 0, -4.3756026e-07, 10.010212, 0, 3.248334, -3.315373, -1.4491955e-07, 1.365, 4.424317, -2.0163426, -8.8137135e-08, 0.2425, 0, -4.335058e-07, 9.917457, 0, -2.0163426, -4.424317, -1.9339303e-07, 1.365, 4.644195, -1.1235999, -4.911411e-08, -0.2425, 0, -4.1457332e-07, 9.484332, 0, -1.1235999, -4.644195, -2.0300422e-07, 1.82)
[sub_resource type="NavigationMesh" id="NavigationMesh_lvh27"]
vertices = PackedVector3Array(-3, 0.45649588, -8.165606, -3.25, 0.45649588, -8.915606, -4.25, 0.45649588, -8.915606, -4.5, 0.45649588, -8.165606, -3, 0.45649588, -6.9156055, -6.5, 0.45649588, -1.4156055, -9.5, 0.45649588, -1.1656055, -9.5, 0.45649588, 1.0843945, -1.25, 0.45649588, 1.0843945, -1.25, 0.45649588, -1.1656055, -5, 0.45649588, -1.4156055, -6.75, 0.45649588, -6.4156055, -9, 0.45649588, -6.4156055, -9, 0.45649588, -5.4156055, -6.5, 0.45649588, -5.1656055, -5, 0.45649588, -5.1656055, -3.25, 0.45649588, -5.4156055, -6.5, 0.45649588, -8.165606, -1, 0.45649588, 4.5843945, 1, 0.45649588, 4.5843945, 1, 0.45649588, -4.6656055, -1, 0.45649588, -4.6656055, 0.25, 0.45649588, -6.9156055, 0.25, 0.45649588, -8.165606)
polygons = [PackedInt32Array(1, 0, 2), PackedInt32Array(2, 0, 3), PackedInt32Array(3, 0, 4), PackedInt32Array(5, 10, 6), PackedInt32Array(6, 10, 7), PackedInt32Array(7, 10, 9), PackedInt32Array(7, 9, 8), PackedInt32Array(15, 14, 11), PackedInt32Array(11, 14, 13), PackedInt32Array(11, 13, 12), PackedInt32Array(5, 14, 10), PackedInt32Array(10, 14, 15), PackedInt32Array(16, 15, 4), PackedInt32Array(4, 15, 3), PackedInt32Array(3, 15, 11), PackedInt32Array(3, 11, 17), PackedInt32Array(21, 20, 9), PackedInt32Array(9, 20, 8), PackedInt32Array(8, 20, 18), PackedInt32Array(18, 20, 19), PackedInt32Array(0, 23, 4), PackedInt32Array(4, 23, 22)]
geometry_source_geometry_mode = 2
geometry_source_group_name = &"RoadNav"
[node name="chunk_country_end_01" unique_id=913263516 instance=ExtResource("1_hoyg3")]
script = ExtResource("2_mekjb")
west = true
@@ -118,10 +125,11 @@ surface_material_override/1 = ExtResource("4_nugyy")
surface_material_override/2 = ExtResource("5_ygc8c")
[node name="Cavi_007" parent="." index="2" unique_id=891974148]
cast_shadow = 0
surface_material_override/0 = ExtResource("4_nugyy")
surface_material_override/1 = ExtResource("4_nugyy")
[node name="Cortile_002" parent="." index="3" unique_id=1440977285 groups=["weather_node"]]
[node name="Cortile_002" parent="." index="3" unique_id=1440977285 groups=["RoadNav", "weather_node"]]
surface_material_override/0 = ExtResource("5_ygc8c")
[node name="Flower_005" parent="." index="4" unique_id=1151898243 groups=["weather_node", "wind_node"]]
@@ -140,6 +148,7 @@ surface_material_override/0 = ExtResource("6_pjysl")
surface_material_override/1 = ExtResource("7_0r8cm")
[node name="Lanterne_003" parent="." index="8" unique_id=913131637]
cast_shadow = 0
surface_material_override/0 = ExtResource("7_0r8cm")
surface_material_override/1 = ExtResource("6_pjysl")
@@ -147,13 +156,14 @@ surface_material_override/1 = ExtResource("6_pjysl")
surface_material_override/0 = ExtResource("8_hmdr4")
[node name="PaliLuci_002" parent="." index="10" unique_id=1928143564]
cast_shadow = 0
surface_material_override/0 = ExtResource("3_aj7xj")
surface_material_override/1 = ExtResource("3_aj7xj")
[node name="Panchina_002" parent="." index="11" unique_id=1561611835 groups=["weather_node"]]
surface_material_override/0 = ExtResource("8_hmdr4")
[node name="Strada_006" parent="." index="12" unique_id=1433458432 groups=["weather_node"]]
[node name="Strada_006" parent="." index="12" unique_id=1433458432 groups=["RoadNav", "weather_node"]]
surface_material_override/0 = ExtResource("5_ygc8c")
[node name="Water_005" parent="." index="13" unique_id=689760906]
@@ -352,3 +362,36 @@ altezza_massima = 2.0
[node name="Tree_03" parent="." index="34" unique_id=633798313 instance=ExtResource("35_wc4rw")]
transform = Transform3D(1.195, 0, 0, 0, 1.195, 0, 0, 0, 1.195, -9.461752, 0, -4.5862556)
[node name="NavigationRegion3D2" type="NavigationRegion3D" parent="." index="35" unique_id=186656344]
navigation_mesh = SubResource("NavigationMesh_lvh27")
[node name="Spawn_Sit" type="Marker3D" parent="NavigationRegion3D2" index="0" unique_id=1152442426]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.3757677, 0.6954994, -9.05095)
script = ExtResource("36_4bwvb")
allowed_type = 3
[node name="Spawn_Sit4" type="Marker3D" parent="NavigationRegion3D2" index="1" unique_id=585898093]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.273527, 4.927328, 5.6345053)
script = ExtResource("36_4bwvb")
allowed_type = 5
[node name="Spawn_Sit2" type="Marker3D" parent="NavigationRegion3D2" index="2" unique_id=1213536517]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.09979725, 0.6954994, -6.8534966)
script = ExtResource("36_4bwvb")
allowed_type = 3
[node name="Spawn_Sit3" type="Marker3D" parent="NavigationRegion3D2" index="3" unique_id=1277970239]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.160901, 0.6954994, -5.8220387)
script = ExtResource("36_4bwvb")
allowed_type = 3
[node name="Spawn_Cat" type="Marker3D" parent="NavigationRegion3D2" index="4" unique_id=823693013]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.543914, 0.07091379, -0.19890785)
script = ExtResource("36_4bwvb")
allowed_type = 4
[node name="Spawn_Cat2" type="Marker3D" parent="NavigationRegion3D2" index="5" unique_id=292444495]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.8513222, 0.07091379, -2.7102838)
script = ExtResource("36_4bwvb")
allowed_type = 4

View File

@@ -27,6 +27,7 @@
[ext_resource type="PackedScene" uid="uid://swbs2s3libd3" path="res://tgcc/chunk/prop/sign/scene/sign_3.tscn" id="27_kbqvo"]
[ext_resource type="Script" uid="uid://772g681sfkme" path="res://tgcc/chunk/prop/rice/rice.gd" id="28_ot3ss"]
[ext_resource type="ArrayMesh" uid="uid://bg5rfu7tyl3p8" path="res://tgcc/chunk/prop/tree/bambu/Bambu.res" id="29_6fkgn"]
[ext_resource type="Script" uid="uid://c5ercbqy7srx3" path="res://core/biome_generator/entity_spawn_point.gd" id="29_v7lwv"]
[ext_resource type="Script" uid="uid://cp1pb5dnuojg3" path="res://tgcc/chunk/prop/tree/bambu/bambu.gd" id="30_wwn6n"]
[sub_resource type="PlaneMesh" id="PlaneMesh_xdgj3"]
@@ -95,6 +96,12 @@ instance_count = 9
mesh = ExtResource("29_6fkgn")
buffer = PackedFloat32Array(-0.06664866, -5.194634, -2.2706466e-07, -0.2425, 0, -3.70015e-07, 8.464956, 0, -5.194634, 0.06664866, 2.9133056e-09, -0.91, -1.1421599, -4.4487686, -1.9446185e-07, 0.2425, 0, -4.0701795e-07, 9.311485, 0, -4.4487686, 1.1421599, 4.9925397e-08, -0.91, -0.046814755, 4.874615, 2.1307619e-07, -0.2425, 0, -3.9862888e-07, 9.119566, 0, 4.874615, 0.046814755, 2.046338e-09, -0.455, -2.237415, 4.8654275, 2.1267459e-07, 0.2425, 0, -4.1424042e-07, 9.476716, 0, 4.8654275, 2.237415, 9.7800516e-08, -0.455, 2.552968, 3.664362, 1.6017435e-07, -0.2425, 0, -4.7244734e-07, 10.808335, 0, 3.664362, -2.552968, -1.1159378e-07, 0, 1.8105153, 4.50349, 1.968538e-07, 0.2425, 0, -3.0212027e-07, 6.911706, 0, 4.50349, -1.8105153, -7.9140136e-08, 0, -1.9527054, 4.725312, 2.0654996e-07, -0.2425, 0, -4.2098645e-07, 9.631047, 0, 4.725312, 1.9527054, 8.535547e-08, 0.455, -4.520556, 1.8626103, 8.1417284e-08, 0.2425, 0, -3.187494e-07, 7.2921357, 0, 1.8626103, 4.520556, 1.9759977e-07, 0.455, -1.5101467, 5.1146483, 2.2356838e-07, -0.2425, 0, -4.81422e-07, 11.013651, 0, 5.1146483, 1.5101467, 6.6010614e-08, 0.91)
[sub_resource type="NavigationMesh" id="NavigationMesh_6fkgn"]
vertices = PackedVector3Array(-8.01828, 0.7092649, -8.623274, -8.01828, 0.7092649, -2.8732738, -3.26828, 0.7092649, -2.8732738, -3.26828, 0.7092649, -8.623274, 3.48172, 0.45926487, -8.623274, 3.48172, 0.45926487, 8.626726, 8.48172, 0.45926487, 8.626726, 8.48172, 0.45926487, -8.623274, -8.01828, 0.7092649, 2.8767262, -8.01828, 0.7092649, 8.626726, -3.26828, 0.7092649, 8.626726, -3.26828, 0.7092649, 2.8767262)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1), PackedInt32Array(7, 6, 4), PackedInt32Array(4, 6, 5), PackedInt32Array(11, 10, 8), PackedInt32Array(8, 10, 9)]
geometry_source_geometry_mode = 2
geometry_source_group_name = &"FieldNav"
[node name="chunk_country_end_02" unique_id=1712924087 node_paths=PackedStringArray("connection_left", "connection_right") instance=ExtResource("1_k5c0x")]
script = ExtResource("2_dmw3x")
west = true
@@ -121,7 +128,7 @@ visible = false
[node name="MSH_Staccioanta_1_006" parent="." index="5" unique_id=2035111258]
surface_material_override/0 = ExtResource("4_t26nr")
[node name="Water_008" parent="." index="6" unique_id=189541301]
[node name="Water_008" parent="." index="6" unique_id=189541301 groups=["FieldNav"]]
surface_material_override/0 = ExtResource("5_5xj2s")
surface_material_override/1 = ExtResource("5_5xj2s")
@@ -296,4 +303,18 @@ scala_correzione_xz = 4.955
scala_correzione_y = 5.945
altezza_massima = 2.0
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="." index="23" unique_id=282127309]
navigation_mesh = SubResource("NavigationMesh_6fkgn")
navigation_layers = 2
[node name="Spawn_Farmer" type="Marker3D" parent="NavigationRegion3D" index="0" unique_id=760228169]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.907281, 0.8148663, 4.6581635)
script = ExtResource("29_v7lwv")
allowed_type = 1
[node name="Spawn_Farmer2" type="Marker3D" parent="NavigationRegion3D" index="1" unique_id=1209921263]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.828251, 0.81486535, -5.949169)
script = ExtResource("29_v7lwv")
allowed_type = 1
[editable path="PaloLuce"]

View File

@@ -27,6 +27,7 @@
[ext_resource type="PackedScene" uid="uid://cqsp8pai6vw22" path="res://tgcc/chunk/prop/climax/climax_1.tscn" id="26_bnwyx"]
[ext_resource type="ArrayMesh" uid="uid://bg5rfu7tyl3p8" path="res://tgcc/chunk/prop/tree/bambu/Bambu.res" id="26_wekrh"]
[ext_resource type="Script" uid="uid://cp1pb5dnuojg3" path="res://tgcc/chunk/prop/tree/bambu/bambu.gd" id="27_eqrtf"]
[ext_resource type="Script" uid="uid://c5ercbqy7srx3" path="res://core/biome_generator/entity_spawn_point.gd" id="28_eqrtf"]
[sub_resource type="PlaneMesh" id="PlaneMesh_g6h4y"]
size = Vector2(0.5, 0.5)
@@ -82,72 +83,80 @@ instance_count = 11
mesh = ExtResource("26_wekrh")
buffer = PackedFloat32Array(-0.06664866, -5.194634, -2.2706466e-07, -0.2425, 0, -3.70015e-07, 8.464956, 0, -5.194634, 0.06664866, 2.9133056e-09, -1.1375, -1.1421599, -4.4487686, -1.9446185e-07, 0.2425, 0, -4.0701795e-07, 9.311485, 0, -4.4487686, 1.1421599, 4.9925397e-08, -1.1375, -0.046814755, 4.874615, 2.1307619e-07, -0.2425, 0, -3.9862888e-07, 9.119566, 0, 4.874615, 0.046814755, 2.046338e-09, -0.6825, -2.237415, 4.8654275, 2.1267459e-07, 0.2425, 0, -4.1424042e-07, 9.476716, 0, 4.8654275, 2.237415, 9.7800516e-08, -0.6825, 2.552968, 3.664362, 1.6017435e-07, -0.2425, 0, -4.7244734e-07, 10.808335, 0, 3.664362, -2.552968, -1.1159378e-07, -0.2275, 1.8105153, 4.50349, 1.968538e-07, 0.2425, 0, -3.0212027e-07, 6.911706, 0, 4.50349, -1.8105153, -7.9140136e-08, -0.2275, -1.9527054, 4.725312, 2.0654996e-07, -0.2425, 0, -4.2098645e-07, 9.631047, 0, 4.725312, 1.9527054, 8.535547e-08, 0.2275, -4.520556, 1.8626103, 8.1417284e-08, 0.2425, 0, -3.187494e-07, 7.2921357, 0, 1.8626103, 4.520556, 1.9759977e-07, 0.2275, -1.5101467, 5.1146483, 2.2356838e-07, -0.2425, 0, -4.81422e-07, 11.013651, 0, 5.1146483, 1.5101467, 6.6010614e-08, 0.6825, -0.39667818, 5.0150795, 2.1921609e-07, 0.2425, 0, -4.5527548e-07, 10.415489, 0, 5.0150795, 0.39667818, 1.7339353e-08, 0.6825, 4.910238, 2.163411, 9.456569e-08, -0.2425, 0, -2.3649532e-07, 5.4103823, 0, 2.163411, -4.910238, -2.1463332e-07, 1.1375)
[sub_resource type="NavigationMesh" id="NavigationMesh_cjjdf"]
vertices = PackedVector3Array(-2.3421078, 0.45649529, -0.74999905, -2.3421078, 0.45649529, 0.75000095, -1.0921078, 0.45649529, 1.000001, -1.0921078, 0.45649529, -0.99999905, 1.1578922, 0.45649529, -9.499999, -1.0921078, 0.45649529, -9.499999, 1.1578922, 0.45649529, 3.750001, 1.1578922, 0.45649529, 6.250001, 2.4078922, 0.45649529, 6.000001, 2.4078922, 0.45649529, 4.000001, -1.0921078, 0.45649529, 9.500001, 1.1578922, 0.45649529, 9.500001, -3.3421078, 0.45649529, -0.99999905, -3.3421078, 0.45649529, 1.000001, -8.092108, 0.45649529, -3.249999, -8.092108, 0.45649529, 3.250001, -3.3421078, 0.45649529, -3.249999, -3.3421078, 0.45649529, 3.250001, 3.4078922, 0.45649529, 6.250001, 3.4078922, 0.45649529, 3.750001, 8.157892, 0.45649529, 8.750001, 8.157892, 0.45649529, 0.75000095, 3.4078922, 0.45649529, 8.750001, 3.4078922, 0.45649529, 0.75000095)
polygons = [PackedInt32Array(0, 3, 1), PackedInt32Array(1, 3, 2), PackedInt32Array(5, 4, 3), PackedInt32Array(3, 4, 6), PackedInt32Array(8, 7, 9), PackedInt32Array(9, 7, 6), PackedInt32Array(6, 2, 3), PackedInt32Array(7, 11, 10), PackedInt32Array(6, 7, 2), PackedInt32Array(2, 7, 10), PackedInt32Array(1, 13, 0), PackedInt32Array(0, 13, 12), PackedInt32Array(13, 15, 12), PackedInt32Array(12, 15, 14), PackedInt32Array(14, 16, 12), PackedInt32Array(13, 17, 15), PackedInt32Array(9, 19, 8), PackedInt32Array(8, 19, 18), PackedInt32Array(18, 19, 20), PackedInt32Array(20, 19, 21), PackedInt32Array(20, 22, 18), PackedInt32Array(19, 23, 21)]
geometry_source_geometry_mode = 2
geometry_source_group_name = &"RoadNav"
[node name="chunk_country_straight_01" unique_id=926368352 instance=ExtResource("1_37ch6")]
script = ExtResource("2_n2ly8")
north = true
south = true
[node name="Cavi_002" parent="." index="0" unique_id=828853359]
[node name="Cavi_002" parent="." index="0" unique_id=2030323465]
cast_shadow = 0
surface_material_override/0 = ExtResource("2_hs7hq")
[node name="Cortile_001" parent="." index="1" unique_id=754776018 groups=["weather_node"]]
[node name="Cortile_001" parent="." index="1" unique_id=1906526451 groups=["RoadNav", "weather_node"]]
surface_material_override/0 = ExtResource("3_e3r8u")
[node name="Flower_004" parent="." index="2" unique_id=1583403762]
[node name="Flower_004" parent="." index="2" unique_id=473449569]
visible = false
[node name="FlowerG_002" parent="." index="3" unique_id=346003204]
[node name="FlowerG_002" parent="." index="3" unique_id=597180548]
visible = false
[node name="Grass_007" parent="." index="4" unique_id=602773337 groups=["weather_vegetables_node", "wind_node"]]
[node name="Grass_007" parent="." index="4" unique_id=2054099402 groups=["weather_vegetables_node", "wind_node"]]
surface_material_override/0 = ExtResource("4_e3r8u")
[node name="House_C_1" parent="." index="5" unique_id=689388822 groups=["weather_node"]]
[node name="House_C_1" parent="." index="5" unique_id=2144897475 groups=["weather_node"]]
transform = Transform3D(0, 100, 2.9802322e-06, 2.9802322e-06, 0, 100, 100, 2.9802322e-06, 0, -5.769351, 0.010107636, 6.455092)
[node name="House_C_1|Cube_330|Dupli|" parent="House_C_1" index="0" unique_id=1171344590]
[node name="House_C_1|Cube_330|Dupli|" parent="House_C_1" index="0" unique_id=1338121394]
surface_material_override/0 = ExtResource("5_3muqp")
surface_material_override/1 = ExtResource("6_m86t6")
[node name="House_C_1_001" parent="." index="6" unique_id=1830860640 groups=["weather_node"]]
[node name="House_C_1_001" parent="." index="6" unique_id=150438155 groups=["weather_node"]]
transform = Transform3D(1.7881393e-05, -100, -5.9604645e-06, 5.9604645e-06, -1.1920929e-05, 100.000015, -100, -2.682209e-05, 0, -5.769351, 0.010107636, -6.419045)
[node name="House_C_1_001|Cube_330|Dupli|" parent="House_C_1_001" index="0" unique_id=1945491049]
[node name="House_C_1_001|Cube_330|Dupli|" parent="House_C_1_001" index="0" unique_id=1047674222]
surface_material_override/0 = ExtResource("5_3muqp")
surface_material_override/1 = ExtResource("6_m86t6")
[node name="House_C_2" parent="." index="7" unique_id=774998961 groups=["weather_node"]]
[node name="House_C_2" parent="." index="7" unique_id=694395659 groups=["weather_node"]]
transform = Transform3D(100, 0, 0, 0, -1.1920929e-05, 99.99999, 0, -99.99999, -1.1920929e-05, 5.8973484, 0.010107636, -4.322632)
[node name="House_C_2|Cube_390|Dupli|" parent="House_C_2" index="0" unique_id=897537155]
[node name="House_C_2|Cube_390|Dupli|" parent="House_C_2" index="0" unique_id=2112153045]
surface_material_override/0 = ExtResource("5_3muqp")
surface_material_override/1 = ExtResource("6_m86t6")
[node name="Lanterne_005" parent="." index="8" unique_id=1650497823]
[node name="Lanterne_005" parent="." index="8" unique_id=528610915]
cast_shadow = 0
surface_material_override/0 = ExtResource("6_m86t6")
surface_material_override/1 = ExtResource("5_3muqp")
[node name="MSH_Staccioanta_1_004" parent="." index="9" unique_id=518129079]
[node name="MSH_Staccioanta_1_004" parent="." index="9" unique_id=1727835780]
surface_material_override/0 = ExtResource("7_m86t6")
[node name="PaliLuci_004" parent="." index="10" unique_id=904804186]
[node name="PaliLuci_004" parent="." index="10" unique_id=1049066536]
surface_material_override/0 = ExtResource("9_mylj2")
surface_material_override/1 = ExtResource("9_mylj2")
[node name="Rocks_002" parent="." index="11" unique_id=1592586981 groups=["weather_node"]]
[node name="Rocks_002" parent="." index="11" unique_id=1245563950 groups=["weather_node"]]
surface_material_override/0 = ExtResource("9_0lkjp")
surface_material_override/1 = ExtResource("10_u0pkm")
surface_material_override/2 = ExtResource("10_u0pkm")
[node name="Santuario_Small_001" parent="." index="12" unique_id=700631103 groups=["weather_node"]]
[node name="Santuario_Small_001" parent="." index="12" unique_id=1685476736 groups=["weather_node"]]
visible = false
surface_material_override/0 = ExtResource("9_mylj2")
[node name="Statua1_002" parent="." index="13" unique_id=867941172 groups=["weather_node"]]
[node name="Statua1_002" parent="." index="13" unique_id=802279192 groups=["weather_node"]]
surface_material_override/0 = ExtResource("6_m86t6")
surface_material_override/1 = ExtResource("10_u0pkm")
[node name="Strada_005" parent="." index="14" unique_id=2112086816 groups=["weather_node"]]
[node name="Strada_005" parent="." index="14" unique_id=400166762 groups=["RoadNav", "weather_node"]]
surface_material_override/0 = ExtResource("3_e3r8u")
[node name="grass" type="Node3D" parent="." index="15" unique_id=1350155110 groups=["weather_vegetables_node", "wind_node"]]
@@ -386,3 +395,21 @@ spaziatura_z = 0.455
scala_correzione_xz = 4.955
scala_correzione_y = 5.945
altezza_massima = 2.0
[node name="NavigationRegion3D2" type="NavigationRegion3D" parent="." index="35" unique_id=1372103836]
navigation_mesh = SubResource("NavigationMesh_cjjdf")
[node name="Spawn_Sit" type="Marker3D" parent="NavigationRegion3D2" index="0" unique_id=361239231]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.6662436, 0.8148663, -3.473198)
script = ExtResource("28_eqrtf")
allowed_type = 3
[node name="Spawn_FarmerWalk" type="Marker3D" parent="NavigationRegion3D2" index="1" unique_id=2009601352]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.3097477, 0.8148663, -0.19890785)
script = ExtResource("28_eqrtf")
allowed_type = 2
[node name="Spawn_Cat" type="Marker3D" parent="NavigationRegion3D2" index="2" unique_id=865027207]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.6733599, 0.035953403, 2.3984652)
script = ExtResource("28_eqrtf")
allowed_type = 4

View File

@@ -42,6 +42,7 @@
[ext_resource type="Script" uid="uid://772g681sfkme" path="res://tgcc/chunk/prop/rice/rice.gd" id="40_oifgi"]
[ext_resource type="ArrayMesh" uid="uid://bg5rfu7tyl3p8" path="res://tgcc/chunk/prop/tree/bambu/Bambu.res" id="41_du1wi"]
[ext_resource type="Script" uid="uid://cp1pb5dnuojg3" path="res://tgcc/chunk/prop/tree/bambu/bambu.gd" id="42_oumph"]
[ext_resource type="Script" uid="uid://c5ercbqy7srx3" path="res://core/biome_generator/entity_spawn_point.gd" id="43_oumph"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_q2s76"]
render_priority = 0
@@ -199,6 +200,18 @@ instance_count = 36
mesh = ExtResource("41_du1wi")
buffer = PackedFloat32Array(-0.07075115, -5.5143843, -2.410414e-07, -0.42, 0, -3.3759025e-07, 7.7231646, 0, -5.5143843, 0.07075115, 3.092631e-09, -3.19, -1.2124646, -4.7226086, -2.0643178e-07, 0, 0, -3.6719265e-07, 8.400389, 0, -4.7226086, 1.2124646, 5.299851e-08, -3.19, -0.049696386, 5.174667, 2.2619187e-07, 0.42, 0, -3.6048138e-07, 8.246853, 0, 5.174667, 0.049696386, 2.1722981e-09, -3.19, -2.3751369, 5.164914, 2.2576556e-07, -0.42, 0, -3.729706e-07, 8.532573, 0, 5.164914, 2.3751369, 1.0382053e-07, -2.61, 2.7101133, 3.8899179, 1.7003372e-07, 0, 0, -4.1953612e-07, 9.597868, 0, 3.8899179, -2.7101133, -1.18462815e-07, -2.61, 1.9219596, 4.7806973, 2.0897092e-07, 0.42, 0, -2.832745e-07, 6.480565, 0, 4.7806973, -1.9219596, -8.4011525e-08, -2.61, -2.0729022, 5.016174, 2.1926392e-07, -0.42, 0, -3.7836742e-07, 8.656037, 0, 5.016174, 2.0729022, 9.060943e-08, -2.03, -4.7988143, 1.9772614, 8.642884e-08, 0, 0, -2.9657775e-07, 6.7849083, 0, 1.9772614, 4.7988143, 2.0976283e-07, -2.03, -1.6031023, 5.4294753, 2.373299e-07, 0.42, 0, -4.2671581e-07, 9.76212, 0, 5.4294753, 1.6031023, 7.007383e-08, -2.03, -0.4210953, 5.3237777, 2.3270971e-07, -0.42, 0, -4.0579866e-07, 9.283591, 0, 5.3237777, 0.4210953, 1.8406661e-08, -1.45, 5.212483, 2.2965777, 1.003866e-07, 0, 0, -2.3077453e-07, 5.2795057, 0, 2.2965777, -5.212483, -2.2784486e-07, -1.45, -4.793292, 0.8337063, 3.644246e-08, 0.42, 0, -2.4906075e-07, 5.697846, 0, 0.8337063, 4.793292, 2.0952145e-07, -1.45, -4.7964945, -1.7904077, -7.82612e-08, -0.42, 0, -2.6210955e-07, 5.9963675, 0, -1.7904077, 4.7964945, 2.0966144e-07, -0.87, 1.211035, -5.4956317, -2.4022168e-07, 0, 0, -4.2549547e-07, 9.734201, 0, -5.4956317, -1.211035, -5.293602e-08, -0.87, 3.5194473, 3.4482818, 1.5072918e-07, 0.42, 0, -3.916265e-07, 8.95937, 0, 3.4482818, -3.5194473, -1.5383993e-07, -0.87, 4.696651, -2.1404564, -9.356232e-08, -0.42, 0, -3.8838292e-07, 8.885165, 0, -2.1404564, -4.696651, -2.0529714e-07, -0.29, 4.9300637, -1.192762, -5.2137285e-08, 0, 0, -3.7323693e-07, 8.538666, 0, -1.192762, -4.9300637, -2.1549992e-07, -0.29, -5.31127, 0.98135656, 4.2896456e-08, 0.42, 0, -4.199325e-07, 9.6069355, 0, 0.98135656, 5.31127, 2.3216299e-07, -0.29, -4.0620165, 3.9395382, 1.7220269e-07, -0.42, 0, -3.2092342e-07, 7.341872, 0, 3.9395382, 4.0620165, 1.7755637e-07, 0.29, -5.657842, -0.19325013, -8.447231e-09, 0, 0, -3.1895505e-07, 7.296841, 0, -0.19325013, 5.657842, 2.4731213e-07, 0.29, -2.722974, -4.6683755, -2.0406118e-07, 0.42, 0, -3.6341567e-07, 8.313981, 0, -4.6683755, 2.722974, 1.19024975e-07, 0.29, -2.695869, -4.153552, -1.8155752e-07, -0.42, 0, -3.9750682e-07, 9.093896, 0, -4.153552, 2.695869, 1.1784017e-07, 0.87, 3.2001367, -3.9451475, -1.7244787e-07, 0, 0, -3.3213072e-07, 7.598265, 0, -3.9451475, -3.2001367, -1.3988242e-07, 0.87, 2.3723924, 4.5369773, 1.9831758e-07, 0.42, 0, -3.4421106e-07, 7.8746314, 0, 4.5369773, -2.3723924, -1.03700565e-07, 0.87, -2.4077592, -4.433011, -1.9377306e-07, -0.42, 0, -3.0506482e-07, 6.9790697, 0, -4.433011, 2.4077592, 1.052465e-07, 1.45, 1.9755218, 5.287718, 2.3113348e-07, 0, 0, -4.4425093e-07, 10.163277, 0, 5.287718, -1.9755218, -8.63528e-08, 1.45, 5.174915, -0.5202538, -2.2741014e-08, 0.42, 0, -2.43262e-07, 5.565186, 0, -0.5202538, -5.174915, -2.2620272e-07, 1.45, 5.446219, 0.26215392, 1.1459112e-08, -0.42, 0, -4.1760606e-07, 9.553713, 0, 0.26215392, -5.446219, -2.3806179e-07, 2.03, 5.384639, 1.2898316, 5.6380333e-08, 0, 0, -2.5255616e-07, 5.7778115, 0, 1.2898316, -5.384639, -2.3537004e-07, 2.03, 5.533304, 0.39901534, 1.7441515e-08, 0.42, 0, -4.2560427e-07, 9.7366905, 0, 0.39901534, -5.533304, -2.418684e-07, 2.03, 3.8898475, 2.9376073, 1.284069e-07, -0.42, 0, -2.3714944e-07, 5.425347, 0, 2.9376073, -3.8898475, -1.7003063e-07, 2.61, -2.129379, 4.2357106, 1.8514879e-07, 0, 0, -2.1822702e-07, 4.992452, 0, 4.2357106, 2.129379, 9.3078114e-08, 2.61, 3.3749185, -3.530402, -1.5431877e-07, 0.42, 0, -4.2904736e-07, 9.815459, 0, -3.530402, -3.3749185, -1.4752237e-07, 2.61, 0.469519, 4.7975783, 2.0970882e-07, -0.42, 0, -3.5066083e-07, 8.022184, 0, 4.7975783, -0.469519, -2.0523327e-08, 3.19, -4.006128, 2.5581267, 1.1181927e-07, 0, 0, -2.9536426e-07, 6.7571464, 0, 2.5581267, 4.006128, 1.7511341e-07, 3.19, -0.2656674, -4.8625655, -2.125495e-07, 0.42, 0, -3.4203532e-07, 7.824856, 0, -4.8625655, 0.2656674, 1.1612691e-08, 3.19)
[sub_resource type="NavigationMesh" id="NavigationMesh_owusq"]
vertices = PackedVector3Array(3.642759, 0.7619238, -8.467581, 3.642759, 0.7619238, -2.9675808, 8.142759, 0.7619238, -2.9675808, 8.142759, 0.7619238, -8.467581, 3.642759, 0.7619238, 2.7824192, 3.642759, 0.7619238, 8.532419, 8.142759, 0.7619238, 8.532419, 8.142759, 0.7619238, 2.7824192)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1), PackedInt32Array(7, 6, 4), PackedInt32Array(4, 6, 5)]
geometry_source_geometry_mode = 2
geometry_source_group_name = &"FieldNav"
[sub_resource type="NavigationMesh" id="NavigationMesh_kgse4"]
vertices = PackedVector3Array(-1.8700409, 0.45649529, 2.500001, -1.8700409, 0.45649529, 5.500001, -1.1200409, 0.45649529, 5.750001, -1.1200409, 0.45649529, 2.250001, 0.8799591, 0.45649529, 9.500001, -1.1200409, 0.45649529, 9.500001, 0.8799591, 0.45649529, -9.499999, -1.1200409, 0.45649529, -9.499999, -2.370041, 0.45649529, 2.250001, -2.370041, 0.45649529, 5.750001, -8.870041, 0.45649529, -0.74999905, -8.870041, 0.45649529, 9.250001, -2.370041, 0.45649529, -0.74999905, -2.370041, 0.45649529, 9.250001)
polygons = [PackedInt32Array(0, 2, 1), PackedInt32Array(0, 3, 2), PackedInt32Array(2, 3, 4), PackedInt32Array(4, 5, 2), PackedInt32Array(7, 6, 3), PackedInt32Array(3, 6, 4), PackedInt32Array(1, 9, 0), PackedInt32Array(0, 9, 8), PackedInt32Array(8, 9, 10), PackedInt32Array(10, 9, 11), PackedInt32Array(10, 12, 8), PackedInt32Array(9, 13, 11)]
geometry_source_geometry_mode = 2
geometry_source_group_name = &"RoadNav"
[node name="chunk_country_straight_02" unique_id=1847746456 node_paths=PackedStringArray("connection_left", "connection_right") instance=ExtResource("1_p2w7d")]
script = ExtResource("2_qbybq")
north = true
@@ -596,4 +609,41 @@ scala_correzione_xz = 5.26
scala_correzione_y = 5.945
altezza_massima = 1.76
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="." index="46" unique_id=173444045]
navigation_mesh = SubResource("NavigationMesh_owusq")
navigation_layers = 2
[node name="Spawn_Farmer" type="Marker3D" parent="NavigationRegion3D" index="0" unique_id=708205619]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.907281, 0.8148663, 4.6581635)
script = ExtResource("43_oumph")
allowed_type = 1
[node name="Spawn_Farmer2" type="Marker3D" parent="NavigationRegion3D" index="1" unique_id=1857663958]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.5021486, 0.8148663, -4.94293)
script = ExtResource("43_oumph")
allowed_type = 1
[node name="Crow" type="Marker3D" parent="NavigationRegion3D" index="2" unique_id=1003259448]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.3517504, 6.9915605, -4.6688724)
script = ExtResource("43_oumph")
allowed_type = 5
[node name="NavigationRegion3D2" type="NavigationRegion3D" parent="." index="47" unique_id=1287629185]
navigation_mesh = SubResource("NavigationMesh_kgse4")
[node name="Spawn_Sit" type="Marker3D" parent="NavigationRegion3D2" index="0" unique_id=327696109]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.3757677, 0.8148663, -1.2029009)
script = ExtResource("43_oumph")
allowed_type = 3
[node name="Spawn_FarmerWalk" type="Marker3D" parent="NavigationRegion3D2" index="1" unique_id=1021882073]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.543914, 0.8148663, -0.19890785)
script = ExtResource("43_oumph")
allowed_type = 2
[node name="Spawn_Cat" type="Marker3D" parent="NavigationRegion3D2" index="2" unique_id=90130193]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.543914, 0.068390965, -0.19890785)
script = ExtResource("43_oumph")
allowed_type = 4
[editable path="PaloLuce"]

View File

@@ -27,6 +27,7 @@
[ext_resource type="PackedScene" uid="uid://dho6nfkjoyqls" path="res://tgcc/chunk/prop/sign/scene/sign_2.tscn" id="25_eeai4"]
[ext_resource type="PackedScene" uid="uid://b5fhktgyjcxhn" path="res://tgcc/chunk/prop/sign/scene/sign_4.tscn" id="26_nhyce"]
[ext_resource type="PackedScene" uid="uid://swbs2s3libd3" path="res://tgcc/chunk/prop/sign/scene/sign_3.tscn" id="27_jjiqi"]
[ext_resource type="Script" uid="uid://c5ercbqy7srx3" path="res://core/biome_generator/entity_spawn_point.gd" id="28_eeai4"]
[sub_resource type="PlaneMesh" id="PlaneMesh_uf7g8"]
size = Vector2(1, 1)
@@ -85,24 +86,30 @@ instance_count = 32
mesh = ExtResource("19_x0mh1")
buffer = PackedFloat32Array(-0.1210571, -9.435259, -4.1242825e-07, -0.2425, 0, -4.3756648e-07, 10.010354, 0, -9.435259, 0.1210571, 5.291574e-09, -3.4125, -2.074559, -8.080509, -3.5321028e-07, 0.2425, 0, -4.8998737e-07, 11.209604, 0, -8.080509, 2.074559, 9.068185e-08, -3.4125, -0.08503184, 8.853993, 3.8702035e-07, -0.2425, 0, -4.781029e-07, 10.937719, 0, 8.853993, 0.08503184, 3.7168597e-09, -2.9575, -4.0639224, 8.837306, 3.862909e-07, 0.2425, 0, -5.002192e-07, 11.443681, 0, 8.837306, 4.0639224, 1.7763969e-07, -2.9575, 4.637076, 6.6557527, 2.9093218e-07, -0.2425, 0, -5.82679e-07, 13.330141, 0, 6.6557527, -4.637076, -2.0269303e-07, -2.5025, 3.2885242, 8.179901, 3.5755482e-07, 0.2425, 0, -3.413823e-07, 7.809917, 0, 8.179901, -3.2885242, -1.4374595e-07, -2.5025, -3.546791, 8.582808, 3.7516642e-07, -0.2425, 0, -5.0977604e-07, 11.662316, 0, 8.582808, 3.546791, 1.5503517e-07, -2.0475, -8.210899, 3.3831468, 1.4788205e-07, 0.2425, 0, -3.649402e-07, 8.348859, 0, 3.3831468, 8.210899, 3.589098e-07, -2.0475, -2.7429507, 9.289977, 4.060778e-07, -0.2425, 0, -5.9539303e-07, 13.621005, 0, 9.289977, 2.7429507, 1.1989819e-07, -1.5925, -0.7205053, 9.109126, 3.9817255e-07, 0.2425, 0, -5.583522e-07, 12.773609, 0, 9.109126, 0.7205053, 3.1494288e-08, -1.5925, 8.918696, 3.9295053, 1.7176413e-07, -0.2425, 0, -2.4841364e-07, 5.6830416, 0, 3.9295053, -8.918696, -3.898486e-07, -1.1375, -8.20145, 1.4264936, 6.235402e-08, 0.2425, 0, -2.807955e-07, 6.423852, 0, 1.4264936, 8.20145, 3.5849678e-07, -1.1375, -8.20693, -3.0634353, -1.3390701e-07, -0.2425, 0, -3.039027e-07, 6.9524837, 0, -3.0634353, 8.20693, 3.5873632e-07, -0.6825, 2.0721133, -9.403172, -4.110257e-07, 0.2425, 0, -5.9323196e-07, 13.571565, 0, -9.403172, -2.0721133, -9.057495e-08, -0.6825, 6.021868, 5.900102, 2.5790166e-07, -0.2425, 0, -5.332557e-07, 12.199468, 0, 5.900102, -6.021868, -2.6322422e-07, -0.2275, 8.036096, -3.6623783, -1.6008764e-07, 0.2425, 0, -5.2751176e-07, 12.068063, 0, -3.6623783, -8.036096, -3.512689e-07, -0.2275, 8.43547, -2.0408475, -8.920828e-08, -0.2425, 0, -5.0069076e-07, 11.45447, 0, -2.0408475, -8.43547, -3.687261e-07, 0.2275, -9.087725, 1.6791272, 7.339698e-08, 0.2425, 0, -5.833809e-07, 13.346199, 0, 1.6791272, 9.087725, 3.9723707e-07, 0.2275, -6.9502187, 6.7406554, 2.946434e-07, -0.2425, 0, -4.080523e-07, 9.335149, 0, 6.7406554, 6.9502187, 3.0380372e-07, 0.6825, -9.680717, -0.3306561, -1.4453438e-08, 0.2425, 0, -4.0456666e-07, 9.255406, 0, -0.3306561, 9.680717, 4.231576e-07, 0.6825, -4.659081, -7.9877143, -3.4915408e-07, -0.2425, 0, -4.83299e-07, 11.056592, 0, -7.9877143, 4.659081, 2.0365489e-07, 1.1375, -4.612704, -7.1068387, -3.106498e-07, 0.2425, 0, -5.436687e-07, 12.437691, 0, -7.1068387, 4.612704, 2.0162769e-07, 1.1375, 5.4755187, -6.7502522, -2.950629e-07, -0.2425, 0, -4.2789856e-07, 9.789178, 0, -6.7502522, -5.4755187, -2.393425e-07, 1.5925, 4.0592265, 7.762889, 3.3932665e-07, 0.2425, 0, -4.492908e-07, 10.278576, 0, 7.762889, -4.0592265, -1.7743443e-07, 1.5925, -4.11974, -7.5849996, -3.3155086e-07, -0.2425, 0, -3.7996938e-07, 8.692686, 0, -7.5849996, 4.11974, 1.8007955e-07, 2.0475, 3.3801708, 9.047426, 3.9547555e-07, 0.2425, 0, -6.264448e-07, 14.331386, 0, 9.047426, -3.3801708, -1.4775196e-07, 2.0475, 8.854417, -0.89016813, -3.8910486e-08, -0.2425, 0, -2.7052687e-07, 6.1889334, 0, -0.89016813, -8.854417, -3.8703885e-07, 2.5025, 9.3186245, 0.44855234, 1.9606846e-08, 0.2425, 0, -5.792611e-07, 13.251949, 0, 0.44855234, -9.3186245, -4.0733002e-07, 2.5025, 9.21326, 2.2069361, 9.646824e-08, -0.2425, 0, -2.8698528e-07, 6.565458, 0, 2.2069361, -9.21326, -4.0272437e-07, 2.9575, 9.467631, 0.68272585, 2.9842894e-08, 0.2425, 0, -5.9342466e-07, 13.5759735, 0, 0.68272585, -9.467631, -4.138433e-07, 2.9575, 6.6556334, 5.0263247, 2.1970763e-07, -0.2425, 0, -2.5970255e-07, 5.941302, 0, 5.0263247, -6.6556334, -2.9092698e-07, 3.4125, -3.6434245, 7.247414, 3.1679454e-07, 0.2425, 0, -2.2619409e-07, 5.1747174, 0, 7.247414, 3.6434245, 1.5925914e-07, 3.4125)
[sub_resource type="NavigationMesh" id="NavigationMesh_nhyce"]
vertices = PackedVector3Array(-8.4942665, 0.45926487, -8.623274, -8.4942665, 0.45926487, 8.626726, -3.4942665, 0.45926487, 8.626726, -3.4942665, 0.45926487, -8.623274, 3.5057335, 0.45926487, -8.623274, 3.5057335, 0.45926487, 8.626726, 8.5057335, 0.45926487, 8.626726, 8.5057335, 0.45926487, -8.623274)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1), PackedInt32Array(7, 6, 4), PackedInt32Array(4, 6, 5)]
geometry_source_geometry_mode = 2
geometry_source_group_name = &"FieldNav"
[node name="chunk_country_straight_03" unique_id=626808879 instance=ExtResource("1_3g8xx")]
script = ExtResource("2_e417f")
north = true
south = true
[node name="Argini_003" parent="." index="0" unique_id=509439881]
[node name="Argini_003" parent="." index="0" unique_id=1178813592]
surface_material_override/0 = ExtResource("2_8tada")
[node name="Grass_005" parent="." index="1" unique_id=188609017 groups=["weather_vegetables_node", "wind_node"]]
[node name="Grass_005" parent="." index="1" unique_id=1427965126 groups=["weather_vegetables_node", "wind_node"]]
surface_material_override/0 = ExtResource("2_8tada")
[node name="MSH_Staccioanta_1_002" parent="." index="2" unique_id=746941179]
[node name="MSH_Staccioanta_1_002" parent="." index="2" unique_id=562234307]
surface_material_override/0 = ExtResource("2_vjhke")
[node name="Strada_004" parent="." index="3" unique_id=604168900 groups=["weather_node"]]
[node name="Strada_004" parent="." index="3" unique_id=387203009 groups=["weather_node"]]
surface_material_override/0 = ExtResource("3_bdsn7")
[node name="Water_004" parent="." index="4" unique_id=244513747]
[node name="Water_004" parent="." index="4" unique_id=1258756459 groups=["FieldNav"]]
surface_material_override/0 = ExtResource("5_uf7g8")
[node name="grass" type="Node3D" parent="." index="5" unique_id=1540226859 groups=["weather_vegetables_node", "wind_node"]]
@@ -238,3 +245,17 @@ altezza_massima = 1.5
transform = Transform3D(0.99999994, 0, 0, 0, 1, 0, 0, 0, 0.99999994, 1.0183794, 0.042618692, 9.398099)
script = ExtResource("12_keqgb")
available_props = Array[PackedScene]([ExtResource("13_45od3"), ExtResource("24_e2yg4"), ExtResource("25_eeai4"), ExtResource("26_nhyce"), ExtResource("27_jjiqi")])
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="." index="18" unique_id=184662723]
navigation_mesh = SubResource("NavigationMesh_nhyce")
navigation_layers = 2
[node name="Spawn_Farmer" type="Marker3D" parent="NavigationRegion3D" index="0" unique_id=1061356199]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.783847, 0.8148663, 4.6581635)
script = ExtResource("28_eeai4")
allowed_type = 1
[node name="Spawn_Farmer2" type="Marker3D" parent="NavigationRegion3D" index="1" unique_id=1532535660]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.8084984, 0.8148663, -1.1351125)
script = ExtResource("28_eeai4")
allowed_type = 1

View File

@@ -58,19 +58,19 @@ script = ExtResource("2_0bmh1")
north = true
south = true
[node name="Argini_003" parent="." index="0" unique_id=509439881]
[node name="Argini_003" parent="." index="0" unique_id=1178813592]
surface_material_override/0 = ExtResource("3_c4jie")
[node name="Grass_005" parent="." index="1" unique_id=188609017]
[node name="Grass_005" parent="." index="1" unique_id=1427965126]
surface_material_override/0 = ExtResource("3_c4jie")
[node name="MSH_Staccioanta_1_002" parent="." index="2" unique_id=746941179]
[node name="MSH_Staccioanta_1_002" parent="." index="2" unique_id=562234307]
surface_material_override/0 = ExtResource("4_lr7xw")
[node name="Strada_004" parent="." index="3" unique_id=604168900 groups=["weather_node"]]
[node name="Strada_004" parent="." index="3" unique_id=387203009 groups=["weather_node"]]
surface_material_override/0 = ExtResource("5_5jc2f")
[node name="Water_004" parent="." index="4" unique_id=244513747 groups=["weather_node"]]
[node name="Water_004" parent="." index="4" unique_id=1258756459 groups=["weather_node"]]
surface_material_override/0 = ExtResource("6_0bmh1")
[node name="grass" type="Node3D" parent="." index="5" unique_id=1540226859 groups=["weather_vegetables_node", "wind_node"]]

View File

@@ -20,6 +20,7 @@
[ext_resource type="ArrayMesh" uid="uid://bg5rfu7tyl3p8" path="res://tgcc/chunk/prop/tree/bambu/Bambu.res" id="18_n0c1d"]
[ext_resource type="Script" uid="uid://cp1pb5dnuojg3" path="res://tgcc/chunk/prop/tree/bambu/bambu.gd" id="19_j28u5"]
[ext_resource type="PackedScene" uid="uid://bxuhubp1ug6j4" path="res://tgcc/chunk/prop/vase/vase_4.tscn" id="20_j28u5"]
[ext_resource type="Script" uid="uid://c5ercbqy7srx3" path="res://core/biome_generator/entity_spawn_point.gd" id="21_1w7vy"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_i6s7h"]
render_priority = 0
@@ -99,6 +100,12 @@ instance_count = 14
mesh = ExtResource("18_n0c1d")
buffer = PackedFloat32Array(-0.06664866, -5.194634, -2.2706466e-07, -0.2425, 0, -3.0246346e-07, 6.9195576, 0, -5.194634, 0.06664866, 2.9133056e-09, -1.365, -1.1421599, -4.4487686, -1.9446185e-07, 0.2425, 0, -3.2404853e-07, 7.4133663, 0, -4.4487686, 1.1421599, 4.9925397e-08, -1.365, -0.046814755, 4.874615, 2.1307619e-07, -0.2425, 0, -3.1915494e-07, 7.3014135, 0, 4.874615, 0.046814755, 2.046338e-09, -0.91, -2.237415, 4.8654275, 2.1267459e-07, 0.2425, 0, -3.2826165e-07, 7.509751, 0, 4.8654275, 2.237415, 9.7800516e-08, -0.91, 2.552968, 3.664362, 1.6017435e-07, -0.2425, 0, -3.6221567e-07, 8.286529, 0, 3.664362, -2.552968, -1.1159378e-07, -0.455, 1.8105153, 4.50349, 1.968538e-07, 0.2425, 0, -2.628582e-07, 6.013495, 0, 4.50349, -1.8105153, -7.9140136e-08, -0.455, -1.9527054, 4.725312, 2.0654996e-07, -0.2425, 0, -3.321968e-07, 7.599777, 0, 4.725312, 1.9527054, 8.535547e-08, 0, -4.520556, 1.8626103, 8.1417284e-08, 0.2425, 0, -2.7255854e-07, 6.2354126, 0, 1.8626103, 4.520556, 1.9759977e-07, 0, -1.5101467, 5.1146483, 2.2356838e-07, -0.2425, 0, -3.674509e-07, 8.406297, 0, 5.1146483, 1.5101467, 6.6010614e-08, 0.455, -0.39667818, 5.0150795, 2.1921609e-07, 0.2425, 0, -3.5219875e-07, 8.057368, 0, 5.0150795, 0.39667818, 1.7339353e-08, 0.455, 4.910238, 2.163411, 9.456569e-08, -0.2425, 0, -2.2457701e-07, 5.137723, 0, 2.163411, -4.910238, -2.1463332e-07, 0.91, -4.515354, 0.7853641, 3.4329354e-08, 0.2425, 0, -2.379107e-07, 5.4427624, 0, 0.7853641, 4.515354, 1.973724e-07, 0.91, -4.518371, -1.6865913, -7.372324e-08, -0.2425, 0, -2.4742545e-07, 5.6604347, 0, -1.6865913, 4.518371, 1.9750428e-07, 1.365, 1.1408135, -5.1769686, -2.2629249e-07, 0.2425, 0, -3.66561e-07, 8.385939, 0, -5.1769686, -1.1408135, -4.986654e-08, 1.365)
[sub_resource type="NavigationMesh" id="NavigationMesh_j28u5"]
vertices = PackedVector3Array(-9.492424, 0.4999988, -9.499773, -9.492424, 0.4999988, -1.749773, -1.742424, 0.4999988, -1.749773, -1.742424, 0.4999988, -9.499773, 1.757576, 0.4999988, -9.499773, 1.757576, 0.4999988, -1.749773, 9.507576, 0.4999988, -1.749773, 9.507576, 0.4999988, -9.499773, -9.492424, 0.4999988, 1.750227, -9.492424, 0.4999988, 9.500227, -1.742424, 0.4999988, 9.500227, -1.742424, 0.4999988, 1.750227, 1.757576, 0.4999988, 1.750227, 1.757576, 0.4999988, 9.500227, 9.507576, 0.4999988, 9.500227, 9.507576, 0.4999988, 1.750227)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1), PackedInt32Array(7, 6, 4), PackedInt32Array(4, 6, 5), PackedInt32Array(11, 10, 8), PackedInt32Array(8, 10, 9), PackedInt32Array(15, 14, 12), PackedInt32Array(12, 14, 13)]
geometry_source_geometry_mode = 2
geometry_source_group_name = &"ForestNav"
[node name="Chunk_R_X_1" unique_id=1511831760 instance=ExtResource("1_jbny4")]
script = ExtResource("2_i6s7h")
est = true
@@ -106,31 +113,31 @@ west = true
river_north = true
river_south = true
[node name="Argini_F_003" parent="." index="0" unique_id=1009306056]
[node name="Argini_F_003" parent="." index="0" unique_id=122748439]
surface_material_override/0 = ExtResource("2_wqn5s")
[node name="Flower_021" parent="." index="1" unique_id=1909726834]
[node name="Flower_021" parent="." index="1" unique_id=154759667]
visible = false
[node name="FlowerG_020" parent="." index="2" unique_id=1120293998]
[node name="FlowerG_020" parent="." index="2" unique_id=929356567]
visible = false
[node name="MSH_Staccioanta_1_019" parent="." index="3" unique_id=1851590689]
[node name="MSH_Staccioanta_1_019" parent="." index="3" unique_id=982832464]
surface_material_override/0 = ExtResource("3_amhor")
[node name="Strada_011" parent="." index="4" unique_id=603216127 groups=["weather_node"]]
[node name="Strada_011" parent="." index="4" unique_id=1150878040 groups=["weather_node"]]
surface_material_override/0 = ExtResource("4_amhor")
[node name="Water_F_003" parent="." index="5" unique_id=1353723938]
[node name="Water_F_003" parent="." index="5" unique_id=1724674810]
surface_material_override/0 = ExtResource("6_es1d0")
[node name="bridge" parent="." index="6" unique_id=1469108610 groups=["weather_node"]]
[node name="bridge" parent="." index="6" unique_id=244883264 groups=["weather_node"]]
surface_material_override/0 = ExtResource("6_062h7")
surface_material_override/1 = ExtResource("8_mlqo1")
surface_material_override/2 = ExtResource("8_0snf2")
surface_material_override/3 = SubResource("ShaderMaterial_i6s7h")
[node name="grass" parent="." index="7" unique_id=1730032194]
[node name="grass" parent="." index="7" unique_id=406919710 groups=["ForestNav"]]
surface_material_override/0 = ExtResource("2_wqn5s")
[node name="grass2" type="Node3D" parent="." index="8" unique_id=1023384553 groups=["weather_vegetables_node", "wind_node"]]
@@ -307,3 +314,17 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.620905, 0, 1.3374854)
[node name="Vase11" parent="." index="25" unique_id=725877943 instance=ExtResource("20_j28u5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.5913315, 0, -1.2814322)
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="." index="26" unique_id=120685166]
navigation_mesh = SubResource("NavigationMesh_j28u5")
navigation_layers = 4
[node name="Marker3D" type="Marker3D" parent="NavigationRegion3D" index="0" unique_id=1986571973]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.6525793, 0.15733576, 8.256802)
script = ExtResource("21_1w7vy")
allowed_type = 6
[node name="Marker3D2" type="Marker3D" parent="NavigationRegion3D" index="1" unique_id=154072151]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.3483486, 0.15733576, 3.5683131)
script = ExtResource("21_1w7vy")
allowed_type = 8

View File

@@ -74,13 +74,6 @@ instance_count = 27
mesh = ExtResource("23_4e4me")
buffer = PackedFloat32Array(-0.06664866, -5.194634, -2.2706466e-07, -0.2425, 0, -3.0246346e-07, 6.9195576, 0, -5.194634, 0.06664866, 2.9133056e-09, -2.9575, -1.1421599, -4.4487686, -1.9446185e-07, 0.2425, 0, -3.2404853e-07, 7.4133663, 0, -4.4487686, 1.1421599, 4.9925397e-08, -2.9575, -0.046814755, 4.874615, 2.1307619e-07, -0.2425, 0, -3.1915494e-07, 7.3014135, 0, 4.874615, 0.046814755, 2.046338e-09, -2.5025, -2.237415, 4.8654275, 2.1267459e-07, 0.2425, 0, -3.2826165e-07, 7.509751, 0, 4.8654275, 2.237415, 9.7800516e-08, -2.5025, 2.552968, 3.664362, 1.6017435e-07, -0.2425, 0, -3.6221567e-07, 8.286529, 0, 3.664362, -2.552968, -1.1159378e-07, -2.0475, 1.8105153, 4.50349, 1.968538e-07, 0.2425, 0, -2.628582e-07, 6.013495, 0, 4.50349, -1.8105153, -7.9140136e-08, -2.0475, -1.9527054, 4.725312, 2.0654996e-07, -0.2425, 0, -3.321968e-07, 7.599777, 0, 4.725312, 1.9527054, 8.535547e-08, -1.5925, -4.520556, 1.8626103, 8.1417284e-08, 0.2425, 0, -2.7255854e-07, 6.2354126, 0, 1.8626103, 4.520556, 1.9759977e-07, -1.5925, -1.5101467, 5.1146483, 2.2356838e-07, -0.2425, 0, -3.674509e-07, 8.406297, 0, 5.1146483, 1.5101467, 6.6010614e-08, -1.1375, -0.39667818, 5.0150795, 2.1921609e-07, 0.2425, 0, -3.5219875e-07, 8.057368, 0, 5.0150795, 0.39667818, 1.7339353e-08, -1.1375, 4.910238, 2.163411, 9.456569e-08, -0.2425, 0, -2.2457701e-07, 5.137723, 0, 2.163411, -4.910238, -2.1463332e-07, -0.6825, -4.515354, 0.7853641, 3.4329354e-08, 0.2425, 0, -2.379107e-07, 5.4427624, 0, 0.7853641, 4.515354, 1.973724e-07, -0.6825, -4.518371, -1.6865913, -7.372324e-08, -0.2425, 0, -2.4742545e-07, 5.6604347, 0, -1.6865913, 4.518371, 1.9750428e-07, -0.2275, 1.1408135, -5.1769686, -2.2629249e-07, 0.2425, 0, -3.66561e-07, 8.385939, 0, -5.1769686, -1.1408135, -4.986654e-08, -0.2275, 3.315373, 3.248334, 1.4198919e-07, -0.2425, 0, -3.418649e-07, 7.820957, 0, 3.248334, -3.315373, -1.4491955e-07, 0.2275, 4.424317, -2.0163426, -8.8137135e-08, 0.2425, 0, -3.3949976e-07, 7.7668495, 0, -2.0163426, -4.424317, -1.9339303e-07, 0.2275, 4.644195, -1.1235999, -4.911411e-08, -0.2425, 0, -3.2845583e-07, 7.5141935, 0, -1.1235999, -4.644195, -2.0300422e-07, 0.6825, -5.0032973, 0.9244527, 4.0409113e-08, 0.2425, 0, -3.625047e-07, 8.29314, 0, 0.9244527, 5.0032973, 2.1870108e-07, 0.6825, -3.8264813, 3.711105, 1.6221756e-07, -0.2425, 0, -2.903106e-07, 6.641532, 0, 3.711105, 3.8264813, 1.6726081e-07, 1.1375, -5.329773, -0.18204457, -7.9574205e-09, 0.2425, 0, -2.888753e-07, 6.6086965, 0, -0.18204457, 5.329773, 2.3297177e-07, 1.1375, -2.5650833, -4.3976808, -1.9222873e-07, -0.2425, 0, -3.212945e-07, 7.3503613, 0, -4.3976808, 2.5650833, 1.1212335e-07, 1.5925, -2.5395496, -3.9127095, -1.7102997e-07, 0.2425, 0, -3.4615263e-07, 7.9190493, 0, -3.9127095, 2.5395496, 1.1100724e-07, 1.5925, 3.0145772, -3.716389, -1.6244852e-07, -0.2425, 0, -2.9848255e-07, 6.828485, 0, -3.716389, -3.0145772, -1.3177136e-07, 2.0475, 2.23483, 4.2739015, 1.8681817e-07, 0.2425, 0, -3.0729115e-07, 7.030002, 0, 4.2739015, -2.23483, -9.768752e-08, 2.0475, -2.2681458, -4.1759634, -1.8253716e-07, -0.2425, 0, -2.7874702e-07, 6.3769884, 0, -4.1759634, 2.2681458, 9.9143804e-08, 2.5025, 1.8609717, 4.9811106, 2.1773126e-07, 0.2425, 0, -3.8023688e-07, 8.698806, 0, 4.9811106, -1.8609717, -8.1345654e-08, 2.5025, 4.8748484, -0.49008697, -2.1422382e-08, -0.2425, 0, -2.3368244e-07, 5.346031, 0, -0.49008697, -4.8748484, -2.130864e-07, 2.9575)
[sub_resource type="NavigationMesh" id="NavigationMesh_2ts68"]
vertices = PackedVector3Array(8.984741, 0.25012434, -0.014038086, 9.234741, 0.25012434, -1.0140381, -18.015259, 0.25012434, -18.014038, 17.984741, 0.25012434, 17.985962, 10.984741, 0.25012434, 1.2359619, 9.234741, 0.25012434, 1.2359619, 10.984741, 0.25012434, -1.0140381, 17.984741, 0.25012434, -18.014038, -18.015259, 0.25012434, 17.985962, 11.234741, 0.25012434, 0.23596191)
polygons = [PackedInt32Array(2, 1, 0), PackedInt32Array(5, 4, 3), PackedInt32Array(7, 6, 1), PackedInt32Array(5, 8, 0), PackedInt32Array(0, 8, 2), PackedInt32Array(5, 3, 8), PackedInt32Array(1, 2, 7), PackedInt32Array(3, 4, 9), PackedInt32Array(6, 7, 9), PackedInt32Array(9, 7, 3)]
border_size = 2.0
[sub_resource type="PlaneMesh" id="PlaneMesh_14bbt"]
[node name="chunk_river_cross_2" unique_id=1083596819 instance=ExtResource("1_kqoel")]
script = ExtResource("2_m5b5r")
est = true
@@ -88,46 +81,48 @@ west = true
river_north = true
river_south = true
[node name="Argini_017" parent="." index="0" unique_id=1278311052]
[node name="Argini_017" parent="." index="0" unique_id=379197264]
surface_material_override/0 = ExtResource("2_relur")
[node name="Cavi_010" parent="." index="1" unique_id=815947441]
[node name="Cavi_010" parent="." index="1" unique_id=1716469554]
cast_shadow = 0
surface_material_override/0 = ExtResource("3_ik0ps")
surface_material_override/1 = ExtResource("3_ik0ps")
[node name="Flower_024" parent="." index="2" unique_id=526609525]
[node name="Flower_024" parent="." index="2" unique_id=1343917198]
visible = false
[node name="FlowerG_022" parent="." index="3" unique_id=932915098]
[node name="FlowerG_022" parent="." index="3" unique_id=602062578]
visible = false
[node name="Grass_022" parent="." index="4" unique_id=888360582]
[node name="Grass_022" parent="." index="4" unique_id=4617116]
surface_material_override/0 = ExtResource("2_relur")
[node name="House_C_1_014" parent="." index="5" unique_id=1429631271 groups=["weather_node"]]
[node name="House_C_1_014" parent="." index="5" unique_id=390752776 groups=["weather_node"]]
[node name="House_C_1_014|Cube_023|Dupli|" parent="House_C_1_014" index="0" unique_id=1595448890]
[node name="House_C_1_014|Cube_023|Dupli|" parent="House_C_1_014" index="0" unique_id=906156044]
surface_material_override/0 = ExtResource("4_u3ks6")
surface_material_override/1 = ExtResource("5_g7xh4")
[node name="Lanterne_010" parent="." index="6" unique_id=626116821]
[node name="Lanterne_010" parent="." index="6" unique_id=787933242]
cast_shadow = 0
surface_material_override/0 = ExtResource("5_g7xh4")
surface_material_override/1 = ExtResource("4_u3ks6")
[node name="MSH_Staccioanta_1_018" parent="." index="7" unique_id=1313624035]
[node name="MSH_Staccioanta_1_018" parent="." index="7" unique_id=935916972]
surface_material_override/0 = ExtResource("6_vsnhu")
[node name="PaliLuci_008" parent="." index="8" unique_id=156211542]
[node name="PaliLuci_008" parent="." index="8" unique_id=185114022]
surface_material_override/0 = ExtResource("7_5lc14")
surface_material_override/1 = ExtResource("7_5lc14")
[node name="Strada_009" parent="." index="9" unique_id=876439490 groups=["weather_node"]]
[node name="Strada_009" parent="." index="9" unique_id=86944054 groups=["weather_node"]]
surface_material_override/0 = ExtResource("8_17keh")
[node name="Water_F_016" parent="." index="10" unique_id=1528601289]
[node name="Water_F_016" parent="." index="10" unique_id=1050702492]
surface_material_override/0 = ExtResource("9_t63l0")
[node name="bridge_002" parent="." index="11" unique_id=1594090056 groups=["weather_node"]]
[node name="bridge_002" parent="." index="11" unique_id=1852524138 groups=["weather_node"]]
surface_material_override/0 = ExtResource("5_g7xh4")
surface_material_override/1 = ExtResource("10_0k2sy")
surface_material_override/2 = ExtResource("7_5lc14")

View File

@@ -26,6 +26,7 @@
[ext_resource type="PackedScene" uid="uid://b53eql8vsisae" path="res://tgcc/chunk/prop/vase/vase_2.tscn" id="24_op3ra"]
[ext_resource type="PackedScene" uid="uid://cqsp8pai6vw22" path="res://tgcc/chunk/prop/climax/climax_1.tscn" id="25_8t453"]
[ext_resource type="PackedScene" uid="uid://bklpig8fmtajl" path="res://tgcc/chunk/prop/climax/climax_2.tscn" id="26_ck8k7"]
[ext_resource type="Script" uid="uid://c5ercbqy7srx3" path="res://core/biome_generator/entity_spawn_point.gd" id="27_2ky3p"]
[sub_resource type="PlaneMesh" id="PlaneMesh_cnnpi"]
size = Vector2(0.5, 0.5)
@@ -102,65 +103,79 @@ instance_count = 25
mesh = ExtResource("20_18bt0")
buffer = PackedFloat32Array(-0.06664866, -5.194634, -2.2706466e-07, -0.2425, 0, -3.70015e-07, 8.464956, 0, -5.194634, 0.06664866, 2.9133056e-09, -2.73, -1.1421599, -4.4487686, -1.9446185e-07, 0.2425, 0, -4.0701795e-07, 9.311485, 0, -4.4487686, 1.1421599, 4.9925397e-08, -2.73, -0.046814755, 4.874615, 2.1307619e-07, -0.2425, 0, -3.9862888e-07, 9.119566, 0, 4.874615, 0.046814755, 2.046338e-09, -2.275, -2.237415, 4.8654275, 2.1267459e-07, 0.2425, 0, -4.1424042e-07, 9.476716, 0, 4.8654275, 2.237415, 9.7800516e-08, -2.275, 2.552968, 3.664362, 1.6017435e-07, -0.2425, 0, -4.7244734e-07, 10.808335, 0, 3.664362, -2.552968, -1.1159378e-07, -1.82, 1.8105153, 4.50349, 1.968538e-07, 0.2425, 0, -3.0212027e-07, 6.911706, 0, 4.50349, -1.8105153, -7.9140136e-08, -1.82, -1.9527054, 4.725312, 2.0654996e-07, -0.2425, 0, -4.2098645e-07, 9.631047, 0, 4.725312, 1.9527054, 8.535547e-08, -1.365, -4.520556, 1.8626103, 8.1417284e-08, 0.2425, 0, -3.187494e-07, 7.2921357, 0, 1.8626103, 4.520556, 1.9759977e-07, -1.365, -1.5101467, 5.1146483, 2.2356838e-07, -0.2425, 0, -4.81422e-07, 11.013651, 0, 5.1146483, 1.5101467, 6.6010614e-08, -0.91, -0.39667818, 5.0150795, 2.1921609e-07, 0.2425, 0, -4.5527548e-07, 10.415489, 0, 5.0150795, 0.39667818, 1.7339353e-08, -0.91, 4.910238, 2.163411, 9.456569e-08, -0.2425, 0, -2.3649532e-07, 5.4103823, 0, 2.163411, -4.910238, -2.1463332e-07, -0.455, -4.515354, 0.7853641, 3.4329354e-08, 0.2425, 0, -2.593531e-07, 5.933307, 0, 0.7853641, 4.515354, 1.973724e-07, -0.455, -4.518371, -1.6865913, -7.372324e-08, -0.2425, 0, -2.756641e-07, 6.3064594, 0, -1.6865913, 4.518371, 1.9750428e-07, 0, 1.1408135, -5.1769686, -2.2629249e-07, 0.2425, 0, -4.7989647e-07, 10.978751, 0, -5.1769686, -1.1408135, -4.986654e-08, 0, 3.315373, 3.248334, 1.4198919e-07, -0.2425, 0, -4.3756026e-07, 10.010212, 0, 3.248334, -3.315373, -1.4491955e-07, 0.455, 4.424317, -2.0163426, -8.8137135e-08, 0.2425, 0, -4.335058e-07, 9.917457, 0, -2.0163426, -4.424317, -1.9339303e-07, 0.455, 4.644195, -1.1235999, -4.911411e-08, -0.2425, 0, -4.1457332e-07, 9.484332, 0, -1.1235999, -4.644195, -2.0300422e-07, 0.91, -5.0032973, 0.9244527, 4.0409113e-08, 0.2425, 0, -4.729428e-07, 10.81967, 0, 0.9244527, 5.0032973, 2.1870108e-07, 0.91, -3.8264813, 3.711105, 1.6221756e-07, -0.2425, 0, -3.4918145e-07, 7.9883404, 0, 3.711105, 3.8264813, 1.6726081e-07, 1.365, -5.329773, -0.18204457, -7.9574205e-09, 0.2425, 0, -3.4672098e-07, 7.9320517, 0, -0.18204457, 5.329773, 2.3297177e-07, 1.365, -2.5650833, -4.3976808, -1.9222873e-07, -0.2425, 0, -4.0229676e-07, 9.203477, 0, -4.3976808, 2.5650833, 1.1212335e-07, 1.82, -2.5395496, -3.9127095, -1.7102997e-07, 0.2425, 0, -4.4491065e-07, 10.1783695, 0, -3.9127095, 2.5395496, 1.1100724e-07, 1.82, 3.0145772, -3.716389, -1.6244852e-07, -0.2425, 0, -3.6319054e-07, 8.308831, 0, -3.716389, -3.0145772, -1.3177136e-07, 2.275, 2.23483, 4.2739015, 1.8681817e-07, 0.2425, 0, -3.78291e-07, 8.654289, 0, 4.2739015, -2.23483, -9.768752e-08, 2.275, -2.2681458, -4.1759634, -1.8253716e-07, -0.2425, 0, -3.293582e-07, 7.5348372, 0, -4.1759634, 2.2681458, 9.9143804e-08, 2.73)
[sub_resource type="NavigationMesh" id="NavigationMesh_op3ra"]
vertices = PackedVector3Array(-3, 0.45649588, -8.165606, -3.25, 0.45649588, -8.915606, -4.25, 0.45649588, -8.915606, -4.5, 0.45649588, -8.165606, -3, 0.45649588, -6.9156055, -6.5, 0.45649588, -1.4156055, -9.5, 0.45649588, -1.1656055, -9.5, 0.45649588, 1.0843945, 1, 0.45649588, 1.0843945, -1.25, 0.45649588, -1.1656055, -5, 0.45649588, -1.4156055, -6.75, 0.45649588, -6.4156055, -9, 0.45649588, -6.4156055, -9, 0.45649588, -5.4156055, -6.5, 0.45649588, -5.1656055, -5, 0.45649588, -5.1656055, -3.25, 0.45649588, -5.4156055, -6.5, 0.45649588, -8.165606, 1, 0.45649588, -4.6656055, -1, 0.45649588, -4.6656055, 0.25, 0.45649588, -6.9156055, 0.25, 0.45649588, -8.165606)
polygons = [PackedInt32Array(1, 0, 2), PackedInt32Array(2, 0, 3), PackedInt32Array(3, 0, 4), PackedInt32Array(5, 10, 6), PackedInt32Array(6, 10, 7), PackedInt32Array(7, 10, 9), PackedInt32Array(7, 9, 8), PackedInt32Array(15, 14, 11), PackedInt32Array(11, 14, 13), PackedInt32Array(11, 13, 12), PackedInt32Array(5, 14, 10), PackedInt32Array(10, 14, 15), PackedInt32Array(16, 15, 4), PackedInt32Array(4, 15, 3), PackedInt32Array(3, 15, 11), PackedInt32Array(3, 11, 17), PackedInt32Array(19, 18, 9), PackedInt32Array(9, 18, 8), PackedInt32Array(0, 21, 4), PackedInt32Array(4, 21, 20)]
geometry_source_geometry_mode = 2
geometry_source_group_name = &"RoadNav"
[sub_resource type="NavigationMesh" id="NavigationMesh_8t453"]
vertices = PackedVector3Array(3.507262, 0.45926487, -8.623274, 3.507262, 0.45926487, 8.626726, 8.507262, 0.45926487, 8.626726, 8.507262, 0.45926487, -8.623274)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1)]
geometry_source_geometry_mode = 2
geometry_source_group_name = &"FieldNav"
[node name="Chunk_R_T1_1" unique_id=1445877410 instance=ExtResource("1_53v3j")]
script = ExtResource("2_8ueaj")
west = true
river_south = true
[node name="Argini_013" parent="." index="0" unique_id=1399541549]
[node name="Argini_013" parent="." index="0" unique_id=469582477]
surface_material_override/0 = ExtResource("3_oqr18")
[node name="Argini_F_005" parent="." index="1" unique_id=848465495]
[node name="Argini_F_005" parent="." index="1" unique_id=1834072449]
surface_material_override/0 = ExtResource("3_oqr18")
[node name="Cart_003" parent="." index="2" unique_id=1449498524 groups=["weather_node"]]
[node name="Cart_003" parent="." index="2" unique_id=502294431 groups=["weather_node"]]
[node name="Cavi_008" parent="." index="3" unique_id=28113039]
[node name="Cavi_008" parent="." index="3" unique_id=703264924]
cast_shadow = 0
surface_material_override/0 = ExtResource("4_h5fgh")
surface_material_override/1 = ExtResource("4_h5fgh")
[node name="Cortile_006" parent="." index="4" unique_id=12586199 groups=["weather_node"]]
[node name="Cortile_006" parent="." index="4" unique_id=2017701780 groups=["weather_node"]]
surface_material_override/0 = ExtResource("5_5r0cx")
[node name="Cube_036" parent="." index="5" unique_id=1681749225 groups=["weather_node"]]
[node name="Cube_036" parent="." index="5" unique_id=2095890038 groups=["weather_node"]]
surface_material_override/0 = ExtResource("6_wdn0q")
[node name="Flower_012" parent="." index="6" unique_id=1658863149]
[node name="Flower_012" parent="." index="6" unique_id=772055997]
visible = false
[node name="FlowerG_011" parent="." index="7" unique_id=268762088]
[node name="FlowerG_011" parent="." index="7" unique_id=96396983]
visible = false
[node name="Grass_016" parent="." index="8" unique_id=1026053750]
[node name="Grass_016" parent="." index="8" unique_id=1087577752]
surface_material_override/0 = ExtResource("3_oqr18")
[node name="House_M_3_001" parent="." index="9" unique_id=1585253358 groups=["weather_node"]]
[node name="House_M_3_001" parent="." index="9" unique_id=1404886979 groups=["weather_node"]]
[node name="House_M_3_001|Cube_212|Dupli|" parent="House_M_3_001" index="0" unique_id=2132520415]
[node name="House_M_3_001|Cube_212|Dupli|" parent="House_M_3_001" index="0" unique_id=1236693884]
surface_material_override/0 = ExtResource("7_h5fgh")
surface_material_override/1 = ExtResource("8_5r0cx")
[node name="Lanterne_008" parent="." index="10" unique_id=703742277]
[node name="Lanterne_008" parent="." index="10" unique_id=1036407616]
cast_shadow = 0
surface_material_override/0 = ExtResource("8_5r0cx")
surface_material_override/1 = ExtResource("7_h5fgh")
[node name="MSH_Staccioanta_1_013" parent="." index="11" unique_id=1793533633]
[node name="MSH_Staccioanta_1_013" parent="." index="11" unique_id=325488463]
surface_material_override/0 = ExtResource("9_kfusd")
[node name="PaliLuci_006" parent="." index="12" unique_id=635052574]
[node name="PaliLuci_006" parent="." index="12" unique_id=1932587320]
surface_material_override/0 = ExtResource("10_3krle")
surface_material_override/1 = ExtResource("10_3krle")
[node name="Panchina_001" parent="." index="13" unique_id=1785861878 groups=["weather_node"]]
[node name="Panchina_001" parent="." index="13" unique_id=1203402246 groups=["weather_node"]]
surface_material_override/0 = ExtResource("10_3krle")
[node name="Strada_012" parent="." index="14" unique_id=97571950 groups=["weather_node"]]
[node name="Strada_012" parent="." index="14" unique_id=1624218758 groups=["weather_node"]]
surface_material_override/0 = ExtResource("5_5r0cx")
[node name="Water_014" parent="." index="15" unique_id=2046216844]
[node name="Water_014" parent="." index="15" unique_id=1408331923]
surface_material_override/0 = ExtResource("11_3krle")
[node name="Water_F_005" parent="." index="16" unique_id=708909097]
[node name="Water_F_005" parent="." index="16" unique_id=1486142484]
surface_material_override/0 = ExtResource("12_nfiu6")
[node name="grass" type="Node3D" parent="." index="17" unique_id=64319559 groups=["weather_vegetables_node", "wind_node"]]
@@ -321,3 +336,41 @@ transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, -8.2
[node name="Climax2" parent="." index="29" unique_id=801526857 instance=ExtResource("26_ck8k7")]
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -2.4673748, 1.399138, 4.631831)
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="." index="30" unique_id=353973587]
navigation_mesh = SubResource("NavigationMesh_op3ra")
[node name="Spawn_Cat" type="Marker3D" parent="NavigationRegion3D" index="0" unique_id=195835222]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.07328671, 0)
script = ExtResource("27_2ky3p")
allowed_type = 4
[node name="Spawn_Crow" type="Marker3D" parent="NavigationRegion3D" index="1" unique_id=1274471287]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.6934576, 4.9507327, 5.5141377)
script = ExtResource("27_2ky3p")
allowed_type = 5
[node name="Spawn_Crow2" type="Marker3D" parent="NavigationRegion3D" index="2" unique_id=241885366]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.115467, 4.917306, 5.5141377)
script = ExtResource("27_2ky3p")
allowed_type = 5
[node name="Spawn_Crow3" type="Marker3D" parent="NavigationRegion3D" index="3" unique_id=1615699865]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.263092, 4.971624, 5.5141377)
script = ExtResource("27_2ky3p")
allowed_type = 5
[node name="Spawn_CitizenSit" type="Marker3D" parent="NavigationRegion3D" index="4" unique_id=2027225914]
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -9.262991, 0.8720734, -6.173548)
script = ExtResource("27_2ky3p")
allowed_type = 3
random_y_rotation = false
[node name="NavigationRegion3D2" type="NavigationRegion3D" parent="." index="31" unique_id=1363419800]
navigation_mesh = SubResource("NavigationMesh_8t453")
navigation_layers = 2
[node name="Spawn_CitizenSit" type="Marker3D" parent="NavigationRegion3D2" index="0" unique_id=1793896277]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.989341, 0.8148663, -0.7304845)
script = ExtResource("27_2ky3p")
allowed_type = 1

View File

@@ -111,55 +111,57 @@ script = ExtResource("2_oo15q")
west = true
river_est = true
[node name="Argini_F_006" parent="." index="0" unique_id=45346911]
[node name="Argini_F_006" parent="." index="0" unique_id=1238176569]
surface_material_override/0 = ExtResource("2_07njl")
[node name="Cart_004" parent="." index="1" unique_id=1133689615]
[node name="Cart_004" parent="." index="1" unique_id=1593060947]
transform = Transform3D(-2.105941, -1.3013108, -3.4868522, -7.450568e-08, -0.6470466, 24.148098, -1.3472161, 2.0341828, 5.450573, 1.1636996, 0.0010174388, 2.48663)
[node name="Cavi_011" parent="." index="2" unique_id=761824039]
[node name="Cavi_011" parent="." index="2" unique_id=1762214686]
cast_shadow = 0
surface_material_override/0 = ExtResource("3_6i64l")
surface_material_override/1 = ExtResource("3_6i64l")
[node name="Cortile_008" parent="." index="3" unique_id=919013044 groups=["weather_node"]]
[node name="Cortile_008" parent="." index="3" unique_id=1342113974 groups=["weather_node"]]
surface_material_override/0 = ExtResource("4_chuhj")
[node name="Cube_037" parent="." index="4" unique_id=1360593188 groups=["weather_node"]]
[node name="Cube_037" parent="." index="4" unique_id=2062869838 groups=["weather_node"]]
surface_material_override/0 = ExtResource("6_h8v7r")
[node name="Flower_023" parent="." index="5" unique_id=378019826]
[node name="Flower_023" parent="." index="5" unique_id=749641871]
visible = false
[node name="FlowerG_021" parent="." index="6" unique_id=905336485]
[node name="FlowerG_021" parent="." index="6" unique_id=1346422805]
visible = false
[node name="Grass_021" parent="." index="7" unique_id=1200578837]
[node name="Grass_021" parent="." index="7" unique_id=367994886]
surface_material_override/0 = ExtResource("2_07njl")
[node name="House_M_3_002" parent="." index="8" unique_id=1811347822 groups=["weather_node"]]
[node name="House_M_3_002" parent="." index="8" unique_id=591885830 groups=["weather_node"]]
[node name="House_M_3_002|Cube_212|Dupli|" parent="House_M_3_002" index="0" unique_id=1112137075]
[node name="House_M_3_002|Cube_212|Dupli|" parent="House_M_3_002" index="0" unique_id=1070240825]
surface_material_override/0 = ExtResource("6_q0cqc")
surface_material_override/1 = ExtResource("7_homdn")
[node name="Lanterne_011" parent="." index="9" unique_id=298913410]
[node name="Lanterne_011" parent="." index="9" unique_id=1863672392]
cast_shadow = 0
surface_material_override/0 = ExtResource("7_homdn")
surface_material_override/1 = ExtResource("6_q0cqc")
[node name="MSH_Staccioanta_1_023" parent="." index="10" unique_id=2039065227]
[node name="MSH_Staccioanta_1_023" parent="." index="10" unique_id=1283114892]
surface_material_override/0 = ExtResource("8_aimrl")
[node name="PaliLuci_009" parent="." index="11" unique_id=1950391779]
[node name="PaliLuci_009" parent="." index="11" unique_id=1934310627]
surface_material_override/0 = ExtResource("9_tbfcp")
surface_material_override/1 = ExtResource("9_tbfcp")
[node name="Panchina_004" parent="." index="12" unique_id=311225913]
[node name="Panchina_004" parent="." index="12" unique_id=162374623]
surface_material_override/0 = ExtResource("9_tbfcp")
[node name="Strada_016" parent="." index="13" unique_id=1726631837 groups=["weather_node"]]
[node name="Strada_016" parent="." index="13" unique_id=1445901496 groups=["weather_node"]]
surface_material_override/0 = ExtResource("4_chuhj")
[node name="Water_F_006" parent="." index="14" unique_id=569789560]
[node name="Water_F_006" parent="." index="14" unique_id=2143610594]
surface_material_override/0 = ExtResource("11_sc7dg")
[node name="grass2" type="Node3D" parent="." index="15" unique_id=830319566 groups=["weather_vegetables_node", "wind_node"]]
@@ -294,7 +296,7 @@ transform = Transform3D(1, 0, 1.7484555e-07, 0, 1, 0, -1.7484555e-07, 0, 1, -3.1
[node name="motorbike" parent="." index="26" unique_id=329677096 groups=["weather_node"] instance=ExtResource("25_qyt8t")]
transform = Transform3D(-0.024170447, 0, 0.99970794, -0.3027971, 0.95302695, -0.0073208795, -0.9527486, -0.30288556, -0.023035087, -2.873084, 0, -0.9759604)
[node name="motorbike" parent="motorbike" index="0" unique_id=51600636]
[node name="motorbike" parent="motorbike" index="0" unique_id=1591996623]
surface_material_override/3 = SubResource("ShaderMaterial_cernu")
[node name="Shrine2" parent="." index="27" unique_id=2116391887 groups=["weather_node"] instance=ExtResource("27_cernu")]

Some files were not shown because too many files have changed in this diff Show More