initial commit

This commit is contained in:
Brazly
2026-01-13 03:47:51 +00:00
commit b58b59eb96
43 changed files with 3202 additions and 0 deletions

219
Scenes/Levels/office.tscn Normal file
View File

@@ -0,0 +1,219 @@
[gd_scene load_steps=22 format=3 uid="uid://cqtabc6coc58l"]
[ext_resource type="Script" uid="uid://dmtpstry0o0a3" path="res://Assets/Scripts/Player Controls/player_movement.gd" id="1_48dl1"]
[ext_resource type="PackedScene" uid="uid://b2mhoeubwtkuo" path="res://Scenes/UI/fade_in_transition.tscn" id="2_cx0fw"]
[ext_resource type="PackedScene" uid="uid://cbpsnsta7u3wl" path="res://Scenes/Special_Effects/PSX_style.tscn" id="2_gba58"]
[ext_resource type="Script" uid="uid://55cgjgncpb53" path="res://Assets/Scripts/Player Controls/interact.gd" id="2_vwrhx"]
[ext_resource type="PackedScene" uid="uid://b54u8nvjd4p6l" path="res://Scenes/UI/pause_menu.tscn" id="3_cx0fw"]
[ext_resource type="Script" uid="uid://chb1dyhl7cyg1" path="res://Assets/Scripts/UI/crosshair.gd" id="3_vwrhx"]
[ext_resource type="PackedScene" uid="uid://cmyf6lhbn1x6p" path="res://Scenes/Models/Interior/security_office_model.tscn" id="4_vwrhx"]
[ext_resource type="Script" uid="uid://bfsaxhnb0qpuk" path="res://Assets/Scripts/Misc/flickering_light.gd" id="5_nmbs0"]
[ext_resource type="Texture2D" uid="uid://c0qenaw8wxlbv" path="res://Assets/MISC_Textures/DustMote.png" id="6_ayt7b"]
[ext_resource type="PackedScene" uid="uid://c670wtpi4n22q" path="res://Scenes/UI/terminal.tscn" id="10_gba58"]
[sub_resource type="Environment" id="Environment_cumm5"]
background_mode = 1
background_color = Color(0.680932, 0.369129, 0.248985, 1)
background_energy_multiplier = 0.04
ssr_enabled = true
ssao_enabled = true
ssil_enabled = true
sdfgi_use_occlusion = true
glow_normalized = true
fog_light_energy = 15.32
volumetric_fog_density = 0.1974
adjustment_enabled = true
adjustment_brightness = 0.75
[sub_resource type="Gradient" id="Gradient_ayt7b"]
offsets = PackedFloat32Array(0, 0.0824053, 1)
colors = PackedColorArray(0, 0, 0, 1, 0.683742, 0.683742, 0.683742, 1, 1, 1, 1, 0.25098)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_cx0fw"]
gradient = SubResource("Gradient_ayt7b")
[sub_resource type="Curve" id="Curve_vwrhx"]
_data = [Vector2(0, 1), 0.0, 0.471387, 0, 0, Vector2(0.99579, 0), 0.232991, 0.0, 0, 0]
point_count = 2
[sub_resource type="CurveTexture" id="CurveTexture_nmbs0"]
curve = SubResource("Curve_vwrhx")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_cx0fw"]
emission_shape = 3
emission_box_extents = Vector3(1.49, 1.73, 2.42)
initial_velocity_min = 1.0
initial_velocity_max = 2.0
angular_velocity_min = 30.0
angular_velocity_max = 60.0
gravity = Vector3(0, 0, 0)
scale_curve = SubResource("CurveTexture_nmbs0")
color_ramp = SubResource("GradientTexture1D_cx0fw")
turbulence_enabled = true
turbulence_noise_scale = 1.85
collision_mode = 1
collision_friction = 1.0
collision_bounce = 0.0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_vwrhx"]
transparency = 1
vertex_color_use_as_albedo = true
albedo_texture = ExtResource("6_ayt7b")
billboard_mode = 3
billboard_keep_scale = true
particles_anim_h_frames = 1
particles_anim_v_frames = 1
particles_anim_loop = false
[sub_resource type="QuadMesh" id="QuadMesh_nmbs0"]
material = SubResource("StandardMaterial3D_vwrhx")
size = Vector2(0.01, 0.01)
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_vwrhx"]
[sub_resource type="BoxShape3D" id="BoxShape3D_nmbs0"]
size = Vector3(0.0644531, 0.530029, 0.4646)
[sub_resource type="ViewportTexture" id="ViewportTexture_vwrhx"]
viewport_path = NodePath("Interactables/PC/Sprite3D/SubViewport")
[node name="Node3D" type="Node3D"]
[node name="PlayerController" type="Node3D" parent="."]
process_mode = 1
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.370835, 0, 0)
script = ExtResource("1_48dl1")
psxScene = ExtResource("2_gba58")
[node name="Camera3D" type="Camera3D" parent="PlayerController" node_paths=PackedStringArray("terminal")]
transform = Transform3D(0.0188834, 0, -0.999822, 0, 1, 0, 0.999822, 0, 0.0188834, -0.0640411, 1.42725, 1.30117)
fov = 45.2
near = 0.001
script = ExtResource("2_vwrhx")
terminal = NodePath("../../Interactables/PC/Sprite3D/SubViewport")
[node name="CanvasLayer" type="CanvasLayer" parent="PlayerController/Camera3D"]
layer = 2
[node name="Control" type="Control" parent="PlayerController/Camera3D/CanvasLayer"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
size_flags_vertical = 4
[node name="CrosshairCenter" type="CenterContainer" parent="PlayerController/Camera3D/CanvasLayer/Control"]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -20.0
offset_right = 20.0
offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("3_vwrhx")
[node name="PauseMenu" type="CanvasLayer" parent="."]
[node name="Transition" parent="PauseMenu" instance=ExtResource("2_cx0fw")]
process_priority = 5
layer = 5
[node name="CanvasLayer" type="CanvasLayer" parent="PauseMenu"]
layer = 5
[node name="PauseMenu" parent="PauseMenu/CanvasLayer" instance=ExtResource("3_cx0fw")]
process_mode = 3
z_index = 5
[node name="security office_UwU" parent="." instance=ExtResource("4_vwrhx")]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, -6.54)
[node name="Lighting" type="Node3D" parent="."]
[node name="OmniLight3D" type="OmniLight3D" parent="Lighting"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.894977, 0.0786453, 0.971773)
light_color = Color(0.558852, 0.138576, 0.131343, 1)
light_energy = 0.048
[node name="OmniLight3D2" type="OmniLight3D" parent="Lighting"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.982613, 0.0786453, 1.15155)
light_color = Color(0.558852, 0.138576, 0.131343, 1)
light_energy = 0.048
[node name="WorldEnvironment" type="WorldEnvironment" parent="Lighting"]
environment = SubResource("Environment_cumm5")
[node name="SpotLight3D" type="SpotLight3D" parent="Lighting"]
transform = Transform3D(0.313684, -0.884661, -0.344931, -0.446955, -0.458073, 0.768376, -0.837755, -0.0868584, -0.539093, 0.388222, 1.32097, 0.177619)
light_color = Color(1, 0.733333, 0.690196, 1)
light_energy = 0.543
shadow_enabled = true
[node name="OmniLight3D3" type="OmniLight3D" parent="Lighting"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.520964, 3.19324, 0.238268)
light_color = Color(0.101961, 0.054902, 0.0431373, 1)
light_energy = 2.111
light_indirect_energy = 3.59
shadow_enabled = true
script = ExtResource("5_nmbs0")
[node name="Timer" type="Timer" parent="Lighting/OmniLight3D3"]
wait_time = 0.5
autostart = true
[node name="VFX" type="Node3D" parent="Lighting"]
[node name="GPUParticles3D" type="GPUParticles3D" parent="Lighting/VFX"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.72499, 0.354899)
amount = 800
lifetime = 20.0
randomness = 1.0
process_material = SubResource("ParticleProcessMaterial_cx0fw")
draw_pass_1 = SubResource("QuadMesh_nmbs0")
[node name="GPUParticlesCollisionHeightField3D" type="GPUParticlesCollisionHeightField3D" parent="Lighting/VFX"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0385742, -0.168518, 0.386719)
size = Vector3(2.96582, 0.391724, 4.91016)
[node name="GPUParticlesCollisionHeightField3D2" type="GPUParticlesCollisionHeightField3D" parent="Lighting/VFX"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.794207, 0.898239, 1.10249)
size = Vector3(1.29651, 0.0705109, 2.49951)
[node name="GPUParticlesAttractorSphere3D" type="GPUParticlesAttractorSphere3D" parent="Lighting/VFX"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.447443, 1.25731, 0.393826)
strength = 3.0
radius = 0.409208
[node name="GPUParticlesAttractorSphere3D2" type="GPUParticlesAttractorSphere3D" parent="Lighting/VFX"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.569778, 3.12136, 0.370614)
strength = 3.0
radius = 1.01
[node name="Interactables" type="Node3D" parent="."]
[node name="PC" type="StaticBody3D" parent="Interactables"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.521656, 1.06554, 1.25256)
physics_material_override = SubResource("PhysicsMaterial_vwrhx")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Interactables/PC"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0478516, 0.229821, 0.0582275)
shape = SubResource("BoxShape3D_nmbs0")
[node name="Sprite3D" type="Sprite3D" parent="Interactables/PC"]
transform = Transform3D(0.024902493, 0.0022058422, 0, -0.0022058422, 0.024902493, 0, 0, 0, 0.024999999, 0.053893626, 0.2870214, 0.041617036)
flip_h = true
axis = 0
texture = SubResource("ViewportTexture_vwrhx")
[node name="SubViewport" parent="Interactables/PC/Sprite3D" instance=ExtResource("10_gba58")]
[connection signal="timeout" from="Lighting/OmniLight3D3/Timer" to="Lighting/OmniLight3D3" method="_on_timer_timeout"]