2024-07-25 17:26:07 -06:00
|
|
|
[gd_scene load_steps=29 format=3 uid="uid://drbiyuustse8b"]
|
2024-07-20 13:12:55 -06:00
|
|
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bqp5mwyat3asv" path="res://src/player/player.tscn" id="1_tgee4"]
|
2024-07-20 17:07:17 -06:00
|
|
|
[ext_resource type="Material" uid="uid://7a1uvst7oef2" path="res://assets/textures/metal_plate_1k/metal_plate.tres" id="2_ewgwm"]
|
2024-07-24 14:46:21 -06:00
|
|
|
[ext_resource type="PackedScene" uid="uid://2vetjvn3w0si" path="res://src/npc/dummy/dummy.tscn" id="2_stkni"]
|
2024-07-23 18:39:34 -06:00
|
|
|
[ext_resource type="Shader" path="res://src/shaders/sunny_sky.gdshader" id="2_x74tl"]
|
2024-07-25 16:56:09 -06:00
|
|
|
[ext_resource type="PackedScene" uid="uid://bsnw37bqf5hgr" path="res://src/effects/ballistic_impact.tscn" id="3_g2cjh"]
|
2024-07-23 18:49:26 -06:00
|
|
|
[ext_resource type="Material" uid="uid://dsc0g1qafw80e" path="res://src/maps/arena_map/metal_09.tres" id="3_jqqt6"]
|
2024-07-20 13:12:55 -06:00
|
|
|
|
2024-07-23 18:39:34 -06:00
|
|
|
[sub_resource type="FastNoiseLite" id="FastNoiseLite_6sfce"]
|
|
|
|
seed = 2
|
|
|
|
frequency = 0.071
|
|
|
|
domain_warp_type = 1
|
2024-07-23 15:22:06 -06:00
|
|
|
|
2024-07-23 18:39:34 -06:00
|
|
|
[sub_resource type="NoiseTexture3D" id="NoiseTexture3D_7f12p"]
|
|
|
|
width = 32
|
|
|
|
height = 32
|
|
|
|
depth = 128
|
|
|
|
noise = SubResource("FastNoiseLite_6sfce")
|
2024-07-23 15:22:06 -06:00
|
|
|
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_jkl68"]
|
2024-07-23 18:39:34 -06:00
|
|
|
shader = ExtResource("2_x74tl")
|
2024-07-23 15:22:06 -06:00
|
|
|
shader_parameter/sun_color = Color(1, 1, 1, 1)
|
|
|
|
shader_parameter/sky_color = Color(0, 0, 0, 1)
|
2024-07-23 18:39:34 -06:00
|
|
|
shader_parameter/threshold = 0.4
|
|
|
|
shader_parameter/speed = 0.008
|
|
|
|
shader_parameter/rotation = 2.0
|
|
|
|
shader_parameter/base_noise = SubResource("NoiseTexture3D_7f12p")
|
2024-07-20 13:50:12 -06:00
|
|
|
|
|
|
|
[sub_resource type="Sky" id="Sky_7lp20"]
|
2024-07-23 15:22:06 -06:00
|
|
|
sky_material = SubResource("ShaderMaterial_jkl68")
|
2024-07-20 13:50:12 -06:00
|
|
|
|
|
|
|
[sub_resource type="Environment" id="Environment_0cwcw"]
|
|
|
|
background_mode = 2
|
|
|
|
sky = SubResource("Sky_7lp20")
|
2024-07-24 16:58:40 -06:00
|
|
|
glow_enabled = true
|
2024-07-20 13:50:12 -06:00
|
|
|
|
2024-07-20 13:12:55 -06:00
|
|
|
[sub_resource type="CylinderMesh" id="CylinderMesh_uarav"]
|
2024-07-23 18:49:26 -06:00
|
|
|
material = ExtResource("3_jqqt6")
|
2024-07-20 13:12:55 -06:00
|
|
|
top_radius = 50.0
|
|
|
|
bottom_radius = 50.0
|
|
|
|
|
2024-07-24 14:46:21 -06:00
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_imuqt"]
|
|
|
|
radius = 50.0
|
|
|
|
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_61wmo"]
|
|
|
|
height = 100.0
|
|
|
|
radius = 50.0
|
2024-07-20 13:12:55 -06:00
|
|
|
|
2024-07-23 18:49:26 -06:00
|
|
|
[sub_resource type="CylinderMesh" id="CylinderMesh_jjkoa"]
|
|
|
|
material = ExtResource("3_jqqt6")
|
|
|
|
top_radius = 70.0
|
|
|
|
bottom_radius = 70.0
|
|
|
|
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_moqbh"]
|
|
|
|
radius = 70.0
|
|
|
|
|
2024-07-24 14:46:21 -06:00
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_11kxj"]
|
|
|
|
height = 100.0
|
|
|
|
radius = 70.0
|
|
|
|
|
2024-07-20 13:12:55 -06:00
|
|
|
[sub_resource type="CylinderMesh" id="CylinderMesh_pfp3p"]
|
2024-07-20 17:07:17 -06:00
|
|
|
lightmap_size_hint = Vector2i(17, 19)
|
|
|
|
material = ExtResource("2_ewgwm")
|
2024-07-22 18:14:51 -06:00
|
|
|
height = 20.0
|
2024-07-20 13:12:55 -06:00
|
|
|
|
2024-07-22 18:14:51 -06:00
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_6nyir"]
|
|
|
|
height = 20.0
|
2024-07-20 13:12:55 -06:00
|
|
|
|
2024-07-25 17:26:07 -06:00
|
|
|
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_icayw"]
|
|
|
|
plane = Plane(1, 0, 0, 0)
|
|
|
|
|
|
|
|
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_q1oeh"]
|
|
|
|
plane = Plane(-1, 0, 0, 0)
|
|
|
|
|
|
|
|
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_rsiy4"]
|
|
|
|
plane = Plane(0, 0, 1, 0)
|
|
|
|
|
|
|
|
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_v04wy"]
|
|
|
|
plane = Plane(0, 0, -1, 0)
|
|
|
|
|
|
|
|
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_gye7m"]
|
|
|
|
|
|
|
|
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_x27m4"]
|
|
|
|
plane = Plane(0, -1, 0, 0)
|
|
|
|
|
2024-07-22 15:23:32 -06:00
|
|
|
[sub_resource type="Animation" id="Animation_48do4"]
|
|
|
|
length = 0.001
|
2024-07-21 14:38:56 -06:00
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Environment/LightAxis:rotation")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
2024-07-22 15:23:32 -06:00
|
|
|
"times": PackedFloat32Array(0),
|
|
|
|
"transitions": PackedFloat32Array(1),
|
2024-07-21 14:38:56 -06:00
|
|
|
"update": 0,
|
2024-07-22 15:23:32 -06:00
|
|
|
"values": [Vector3(0, 0, 0)]
|
2024-07-21 14:38:56 -06:00
|
|
|
}
|
|
|
|
|
2024-07-22 15:23:32 -06:00
|
|
|
[sub_resource type="Animation" id="Animation_0hul6"]
|
|
|
|
resource_name = "light_cycle"
|
|
|
|
length = 4.0
|
|
|
|
loop_mode = 1
|
2024-07-21 14:38:56 -06:00
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Environment/LightAxis:rotation")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
2024-07-22 15:23:32 -06:00
|
|
|
"times": PackedFloat32Array(0, 4),
|
|
|
|
"transitions": PackedFloat32Array(1, 1),
|
2024-07-21 14:38:56 -06:00
|
|
|
"update": 0,
|
2024-07-22 15:23:32 -06:00
|
|
|
"values": [Vector3(0, 0, 0), Vector3(0, 6.28319, 0)]
|
2024-07-21 14:38:56 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_h554d"]
|
|
|
|
_data = {
|
|
|
|
"RESET": SubResource("Animation_48do4"),
|
|
|
|
"light_cycle": SubResource("Animation_0hul6")
|
|
|
|
}
|
|
|
|
|
2024-07-20 13:12:55 -06:00
|
|
|
[node name="ArenaMap" type="Node3D"]
|
|
|
|
|
|
|
|
[node name="Player" parent="." instance=ExtResource("1_tgee4")]
|
2024-07-22 15:23:32 -06:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
|
2024-07-20 13:50:12 -06:00
|
|
|
|
2024-07-24 14:46:21 -06:00
|
|
|
[node name="Dummy" parent="." instance=ExtResource("2_stkni")]
|
|
|
|
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 10)
|
|
|
|
|
2024-07-25 16:56:09 -06:00
|
|
|
[node name="BallisticImpact" parent="." instance=ExtResource("3_g2cjh")]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10.0573, 2.04418, 9.50299)
|
|
|
|
|
2024-07-20 13:50:12 -06:00
|
|
|
[node name="Environment" type="Node3D" parent="."]
|
|
|
|
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="Environment"]
|
|
|
|
environment = SubResource("Environment_0cwcw")
|
|
|
|
|
2024-07-21 14:38:56 -06:00
|
|
|
[node name="LightAxis" type="Node3D" parent="Environment"]
|
|
|
|
|
|
|
|
[node name="OmniLight3D" type="OmniLight3D" parent="Environment/LightAxis"]
|
2024-07-23 20:40:13 -06:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 20, -4, 0)
|
2024-07-21 14:38:56 -06:00
|
|
|
light_energy = 16.0
|
2024-07-23 20:40:13 -06:00
|
|
|
light_size = 1.0
|
|
|
|
light_specular = 10.0
|
|
|
|
shadow_enabled = true
|
|
|
|
omni_range = 15.0
|
|
|
|
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="Environment"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 10, 0)
|
|
|
|
light_energy = 10.006
|
|
|
|
shadow_enabled = true
|
2024-07-21 14:38:56 -06:00
|
|
|
|
2024-07-20 13:12:55 -06:00
|
|
|
[node name="WorldGeometry" type="Node3D" parent="."]
|
|
|
|
|
|
|
|
[node name="Floor" type="MeshInstance3D" parent="WorldGeometry"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
|
|
|
|
mesh = SubResource("CylinderMesh_uarav")
|
|
|
|
skeleton = NodePath("StaticBody3D")
|
|
|
|
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="WorldGeometry/Floor"]
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldGeometry/Floor/StaticBody3D"]
|
2024-07-24 14:46:21 -06:00
|
|
|
shape = SubResource("CylinderShape3D_imuqt")
|
|
|
|
|
|
|
|
[node name="Shadow" type="StaticBody3D" parent="WorldGeometry/Floor"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -51, 0)
|
|
|
|
collision_layer = 2
|
|
|
|
collision_mask = 2
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldGeometry/Floor/Shadow"]
|
|
|
|
shape = SubResource("CylinderShape3D_61wmo")
|
2024-07-20 13:12:55 -06:00
|
|
|
|
2024-07-23 18:49:26 -06:00
|
|
|
[node name="FloorLower" type="MeshInstance3D" parent="WorldGeometry"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -6, 0)
|
|
|
|
mesh = SubResource("CylinderMesh_jjkoa")
|
|
|
|
skeleton = NodePath("StaticBody3D")
|
|
|
|
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="WorldGeometry/FloorLower"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldGeometry/FloorLower/StaticBody3D"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
|
|
|
|
shape = SubResource("CylinderShape3D_moqbh")
|
|
|
|
|
2024-07-24 14:46:21 -06:00
|
|
|
[node name="Shadow" type="StaticBody3D" parent="WorldGeometry/FloorLower"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -51, 0)
|
|
|
|
collision_layer = 2
|
|
|
|
collision_mask = 2
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldGeometry/FloorLower/Shadow"]
|
|
|
|
shape = SubResource("CylinderShape3D_11kxj")
|
|
|
|
|
2024-07-20 13:12:55 -06:00
|
|
|
[node name="Pillar1" type="MeshInstance3D" parent="WorldGeometry"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, 1, 10)
|
|
|
|
mesh = SubResource("CylinderMesh_pfp3p")
|
|
|
|
skeleton = NodePath("../..")
|
|
|
|
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="WorldGeometry/Pillar1"]
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldGeometry/Pillar1/StaticBody3D"]
|
2024-07-22 18:14:51 -06:00
|
|
|
shape = SubResource("CylinderShape3D_6nyir")
|
2024-07-20 13:12:55 -06:00
|
|
|
|
|
|
|
[node name="Pillar2" type="MeshInstance3D" parent="WorldGeometry"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 1, 10)
|
|
|
|
mesh = SubResource("CylinderMesh_pfp3p")
|
|
|
|
skeleton = NodePath("../..")
|
|
|
|
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="WorldGeometry/Pillar2"]
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldGeometry/Pillar2/StaticBody3D"]
|
2024-07-22 18:14:51 -06:00
|
|
|
shape = SubResource("CylinderShape3D_6nyir")
|
2024-07-20 13:12:55 -06:00
|
|
|
|
|
|
|
[node name="Pillar3" type="MeshInstance3D" parent="WorldGeometry"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 1, -10)
|
|
|
|
mesh = SubResource("CylinderMesh_pfp3p")
|
|
|
|
skeleton = NodePath("../..")
|
|
|
|
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="WorldGeometry/Pillar3"]
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldGeometry/Pillar3/StaticBody3D"]
|
2024-07-22 18:14:51 -06:00
|
|
|
shape = SubResource("CylinderShape3D_6nyir")
|
2024-07-20 13:12:55 -06:00
|
|
|
|
|
|
|
[node name="Pillar4" type="MeshInstance3D" parent="WorldGeometry"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, 1, -10)
|
|
|
|
mesh = SubResource("CylinderMesh_pfp3p")
|
|
|
|
skeleton = NodePath("../..")
|
|
|
|
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="WorldGeometry/Pillar4"]
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldGeometry/Pillar4/StaticBody3D"]
|
2024-07-22 18:14:51 -06:00
|
|
|
shape = SubResource("CylinderShape3D_6nyir")
|
2024-07-21 14:38:56 -06:00
|
|
|
|
2024-07-25 17:26:07 -06:00
|
|
|
[node name="AreaBoundary" type="StaticBody3D" parent="WorldGeometry"]
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldGeometry/AreaBoundary"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -150, 0, 0)
|
|
|
|
shape = SubResource("WorldBoundaryShape3D_icayw")
|
|
|
|
|
|
|
|
[node name="CollisionShape3D2" type="CollisionShape3D" parent="WorldGeometry/AreaBoundary"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 150, 0, 0)
|
|
|
|
shape = SubResource("WorldBoundaryShape3D_q1oeh")
|
|
|
|
|
|
|
|
[node name="CollisionShape3D3" type="CollisionShape3D" parent="WorldGeometry/AreaBoundary"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -150)
|
|
|
|
shape = SubResource("WorldBoundaryShape3D_rsiy4")
|
|
|
|
|
|
|
|
[node name="CollisionShape3D4" type="CollisionShape3D" parent="WorldGeometry/AreaBoundary"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 150)
|
|
|
|
shape = SubResource("WorldBoundaryShape3D_v04wy")
|
|
|
|
|
|
|
|
[node name="CollisionShape3D5" type="CollisionShape3D" parent="WorldGeometry/AreaBoundary"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -150, 0)
|
|
|
|
shape = SubResource("WorldBoundaryShape3D_gye7m")
|
|
|
|
|
|
|
|
[node name="CollisionShape3D6" type="CollisionShape3D" parent="WorldGeometry/AreaBoundary"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 150, 0)
|
|
|
|
shape = SubResource("WorldBoundaryShape3D_x27m4")
|
|
|
|
|
2024-07-21 14:38:56 -06:00
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
|
|
libraries = {
|
|
|
|
"": SubResource("AnimationLibrary_h554d")
|
|
|
|
}
|
|
|
|
autoplay = "light_cycle"
|