Merge branch 'multiplayer-rework'
This commit is contained in:
commit
2c9ef1cfe1
38 changed files with 535 additions and 288 deletions
|
|
@ -1,7 +1,6 @@
|
|||
[gd_scene load_steps=24 format=3 uid="uid://cqrh2cc7m2i7f"]
|
||||
[gd_scene load_steps=21 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/team_spawner.gd" id="4_pi0y7"]
|
||||
[ext_resource type="Material" uid="uid://bx3f5vx71ynh5" path="res://materials/Graymat.tres" id="4_y6i55"]
|
||||
[ext_resource type="Material" uid="uid://dynpcduei1wfn" path="res://materials/Bluemat.tres" id="4_yx0ab"]
|
||||
[ext_resource type="Material" uid="uid://mlha6r17v2en" path="res://materials/DarkBluemat.tres" id="5_bno23"]
|
||||
|
|
@ -15,22 +14,9 @@
|
|||
[ext_resource type="Script" uid="uid://dk1gjbuydemmb" path="res://scripts/multiplayer/plant_site/plant_site.gd" id="8_oujx2"]
|
||||
[ext_resource type="Script" uid="uid://b4cpux52fmx5o" path="res://scripts/multiplayer/plant_site/plant_deadzone.gd" id="9_1wlgq"]
|
||||
[ext_resource type="Material" uid="uid://c6xa4phihtya2" path="res://materials/Redmat.tres" id="9_ysk2e"]
|
||||
[ext_resource type="Script" uid="uid://ypgm3aplt78m" path="res://scripts/multiplayer/spawn_system/team_spawner.gd" id="10_02ic3"]
|
||||
[ext_resource type="Script" uid="uid://3i00rp8urth7" path="res://scripts/object_container.gd" id="11_02ic3"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_y6i55"]
|
||||
length = 0.001
|
||||
|
||||
[sub_resource type="Animation" id="Animation_pi0y7"]
|
||||
resource_name = "main"
|
||||
length = 5.0
|
||||
loop_mode = 2
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_bno23"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_y6i55"),
|
||||
&"main": SubResource("Animation_pi0y7")
|
||||
}
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_ysk2e"]
|
||||
size = Vector3(15.324341, 0.96273804, 21.381592)
|
||||
|
||||
|
|
@ -239,30 +225,24 @@ operation = 2
|
|||
size = Vector3(20.339264, 4.566284, 3.4625244)
|
||||
material = ExtResource("7_8bje3")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_bno23")
|
||||
}
|
||||
autoplay = "main"
|
||||
|
||||
[node name="PlayersContainer" type="Node3D" parent="." node_paths=PackedStringArray("exlusion_list")]
|
||||
script = ExtResource("11_02ic3")
|
||||
exlusion_list = [NodePath("DefenceSpawn"), NodePath("AttackSpawn"), NodePath("SpectatorSpawn"), NodePath("MultiplayerSpawner")]
|
||||
|
||||
[node name="DefenceSpawn" type="Marker3D" parent="PlayersContainer"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 37.170197, 0.5180037, -11.271502)
|
||||
script = ExtResource("4_pi0y7")
|
||||
script = ExtResource("10_02ic3")
|
||||
spawn_radius = 10.0
|
||||
|
||||
[node name="AttackSpawn" type="Marker3D" parent="PlayersContainer"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -31.553003, 0.5180037, 20.371899)
|
||||
script = ExtResource("4_pi0y7")
|
||||
script = ExtResource("10_02ic3")
|
||||
team = 1
|
||||
spawn_radius = 5.0
|
||||
|
||||
[node name="SpectatorSpawn" type="Marker3D" parent="PlayersContainer"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.1422176, 39.792877, -1.3889732)
|
||||
script = ExtResource("4_pi0y7")
|
||||
script = ExtResource("10_02ic3")
|
||||
team = 2
|
||||
spawn_radius = 10.0
|
||||
|
||||
|
|
@ -275,7 +255,7 @@ script = ExtResource("11_02ic3")
|
|||
exlusion_list = [NodePath("MultiplayerSpawner"), NodePath("Bomb")]
|
||||
|
||||
[node name="MultiplayerSpawner" type="MultiplayerSpawner" parent="DynamicObjectsContainer"]
|
||||
_spawnable_scenes = PackedStringArray("uid://dtbpyfdawb02b", "uid://cxdgk74ln5xpn", "uid://dgfqppi21c2u0")
|
||||
_spawnable_scenes = PackedStringArray("uid://cxdgk74ln5xpn", "uid://dgfqppi21c2u0")
|
||||
spawn_path = NodePath("..")
|
||||
script = ExtResource("6_oujx2")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue