Files
romants/scenes/gam89CA.tmp
2024-10-07 02:28:14 +02:00

149 lines
6.4 KiB
Plaintext

[gd_scene load_steps=18 format=3 uid="uid://rnmcx0o0hdgb"]
[ext_resource type="Script" path="res://scenes/game.gd" id="1_3n5gp"]
[ext_resource type="Script" path="res://entities/faction/player/player.gd" id="2_kyivt"]
[ext_resource type="Script" path="res://entities/faction/player/player_camera.gd" id="3_6ujgl"]
[ext_resource type="Script" path="res://scenes/player_camp.gd" id="6_bdu2w"]
[ext_resource type="Script" path="res://entities/terrain.gd" id="7_js5w2"]
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_e001c"]
width = 16
height = 16
[sub_resource type="PrismMesh" id="PrismMesh_dw2jx"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_nljwt"]
albedo_color = Color(1, 0, 0, 1)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_kxcis"]
data = PackedVector3Array(0, 0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, 0, 0.5, -0.5, -0.5, -0.5, -0.5, 0.5, -0.5, -0.5, 0, 0.5, 0.5, 0, 0.5, -0.5, 0.5, -0.5, 0.5, 0, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, -0.5, 0.5, 0, 0.5, -0.5, 0, 0.5, 0.5, -0.5, -0.5, -0.5, 0, 0.5, 0.5, -0.5, -0.5, 0.5, -0.5, -0.5, -0.5, -0.5, -0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, -0.5, 0.5, -0.5, 0.5, 0.5, -0.5, -0.5, -0.5, -0.5, -0.5)
[sub_resource type="SphereMesh" id="SphereMesh_3yo4a"]
[sub_resource type="BoxShape3D" id="BoxShape3D_y1i3q"]
size = Vector3(100, 0.01, 100)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ob58c"]
albedo_color = Color(0, 0.46, 0.145667, 1)
[sub_resource type="PlaneMesh" id="PlaneMesh_alxwk"]
material = SubResource("StandardMaterial3D_ob58c")
size = Vector2(100, 100)
[sub_resource type="NavigationMesh" id="NavigationMesh_6127e"]
vertices = PackedVector3Array(-49.5, 0.480707, 0, -0.75, 0.480707, 0, -0.75, 0.480707, -0.75, 0, 0.480707, -1, 0, 0.480707, -49.5, -49.5, 0.480707, -49.5, 0.75, 0.480707, -0.75, 0.75, 0.480707, 0, 49.5, 0.480707, 0, 49.5, 0.480707, -49.5, 0, 0.480707, 49.5, 0, 0.480707, 1.25, -0.75, 0.480707, 1, -49.5, 0.480707, 49.5, 0.75, 0.480707, 1, 49.5, 0.480707, 49.5)
polygons = [PackedInt32Array(2, 1, 0), PackedInt32Array(3, 2, 4), PackedInt32Array(4, 2, 5), PackedInt32Array(5, 2, 0), PackedInt32Array(8, 7, 6), PackedInt32Array(3, 4, 6), PackedInt32Array(6, 4, 9), PackedInt32Array(6, 9, 8), PackedInt32Array(11, 10, 12), PackedInt32Array(12, 10, 13), PackedInt32Array(12, 13, 0), PackedInt32Array(0, 1, 12), PackedInt32Array(11, 14, 10), PackedInt32Array(10, 14, 15), PackedInt32Array(15, 14, 8), PackedInt32Array(14, 7, 8)]
geometry_parsed_geometry_type = 1
geometry_source_geometry_mode = 1
geometry_source_group_name = &"TerrainEntities"
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_tx3qi"]
sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
ground_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
[sub_resource type="Sky" id="Sky_mmhs2"]
sky_material = SubResource("ProceduralSkyMaterial_tx3qi")
[sub_resource type="Environment" id="Environment_r8f2r"]
background_mode = 2
sky = SubResource("Sky_mmhs2")
tonemap_mode = 2
glow_enabled = true
[node name="Game" type="Node"]
script = ExtResource("1_3n5gp")
[node name="Player" type="Node" parent="."]
script = ExtResource("2_kyivt")
[node name="PlayerCamera" type="Camera3D" parent="Player"]
transform = Transform3D(1, 0, 0, 0, 0.965926, 0.258819, 0, -0.258819, 0.965926, 2.38419e-07, 1.98981, 3.94427)
current = true
script = ExtResource("3_6ujgl")
[node name="Sprite3D" type="Sprite3D" parent="Player/PlayerCamera"]
transform = Transform3D(10, 0, 0, 0, 10, 0, 0, 0, 10, 0, 1, 0)
cast_shadow = 0
axis = 1
billboard = 2
texture = SubResource("NoiseTexture2D_e001c")
[node name="RemoteTransform3D" type="RemoteTransform3D" parent="Player/PlayerCamera"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 10, 0)
remote_path = NodePath("../../SubViewportContainer/SubViewport/Camera3D")
update_rotation = false
update_scale = false
[node name="RayCast3D" type="RayCast3D" parent="Player"]
target_position = Vector3(0, 0, 0)
debug_shape_custom_color = Color(0, 0.633333, 1, 1)
[node name="SubViewportContainer" type="SubViewportContainer" parent="Player"]
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -255.0
offset_top = -255.0
grow_horizontal = 0
grow_vertical = 0
size_flags_vertical = 3
mouse_filter = 0
[node name="SubViewport" type="SubViewport" parent="Player/SubViewportContainer"]
handle_input_locally = false
size = Vector2i(255, 255)
render_target_update_mode = 4
[node name="Camera3D" type="Camera3D" parent="Player/SubViewportContainer/SubViewport"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 2.38419e-07, 11.6491, 1.35608)
projection = 1
current = true
size = 20.0
[node name="Player Ants" type="Node" parent="."]
[node name="Enemy Ants" type="Node" parent="."]
[node name="Buildings" type="Node" parent="."]
[node name="PlayerCamp" type="StaticBody3D" parent="Buildings" groups=["TerrainEntities"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.480707, 0)
script = ExtResource("6_bdu2w")
[node name="PlayerCamp" type="MeshInstance3D" parent="Buildings/PlayerCamp"]
mesh = SubResource("PrismMesh_dw2jx")
skeleton = NodePath("../../../Terrain/MeshInstance3D")
surface_material_override/0 = SubResource("StandardMaterial3D_nljwt")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Buildings/PlayerCamp"]
shape = SubResource("ConcavePolygonShape3D_kxcis")
[node name="Resources" type="Node" parent="."]
[node name="MeshInstance3D2" type="MeshInstance3D" parent="Resources"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.93551, 0.40872, 1.77864)
mesh = SubResource("SphereMesh_3yo4a")
skeleton = NodePath("../../Terrain/MeshInstance3D")
[node name="Terrain" type="StaticBody3D" parent="." groups=["TerrainEntities"]]
script = ExtResource("7_js5w2")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Terrain"]
shape = SubResource("BoxShape3D_y1i3q")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Terrain"]
mesh = SubResource("PlaneMesh_alxwk")
skeleton = NodePath("../..")
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="Terrain"]
navigation_mesh = SubResource("NavigationMesh_6127e")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.866025, -0.433013, 0.25, 0, 0.5, 0.866025, -0.5, 0.75, -0.433013, 0, 0, 0)
shadow_enabled = true
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_r8f2r")