It sounds overly complicated for what you are trying to do. It sounds like you just want a tank every round. Try:
Quote:
// tank spawn guaranteed 100% on every level
sm_cvar versus_tank_chance_intro 1
sm_cvar versus_tank_chance_finale 1
sm_cvar versus_tank_chance 1
// witch spawn on every level 2-4
sm_cvar versus_witch_chance_intro 0
sm_cvar versus_witch_chance_finale 0
sm_cvar versus_witch_chance 1
// how soon into a map a boss can spawn
sm_cvar versus_boss_flow_min_intro 0.3
sm_cvar versus_boss_flow_min_intro 0.8
sm_cvar versus_boss_flow_min 0.2
sm_cvar versus_boss_flow_max 0.9
sm_cvar versus_boss_flow_min_finale 0.25
sm_cvar versus_boss_flow_max_finale 0.75
// gap between witches and tanks
sm_cvar versus_boss_padding_min 0.1
sm_cvar versus_boss_padding_max 0.6
|
That said, I've been contemplating a system where the Infected get to vote on *where* the tank shows up because frankly there are some places where a tank is totally useless. Basically the infected would accumulate points every time the survivors did something like find an weapon/medpack/pipebomb etc. Infected would also earn more points when the survivors are playing really well (killing special infected while taking very little damage). The infected could then spend these points to spawn tanks or witches in certain places.
It would be a ton of work and I'm not even sure it would play that well.