Tewam spawner
This commit is contained in:
parent
938feb9b35
commit
2bfbfa5089
8 changed files with 126 additions and 67 deletions
|
|
@ -1,7 +1,7 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://cqrh2cc7m2i7f"]
|
||||
|
||||
[ext_resource type="Environment" uid="uid://d0cfgtx2yxw13" path="res://environments/prototype_environment.tres" id="1_i6jab"]
|
||||
[ext_resource type="Script" uid="uid://ypgm3aplt78m" path="res://scripts/multiplayer/player_spawner.gd" id="4_pi0y7"]
|
||||
[ext_resource type="Script" uid="uid://ypgm3aplt78m" path="res://scripts/multiplayer/team_spawner.gd" id="4_pi0y7"]
|
||||
[ext_resource type="Material" uid="uid://bx3f5vx71ynh5" path="res://materials/OrangeMat.tres" id="4_y6i55"]
|
||||
[ext_resource type="Material" uid="uid://mlha6r17v2en" path="res://materials/Bluemat.tres" id="5_bno23"]
|
||||
|
||||
|
|
@ -98,12 +98,8 @@ polygon = PackedVector2Array(1.1265539, -0.16863012, -3.9689837, 4.1396155, -6.2
|
|||
depth = 2.64
|
||||
material = ExtResource("5_bno23")
|
||||
|
||||
[node name="Spawner" type="Node3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5862943, 0)
|
||||
script = ExtResource("4_pi0y7")
|
||||
|
||||
[node name="MultiplayerSpawner" type="MultiplayerSpawner" parent="."]
|
||||
_spawnable_scenes = PackedStringArray("uid://dpsr6ug3pkb40", "uid://cheu6vds21er7")
|
||||
_spawnable_scenes = PackedStringArray("uid://dpsr6ug3pkb40", "uid://ckjabjcvgki6n")
|
||||
spawn_path = NodePath("..")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
|
|
@ -111,3 +107,20 @@ libraries = {
|
|||
&"": SubResource("AnimationLibrary_bno23")
|
||||
}
|
||||
autoplay = "main"
|
||||
|
||||
[node name="DefenceSpawn" type="Marker3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.2367034, 0.5180037, -10.260834)
|
||||
script = ExtResource("4_pi0y7")
|
||||
spawn_radius = 10.0
|
||||
|
||||
[node name="AttackSpawn" type="Marker3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -32.38732, 0.5180037, 8.271217)
|
||||
script = ExtResource("4_pi0y7")
|
||||
team = 1
|
||||
spawn_radius = 10.0
|
||||
|
||||
[node name="SpectatorSpawn" type="Marker3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.0165482, 17.832424, 2.9756432)
|
||||
script = ExtResource("4_pi0y7")
|
||||
team = 2
|
||||
spawn_radius = 10.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue