Re: [L4D] Ready Up!
Updated to 0.14.0
0.14.0
|
Re: [L4D] Ready Up!
Quote:
Thanks for this great plugin. We like it a lot. |
Re: [L4D] Ready Up!
Great mod!
We're running a tournament which starts in about 1-2 weeks, and a huge debate is going on about how to decide who starts as the infected first. The team that goes infected first has a huge advantage, such as knowing if there is a tank or witch, and where. Once a team is infected/survivor first, that will carry on to the next level. This is what usually happens: No Mercy - Level 1: Team A = Plays survivors First Team B = Plays infected First No Mercy - Level 2: Team A = Plays survivors First Team B = Plays infected First etc. My 2 suggestions to solve this: 1. Add a function/command/cvar? for us to enable/disable, where at the beginning of each level, the teams get switched to the other side. If this suggestion is worked on, make sure this command can be inserted into the config, so an admin doesn't have to be in-game in that server to activate the command. Example: No Mercy - Level 1: Team A = Plays survivors First Team B = Plays infected First No Mercy - Level 2: Map loads, [New suggested function executes and swaps teams], so: Team A = Plays infected First Team B = Plays survivors First 2. And perhaps (not needed, but would be handy to have it) another function that will swap both of the teams' sides manually. Also, do you accept donations via paypal? If you do, tell me the address. Really hope you'll consider adding either or all of the suggestions! Cheers:) |
Re: [L4D] Ready Up!
Pigfat... that's exactly what I suggested. ;) Good to see more support for the idea, though.
|
Re: [L4D] Ready Up!
I'd love to add ABBA support (as Pigfat is suggesting), if you turn on READY_DEBUG 1 and look at the code that is under #if READY_DEBUG you will see I tried to add to add support for it.. unfortunately I do not think the score is a networkable entity because I've tried doing everything I can think of, including scanning all the networked data in the rules/team manager entities for the score value.
I think the team score might be stored in a logical data map, or I might just be doing it wrong.. either way using sm_restartround to callvote restartcampaign does not swap the scores, it's the same thing as a round reset followed by a team swap. Unfortunately in addition if the director spawns a tank/witch then after restarting the round that team will no longer get a tank/witch spawn. ------ In other words right now I do not think it's technically possible to do just with a plugin, there's probably a function somewhere in L4D that does it that we could SDKCall on, but I'm no good with disassembly so I haven't yet looked for one. |
Re: [L4D] Ready Up!
I know it's making it more complex, but what about using the code from the unscramble plugin to swap all players from one team to the other before the restart.
Then the only issue would be the tank/witch thing, which might be able to be addressed by setting these cvars to zero before resetting them back to their previous value after the restart: Code:
sm_cvar versus_tank_chance_intro |
Re: [L4D] Ready Up!
Swapping players is easy...... the problem is the scores don't get swapped.
Team A Score = 1024 Team B Score = 2048 Now I swap all the players. Team B Score = 1024 Team A Score = 2048 See the problem? |
Re: [L4D] Ready Up!
Bah. The logic was flipped in my brain. I was thinking 1 restart vote + 1 manual team switch for all players, which would put the score on the right side for the A,B,B,A method but would also put the players back on the wrong side. ;)
EDIT: There's a hidden cvar called director_swap_teams. Any idea if that would help? |
Re: [L4D] Ready Up!
Updated with a bugfix :).
0.14.1
|
Re: [L4D] Ready Up!
Is it possible to have an auto ready cvar?
So we can enforce bots to be ready and force them in VS game play? otto |
All times are GMT -4. The time now is 18:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.