Randomly Active Capture Points

Cheesecake

L1: Registered
Feb 28, 2010
8
0
Hey all,

I have a bit of a strange question to ask :

Now I have this concept idea I wish to try out for a TF2 Map but i have been trying to think of how I am going to pull it off.

Basically what i need is someway to generate a random number.

What I want to do is have a CTF Map with several capture points on it. One is active to start with, when the intel is capped I wish for one of the other capture points to become active but chosen at random. So everytime the intel has been capped a random new control cap is activated.

The control points will be specified of course I just want a method of picking one at random ?

If you have any idea or if this is even possible I would very much appreciate the help :)

Thank You
 

Drexer

L2: Junior Member
Jun 23, 2009
66
42
Logic_case to choose up to 16 responses to an action. You just use PickRandom with it and define the cases you need to activate the needed outputs.
 

Trotim

aa
Jul 14, 2009
1,195
1,045
I'm currently making a map that also chooses a random CP to unlock. What I've done is use a logic_case with as many cases as you have CPs that gets a PickRandomShuffle input from e.g. the setup timer (or anything else applicable). (PickRandomShuffle makes sure no case that's already been chosen gets picked again.) Then you can use the logic_case's OnCase01 etc. outputs to unlock whichever CP you want.
 

Cheesecake

L1: Registered
Feb 28, 2010
8
0
Thanks for the info guys, a lot of help :)

Havnt used the logic case before so now i know :)

Im planning to have at least 4 capture points, each one can randomly picks one of the others. Each control point can be used again and again, ie reset then activated if picked at random from another capture point.

So im thinking a logic case for each point as i need cases to be picked again to activate the capture area again if selected again, means a lot of extra logic but it should work fine.
 
Last edited: