mirror of
https://gitlab.com/open-fpsz/open-fpsz.git
synced 2026-01-20 03:54:47 +00:00
✨New 'desert' map
This commit is contained in:
parent
7e1c836b26
commit
c35801f6d0
20
environments/desert.tres
Normal file
20
environments/desert.tres
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[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)
|
||||
ground_curve = 0.02
|
||||
|
||||
[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
|
||||
22
maps/desert/desert.tscn
Normal file
22
maps/desert/desert.tscn
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
[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"]
|
||||
|
||||
[node name="Desert" type="Node3D"]
|
||||
|
||||
[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")
|
||||
|
||||
[node name="Terrain3D" type="Terrain3D" parent="."]
|
||||
storage = ExtResource("1_7nbyj")
|
||||
material = ExtResource("2_psdr0")
|
||||
texture_list = ExtResource("3_aowug")
|
||||
collision_layer = 2147483648
|
||||
collision_mask = 2147483648
|
||||
58
maps/desert/resources/material.tres
Normal file
58
maps/desert/resources/material.tres
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
[gd_resource type="Terrain3DMaterial" load_steps=4 format=3 uid="uid://c3isipd4wqxpk"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_rr0fn"]
|
||||
offsets = PackedFloat32Array(0.2, 1)
|
||||
colors = PackedColorArray(1, 1, 1, 1, 0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_e3unr"]
|
||||
noise_type = 2
|
||||
frequency = 0.03
|
||||
cellular_jitter = 3.0
|
||||
cellular_return_type = 0
|
||||
domain_warp_enabled = true
|
||||
domain_warp_type = 1
|
||||
domain_warp_amplitude = 50.0
|
||||
domain_warp_fractal_type = 2
|
||||
domain_warp_fractal_lacunarity = 1.5
|
||||
domain_warp_fractal_gain = 1.0
|
||||
|
||||
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_esvkc"]
|
||||
seamless = true
|
||||
color_ramp = SubResource("Gradient_rr0fn")
|
||||
noise = SubResource("FastNoiseLite_e3unr")
|
||||
|
||||
[resource]
|
||||
_shader_parameters = {
|
||||
"_mouse_layer": 2147483648,
|
||||
"auto_base_texture": 0,
|
||||
"auto_height_reduction": 0.085,
|
||||
"auto_overlay_texture": 1,
|
||||
"auto_slope": 1.0,
|
||||
"blend_sharpness": 0.85,
|
||||
"dual_scale_far": 350.0,
|
||||
"dual_scale_near": 0.0,
|
||||
"dual_scale_reduction": 1.0,
|
||||
"dual_scale_texture": 1,
|
||||
"height_blending": true,
|
||||
"macro_variation1": Color(1, 1, 1, 1),
|
||||
"macro_variation2": Color(0.968627, 0.929412, 0.905882, 1),
|
||||
"noise1_angle": 0.0,
|
||||
"noise1_offset": Vector2(0.5, 0.5),
|
||||
"noise1_scale": 0.4,
|
||||
"noise2_scale": 0.5,
|
||||
"noise3_scale": 0.225,
|
||||
"noise_texture": SubResource("NoiseTexture2D_esvkc"),
|
||||
"tri_scale_reduction": 0.075,
|
||||
"world_noise_blend_far": 1.0,
|
||||
"world_noise_blend_near": 0.75,
|
||||
"world_noise_height": 40.0,
|
||||
"world_noise_lod_distance": 500.0,
|
||||
"world_noise_max_octaves": 6,
|
||||
"world_noise_min_octaves": 5,
|
||||
"world_noise_offset": Vector3(0, 0, 0),
|
||||
"world_noise_scale": 7.5
|
||||
}
|
||||
world_background = 2
|
||||
texture_filtering = 1
|
||||
auto_shader = true
|
||||
dual_scaling = true
|
||||
BIN
maps/desert/resources/storage.res
Normal file
BIN
maps/desert/resources/storage.res
Normal file
Binary file not shown.
24
maps/desert/resources/textures.tres
Normal file
24
maps/desert/resources/textures.tres
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[gd_resource type="Terrain3DTextureList" load_steps=7 format=3 uid="uid://d1j24k8sq8qpj"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://b0rsytdt24l33" path="res://maps/desert/textures/ground054_alb_ht.png" id="1_rh7of"]
|
||||
[ext_resource type="Texture2D" uid="uid://b0no2i8w6xjxj" path="res://maps/desert/textures/ground054_nrm_rgh.png" id="2_xt1tc"]
|
||||
[ext_resource type="Texture2D" uid="uid://dk5ydmb53v6e3" path="res://maps/desert/textures/rock029_alb_ht.png" id="3_elstl"]
|
||||
[ext_resource type="Texture2D" uid="uid://cb1p0l6rv0k6t" path="res://maps/desert/textures/rock029_nrm_rgh.png" id="4_6h5db"]
|
||||
|
||||
[sub_resource type="Terrain3DTexture" id="Terrain3DTexture_wue72"]
|
||||
name = "Rock"
|
||||
albedo_color = Color(0.921569, 0.890196, 0.933333, 1)
|
||||
albedo_texture = ExtResource("3_elstl")
|
||||
normal_texture = ExtResource("4_6h5db")
|
||||
uv_scale = 0.05
|
||||
|
||||
[sub_resource type="Terrain3DTexture" id="Terrain3DTexture_dkh73"]
|
||||
name = "Sand"
|
||||
texture_id = 1
|
||||
albedo_color = Color(0.792157, 0.72549, 0.694118, 1)
|
||||
albedo_texture = ExtResource("1_rh7of")
|
||||
normal_texture = ExtResource("2_xt1tc")
|
||||
uv_scale = 0.15
|
||||
|
||||
[resource]
|
||||
textures = Array[Terrain3DTexture]([SubResource("Terrain3DTexture_wue72"), SubResource("Terrain3DTexture_dkh73")])
|
||||
BIN
maps/desert/textures/ground054_alb_ht.png
Normal file
BIN
maps/desert/textures/ground054_alb_ht.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.5 MiB |
BIN
maps/desert/textures/ground054_nrm_rgh.png
Normal file
BIN
maps/desert/textures/ground054_nrm_rgh.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 MiB |
BIN
maps/desert/textures/rock029_alb_ht.png
Normal file
BIN
maps/desert/textures/rock029_alb_ht.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 MiB |
BIN
maps/desert/textures/rock029_nrm_rgh.png
Normal file
BIN
maps/desert/textures/rock029_nrm_rgh.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.2 MiB |
|
|
@ -1,9 +1,9 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://boviiugcnfyrj"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cbhx1xme0sb7k" path="res://entities/player/player.tscn" id="2_6wbjq"]
|
||||
[ext_resource type="PackedScene" uid="uid://chbno00ugl6te" path="res://maps/genesis/genesis.tscn" id="2_lsep7"]
|
||||
[ext_resource type="PackedScene" uid="uid://dpnu1lvfncx6q" path="res://entities/target_dummy/target_dummy.tscn" id="3_fkq5v"]
|
||||
[ext_resource type="PackedScene" uid="uid://c88l3h0ph00c7" path="res://entities/flag/flag.tscn" id="4_1j2pw"]
|
||||
[ext_resource type="PackedScene" uid="uid://btlkog4b87p4x" path="res://maps/desert/desert.tscn" id="4_dogmv"]
|
||||
|
||||
[sub_resource type="GDScript" id="GDScript_iv0l6"]
|
||||
script/source = "extends Node
|
||||
|
|
@ -28,14 +28,15 @@ absorbent = true
|
|||
[node name="Demo" type="Node"]
|
||||
script = SubResource("GDScript_iv0l6")
|
||||
|
||||
[node name="Map" parent="." instance=ExtResource("2_lsep7")]
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource("2_6wbjq")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 92.7007, 0)
|
||||
transform = Transform3D(0.0640444, 0, -0.997947, 0, 1, 0, 0.997947, 0, 0.0640444, 589.786, 210.119, 853.632)
|
||||
physics_material_override = SubResource("PhysicsMaterial_c5jqv")
|
||||
|
||||
[node name="TargetDummy" parent="." instance=ExtResource("3_fkq5v")]
|
||||
transform = Transform3D(-0.995746, 0, -0.0921446, 0, 1, 0, 0.0921446, 0, -0.995746, 15.757, 95.1745, 0)
|
||||
transform = Transform3D(-0.789567, 0, 0.613666, 0, 1, 0, -0.613666, 0, -0.789567, 418.132, 195.484, 802.593)
|
||||
|
||||
[node name="Flag" parent="." instance=ExtResource("4_1j2pw")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.43107, 92.1318, -3.324)
|
||||
transform = Transform3D(0.405891, 0, -0.913922, 0, 1, 0, 0.913922, 0, 0.405891, 890.762, 179.326, 1005.33)
|
||||
|
||||
[node name="Desert" parent="." instance=ExtResource("4_dogmv")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0566101, 1456.67, 0.597462)
|
||||
|
|
|
|||
Loading…
Reference in a new issue