116 lines
5.0 KiB
Plaintext
116 lines
5.0 KiB
Plaintext
[gd_scene format=3 uid="uid://7iooamjot1tg"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dov2eh5u4ypnx" path="res://scenes/misc/health_pickup.tscn" id="2_yffox"]
|
|
[ext_resource type="Script" uid="uid://cijpblptlwvs" path="res://maps/scripts/test.gd" id="3_e0nj3"]
|
|
[ext_resource type="PackedScene" uid="uid://c1r8nk58cci3a" path="res://scenes/misc/goal.tscn" id="4_w7til"]
|
|
|
|
[sub_resource type="ImageTexture" id="ImageTexture_3vyb7"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_u8vuu"]
|
|
albedo_texture = SubResource("ImageTexture_3vyb7")
|
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_1cgct"]
|
|
size = Vector2(100, 100)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_3g557"]
|
|
size = Vector3(1000, 1, 1000)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_1cgct"]
|
|
size = Vector3(100, 0.01, 100)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_w7til"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_vwb5y"]
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_8af6u"]
|
|
material = SubResource("StandardMaterial3D_vwb5y")
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_oqkce"]
|
|
size = Vector3(5, 5, 5)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_m77kh"]
|
|
size = Vector3(10, 1, 10)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_1cgct"]
|
|
size = Vector3(10, 1, 10)
|
|
|
|
[node name="map" type="Map" unique_id=914577955 node_paths=PackedStringArray("spawners", "ball_spawner")]
|
|
spawners = [NodePath("team1_spawner"), NodePath("team2_spawner")]
|
|
ball_spawner = NodePath("ball_spawner")
|
|
|
|
[node name="terrain" type="MeshInstance3D" parent="." unique_id=1474127252]
|
|
material_override = SubResource("StandardMaterial3D_u8vuu")
|
|
mesh = SubResource("PlaneMesh_1cgct")
|
|
|
|
[node name="directional_light_3d" type="DirectionalLight3D" parent="." unique_id=793524416]
|
|
transform = Transform3D(1, 0, 0, 0, 0.7274598, 0.6861503, 0, -0.6861503, 0.7274598, -5.1267624, 3.3997262, 3.715582)
|
|
|
|
[node name="team1_spawner" type="Node3D" parent="." unique_id=1364438299]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.1396794, 3.9666176, 6.2400913)
|
|
|
|
[node name="team2_spawner" type="Node3D" parent="." unique_id=160131314]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.244197, 3.9666176, -6.361364)
|
|
|
|
[node name="ball_spawner" type="Node3D" parent="." unique_id=1149426253]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.03390026, 4.7808294, -0.102864265)
|
|
|
|
[node name="killbox" type="Killbox" parent="." unique_id=1018578438]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -5.367467, 0)
|
|
collision_layer = 7
|
|
collision_mask = 7
|
|
|
|
[node name="collision_shape_3d" type="CollisionShape3D" parent="killbox" unique_id=447460010]
|
|
shape = SubResource("BoxShape3D_3g557")
|
|
|
|
[node name="goal" parent="." unique_id=177528504 instance=ExtResource("4_w7til")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.468555, 0.0050001144, 4.4860663)
|
|
|
|
[node name="goal2" parent="." unique_id=1997661586 instance=ExtResource("4_w7til")]
|
|
team = 1
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.417626, 0.0050001144, -3.8839006)
|
|
|
|
[node name="static_body_3d" type="StaticBody3D" parent="." unique_id=203785193]
|
|
collision_layer = 7
|
|
collision_mask = 7
|
|
|
|
[node name="collision_shape_3d" type="CollisionShape3D" parent="static_body_3d" unique_id=1466526153]
|
|
shape = SubResource("BoxShape3D_1cgct")
|
|
|
|
[node name="health_pickup" parent="static_body_3d/collision_shape_3d" unique_id=1860192333 instance=ExtResource("2_yffox")]
|
|
|
|
[node name="triggerable" type="Triggerable" parent="." unique_id=1334645267 node_paths=PackedStringArray("mesh")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10.587965, 3.0791914, -9.513515)
|
|
script = ExtResource("3_e0nj3")
|
|
mesh = NodePath("mesh_instance_3d")
|
|
|
|
[node name="shootable_trigger" type="ShootableTrigger" parent="triggerable" unique_id=785877778]
|
|
|
|
[node name="collision_shape_3d" type="CollisionShape3D" parent="triggerable/shootable_trigger" unique_id=1335150803]
|
|
shape = SubResource("BoxShape3D_w7til")
|
|
|
|
[node name="mesh_instance_3d" type="MeshInstance3D" parent="triggerable" unique_id=1224898916]
|
|
mesh = SubResource("BoxMesh_8af6u")
|
|
|
|
[node name="proximity_trigger" type="ProximityTrigger" parent="triggerable" unique_id=957182227]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.7171593, -2.5604024, 0.8731904)
|
|
collision_layer = 3
|
|
collision_mask = 3
|
|
|
|
[node name="collision_shape_3d" type="CollisionShape3D" parent="triggerable/proximity_trigger" unique_id=329578045]
|
|
shape = SubResource("BoxShape3D_oqkce")
|
|
|
|
[node name="footstep_box" type="FootstepBox" parent="." unique_id=431592617]
|
|
kind = "Sand"
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.734, -0.5, -55)
|
|
collision_layer = 4
|
|
collision_mask = 4
|
|
|
|
[node name="collision_shape_3d" type="CollisionShape3D" parent="footstep_box" unique_id=663129546]
|
|
shape = SubResource("BoxShape3D_m77kh")
|
|
|
|
[node name="mesh_instance_3d" type="MeshInstance3D" parent="footstep_box" unique_id=1860240696]
|
|
mesh = SubResource("BoxMesh_1cgct")
|
|
|
|
[connection signal="on_shot" from="triggerable/shootable_trigger" to="triggerable" method="activate" unbinds=2]
|
|
[connection signal="on_trigger" from="triggerable/proximity_trigger" to="triggerable" method="activate"]
|