Evolution/scenes/World.tscn

137 lines
5.0 KiB
Plaintext

[gd_scene load_steps=18 format=3 uid="uid://bwn0di86nkots"]
[ext_resource type="Script" path="res://scripts/World.cs" id="1_2chdl"]
[ext_resource type="PackedScene" uid="uid://bpf3krgeeo7pt" path="res://scenes/Box.tscn" id="2_gmm05"]
[ext_resource type="PackedScene" uid="uid://dqp4wlr2qj31f" path="res://scenes/GreenBox.tscn" id="3_621lc"]
[ext_resource type="Texture2D" uid="uid://b22evacwu3r6f" path="res://graphics/texture_06.svg" id="3_c3cx5"]
[ext_resource type="Script" path="res://scripts/Floor.cs" id="3_q36sk"]
[ext_resource type="PackedScene" uid="uid://djtfmrjbe01c7" path="res://scenes/OrangeBox.tscn" id="4_1w77b"]
[ext_resource type="PackedScene" uid="uid://bxa0dvonmob7f" path="res://scenes/RedBox.tscn" id="5_o3ohm"]
[ext_resource type="PackedScene" uid="uid://dgufgjsdd5407" path="res://scenes/PurpleBox.tscn" id="6_kqrbp"]
[ext_resource type="Script" path="res://scripts/ShootController.cs" id="9_tfx87"]
[ext_resource type="PackedScene" uid="uid://ci87cvbfpu83q" path="res://scenes/blasterA.tscn" id="10_sekn8"]
[sub_resource type="Sky" id="Sky_kc6p3"]
[sub_resource type="Environment" id="Environment_0d0eg"]
background_mode = 2
sky = SubResource("Sky_kc6p3")
sky_custom_fov = 120.0
ambient_light_source = 3
ambient_light_color = Color(1, 1, 1, 1)
ssr_enabled = true
ssao_enabled = true
ssil_enabled = true
sdfgi_enabled = true
glow_enabled = true
fog_enabled = true
fog_density = 0.0001
volumetric_fog_enabled = true
volumetric_fog_density = 0.0005
[sub_resource type="BoxShape3D" id="BoxShape3D_fl40q"]
size = Vector3(120, 0.1, 80)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_t4i04"]
albedo_texture = ExtResource("3_c3cx5")
uv1_scale = Vector3(32, 32, 32)
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_qlryv"]
lifetime_randomness = 1.0
direction = Vector3(-0.5, 0, 1)
spread = 33.0
initial_velocity_min = 20.0
initial_velocity_max = 30.0
scale_min = 0.5
scale_max = 1.5
collision_mode = 1
collision_friction = 1.0
collision_bounce = 1.0
collision_use_scale = true
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_fyuin"]
emission_enabled = true
emission = Color(1, 1, 0, 1)
emission_energy_multiplier = 2.0
[sub_resource type="SphereMesh" id="SphereMesh_d1ukr"]
material = SubResource("StandardMaterial3D_fyuin")
[node name="World" type="Node3D" node_paths=PackedStringArray("fpsLabel", "boxesLabel", "collisionsLabel")]
script = ExtResource("1_2chdl")
boxScenes = [ExtResource("2_gmm05"), ExtResource("3_621lc"), ExtResource("4_1w77b"), ExtResource("5_o3ohm"), ExtResource("6_kqrbp")]
maxTimer = 0.1
fpsLabel = NodePath("CanvasGroup/FPS")
boxesLabel = NodePath("CanvasGroup/Boxes")
collisionsLabel = NodePath("CanvasGroup/Collisions")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_0d0eg")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.925183, 0.379521, 0, -0.379521, 0.925183, 0, 24.4204, 48.4601)
fov = 120.0
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.826207, 0.563367, 0, -0.563367, 0.826206, 0, 14.8709, 19.8929)
shadow_enabled = true
[node name="Floor" type="Node3D" parent="."]
script = ExtResource("3_q36sk")
[node name="FloorRigidBody3D" type="RigidBody3D" parent="Floor"]
mass = 1000.0
gravity_scale = 0.25
freeze = true
[node name="FloorCollisionShape3D" type="CollisionShape3D" parent="Floor/FloorRigidBody3D"]
shape = SubResource("BoxShape3D_fl40q")
[node name="FloorCSGBox3D" type="CSGBox3D" parent="Floor/FloorRigidBody3D/FloorCollisionShape3D"]
transform = Transform3D(120, 0, 0, 0, 0.1, 0, 0, 0, 80, 0, 0, 0)
material = SubResource("StandardMaterial3D_t4i04")
[node name="CanvasGroup" type="CanvasGroup" parent="."]
[node name="FPS" type="Label" parent="CanvasGroup"]
offset_left = 31.0
offset_top = 24.0
offset_right = 71.0
offset_bottom = 47.0
text = "FPS: 0"
[node name="Boxes" type="Label" parent="CanvasGroup"]
offset_left = 31.0
offset_top = 50.0
offset_right = 76.0
offset_bottom = 76.0
text = "Boxes: 0"
[node name="Collisions" type="Label" parent="CanvasGroup"]
offset_left = 31.0
offset_top = 76.0
offset_right = 95.0
offset_bottom = 102.0
text = "Collisions: 0"
[node name="Blaster" type="Node" parent="."]
[node name="ShootController" type="Node" parent="Blaster" node_paths=PackedStringArray("blaster", "shootParticle", "camera")]
script = ExtResource("9_tfx87")
blaster = NodePath("../blasterA")
shootParticle = NodePath("../blasterA/ShootParticle")
camera = NodePath("../../Camera3D")
[node name="blasterA" parent="Blaster" instance=ExtResource("10_sekn8")]
transform = Transform3D(-5, 0, -7.54979e-07, 0, 5, 0, 7.54979e-07, 0, -5, 0, 15, 40)
[node name="ShootParticle" type="GPUParticles3D" parent="Blaster/blasterA"]
transform = Transform3D(4.68955e-16, 0.1, -6.3573e-09, -0.1, 1.91069e-16, -4.37114e-09, -4.37114e-09, 6.3573e-09, 0.1, -5.71167e-08, 0.119197, 0.378267)
emitting = false
amount = 100
lifetime = 60.0
speed_scale = 5.0
randomness = 1.0
process_material = SubResource("ParticleProcessMaterial_qlryv")
draw_pass_1 = SubResource("SphereMesh_d1ukr")