Add modular holdover fishing world
This commit is contained in:
parent
6a5923fdb8
commit
a91f2b9825
17 changed files with 1354 additions and 191 deletions
179
world/regions/village_region.tscn
Normal file
179
world/regions/village_region.tscn
Normal file
|
|
@ -0,0 +1,179 @@
|
|||
[gd_scene load_steps=16 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://world/regions/graybox_region.gd" id="1_region"]
|
||||
[ext_resource type="Script" path="res://world/safe_respawn_point.gd" id="2_safe"]
|
||||
[ext_resource type="PackedScene" path="res://world/interactables/fishing_shop_world.tscn" id="3_shop"]
|
||||
[ext_resource type="PackedScene" path="res://world/interactables/pelican_buyer_world.tscn" id="4_pelican"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="GroundShape"]
|
||||
size = Vector3(48, 6, 36)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BuildingShape"]
|
||||
size = Vector3(8, 5, 7)
|
||||
|
||||
[sub_resource type="BoxMesh" id="GroundMesh"]
|
||||
size = Vector3(48, 6, 36)
|
||||
|
||||
[sub_resource type="BoxMesh" id="PlazaMesh"]
|
||||
size = Vector3(22, 0.02, 18)
|
||||
|
||||
[sub_resource type="BoxMesh" id="BuildingMesh"]
|
||||
size = Vector3(8, 5, 7)
|
||||
|
||||
[sub_resource type="CylinderMesh" id="RoofMesh"]
|
||||
top_radius = 0
|
||||
bottom_radius = 5.5
|
||||
height = 3
|
||||
radial_segments = 4
|
||||
|
||||
[sub_resource type="CylinderMesh" id="TowerMesh"]
|
||||
top_radius = 2.4
|
||||
bottom_radius = 2.4
|
||||
height = 8
|
||||
|
||||
[sub_resource type="CylinderMesh" id="TowerTankMesh"]
|
||||
top_radius = 3.2
|
||||
bottom_radius = 3.2
|
||||
height = 3.2
|
||||
|
||||
[sub_resource type="BoxMesh" id="PavilionRoofMesh"]
|
||||
size = Vector3(9, 0.35, 7)
|
||||
|
||||
[sub_resource type="BoxMesh" id="PavilionPostMesh"]
|
||||
size = Vector3(0.3, 3.2, 0.3)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="GrassMaterial"]
|
||||
albedo_color = Color(0.37, 0.68, 0.3, 1)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="PlazaMaterial"]
|
||||
albedo_color = Color(0.76, 0.69, 0.54, 1)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="BuildingMaterial"]
|
||||
albedo_color = Color(0.92, 0.55, 0.34, 1)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="RoofMaterial"]
|
||||
albedo_color = Color(0.2, 0.46, 0.53, 1)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="LandmarkMaterial"]
|
||||
albedo_color = Color(0.95, 0.82, 0.28, 1)
|
||||
|
||||
[node name="VillageRegion" type="Node3D"]
|
||||
script = ExtResource("1_region")
|
||||
region_id = &"village"
|
||||
|
||||
[node name="Visuals" type="Node3D" parent="."]
|
||||
|
||||
[node name="Ground" type="MeshInstance3D" parent="Visuals"]
|
||||
position = Vector3(0, -3, 0)
|
||||
mesh = SubResource("GroundMesh")
|
||||
material_override = SubResource("GrassMaterial")
|
||||
|
||||
[node name="Plaza" type="MeshInstance3D" parent="Visuals"]
|
||||
position = Vector3(0, 0.011, 0)
|
||||
mesh = SubResource("PlazaMesh")
|
||||
material_override = SubResource("PlazaMaterial")
|
||||
|
||||
[node name="WestBuilding" type="MeshInstance3D" parent="Visuals"]
|
||||
position = Vector3(-17, 2.5, 9)
|
||||
mesh = SubResource("BuildingMesh")
|
||||
material_override = SubResource("BuildingMaterial")
|
||||
|
||||
[node name="WestRoof" type="MeshInstance3D" parent="Visuals"]
|
||||
position = Vector3(-17, 6.1, 9)
|
||||
rotation_degrees = Vector3(0, 45, 0)
|
||||
mesh = SubResource("RoofMesh")
|
||||
material_override = SubResource("RoofMaterial")
|
||||
|
||||
[node name="NorthBuilding" type="MeshInstance3D" parent="Visuals"]
|
||||
position = Vector3(-7, 2.5, 13)
|
||||
mesh = SubResource("BuildingMesh")
|
||||
material_override = SubResource("BuildingMaterial")
|
||||
|
||||
[node name="NorthRoof" type="MeshInstance3D" parent="Visuals"]
|
||||
position = Vector3(-7, 6.1, 13)
|
||||
rotation_degrees = Vector3(0, 45, 0)
|
||||
mesh = SubResource("RoofMesh")
|
||||
material_override = SubResource("RoofMaterial")
|
||||
|
||||
[node name="WaterTower" type="MeshInstance3D" parent="Visuals"]
|
||||
position = Vector3(18, 4, 11)
|
||||
mesh = SubResource("TowerMesh")
|
||||
material_override = SubResource("RoofMaterial")
|
||||
|
||||
[node name="WaterTank" type="MeshInstance3D" parent="Visuals"]
|
||||
position = Vector3(18, 8.5, 11)
|
||||
mesh = SubResource("TowerTankMesh")
|
||||
material_override = SubResource("LandmarkMaterial")
|
||||
|
||||
[node name="PavilionRoof" type="MeshInstance3D" parent="Visuals"]
|
||||
position = Vector3(-12, 3.3, -10)
|
||||
mesh = SubResource("PavilionRoofMesh")
|
||||
material_override = SubResource("LandmarkMaterial")
|
||||
|
||||
[node name="PavilionPostNW" type="MeshInstance3D" parent="Visuals"]
|
||||
position = Vector3(-15.5, 1.6, -12.5)
|
||||
mesh = SubResource("PavilionPostMesh")
|
||||
material_override = SubResource("RoofMaterial")
|
||||
|
||||
[node name="PavilionPostSE" type="MeshInstance3D" parent="Visuals"]
|
||||
position = Vector3(-8.5, 1.6, -7.5)
|
||||
mesh = SubResource("PavilionPostMesh")
|
||||
material_override = SubResource("RoofMaterial")
|
||||
|
||||
[node name="VillageLabel" type="Label3D" parent="Visuals"]
|
||||
position = Vector3(0, 3.2, 7)
|
||||
text = "VILLAGE"
|
||||
font_size = 42
|
||||
outline_size = 8
|
||||
billboard = 1
|
||||
no_depth_test = true
|
||||
|
||||
[node name="StaticCollision" type="Node3D" parent="."]
|
||||
|
||||
[node name="Ground" type="StaticBody3D" parent="StaticCollision"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticCollision/Ground"]
|
||||
position = Vector3(0, -3, 0)
|
||||
shape = SubResource("GroundShape")
|
||||
|
||||
[node name="WestBuilding" type="StaticBody3D" parent="StaticCollision"]
|
||||
|
||||
[node name="Shape" type="CollisionShape3D" parent="StaticCollision/WestBuilding"]
|
||||
position = Vector3(-17, 2.5, 9)
|
||||
shape = SubResource("BuildingShape")
|
||||
|
||||
[node name="NorthBuilding" type="StaticBody3D" parent="StaticCollision"]
|
||||
|
||||
[node name="Shape" type="CollisionShape3D" parent="StaticCollision/NorthBuilding"]
|
||||
position = Vector3(-7, 2.5, 13)
|
||||
shape = SubResource("BuildingShape")
|
||||
|
||||
[node name="FishingWater" type="Node3D" parent="."]
|
||||
|
||||
[node name="WaterRecovery" type="Node3D" parent="."]
|
||||
|
||||
[node name="SafeRespawns" type="Node3D" parent="."]
|
||||
|
||||
[node name="VillageCenter" type="Marker3D" parent="SafeRespawns"]
|
||||
position = Vector3(0, 0.58, 2)
|
||||
script = ExtResource("2_safe")
|
||||
|
||||
[node name="VillageWest" type="Marker3D" parent="SafeRespawns"]
|
||||
position = Vector3(-19, 0.58, -2)
|
||||
rotation_degrees = Vector3(0, -90, 0)
|
||||
script = ExtResource("2_safe")
|
||||
|
||||
[node name="VillageSouth" type="Marker3D" parent="SafeRespawns"]
|
||||
position = Vector3(5, 0.58, -14)
|
||||
rotation_degrees = Vector3(0, 180, 0)
|
||||
script = ExtResource("2_safe")
|
||||
|
||||
[node name="Interactables" type="Node3D" parent="."]
|
||||
|
||||
[node name="FishingShopWorld" parent="Interactables" instance=ExtResource("3_shop")]
|
||||
position = Vector3(12, 0, 3)
|
||||
rotation_degrees = Vector3(0, -25, 0)
|
||||
|
||||
[node name="PelicanCoolerPerch" parent="Interactables" instance=ExtResource("4_pelican")]
|
||||
position = Vector3(-19, 0, -9)
|
||||
rotation_degrees = Vector3(0, 20, 0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue