Author: flying_popcorn
Description: This plugin doesn't let you join blue or purple until green and red are full.
Min Version: idk.
Files: Attached is the plugin source
This plugin doesn't let you join blue or purple until green and red are full.
This is for small two team CTFs or FFAs. Have you ever had lots of observers waiting to play? Just make two copies of the map, red vs green, and blue vs purple. Then with this plugin, you cannot join the blue vs purple game until the green vs red game is full.
Plugin takes an optional five digit parameter. #####. First digit is number of players per team. The next two are the colors of the first game. The next two are the colors of the second game. So if you wanted Red vs Blue and Green vs Purple, 5vs5, you'd do -loadplugin /path/to/duplicatemap.so,51324. If you do the parameter string wrong, you may have unexpected results.
If you leave the parameter out, it defaults to 4vs4, Red vs Green and Blue vs Purple (or, 41234).
You must have -autoTeam in your map config/options
License: GPLv3
New version, 2.0. You can now configure team colors, and a bug was fixed where an sometimes an unlimited number of players could join (I rewrote most of the plugin)
duplicatemap v2.0
- flying_popcorn
- Private First Class
- Posts: 88
- Joined: Wed Dec 14, 2005 2:40 am
- Contact:
duplicatemap v2.0
- Attachments
-
- duplicatemap.cpp
- (4.09 KiB) Downloaded 243 times
Last edited by flying_popcorn on Sun Sep 07, 2008 3:42 am, edited 2 times in total.
Here's a DLL for anyone who cares.
Compiled with BZFlag 2.0.10 API and VC++8
Compiled just fine, but hasn't been tested.
Compiled with BZFlag 2.0.10 API and VC++8
Compiled just fine, but hasn't been tested.
- Attachments
-
- duplicatemap.zip
- duplicatemap win32 build
- (9.42 KiB) Downloaded 213 times
- Zehra
- Private First Class
- Posts: 921
- Joined: Sun Oct 18, 2015 3:36 pm
- Location: Within the BZFS API and Beyond it
- Contact:
Re: duplicatemap v2.0
Those who are critical of me, I'll likely be the same of them. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra
See where I've last been active at Strayers.
Visit BZList.net for a modern HTML5 server stats site.
Click here to view the 101 Leaderboard & Score Summaries Last updated 2021-01-12 (YYYY-MM-DD)
Latest 101 thread
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra
See where I've last been active at Strayers.
Visit BZList.net for a modern HTML5 server stats site.
Click here to view the 101 Leaderboard & Score Summaries Last updated 2021-01-12 (YYYY-MM-DD)
Latest 101 thread