- Aug 9, 2018
- 166
- 376
I am working on a gamemode which requires that points start off as set to neither team and then 2 are assigned to each team. These points need to be contiguous so using the random setting on the point will not work, I also need to set up other things so I need to do it manually.
The issue is, setting a control point owner immediately does not seem to work. Setting control point owner during waiting for players doesn't work, then once the round starts it seems to need a second.
The owners of the points are known during the waiting for players and at the end of the previous round, so I figured that I could set the default owner ahead of time but this change is reset on the new round.
So the current plan is that I would have 2.5 seconds setup time. Make everyone spawn in their own temporary spawn room (maybe also blind everyone, I have another idea to mask a teleport). Then on finish points and spawns are set up and everyone is teleported. However this is a bit clunky and it's more work to set this up, and it's weird going from end of a round to 2.5s in limbo then spawn just because the points couldn't have owner set.
Just tested a method that has 4 team control point rounds and it seems to be the best but just requires a lot of AddOutputs.
Is there a better way of setting control points, ideally before players spawn? Or immediately, fast enough that players don't really notice/not distracting
The issue is, setting a control point owner immediately does not seem to work. Setting control point owner during waiting for players doesn't work, then once the round starts it seems to need a second.
The owners of the points are known during the waiting for players and at the end of the previous round, so I figured that I could set the default owner ahead of time but this change is reset on the new round.
So the current plan is that I would have 2.5 seconds setup time. Make everyone spawn in their own temporary spawn room (maybe also blind everyone, I have another idea to mask a teleport). Then on finish points and spawns are set up and everyone is teleported. However this is a bit clunky and it's more work to set this up, and it's weird going from end of a round to 2.5s in limbo then spawn just because the points couldn't have owner set.
Just tested a method that has 4 team control point rounds and it seems to be the best but just requires a lot of AddOutputs.
Is there a better way of setting control points, ideally before players spawn? Or immediately, fast enough that players don't really notice/not distracting
Last edited: