feat: added test turret to testmap
This commit is contained in:
parent
1cfa06e5d1
commit
f34a0eaf95
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://e3dmisrrgqq7"]
|
||||
[gd_scene load_steps=10 format=3 uid="uid://e3dmisrrgqq7"]
|
||||
|
||||
[ext_resource type="RallyRushGameMode" uid="uid://r8bx64rqumkl" path="res://rally_rush_game_mode.tres" id="1_p2wxn"]
|
||||
[ext_resource type="Material" uid="uid://cfont63vhwa3y" path="res://grid_material.tres" id="2_dkg88"]
|
||||
|
@ -13,6 +13,15 @@ size = Vector3(100, 1, 100)
|
|||
[sub_resource type="PlaneMesh" id="PlaneMesh_g4f08"]
|
||||
size = Vector2(100, 100)
|
||||
|
||||
[sub_resource type="PrismMesh" id="PrismMesh_xjis4"]
|
||||
size = Vector3(1, 3.135, 1)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_rxnqc"]
|
||||
size = Vector3(1, 3.18433, 1)
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_rdc8b"]
|
||||
radius = 20.126
|
||||
|
||||
[node name="TestMap2" type="Level3D"]
|
||||
game_mode_prototype = ExtResource("1_p2wxn")
|
||||
|
||||
|
@ -171,3 +180,22 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 190.995, 0, 90.7647)
|
|||
|
||||
[node name="KeyPickup3" parent="." instance=ExtResource("3_j5pjd")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 270.692, 1.52588e-05, -5.4676)
|
||||
|
||||
[node name="Turret" type="Turret" parent="."]
|
||||
attack_classes = [&"CarPlayer"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 52.5271, -3.8147e-06, 28.3981)
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="Turret"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.44861, 0)
|
||||
mesh = SubResource("PrismMesh_xjis4")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Turret"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.45032, 0)
|
||||
shape = SubResource("BoxShape3D_rxnqc")
|
||||
|
||||
[node name="AwarenessArea" type="Area3D" parent="Turret"]
|
||||
collision_layer = 0
|
||||
collision_mask = 2
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Turret/AwarenessArea"]
|
||||
shape = SubResource("SphereShape3D_rdc8b")
|
||||
|
|
Loading…
Reference in a new issue