Payload Race and Single Stage Hybrid

Psy

The Imp Queen
aa
Apr 9, 2008
1,706
1,491
I'm trying to create an entity setup for a hybrid gamemode. Here's the idea.

First Stage
  • A standard Payload Race
  • The winner takes the role of the offense in the next stage
  • The loser takes the role of defense in the next stage

Second Stage
  • A single stage Payload race akin to Goldrush
  • There are two stages with identical layouts but styled to each team. Which stage is chosen is determined by the winner of the previous round.

    For example; If RED win the PLR, they assume the role of Offence within BLU's base.
  • Once the round is over, the entire map restarts within the PLR stage.

Now, I know that this has been mentioned before but I'm really at a loss on how to do this entity wise. I'm using Boojum's PLR prefab as a base. Any help would be greatly appreciated.
 

Grimes

L1: Registered
Jun 4, 2009
45
4
I'm not sure exactly where you might have a problem at, but you could try to....
Enable/Disable the team_control_point_round from being able to fire based on the winner. If Red Wins Disable the "red Defense" stage. You would only have to use one of these as its an either/or situation. For instance the PLR stage priority is set to 3 so it runs first. Red Defense is 2, Blu Defense is one 1. By disabling the Red Defense Stage if Red wins then it will automatically load the blu defense stage as its the next highest priority. Then set up a logic_branch to identify which team is defending and have it fire the appropriate values for setup gates, spawn areas, and all that fun stuff.

I hope this helps.
 

Sgt.Sausage

L420: High Member
Dec 5, 2008
420
103
You can expand this idea, and you will have...

TC PL!

Complicated but if done right would be awesome. Would still fall under TC i guess since your still capturing the points weather or not its cp, ctf or pl.
 

Psy

The Imp Queen
aa
Apr 9, 2008
1,706
1,491
That's a good idea Grimes but my main problem at the moment is that winning the first round doesn't trigger the SPL round that I've set up. It simply restarts the first stage and swaps the teams.
 

BrokenTripod

L5: Dapper Member
May 11, 2009
248
65
How are you going to get the HUD to work? You can't change it midgame, so you would (probably) be stuck with the PLR HUD throughout. Does this HUD work with only a single payload?

Also, if you haven't figure this out by next week or so I'll try to assist, but I'm sure you'll be helped by then. If not...that probably means it's to complex for me anyway =O
 

Grimes

L1: Registered
Jun 4, 2009
45
4
@ BrokenTripod, I've accidentally discovered that with the multi-payload hud you can break it so only a single watcher is displayed. Granted it is still the multi-payload hud, but it still works.

Psy, I think you are running into the problem of the freeze on entities that occurs between rounds. Perhaps you can fake the system out by delaying the actual ending of the round by a split second. In that time you could tell it to enable whichever round you want before the command to freeze the entities gets called, thus enabling a next round to occur. I suppose look at some of the tc entites that govern which rounds to play. Yeah it is random but something has to tell it on the red/blu defense round to ignore all of the other possible rounds.
 

Limesimme

L1: Registered
Dec 23, 2008
27
31
So basically Psy, what you are trying to do is Decadence PLR? :3
Ya, I know--- I have thought about this myself.
 

pitto

L3: Member
Feb 17, 2009
109
73
When I was laying track paths for my plr, I tested with just one side done (check if they are at right heights etc), and nothing for the other, and the hud only showed the hud for red so you could do that