added realtime day night cycle based on system time
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
[gd_scene load_steps=31 format=3 uid="uid://dsnddbrlqkav2"]
|
||||
[gd_scene load_steps=29 format=3 uid="uid://dsnddbrlqkav2"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bkii8jwf0k7tq" path="res://scripts/LevelManager.gd" id="1_laua1"]
|
||||
[ext_resource type="Resource" uid="uid://dn3t7wcoumlm3" path="res://GameModes/standard.tres" id="2_2umal"]
|
||||
[ext_resource type="PackedScene" uid="uid://cwy8iv8nlwqrc" path="res://assets/realtime_day_night_cycle.tscn" id="3_bpxqw"]
|
||||
[ext_resource type="PackedScene" uid="uid://drwae3loscbw7" path="res://assets/player.tscn" id="4_a8lcp"]
|
||||
[ext_resource type="Script" uid="uid://12l74jckdnpl" path="res://scripts/room_manager.gd" id="5_ngmqi"]
|
||||
[ext_resource type="PackedScene" uid="uid://djr7vnr1hcx82" path="res://assets/spider2.tscn" id="6_qmuhr"]
|
||||
@@ -21,23 +22,6 @@
|
||||
[ext_resource type="PackedScene" uid="uid://db7xqf12sayj0" path="res://assets/chest_spawner.tscn" id="20_ena8c"]
|
||||
[ext_resource type="PackedScene" uid="uid://dgapcuvg0gtmm" path="res://assets/scene_changer.tscn" id="20_j4ook"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_w6vpl"]
|
||||
sky_top_color = Color(0.623488, 0.812575, 0.900791, 1)
|
||||
sky_horizon_color = Color(0.705872, 0.745394, 0.758448, 1)
|
||||
ground_bottom_color = Color(0.5, 0.5, 0.5, 1)
|
||||
ground_horizon_color = Color(0.705872, 0.745394, 0.758448, 1)
|
||||
|
||||
[sub_resource type="Sky" id="Sky_6g0ku"]
|
||||
sky_material = SubResource("ProceduralSkyMaterial_w6vpl")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_klp4b"]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_6g0ku")
|
||||
tonemap_mode = 2
|
||||
glow_enabled = true
|
||||
fog_enabled = true
|
||||
fog_density = 0.0005
|
||||
|
||||
[sub_resource type="Animation" id="Animation_3e03q"]
|
||||
length = 0.001
|
||||
tracks/0/type = "position_3d"
|
||||
@@ -91,24 +75,13 @@ map_name = "Wall Runnin"
|
||||
gamemode = ExtResource("2_2umal")
|
||||
player = NodePath("Player")
|
||||
MAX_PARTICLES = 75
|
||||
expected_ammo = {
|
||||
"heavy": 25,
|
||||
"light": 500,
|
||||
"medium": 50,
|
||||
"rocket": 3,
|
||||
"shotgun": 20
|
||||
}
|
||||
|
||||
[node name="Realtime Day Night Cycle" parent="." instance=ExtResource("3_bpxqw")]
|
||||
transform = Transform3D(-0.582719, 0, -0.812674, 0, 1, 0, 0.812674, 0, -0.582719, 0, 0, 0)
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource("4_a8lcp")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26.4194, 277.483, -34.6215)
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_klp4b")
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(-0.78152, -0.330606, 0.52908, 0, 0.848048, 0.529919, -0.62388, 0.414143, -0.662767, 0, 0, 0)
|
||||
shadow_enabled = true
|
||||
|
||||
[node name="Level" type="Node3D" parent="." groups=["enemy_hivemind"]]
|
||||
script = ExtResource("5_ngmqi")
|
||||
room_lockdown = true
|
||||
@@ -203,7 +176,7 @@ door_open_start = true
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="Level/Door"]
|
||||
root_node = NodePath("../..")
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_s1qpx")
|
||||
&"": SubResource("AnimationLibrary_s1qpx")
|
||||
}
|
||||
|
||||
[node name="RoomCheck" type="Area3D" parent="Level"]
|
||||
|
||||
Reference in New Issue
Block a user