tunnel-strategy/godot/test_level.tscn

86 lines
3.4 KiB
Plaintext

[gd_scene load_steps=16 format=3 uid="uid://m36guasmi3c1"]
[ext_resource type="TunnelsGameState" uid="uid://cl0iikkau5mio" path="res://tunnels_game_state.tres" id="1_aove2"]
[ext_resource type="PackedScene" uid="uid://cqkbxe758jr7p" path="res://player.tscn" id="2_6yx24"]
[ext_resource type="PackedScene" uid="uid://deb8qiasxsobt" path="res://Enemies/enemy.tscn" id="2_10wh5"]
[ext_resource type="PackedScene" uid="uid://dpda341t6ipiv" path="res://player_character.tscn" id="4_22npn"]
[sub_resource type="TunnelsGameMode" id="TunnelsGameMode_hnap3"]
game_state = ExtResource("1_aove2")
player_scene = ExtResource("2_6yx24")
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_s4k5k"]
[sub_resource type="Sky" id="Sky_oquga"]
sky_material = SubResource("ProceduralSkyMaterial_s4k5k")
[sub_resource type="Environment" id="Environment_mt2l0"]
background_mode = 2
sky = SubResource("Sky_oquga")
[sub_resource type="NavigationMesh" id="NavigationMesh_gx4lq"]
vertices = PackedVector3Array(-9.5, 0.625, -9.5, -9.5, 0.625, 9.5, 9.5, 0.625, 9.5, 9.5, 0.625, -9.5)
polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1)]
[sub_resource type="BoxMesh" id="BoxMesh_5glbk"]
size = Vector3(20, 0.25, 20)
[sub_resource type="BoxShape3D" id="BoxShape3D_kacqg"]
size = Vector3(20, 0.25, 20)
[sub_resource type="Goal" id="Goal_jou2o"]
goal_state = {
"is_near_target": true
}
[sub_resource type="CylinderShape3D" id="CylinderShape3D_hp1wp"]
height = 0.497374
radius = 1.0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_navbx"]
[sub_resource type="CylinderMesh" id="CylinderMesh_oaw6a"]
material = SubResource("StandardMaterial3D_navbx")
top_radius = 1.0
bottom_radius = 1.0
height = 0.54
[node name="Level3D" type="Level3D"]
game_mode_prototype = SubResource("TunnelsGameMode_hnap3")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_mt2l0")
[node name="NavigationRegion3D" type="NavigationRegion3D" parent="WorldEnvironment"]
navigation_mesh = SubResource("NavigationMesh_gx4lq")
[node name="MeshInstance3D" type="MeshInstance3D" parent="WorldEnvironment/NavigationRegion3D"]
mesh = SubResource("BoxMesh_5glbk")
skeleton = NodePath("../../..")
[node name="StaticBody3D" type="StaticBody3D" parent="WorldEnvironment/NavigationRegion3D/MeshInstance3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldEnvironment/NavigationRegion3D/MeshInstance3D/StaticBody3D"]
shape = SubResource("BoxShape3D_kacqg")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="WorldEnvironment"]
transform = Transform3D(0.581243, 0.357328, -0.731077, 0, 0.898426, 0.439124, 0.81373, -0.255238, 0.522204, 0, 2.44259, 0)
[node name="Enemy" parent="." instance=ExtResource("2_10wh5")]
transform = Transform3D(-0.925514, 0, -0.378713, 0, 1, 0, 0.378713, 0, -0.925514, -7.55551, 0.125, 8.12958)
[node name="PlayerCharacter" parent="." instance=ExtResource("4_22npn")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.12963, 0.125, -3.38872)
[node name="GoalMarker" type="GoalMarker" parent="."]
goal = SubResource("Goal_jou2o")
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.0795, 0, -6.23068)
collision_layer = 8
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="GoalMarker"]
shape = SubResource("CylinderShape3D_hp1wp")
[node name="MeshInstance3D" type="MeshInstance3D" parent="GoalMarker"]
mesh = SubResource("CylinderMesh_oaw6a")