open-fpsz/maps/desert/desert.tscn

81 lines
3.4 KiB
Plaintext

[gd_scene load_steps=12 format=3 uid="uid://btlkog4b87p4x"]
[ext_resource type="Script" path="res://maps/spawns.gd" id="2_kdipq"]
[ext_resource type="Terrain3DMaterial" uid="uid://c3isipd4wqxpk" path="res://maps/desert/resources/material.tres" id="2_n44fh"]
[ext_resource type="Terrain3DAssets" uid="uid://d1j24k8sq8qpj" path="res://maps/desert/resources/textures.tres" id="3_w6mwl"]
[ext_resource type="Environment" uid="uid://nw62ce5cglvs" path="res://maps/desert/resources/env.tres" id="4_m7p64"]
[ext_resource type="Script" path="res://maps/map.gd" id="4_o1mfe"]
[sub_resource type="Resource" id="Resource_ti0hi"]
script = ExtResource("2_kdipq")
players = Array[NodePath]([NodePath("PlayerSpawns/Spawn1"), NodePath("PlayerSpawns/Spawn2")])
objectives = Array[NodePath]([NodePath("FlagStand")])
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_p8eda"]
bounce = 0.5
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_1y05l"]
plane = Plane(1, 0, 0, 0)
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_r685f"]
plane = Plane(-1, 0, 0, 0)
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_yhtlb"]
plane = Plane(0, 0, 1, 0)
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_e5ob2"]
plane = Plane(0, 0, -1, 0)
[node name="Desert" type="Node3D" node_paths=PackedStringArray("terrain")]
script = ExtResource("4_o1mfe")
terrain = NodePath("Terrain3D")
spawns = SubResource("Resource_ti0hi")
[node name="Sunlight" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.5, 0.55667, -0.663414, 0, 0.766044, 0.642788, 0.866025, -0.321394, 0.383022, -1613.38, 2730.74, 446.64)
shadow_enabled = true
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = ExtResource("4_m7p64")
[node name="Terrain3D" type="Terrain3D" parent="."]
data_directory = "res://maps/desert/data"
material = ExtResource("2_n44fh")
assets = ExtResource("3_w6mwl")
collision_layer = 2147483649
collision_mask = 9
collision_priority = 9.0
cast_shadows = 0
top_level = true
metadata/_edit_lock_ = true
[node name="PlayerSpawns" type="Node" parent="."]
[node name="Spawn1" type="Marker3D" parent="PlayerSpawns"]
transform = Transform3D(0.998641, 7.63963e-05, 0.0521093, -2.81251e-11, 0.999999, -0.00146608, -0.0521094, 0.00146408, 0.99864, 0, 59.1821, 0)
[node name="Spawn2" type="Marker3D" parent="PlayerSpawns"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 137.42, 75.6649, -114.099)
[node name="FlagStand" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -128.644, 66.6749, -135.739)
[node name="Boundaries" type="StaticBody3D" parent="."]
physics_material_override = SubResource("PhysicsMaterial_p8eda")
[node name="East" type="CollisionShape3D" parent="Boundaries"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -921.6, 0, 0)
shape = SubResource("WorldBoundaryShape3D_1y05l")
[node name="West" type="CollisionShape3D" parent="Boundaries"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 921.6, 0, 0)
shape = SubResource("WorldBoundaryShape3D_r685f")
[node name="South" type="CollisionShape3D" parent="Boundaries"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -921.6)
shape = SubResource("WorldBoundaryShape3D_yhtlb")
[node name="North" type="CollisionShape3D" parent="Boundaries"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 921.6)
shape = SubResource("WorldBoundaryShape3D_e5ob2")