Initial Godot 4.0 commit.
parent
a40cb8234a
commit
445cae2cd3
|
@ -0,0 +1,3 @@
|
||||||
|
[folding]
|
||||||
|
|
||||||
|
sections_unfolded=PackedStringArray( "Albedo", "Metallic", "Roughness" )
|
|
@ -0,0 +1,3 @@
|
||||||
|
[folding]
|
||||||
|
|
||||||
|
sections_unfolded=PackedStringArray( )
|
|
@ -0,0 +1,3 @@
|
||||||
|
[folding]
|
||||||
|
|
||||||
|
sections_unfolded=PackedStringArray( )
|
|
@ -0,0 +1,3 @@
|
||||||
|
[folding]
|
||||||
|
|
||||||
|
sections_unfolded=PackedStringArray( )
|
|
@ -0,0 +1,3 @@
|
||||||
|
[folding]
|
||||||
|
|
||||||
|
sections_unfolded=PackedStringArray( )
|
|
@ -0,0 +1,3 @@
|
||||||
|
[folding]
|
||||||
|
|
||||||
|
sections_unfolded=PackedStringArray( )
|
|
@ -0,0 +1,173 @@
|
||||||
|
[editor_states]
|
||||||
|
|
||||||
|
Anim={
|
||||||
|
"visible": false
|
||||||
|
}
|
||||||
|
2D={
|
||||||
|
"grid_offset": Vector2( 0, 0 ),
|
||||||
|
"grid_snap_active": false,
|
||||||
|
"grid_step": Vector2( 8, 8 ),
|
||||||
|
"ofs": Vector2( -165, -110 ),
|
||||||
|
"primary_grid_steps": 8,
|
||||||
|
"show_edit_locks": true,
|
||||||
|
"show_grid": false,
|
||||||
|
"show_guides": true,
|
||||||
|
"show_helpers": false,
|
||||||
|
"show_origin": true,
|
||||||
|
"show_rulers": true,
|
||||||
|
"show_transformation_gizmos": true,
|
||||||
|
"show_viewport": true,
|
||||||
|
"show_zoom_control": true,
|
||||||
|
"skeleton_show_bones": true,
|
||||||
|
"smart_snap_active": false,
|
||||||
|
"snap_guides": true,
|
||||||
|
"snap_node_anchors": true,
|
||||||
|
"snap_node_center": true,
|
||||||
|
"snap_node_parent": true,
|
||||||
|
"snap_node_sides": true,
|
||||||
|
"snap_other_nodes": true,
|
||||||
|
"snap_pixel": false,
|
||||||
|
"snap_relative": false,
|
||||||
|
"snap_rotation": false,
|
||||||
|
"snap_rotation_offset": 0.0,
|
||||||
|
"snap_rotation_step": 0.261799,
|
||||||
|
"snap_scale": false,
|
||||||
|
"snap_scale_step": 0.1,
|
||||||
|
"zoom": 1.0
|
||||||
|
}
|
||||||
|
3D={
|
||||||
|
"fov": 70.0,
|
||||||
|
"gizmos_status": {
|
||||||
|
"AudioStreamPlayer3D": 0,
|
||||||
|
"BakedLightmap": 0,
|
||||||
|
"CPUParticles3D": 0,
|
||||||
|
"CSGShape3D": 0,
|
||||||
|
"Camera3D": 0,
|
||||||
|
"CollisionObject3D": 0,
|
||||||
|
"CollisionPolygon3D": 0,
|
||||||
|
"CollisionShape3D": 0,
|
||||||
|
"Decal": 0,
|
||||||
|
"GIProbe": 0,
|
||||||
|
"GPUParticles3D": 0,
|
||||||
|
"GPUParticlesCollision3D": 0,
|
||||||
|
"Joint3D": 0,
|
||||||
|
"Light3D": 0,
|
||||||
|
"LightmapProbe": 0,
|
||||||
|
"NavigationRegion3D": 0,
|
||||||
|
"OccluderInstance3D": 0,
|
||||||
|
"Path3D": 0,
|
||||||
|
"PhysicalBone3D": 0,
|
||||||
|
"Position3D": 0,
|
||||||
|
"RayCast3D": 0,
|
||||||
|
"ReflectionProbe": 0,
|
||||||
|
"Skeleton3D": 0,
|
||||||
|
"SoftBody3D": 0,
|
||||||
|
"SpringArm3D": 0,
|
||||||
|
"VehicleWheel3D": 0,
|
||||||
|
"VisibilityNotifier3D": 0
|
||||||
|
},
|
||||||
|
"local_coords": false,
|
||||||
|
"preview_sun_env": {
|
||||||
|
"environ_ao_enabled": false,
|
||||||
|
"environ_disabled": false,
|
||||||
|
"environ_energy": 1.0,
|
||||||
|
"environ_gi_enabled": false,
|
||||||
|
"environ_glow_enabled": true,
|
||||||
|
"environ_ground_color": Color( 0.121569, 0.121569, 0.129412, 1 ),
|
||||||
|
"environ_sky_color": Color( 0.568627, 0.698039, 0.807843, 1 ),
|
||||||
|
"environ_tonemap_enabled": true,
|
||||||
|
"sun_color": Color( 1, 1, 1, 1 ),
|
||||||
|
"sun_disabled": false,
|
||||||
|
"sun_energy": 1.0,
|
||||||
|
"sun_max_distance": 250.0,
|
||||||
|
"sun_rotation": Basis( -0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, 0.5, -0.5 )
|
||||||
|
},
|
||||||
|
"rotate_snap": 15.0,
|
||||||
|
"scale_snap": 10.0,
|
||||||
|
"show_grid": true,
|
||||||
|
"show_origin": true,
|
||||||
|
"snap_enabled": true,
|
||||||
|
"translate_snap": 1.0,
|
||||||
|
"viewport_mode": 1,
|
||||||
|
"viewports": [ {
|
||||||
|
"auto_orthogonal": false,
|
||||||
|
"auto_orthogonal_enabled": true,
|
||||||
|
"cinematic_preview": false,
|
||||||
|
"display_mode": 19,
|
||||||
|
"distance": 25.3654,
|
||||||
|
"doppler": false,
|
||||||
|
"frame_time": false,
|
||||||
|
"gizmos": true,
|
||||||
|
"half_res": false,
|
||||||
|
"information": false,
|
||||||
|
"listener": true,
|
||||||
|
"position": Vector3( 11.5212, -1.69095, -7.72354 ),
|
||||||
|
"use_environment": false,
|
||||||
|
"use_orthogonal": false,
|
||||||
|
"view_name": "",
|
||||||
|
"x_rotation": 0.292419,
|
||||||
|
"y_rotation": 7.13062
|
||||||
|
}, {
|
||||||
|
"auto_orthogonal": false,
|
||||||
|
"auto_orthogonal_enabled": true,
|
||||||
|
"cinematic_preview": false,
|
||||||
|
"display_mode": 19,
|
||||||
|
"distance": 4.0,
|
||||||
|
"doppler": false,
|
||||||
|
"frame_time": false,
|
||||||
|
"gizmos": true,
|
||||||
|
"half_res": false,
|
||||||
|
"information": false,
|
||||||
|
"listener": false,
|
||||||
|
"position": Vector3( 0, 0, 0 ),
|
||||||
|
"use_environment": false,
|
||||||
|
"use_orthogonal": false,
|
||||||
|
"view_name": "",
|
||||||
|
"x_rotation": 0.5,
|
||||||
|
"y_rotation": -0.5
|
||||||
|
}, {
|
||||||
|
"auto_orthogonal": false,
|
||||||
|
"auto_orthogonal_enabled": true,
|
||||||
|
"cinematic_preview": false,
|
||||||
|
"display_mode": 19,
|
||||||
|
"distance": 4.0,
|
||||||
|
"doppler": false,
|
||||||
|
"frame_time": false,
|
||||||
|
"gizmos": true,
|
||||||
|
"half_res": false,
|
||||||
|
"information": false,
|
||||||
|
"listener": false,
|
||||||
|
"position": Vector3( 0, 0, 0 ),
|
||||||
|
"use_environment": false,
|
||||||
|
"use_orthogonal": false,
|
||||||
|
"view_name": "",
|
||||||
|
"x_rotation": 0.5,
|
||||||
|
"y_rotation": -0.5
|
||||||
|
}, {
|
||||||
|
"auto_orthogonal": false,
|
||||||
|
"auto_orthogonal_enabled": true,
|
||||||
|
"cinematic_preview": false,
|
||||||
|
"display_mode": 19,
|
||||||
|
"distance": 4.0,
|
||||||
|
"doppler": false,
|
||||||
|
"frame_time": false,
|
||||||
|
"gizmos": true,
|
||||||
|
"half_res": false,
|
||||||
|
"information": false,
|
||||||
|
"listener": false,
|
||||||
|
"position": Vector3( 0, 0, 0 ),
|
||||||
|
"use_environment": false,
|
||||||
|
"use_orthogonal": false,
|
||||||
|
"view_name": "",
|
||||||
|
"x_rotation": 0.5,
|
||||||
|
"y_rotation": -0.5
|
||||||
|
} ],
|
||||||
|
"zfar": 4000.0,
|
||||||
|
"znear": 0.05
|
||||||
|
}
|
||||||
|
TextureRegion={
|
||||||
|
"snap_mode": 0,
|
||||||
|
"snap_offset": Vector2( 0, 0 ),
|
||||||
|
"snap_separation": Vector2( 0, 0 ),
|
||||||
|
"snap_step": Vector2( 10, 10 )
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
[folding]
|
||||||
|
|
||||||
|
node_unfolds=[ NodePath("."), PackedStringArray( "Process" ), NodePath("OmniLight3D"), PackedStringArray( "Light", "Omni", "Shadow" ), NodePath("DirectionalLight3D"), PackedStringArray( "Directional Shadow", "Light", "Shadow" ), NodePath("WorldEnvironment"), PackedStringArray( "environment" ), NodePath("Player/Head"), PackedStringArray( "Transform" ), NodePath("Player/Head/Camera3D"), PackedStringArray( "Transform" ), NodePath("Player/CollisionShape3D"), PackedStringArray( "shape" ), NodePath("Player/MeshInstance3D"), PackedStringArray( "mesh" ) ]
|
||||||
|
resource_unfolds=[ "res://Main.tscn::3", PackedStringArray( "Background", "Glow", "Glow/levels", "SDFGI", "Sky", "Tonemap", "Volumetric Fog", "Volumetric Fog/Temporal Reprojection", "sky" ), "res://Main.tscn::4", PackedStringArray( ), "res://Main.tscn::5", PackedStringArray( ), "res://Main.tscn::6", PackedStringArray( ) ]
|
||||||
|
nodes_folded=[ NodePath("Player"), NodePath("Player/Head") ]
|
|
@ -0,0 +1,3 @@
|
||||||
|
[folding]
|
||||||
|
|
||||||
|
sections_unfolded=PackedStringArray( )
|
|
@ -0,0 +1,15 @@
|
||||||
|
ReflectionProbe
|
||||||
|
BakedLightmap
|
||||||
|
LightmapProbe
|
||||||
|
OmniLight3D
|
||||||
|
Node3D
|
||||||
|
DirectionalLight3D
|
||||||
|
WorldEnvironment
|
||||||
|
Camera3D
|
||||||
|
MeshInstance3D
|
||||||
|
CollisionShape3D
|
||||||
|
KinematicBody3D
|
||||||
|
CSGBox3D
|
||||||
|
CSGCombiner3D
|
||||||
|
CSGTorus3D
|
||||||
|
Node
|
|
@ -0,0 +1,2 @@
|
||||||
|
StandardMaterial3D
|
||||||
|
ORMMaterial3D
|
|
@ -0,0 +1,3 @@
|
||||||
|
[folding]
|
||||||
|
|
||||||
|
sections_unfolded=PackedStringArray( )
|
|
@ -0,0 +1,38 @@
|
||||||
|
[docks]
|
||||||
|
|
||||||
|
dock_3="Scene,Import"
|
||||||
|
dock_4="FileSystem"
|
||||||
|
dock_5="Inspector,Node"
|
||||||
|
dock_filesystem_split=0
|
||||||
|
dock_filesystem_display_mode=0
|
||||||
|
dock_filesystem_file_sort=0
|
||||||
|
dock_filesystem_file_list_display_mode=1
|
||||||
|
dock_split_2=0
|
||||||
|
dock_split_3=0
|
||||||
|
dock_hsplit_1=0
|
||||||
|
dock_hsplit_2=179
|
||||||
|
dock_hsplit_3=-176
|
||||||
|
dock_hsplit_4=0
|
||||||
|
|
||||||
|
[EditorNode]
|
||||||
|
|
||||||
|
open_scenes=[ "res://Main.tscn" ]
|
||||||
|
|
||||||
|
[ScriptEditor]
|
||||||
|
|
||||||
|
open_scripts=[ {
|
||||||
|
"path": "res://Player.gd",
|
||||||
|
"state": {
|
||||||
|
"bookmarks": [ ],
|
||||||
|
"breakpoints": [ ],
|
||||||
|
"column": 12,
|
||||||
|
"folded_lines": PackedInt32Array( ),
|
||||||
|
"h_scroll_position": 0,
|
||||||
|
"row": 15,
|
||||||
|
"scroll_position": 0.0,
|
||||||
|
"selection": false,
|
||||||
|
"syntax_highlighter": "GDScript"
|
||||||
|
}
|
||||||
|
} ]
|
||||||
|
open_help=[ ]
|
||||||
|
split_offset=39
|
|
@ -0,0 +1,13 @@
|
||||||
|
3844edc3d1660e6e25a999aafc25a878
|
||||||
|
::res://::1621020247
|
||||||
|
default_env.tres::Environment::1621020364::0::1::::<><>::
|
||||||
|
icon.png::StreamTexture2D::1620750313::1620750329::1::::<><>::
|
||||||
|
Main.tscn::PackedScene::1621020364::0::1::::<><>::res://Player.gd<>res://Assets/Materials/BaseVisualShader.tres<>res://Assets/Maps/DM1/DM1.glb
|
||||||
|
Player.gd::GDScript::1620765662::0::1::::<>KinematicBody3D<>::
|
||||||
|
::res://Assets/::1620765792
|
||||||
|
::res://Assets/Maps/::1620765783
|
||||||
|
::res://Assets/Maps/DM1/::1620765882
|
||||||
|
DM1.glb::PackedScene::1620765856::1620765882::1::::<><>::
|
||||||
|
::res://Assets/Materials/::1621019147
|
||||||
|
Base.tres::StandardMaterial3D::1620767404::0::1::::<><>::
|
||||||
|
BaseVisualShader.tres::ShaderMaterial::1621019147::0::1::::<><>::
|
|
@ -0,0 +1,4 @@
|
||||||
|
res://Assets/Shaders/Base.tres
|
||||||
|
res://Main.tscn
|
||||||
|
res://Player.gd
|
||||||
|
res://default_env.tres
|
|
@ -0,0 +1,3 @@
|
||||||
|
[folding]
|
||||||
|
|
||||||
|
sections_unfolded=PackedStringArray( )
|
|
@ -0,0 +1,32 @@
|
||||||
|
[editor_metadata]
|
||||||
|
|
||||||
|
executable_path="/data/Applications/Godot/4.0/godot"
|
||||||
|
|
||||||
|
[debug_options]
|
||||||
|
|
||||||
|
run_live_debug=true
|
||||||
|
run_reload_scripts=true
|
||||||
|
run_debug_instances=1
|
||||||
|
|
||||||
|
[recent_files]
|
||||||
|
|
||||||
|
scenes=[ "res://Main.tscn" ]
|
||||||
|
scripts=[ "NetworkedMultiplayerPeer", "LightmapProbe", "Node3D", "res://Player.gd" ]
|
||||||
|
|
||||||
|
[script_setup]
|
||||||
|
|
||||||
|
last_selected_template=""
|
||||||
|
last_selected_language="GDScript"
|
||||||
|
|
||||||
|
[dialog_bounds]
|
||||||
|
|
||||||
|
project_settings=Rect2( 0, 29, 1920, 1006 )
|
||||||
|
editor_settings=Rect2( 1920, 29, 1920, 1051 )
|
||||||
|
|
||||||
|
[project_settings]
|
||||||
|
|
||||||
|
advanced_mode=true
|
||||||
|
|
||||||
|
[inspector_options]
|
||||||
|
|
||||||
|
material_preview_on_sphere=true
|
|
@ -0,0 +1,4 @@
|
||||||
|
res://Assets/Maps/DM1
|
||||||
|
res://Assets/Materials/
|
||||||
|
res://Assets/Materials
|
||||||
|
res://
|
|
@ -0,0 +1,3 @@
|
||||||
|
source_md5="ce5f7f5df1790298675414be0f691d59"
|
||||||
|
dest_md5="4015bc7cf94ad94cbd8df20d18b95f99"
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
source_md5="ce5f7f5df1790298675414be0f691d59"
|
||||||
|
dest_md5="0f2ecf7ca76edb18cd15678d57907521"
|
||||||
|
|
Binary file not shown.
|
@ -0,0 +1,3 @@
|
||||||
|
source_md5="47313fa4c47a9963fddd764e1ec6e4a8"
|
||||||
|
dest_md5="99b07af0f62c2854ca2010c2a394dc11"
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,28 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
path="res://.godot/imported/DM1.glb-9d0a731111d6eea69d0dd97fe5ed5e9b.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/Maps/DM1/DM1.glb"
|
||||||
|
dest_files=[ "res://.godot/imported/DM1.glb-9d0a731111d6eea69d0dd97fe5ed5e9b.scn" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type="Node3D"
|
||||||
|
nodes/root_name="Scene Root"
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=2
|
||||||
|
meshes/lightmap_texel_size=0.1
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=15
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
[gd_resource type="StandardMaterial3D" format=2]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
albedo_color = Color( 0.317647, 0.317647, 0.317647, 1 )
|
||||||
|
roughness = 0.29
|
|
@ -0,0 +1,111 @@
|
||||||
|
[gd_scene load_steps=10 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Player.gd" type="Script" id=1]
|
||||||
|
[ext_resource path="res://Assets/Shaders/Base.tres" type="Material" id=2]
|
||||||
|
[ext_resource path="res://Assets/Maps/DM1/DM1.glb" type="PackedScene" id=3]
|
||||||
|
|
||||||
|
[sub_resource type="PhysicalSkyMaterial" id=1]
|
||||||
|
|
||||||
|
[sub_resource type="Sky" id=2]
|
||||||
|
sky_material = SubResource( 1 )
|
||||||
|
|
||||||
|
[sub_resource type="Environment" id=3]
|
||||||
|
background_mode = 2
|
||||||
|
sky = SubResource( 2 )
|
||||||
|
tonemap_mode = 2
|
||||||
|
tonemap_white = 2.0
|
||||||
|
ssao_enabled = true
|
||||||
|
ssao_radius = 8.0
|
||||||
|
ssao_intensity = 1.0
|
||||||
|
sdfgi_read_sky_light = true
|
||||||
|
sdfgi_bounce_feedback = 0.9
|
||||||
|
glow_enabled = true
|
||||||
|
glow_levels/3 = 0.6
|
||||||
|
glow_levels/4 = 0.47
|
||||||
|
glow_levels/5 = 0.17
|
||||||
|
glow_levels/6 = 0.05
|
||||||
|
glow_normalized = true
|
||||||
|
glow_intensity = 2.0
|
||||||
|
glow_hdr_threshold = 2.0
|
||||||
|
glow_hdr_scale = 4.0
|
||||||
|
glow_hdr_luminance_cap = 5.0
|
||||||
|
volumetric_fog_density = 0.001
|
||||||
|
volumetric_fog_gi_inject = 0.1
|
||||||
|
|
||||||
|
[sub_resource type="CameraEffects" id=4]
|
||||||
|
|
||||||
|
[sub_resource type="CapsuleShape3D" id=5]
|
||||||
|
radius = 0.5
|
||||||
|
height = 1.3
|
||||||
|
|
||||||
|
[sub_resource type="CapsuleMesh" id=6]
|
||||||
|
radius = 0.5
|
||||||
|
mid_height = 1.3
|
||||||
|
|
||||||
|
[node name="World" type="Node3D"]
|
||||||
|
script = null
|
||||||
|
|
||||||
|
[node name="OmniLight3D" type="OmniLight3D" parent="."]
|
||||||
|
transform = Transform( -0.462097, -0.0829879, -0.882938, -0.612372, 0.75, 0.25, 0.641457, 0.656211, -0.397392, 0.124393, 4.30152, -8.12432 )
|
||||||
|
light_color = Color( 1, 0.509804, 0.290196, 1 )
|
||||||
|
light_energy = 10.0
|
||||||
|
shadow_enabled = true
|
||||||
|
omni_range = 25.0
|
||||||
|
omni_attenuation = 0.90125
|
||||||
|
script = null
|
||||||
|
|
||||||
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||||
|
transform = Transform( -0.462097, -0.0829877, -0.882938, -0.886591, 0.0663194, 0.457775, 0.0205662, 0.994341, -0.104222, 0, 38, -1 )
|
||||||
|
shadow_enabled = true
|
||||||
|
shadow_bias = 0.035
|
||||||
|
shadow_blur = 8.0
|
||||||
|
directional_shadow_blend_splits = true
|
||||||
|
directional_shadow_depth_range = 1
|
||||||
|
script = null
|
||||||
|
|
||||||
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||||
|
environment = SubResource( 3 )
|
||||||
|
camera_effects = SubResource( 4 )
|
||||||
|
script = null
|
||||||
|
|
||||||
|
[node name="DM1" parent="." instance=ExtResource( 3 )]
|
||||||
|
|
||||||
|
[node name="Main " parent="DM1" index="0"]
|
||||||
|
surface_material_override/0 = ExtResource( 2 )
|
||||||
|
surface_material_override/1 = ExtResource( 2 )
|
||||||
|
surface_material_override/2 = ExtResource( 2 )
|
||||||
|
surface_material_override/3 = ExtResource( 2 )
|
||||||
|
surface_material_override/4 = ExtResource( 2 )
|
||||||
|
surface_material_override/5 = ExtResource( 2 )
|
||||||
|
|
||||||
|
[node name="Player" type="KinematicBody3D" parent="."]
|
||||||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0 )
|
||||||
|
script = ExtResource( 1 )
|
||||||
|
|
||||||
|
[node name="Head" type="Node3D" parent="Player"]
|
||||||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
|
||||||
|
script = null
|
||||||
|
|
||||||
|
[node name="Camera3D" type="Camera3D" parent="Player/Head"]
|
||||||
|
transform = Transform( 1, 0, 2.38419e-07, 0, 1, 0, -2.38419e-07, 0, 1, 0, 0, 0 )
|
||||||
|
current = true
|
||||||
|
fov = 90.0
|
||||||
|
script = null
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Player"]
|
||||||
|
shape = SubResource( 5 )
|
||||||
|
script = null
|
||||||
|
|
||||||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Player"]
|
||||||
|
mesh = SubResource( 6 )
|
||||||
|
surface_material_override/0 = null
|
||||||
|
script = null
|
||||||
|
|
||||||
|
[node name="ReflectionProbe" type="ReflectionProbe" parent="."]
|
||||||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 13, 0 )
|
||||||
|
extents = Vector3( 33, 13, 29 )
|
||||||
|
box_projection = true
|
||||||
|
enable_shadows = true
|
||||||
|
script = null
|
||||||
|
|
||||||
|
[editable path="DM1"]
|
|
@ -0,0 +1,16 @@
|
||||||
|
extends KinematicBody3D
|
||||||
|
|
||||||
|
@export var _mouse_sensitivity := 0.35
|
||||||
|
|
||||||
|
func _ready() -> void:
|
||||||
|
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
|
||||||
|
|
||||||
|
func _input(event) -> void:
|
||||||
|
var mouse_motion = event as InputEventMouseMotion
|
||||||
|
|
||||||
|
if mouse_motion:
|
||||||
|
rotation_degrees.y -= mouse_motion.relative.x * _mouse_sensitivity
|
||||||
|
|
||||||
|
var current_tilt: float = $Head.rotation_degrees.x
|
||||||
|
current_tilt -= mouse_motion.relative.y * _mouse_sensitivity
|
||||||
|
$Head.rotation_degrees.x = clamp(current_tilt, -90, 90)
|
|
@ -0,0 +1,7 @@
|
||||||
|
[gd_resource type="Environment" load_steps=2 format=2]
|
||||||
|
|
||||||
|
[sub_resource type="Sky" id=1]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
background_mode = 2
|
||||||
|
sky = SubResource( 1 )
|
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture2D"
|
||||||
|
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://icon.png"
|
||||||
|
dest_files=[ "res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
compress/streamed=false
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/invert_color=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
|
svg/scale=1.0
|
|
@ -0,0 +1,86 @@
|
||||||
|
; Engine configuration file.
|
||||||
|
; It's best edited using the editor UI and not directly,
|
||||||
|
; since the parameters that go here are not all obvious.
|
||||||
|
;
|
||||||
|
; Format:
|
||||||
|
; [section] ; section goes between []
|
||||||
|
; param=value ; assign values to parameters
|
||||||
|
|
||||||
|
config_version=4
|
||||||
|
|
||||||
|
[application]
|
||||||
|
|
||||||
|
config/name="Liblast"
|
||||||
|
run/main_scene="res://Main.tscn"
|
||||||
|
config/icon="res://icon.png"
|
||||||
|
|
||||||
|
[input]
|
||||||
|
|
||||||
|
player_forward={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"events": [ ]
|
||||||
|
}
|
||||||
|
player_backward={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"events": [ ]
|
||||||
|
}
|
||||||
|
player_left={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"events": [ ]
|
||||||
|
}
|
||||||
|
player_right={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"events": [ ]
|
||||||
|
}
|
||||||
|
player_jump={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"events": [ ]
|
||||||
|
}
|
||||||
|
player_crouch={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"events": [ ]
|
||||||
|
}
|
||||||
|
player_trigger_primary={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"events": [ ]
|
||||||
|
}
|
||||||
|
player_trigger_secondary={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"events": [ ]
|
||||||
|
}
|
||||||
|
player_zoom={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"events": [ ]
|
||||||
|
}
|
||||||
|
player_jetpack={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"events": [ ]
|
||||||
|
}
|
||||||
|
player_weapon_previous={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"events": [ ]
|
||||||
|
}
|
||||||
|
player_weapon_next={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"events": [ ]
|
||||||
|
}
|
||||||
|
player_weapon_reload={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"events": [ ]
|
||||||
|
}
|
||||||
|
player_weapon_swap={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"events": [ ]
|
||||||
|
}
|
||||||
|
|
||||||
|
[rendering]
|
||||||
|
|
||||||
|
shadows/directional_shadow/soft_shadow_quality=4
|
||||||
|
shadows/shadows/soft_shadow_quality=4
|
||||||
|
global_illumination/sdfgi/probe_ray_count=2
|
||||||
|
global_illumination/sdfgi/frames_to_converge=0
|
||||||
|
global_illumination/sdfgi/frames_to_update_lights=4
|
||||||
|
anti_aliasing/quality/msaa=1
|
||||||
|
anti_aliasing/quality/screen_space_aa=1
|
||||||
|
anti_aliasing/quality/use_debanding=true
|
||||||
|
environment/defaults/default_environment="res://default_env.tres"
|
Reference in New Issue