Author: flying_popcorn
Description: Prevents players from picking their own team flag up. Also it flag resets (unused) when a flag is captured.
Min Version: I don't know
Capture the Base is a game style where you zone one team's flags on the opposite team's base. Then you set up spawn zones so the two teams spawn on the side of the map opposite their base. The goal is to get across the map to your base, where you can immediately capture the opponent's flag.
But there is a common problem with this game style -- some players don't get how to play, and repeatedly capture their own flag. This plugin prevents players from capturing their own flag. If someone picks up their own team flag, the plugin will /flag take it from them before they can capture their own flag.
This plugin also does /flag reset unused whenever a flag gets captured. This keeps flags evenly spread out and keeps team flags on the bases.
Capture the Base
- flying_popcorn
- Private First Class
- Posts: 88
- Joined: Wed Dec 14, 2005 2:40 am
- Contact:
Capture the Base
- Attachments
-
- ctb.tar.gz
- a compiled .so file
- (82.01 KiB) Downloaded 331 times
-
- ctb.cpp
- cpp source file
- (3.18 KiB) Downloaded 349 times
- Propane Tank
- Private First Class
- Posts: 99
- Joined: Mon Aug 17, 2009 12:44 pm
Re: Capture the Base
can i get a windows version? I can't use Linux, so I don't use it. Just of the Plug-in though.
Thanks
[edit]Or is that Mac? Well, what ever it is, can I get Windows version? Would greatly appreciate it.[/edit]
Thanks
[edit]Or is that Mac? Well, what ever it is, can I get Windows version? Would greatly appreciate it.[/edit]
-Propane Tank
Re: Capture the Base
The tar.gz. is for linux but the .cpp is the source code that you can compile for windows.
"Anyone who has never made a mistake has never tried anything new." -- Albert Einstein
GU League | Ducati League | OpenLeague
GU League | Ducati League | OpenLeague
- Propane Tank
- Private First Class
- Posts: 99
- Joined: Mon Aug 17, 2009 12:44 pm
Re: Capture the Base
What do I open the source code with? Will a text editor work, like notepad?
-Propane Tank
Re: Capture the Base
You have to compile it with Visual C++. And it might have to be the same version that built your version of bzfs. (The official 2.0.10 windows package was done with Visual Studio .NET 2003)
If you're intending to run a public server, I would recommend not using Windows for hosting. Hosting on Windows has a lot more issues than Linux/BSD/OSX. I would also recommend using the latest 2.0.x code instead of 2.0.10 or 2.0.12. The v2_0branch SVN is 2.0.13 (odd number means it's a development version). There are a few bzfs fixes in the SVN code.
If you're intending to run a public server, I would recommend not using Windows for hosting. Hosting on Windows has a lot more issues than Linux/BSD/OSX. I would also recommend using the latest 2.0.x code instead of 2.0.10 or 2.0.12. The v2_0branch SVN is 2.0.13 (odd number means it's a development version). There are a few bzfs fixes in the SVN code.
- Propane Tank
- Private First Class
- Posts: 99
- Joined: Mon Aug 17, 2009 12:44 pm
Re: Capture the Base
Since I don't have C++ installed on my computer (I have Visual C# 2008 Express), can someone that has C++ convert the source code into my dll file then post it here, I would greatly appreiciate it.
Thanks,
Propane Tank
Thanks,
Propane Tank
-Propane Tank
Re: Capture the Base
See if this one works. I built it against 2.0.10 using Visual C++ .NET 2003.
- Attachments
-
- ctb.zip
- Capture the base DLL 2.0.10-VC71
- (2.69 KiB) Downloaded 275 times
- Propane Tank
- Private First Class
- Posts: 99
- Joined: Mon Aug 17, 2009 12:44 pm
Re: Capture the Base
Good job (as usual)!
neat idea and creates many new map ideas and strategies to use it!
looking forward to use it soon
.
neat idea and creates many new map ideas and strategies to use it!
looking forward to use it soon
.
Re: Capture the Base
updated the plugin to 2.4
- Attachments
-
- ctb.cpp
- BZFlag 2.4
- (2 KiB) Downloaded 257 times