Add new stairs scene (wip)

This commit is contained in:
Jens Pitkänen 2024-08-19 21:35:43 +03:00
parent efad74caa8
commit f6f348958e
9 changed files with 2521 additions and 1 deletions

View File

@ -141,6 +141,7 @@ layout_mode = 2
size_flags_vertical = 3 size_flags_vertical = 3
bbcode_enabled = true bbcode_enabled = true
text = "[font_size=20]Asset credits[/font_size] text = "[font_size=20]Asset credits[/font_size]
[font_size=16]Textures from ambientcg.com[/font_size]
[font_size=16]Sounds from freesound.org[/font_size] [font_size=16]Sounds from freesound.org[/font_size]
[font_size=12]Wind by Leandros.Ntounis [font_size=12]Wind by Leandros.Ntounis
Footsteps by kyles Footsteps by kyles

View File

@ -11,7 +11,7 @@ radius = 0.3
[node name="Player" type="CharacterBody3D" node_paths=PackedStringArray("Eye", "HeightBasedWindPlayer", "FootstepPlayer")] [node name="Player" type="CharacterBody3D" node_paths=PackedStringArray("Eye", "HeightBasedWindPlayer", "FootstepPlayer")]
script = ExtResource("1_aff2a") script = ExtResource("1_aff2a")
MovementSpeed = 4.0 MovementSpeed = 4.0
JumpVelocity = 5.0 JumpVelocity = 6.0
Gravity = 13.0 Gravity = 13.0
Eye = NodePath("PlayerEyeCamera") Eye = NodePath("PlayerEyeCamera")
HeightBasedWindPlayer = NodePath("HeightBasedWindFx") HeightBasedWindPlayer = NodePath("HeightBasedWindFx")

BIN
scenes/stairs/stairs.exr Normal file

Binary file not shown.

View File

@ -0,0 +1,26 @@
[remap]
importer="2d_array_texture"
type="CompressedTexture2DArray"
uid="uid://ced3hjg0sju85"
path="res://.godot/imported/stairs.exr-9e4d2075a0e77c1968b8475033ffe210.ctexarray"
metadata={
"vram_texture": false
}
[deps]
source_file="res://scenes/stairs/stairs.exr"
dest_files=["res://.godot/imported/stairs.exr-9e4d2075a0e77c1968b8475033ffe210.ctexarray"]
[params]
compress/mode=3
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/channel_pack=1
mipmaps/generate=false
mipmaps/limit=-1
slices/horizontal=1
slices/vertical=1

BIN
scenes/stairs/stairs.lmbake Normal file

Binary file not shown.

39
scenes/stairs/stairs.tscn Normal file
View File

@ -0,0 +1,39 @@
[gd_scene load_steps=9 format=3 uid="uid://dv81sy34l8ice"]
[ext_resource type="CameraAttributesPhysical" uid="uid://cxyj2tvfksjl6" path="res://scenes/hazy_env_camera_attrs.tres" id="1_kljnd"]
[ext_resource type="LightmapGIData" uid="uid://ipje5nrsxy3r" path="res://scenes/stairs/stairs.lmbake" id="2_36ysp"]
[ext_resource type="PackedScene" uid="uid://br315evr8x2gt" path="res://scenes/hazy_env.tscn" id="3_gdvn0"]
[ext_resource type="PackedScene" uid="uid://mgs2yc1fcem7" path="res://scenes/stairs/stairs_map.tscn" id="4_87fvr"]
[ext_resource type="PackedScene" uid="uid://wjbuh7jk50nm" path="res://scenes/player.tscn" id="8_6btor"]
[ext_resource type="PackedScene" uid="uid://c670g1qg5gaug" path="res://scenes/interface/pause_menu.tscn" id="9_cfhxe"]
[ext_resource type="PackedScene" uid="uid://d02cqylu3xwos" path="res://scenes/table.tscn" id="10_hcwch"]
[ext_resource type="Material" uid="uid://bq5oqyuwekryv" path="res://materials/building_block.tres" id="11_gpc6i"]
[node name="Demo" type="Node3D"]
[node name="LightmapGI" type="LightmapGI" parent="."]
quality = 3
camera_attributes = ExtResource("1_kljnd")
light_data = ExtResource("2_36ysp")
[node name="HazyEnv" parent="." instance=ExtResource("3_gdvn0")]
[node name="StairsMap" parent="." instance=ExtResource("4_87fvr")]
[node name="ReflectionProbes" type="Node3D" parent="."]
[node name="Player" parent="." instance=ExtResource("8_6btor")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -79.6119, 47.1605, 3.65156)
MaxVolumeWindHeight = 60.0
[node name="PauseMenu" parent="." instance=ExtResource("9_cfhxe")]
[node name="table" parent="." instance=ExtResource("10_hcwch")]
transform = Transform3D(-0.0123217, 0, 0.999924, 0, 1, 0, -0.999924, 0, -0.0123217, -58.2601, 24.0011, 0)
[node name="Node3D" parent="table" index="2" node_paths=PackedStringArray("TrenchbroomMap")]
TrenchbroomMap = NodePath("../../StairsMap")
BuildingBlockMaterial = ExtResource("11_gpc6i")
BuildingBlockScale = 0.005
[editable path="table"]

File diff suppressed because one or more lines are too long

1460
trenchbroom/maps/stairs.map Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,14 @@
[remap]
importer="func_godot.map"
type="Resource"
uid="uid://d1r4reiea0bc2"
path="res://.godot/imported/stairs.map-eb0ac2e25888154eae1b120261e1b40e.tres"
[deps]
source_file="res://trenchbroom/maps/stairs.map"
dest_files=["res://.godot/imported/stairs.map-eb0ac2e25888154eae1b120261e1b40e.tres"]
[params]