111 lines
6.4 KiB
Text
111 lines
6.4 KiB
Text
|
[gd_scene load_steps=17 format=3 uid="uid://dnmetcwb14svi"]
|
||
|
|
||
|
[ext_resource type="Material" uid="uid://chag8j6kyegq0" path="res://Packs/Kaykit-Proto/materials/floor.tres" id="1_b53sv"]
|
||
|
[ext_resource type="PackedScene" uid="uid://qbceryqqfoum" path="res://Packs/Kaykit-Proto/obj/dummy.tscn" id="2_40027"]
|
||
|
[ext_resource type="ArrayMesh" uid="uid://cii0xstywuncw" path="res://Packs/Kaykit-Proto/obj/Barrel_A.obj" id="3_afokq"]
|
||
|
[ext_resource type="ArrayMesh" uid="uid://ctwlo3t2cvi42" path="res://Packs/Kaykit-Proto/obj/Box_A.obj" id="4_mqp7f"]
|
||
|
[ext_resource type="ArrayMesh" uid="uid://dj5nhomlun7km" path="res://Packs/Kaykit-Proto/obj/Box_B.obj" id="5_ipipj"]
|
||
|
[ext_resource type="Texture2D" uid="uid://bsnc11pwypbny" path="res://Packs/Kaykit-Proto/obj/prototypebits_texture.png" id="6_anror"]
|
||
|
[ext_resource type="ArrayMesh" uid="uid://clfdc3wo1fn0c" path="res://Packs/Kaykit-Proto/obj/Cube_Prototype_Small.obj" id="7_f8cpb"]
|
||
|
[ext_resource type="PackedScene" uid="uid://djj1fc8qm10t6" path="res://Core/player.tscn" id="8_mqp7f"]
|
||
|
[ext_resource type="VoxelGIData" uid="uid://cubwphu04tyr4" path="res://generated/gym.VoxelGI_data.res" id="9_ipipj"]
|
||
|
|
||
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_vkxe1"]
|
||
|
sky_top_color = Color(0.29998082, 0.7019671, 0.7430855, 1)
|
||
|
sky_horizon_color = Color(0.67294115, 0.76902217, 0.7743324, 1)
|
||
|
ground_bottom_color = Color(0.08728691, 0.06962478, 0.049747247, 1)
|
||
|
ground_horizon_color = Color(0.67294115, 0.76902217, 0.7743324, 1)
|
||
|
energy_multiplier = 2.0
|
||
|
|
||
|
[sub_resource type="Sky" id="Sky_607fo"]
|
||
|
sky_material = SubResource("ProceduralSkyMaterial_vkxe1")
|
||
|
|
||
|
[sub_resource type="Environment" id="Environment_lefpg"]
|
||
|
resource_name = "gym_env"
|
||
|
background_mode = 2
|
||
|
sky = SubResource("Sky_607fo")
|
||
|
tonemap_mode = 2
|
||
|
ssao_enabled = true
|
||
|
glow_enabled = true
|
||
|
volumetric_fog_enabled = true
|
||
|
volumetric_fog_density = 0.0065
|
||
|
|
||
|
[sub_resource type="BoxMesh" id="BoxMesh_afokq"]
|
||
|
resource_local_to_scene = true
|
||
|
resource_name = "floor_mesh"
|
||
|
lightmap_size_hint = Vector2i(103, 59)
|
||
|
uv2_padding = 0.0
|
||
|
size = Vector3(10, 0.3, 10)
|
||
|
subdivide_width = 5
|
||
|
subdivide_depth = 5
|
||
|
|
||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mqp7f"]
|
||
|
albedo_texture = ExtResource("6_anror")
|
||
|
|
||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_aq7w3"]
|
||
|
resource_local_to_scene = true
|
||
|
resource_name = "proto_rigid"
|
||
|
albedo_color = Color(0.8515964, 0.5950552, 0.037019093, 1)
|
||
|
albedo_texture = ExtResource("6_anror")
|
||
|
|
||
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_afokq"]
|
||
|
points = PackedVector3Array(-0.9539594, 0.07707009, -0.92311066, 0.9954823, 1.9021704, 0.90234715, 0.9539307, 1.9229443, 0.92312497, 0.9022426, 1.902107, -0.9956503, -0.9023408, 1.9953208, 0.9023384, 0.9023113, 0.004663769, 0.9023524, -0.9022721, 0.09790697, 0.99563485, 0.9954824, 0.09782952, -0.90234715, -0.99551034, 1.9021565, -0.90233314, 0.9023113, 1.9953362, -0.9023524, -0.99551034, 0.097843505, 0.90233314, 0.9022426, 1.902107, 0.9956503, -0.9022721, 0.09790697, -0.99563485, -0.9023408, 0.004679235, -0.9023384, 0.9022426, 0.097892955, -0.99565035, -0.9022721, 1.902093, -0.99563485, 0.9022426, 0.097892955, 0.99565035, -0.9022721, 1.902093, 0.99563485, 0.9023113, 0.004663769, -0.9023524, -0.9023408, 1.9953208, -0.9023384, -0.9023408, 0.004679235, 0.9023384, 0.9954824, 0.09782952, 0.90234715, 0.9954823, 1.9021704, -0.90234715, -0.99551034, 1.9021565, 0.90233314, 0.9023113, 1.9953362, 0.9023524, -0.99551034, 0.097843505, -0.90233314)
|
||
|
|
||
|
[node name="Gym" type="Node"]
|
||
|
|
||
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||
|
environment = SubResource("Environment_lefpg")
|
||
|
|
||
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||
|
transform = Transform3D(-0.8660254, -0.43301278, 0.25, 0, 0.49999997, 0.86602545, -0.50000006, 0.75, -0.43301266, 0, 0, 0)
|
||
|
light_energy = 1.3
|
||
|
shadow_enabled = true
|
||
|
directional_shadow_max_distance = 500.0
|
||
|
|
||
|
[node name="CSGMesh3D" type="CSGMesh3D" parent="."]
|
||
|
transform = Transform3D(5.015, 0, 0, 0, 1, 0, 0, 0, 6.05, 0, -0.125, 0)
|
||
|
material_override = ExtResource("1_b53sv")
|
||
|
use_collision = true
|
||
|
mesh = SubResource("BoxMesh_afokq")
|
||
|
|
||
|
[node name="dummy" parent="." instance=ExtResource("2_40027")]
|
||
|
transform = Transform3D(0.23293716, 0, -0.8693332, 0, 0.9, 0, 0.8693332, 0, 0.23293716, 1.636292, 0, 5.282063)
|
||
|
|
||
|
[node name="BarrelA" type="MeshInstance3D" parent="."]
|
||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.46089, 0.4690876, -5.6751404)
|
||
|
material_override = SubResource("StandardMaterial3D_mqp7f")
|
||
|
mesh = ExtResource("3_afokq")
|
||
|
|
||
|
[node name="BoxA" type="MeshInstance3D" parent="."]
|
||
|
transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 4.6958694, 0, 0.47373772)
|
||
|
mesh = ExtResource("4_mqp7f")
|
||
|
|
||
|
[node name="BoxB" type="MeshInstance3D" parent="."]
|
||
|
transform = Transform3D(1.545552, 0, -1.7033111, 0, 2.3, 0, 1.7033111, 0, 1.545552, 6.5613637, 0, -3.459313)
|
||
|
mesh = ExtResource("5_ipipj")
|
||
|
|
||
|
[node name="CubePrototypeSmall2" type="MeshInstance3D" parent="."]
|
||
|
transform = Transform3D(0.71254057, 0, -0.7016309, 0, 1, 0, 0.7016309, 0, 0.71254057, 0.19311635, 4.7683716e-07, 6.7632627)
|
||
|
mesh = ExtResource("7_f8cpb")
|
||
|
|
||
|
[node name="RigidBody3D2" type="RigidBody3D" parent="."]
|
||
|
|
||
|
[node name="CubePrototypeSmall" type="MeshInstance3D" parent="RigidBody3D2"]
|
||
|
transform = Transform3D(0.9493213, 0, 0.31430727, -0.16992609, 0.8412561, 0.5132381, -0.2644129, -0.54063684, 0.79862237, -5.197, 6.3825016, -12.265)
|
||
|
material_override = SubResource("StandardMaterial3D_aq7w3")
|
||
|
mesh = ExtResource("7_f8cpb")
|
||
|
skeleton = NodePath("../../root/@EditorNode@20441/@Panel@14/@VBoxContainer@15/DockHSplitLeftL/DockHSplitLeftR/DockHSplitMain/@VBoxContainer@26/DockVSplitCenter/@VSplitContainer@62/@VBoxContainer@63/@EditorMainScreen@103/MainScreen/@CanvasItemEditor@10870/@VSplitContainer@10515/@HSplitContainer@10517/@HSplitContainer@10519/@Control@10520/@SubViewportContainer@10521/@SubViewport@10522/Gym")
|
||
|
|
||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D2"]
|
||
|
transform = Transform3D(0.9493213, 0, 0.31430727, -0.16992609, 0.8412561, 0.5132381, -0.2644129, -0.54063684, 0.79862237, -5.197, 6.3825016, -12.265)
|
||
|
shape = SubResource("ConvexPolygonShape3D_afokq")
|
||
|
|
||
|
[node name="player_root" parent="." instance=ExtResource("8_mqp7f")]
|
||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.6329784, 0, 0)
|
||
|
zoom_speed_damp = 0.85
|
||
|
|
||
|
[node name="VoxelGI" type="VoxelGI" parent="."]
|
||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16.096863, 9.957031, 31.13272)
|
||
|
size = Vector3(92.730835, 66.615234, 140.03693)
|
||
|
data = ExtResource("9_ipipj")
|