- Jul 28, 2010
- 42
- 1
[Solved + PREFAB] 2 Team Payload with multiple Respawns
TL;DR & Edit: Have successfully taken apart the Tug-o-War prefab, so credit for this is still to the creators of Waste, have simply made it a bit more user friendly. That prefab seemed to have some errors with correct spawns, so I took the liberty of fixing them. I'm uploading my version, 2tpl_testmap_v2.vtf, in which deploying a 2tPL map will be much easier, I hope.
--------------------------------------------
Following is the original post:
Alright, the HERETIC GAME DEVELOPMENT crackteam has bent our brains trying to fix this.
Using the 2 team payload prefab from Waste [link] - we've attempted to fix this up to make sure all the spawns work correctly.
Labeled each spawn, tested it. As far as we can tell, everything works EXCEPT for info_player_teamspawn red2 -- i.e. When Red has pushed little cart past the middle point, they should spawn at Spawn point 2 -- they do not.
Attached is the VMF, appreciate any help in advance
TL;DR & Edit: Have successfully taken apart the Tug-o-War prefab, so credit for this is still to the creators of Waste, have simply made it a bit more user friendly. That prefab seemed to have some errors with correct spawns, so I took the liberty of fixing them. I'm uploading my version, 2tpl_testmap_v2.vtf, in which deploying a 2tPL map will be much easier, I hope.
--------------------------------------------
Following is the original post:
Alright, the HERETIC GAME DEVELOPMENT crackteam has bent our brains trying to fix this.
Using the 2 team payload prefab from Waste [link] - we've attempted to fix this up to make sure all the spawns work correctly.
Labeled each spawn, tested it. As far as we can tell, everything works EXCEPT for info_player_teamspawn red2 -- i.e. When Red has pushed little cart past the middle point, they should spawn at Spawn point 2 -- they do not.
Code:
Flowchart (how it should work):
[B]Gamestart[/B]
Team R spawns at Team R spawn 1
Team B spawns at Team B spawn 1
[B]Team R pushes cart past middle point[/B]
- Team R now spawns at Team R spawn 2
- Team B spawns at Team B Spawn 1
[B]Team R pushes cart past Team B Courtyard[/B]
- Team R now spawns at Team R spawn 3
- Team B spawns at Team B Spawn 1
[B]Team R pushes cart to Team B final point[/B]
-Team R wins
[B]Team B pushes cart past middle point[/B]
- Team B now spawns at Team B Spawn 2
-Team R spawns at Team R spawn 1
[B]Team B pushes cart past Team R Courtyard[/B]
- Team B now spawns at Team B spawn 3
-Team R spawns at Team R spawn 1
[B]Team B pushes cart to Team R final point[/B]
-Team B wins
Attached is the VMF, appreciate any help in advance
Last edited: