mirror of
https://gitlab.com/open-fpsz/open-fpsz.git
synced 2026-07-16 08:55:33 +00:00
✨ env settings and maps / env management
This commit is contained in:
parent
e2a9353e7a
commit
2a676a519c
15 changed files with 761 additions and 474 deletions
|
|
@ -1,27 +1,23 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://btlkog4b87p4x"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://btlkog4b87p4x"]
|
||||
|
||||
[ext_resource type="Terrain3DStorage" uid="uid://wgmg245njt8e" path="res://maps/desert/resources/storage.res" id="1_7nbyj"]
|
||||
[ext_resource type="Environment" uid="uid://nw62ce5cglvs" path="res://environments/desert.tres" id="1_e1o3u"]
|
||||
[ext_resource type="Terrain3DMaterial" uid="uid://c3isipd4wqxpk" path="res://maps/desert/resources/material.tres" id="2_psdr0"]
|
||||
[ext_resource type="Terrain3DTextureList" uid="uid://d1j24k8sq8qpj" path="res://maps/desert/resources/textures.tres" id="3_aowug"]
|
||||
[ext_resource type="Script" path="res://maps/map.gd" id="4_cl7fm"]
|
||||
[ext_resource type="Environment" uid="uid://nw62ce5cglvs" path="res://maps/desert/resources/env.tres" id="5_4l4vc"]
|
||||
|
||||
[node name="Desert" type="Terrain3D" node_paths=PackedStringArray("_flagstand", "_player_spawns_root")]
|
||||
[node name="Desert" type="Terrain3D"]
|
||||
storage = ExtResource("1_7nbyj")
|
||||
material = ExtResource("2_psdr0")
|
||||
texture_list = ExtResource("3_aowug")
|
||||
collision_layer = 2147483648
|
||||
collision_mask = 2147483648
|
||||
script = ExtResource("4_cl7fm")
|
||||
_flagstand = NodePath("FlagStand")
|
||||
_player_spawns_root = NodePath("PlayerSpawns")
|
||||
|
||||
[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("1_e1o3u")
|
||||
environment = ExtResource("5_4l4vc")
|
||||
|
||||
[node name="PlayerSpawns" type="Node" parent="."]
|
||||
|
||||
|
|
@ -33,3 +29,6 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1161.42, 174.535, 909.901)
|
|||
|
||||
[node name="FlagStand" type="Marker3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 878.613, 134.55, 916.185)
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 1024, 920, 1024)
|
||||
|
|
|
|||
19
maps/desert/resources/env.tres
Normal file
19
maps/desert/resources/env.tres
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
[gd_resource type="Environment" load_steps=3 format=3 uid="uid://nw62ce5cglvs"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_8mbvu"]
|
||||
sky_top_color = Color(0, 0.584314, 0.670588, 1)
|
||||
sky_horizon_color = Color(0.819608, 0.592157, 0.556863, 1)
|
||||
sky_curve = 0.235375
|
||||
ground_bottom_color = Color(0.819608, 0.592157, 0.556863, 1)
|
||||
ground_horizon_color = Color(0.819608, 0.592157, 0.556863, 1)
|
||||
|
||||
[sub_resource type="Sky" id="Sky_mobku"]
|
||||
sky_material = SubResource("ProceduralSkyMaterial_8mbvu")
|
||||
|
||||
[resource]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_mobku")
|
||||
tonemap_mode = 3
|
||||
tonemap_exposure = 0.85
|
||||
volumetric_fog_density = 0.005
|
||||
adjustment_brightness = 0.85
|
||||
Loading…
Add table
Add a link
Reference in a new issue