Fun with Genocide
Fun with Genocide
I've thrown together a few plug-ins dealing with that oh-so-fun flag, Genocide. Enjoy. Note that running more than one of these on a server at once may not work properly. I've got two or three more in the works, but they require a tweak to the API which I haven't made yet.
General info from the respective readmes:
riskygeno:
BZFlag server plug-in: Risky Geno
This plug-in makes it more dangerous to use the Genocide flag. A player who
dies while holding Genocide will have his whole team obliterated! This also
makes a Genocide-toting player a more prominent target, because the kill is
worth several points.
genostats:
BZFlag server plug-in: Geno Stats
This plug-in adds a command to the game that allows players to check on some
simple statistics for Genocide flag usage.
genoonce:
BZFlag server plug-in: Geno Once
This plug-in causes a player to drop a Genocide flag when they make a kill
with it. This limits the use of a Genocide flag to one "round", unless a
player manages to hit more than one tank with a spray of shots.
teamflaggeno:
BZFlag server plug-in: Team Flag Geno
This plug-in makes team flags behave like Genocide flags when held by a member
of their respective teams. In other words, the red team flag will only act
like a genocide flag when a member of the red team is holding it.
As of right now these are only available as source code through my public plug-in SVN repository:
http://l4m3r.bzflag.net/plugins/svn/l4m3r/trunk
I do it this way because it saves me from dealing with newline issues and other OS quirks... and frankly, if you're serious about running BZFlag server(s), you should have Subversion installed already anyway. If anyone feels like posting Windows or OS X binaries, feel free.
If you have any questions, please post. I'm going to bed now.
General info from the respective readmes:
riskygeno:
BZFlag server plug-in: Risky Geno
This plug-in makes it more dangerous to use the Genocide flag. A player who
dies while holding Genocide will have his whole team obliterated! This also
makes a Genocide-toting player a more prominent target, because the kill is
worth several points.
genostats:
BZFlag server plug-in: Geno Stats
This plug-in adds a command to the game that allows players to check on some
simple statistics for Genocide flag usage.
genoonce:
BZFlag server plug-in: Geno Once
This plug-in causes a player to drop a Genocide flag when they make a kill
with it. This limits the use of a Genocide flag to one "round", unless a
player manages to hit more than one tank with a spray of shots.
teamflaggeno:
BZFlag server plug-in: Team Flag Geno
This plug-in makes team flags behave like Genocide flags when held by a member
of their respective teams. In other words, the red team flag will only act
like a genocide flag when a member of the red team is holding it.
As of right now these are only available as source code through my public plug-in SVN repository:
http://l4m3r.bzflag.net/plugins/svn/l4m3r/trunk
I do it this way because it saves me from dealing with newline issues and other OS quirks... and frankly, if you're serious about running BZFlag server(s), you should have Subversion installed already anyway. If anyone feels like posting Windows or OS X binaries, feel free.
If you have any questions, please post. I'm going to bed now.
Optimism is just a milder alternative to denial.
- TheOneAndOnly
- Private First Class
- Posts: 52
- Joined: Wed Jun 06, 2007 6:15 pm
- Location: UK
- Contact:
> Hehe, i love the teamflaggeno idea and the genoonce idea, it really would
> make people WANT to have their own team flag! but does the team flag of
> the opposite team work in the same way?
But then it would encourage going into battle with the team flag, which is quite bad in its own respects.
> A player who dies while holding Genocide will have his whole team obliterated!
Of course, you could always drop the flag before you get hit. ;-)
Possibly setting _maxFlagGrabs to 1 on a server will make it even more risky for the holder (if you drop the flag before you die, you lose it).
> make people WANT to have their own team flag! but does the team flag of
> the opposite team work in the same way?
But then it would encourage going into battle with the team flag, which is quite bad in its own respects.
> A player who dies while holding Genocide will have his whole team obliterated!
Of course, you could always drop the flag before you get hit. ;-)
Possibly setting _maxFlagGrabs to 1 on a server will make it even more risky for the holder (if you drop the flag before you die, you lose it).
I liked the team flag geno idea too,but the riskygeno is a bad idea if you ask me,if someone had geno not to mention about 3 shots with it and was facing someone with gm or laser, it would be way to hard to use geno because if he dies,then his whole team dies and he gets yelled at.Making a riskygeno would make no one go for geno at the risk of facing a gm or L and dying, which kills his whole team
Try to look unimportant,they may be low on ammo
Teamwork is essential,it gives them other people to shoot at.
Teamwork is essential,it gives them other people to shoot at.
I had an idea for a plug-n that would force you to use other flags to get kills BEFORE you could pick up geno again. Say for instance you used geno and got a kill, the plug-in would prevent you from picking it up again, until say you had 2 kills with a different flag or two. Of course it would be configurable for the number of flags and kills you would have to use.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
- Triumph of the Soul
- Corporal
- Posts: 294
- Joined: Thu Jul 06, 2006 4:32 pm
- Location: Minnesota
All these are quite interesting, and may be fun, but I'm not so sure about riskygeno. Now I don't have to find geno. I will just let my enemy do it, and then kill him. Giving me the benefit of the geno flag without having to go to the trouble of finding it. I would use riskygeno if I wanted to discourage players from going for geno. But then again, you could always completely eliminate geno from the map. I guess the challenge of getting the geno, and then the challenge of hitting an enemy player with it as opposed to the risk of getting hit yourself are the biggest factors when deciding whether or not to use this plugin.
Creator @: Duck or Die, Duck or Die CTF, Fuel Stack, Guernica, Normal, Frayed
Easier said than done... you're still in danger for a full second after you drop a genocide flag. this is necessary because of lag issues.F687/s wrote:Of course, you could always drop the flag before you get hit.
Possibly setting _maxFlagGrabs to 1 on a server will make it even more risky for the holder (if you drop the flag before you die, you lose it).
Optimism is just a milder alternative to denial.
- The Master
- Private First Class
- Posts: 7
- Joined: Tue Nov 25, 2008 3:45 pm
Re: Fun with Genocide
if you loaded both would the whole team die if u r holding the team flag and were shot?
The Master[img]C:\Documents%20and%20Settings\Bing\My%20Documents\My%20Pictures\2008_0913LHR0002.jpg[/img]
Re: Fun with Genocide
The TeamFlagGeno and RiskyGeno loaded at the same time? I would think it would, try it out on a private server with a few bots.
"Anyone who has never made a mistake has never tried anything new." -- Albert Einstein
GU League | Ducati League | OpenLeague
GU League | Ducati League | OpenLeague
Re: Fun with Genocide
Here are the win32 builds for these plugins.
Built against: 2.0.12
Built on: Windows Vista
Built against: 2.0.12
Built on: Windows Vista
- Attachments
-
- l3m4r.zip
- Builds
- (32.96 KiB) Downloaded 407 times
-
- Private First Class
- Posts: 7
- Joined: Sat Apr 11, 2009 1:14 am
Re: Fun with Genocide
Will this work with xp?
Re: Fun with Genocide
yes, this will work on windows, if you need someone to compile a .dll for you send me a pm
edit Yassens post above has them as .dll's they should work.
edit Yassens post above has them as .dll's they should work.
best score vs orbit
http://img232.imageshack.us/my.php?image=score8.png
http://img232.imageshack.us/my.php?image=score8.png
Re: Fun with Genocide
Nice, I hadn't heard of the last two, if they work together with anti-spawnkilling it'd be fun on Missile Wars.
Re: Fun with Genocide
For genonce, you only need to add "-sl G 1" to your bzfs command line, right?
Re: Fun with Genocide
No, that would force them to drop the flag after 1 shot, whether they made a kill or not. Genoonce is a friendlier way (from the flag holders point of view) to set the geno flag to limit them to 1 "Kill" no matter how many shots it takes. Once they get a "hit" with geno, the plugin forces them to drop the flag. Basically it does a '/flag take' command on them.Cygal wrote:For genonce, you only need to add "-sl G 1" to your bzfs command line, right?
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
Re: Fun with Genocide
Ah ok. Interesting.
Re: Fun with Genocide
Here are Linux builds of the plug-ins in the SVN repository.
- Yassen
- Yassen
- Attachments
-
- l4m3r.tar.gz
- Built on Ubuntu 9.04 Against BZFlag 2.0.13
- (1012.42 KiB) Downloaded 370 times
Re: Fun with Genocide
Another geno plugin idea is to limit its effectiveness to three times an hour, after that only the person hit dies. This stops people genoing too much, but doesn't affect people learning, it's enough motivation for someone reasonably good to keep going. Three is just my suggestion based on my skill, it could be adjustable.
Re: Fun with Genocide
I like the handy genostats plug-in. Some suggestions for enhancement:L4m3r wrote: genostats:
BZFlag server plug-in: Geno Stats
This plug-in adds a command to the game that allows players to check on some
simple statistics for Genocide flag usage.
- Do not display players with 0 kills and 0 deaths. Unnecessary clutter
- Add a column for G flag grabs. To show how many times a player has grabbed G.
WP
<life> <!-- insert something interesting here --> </life>
- Propane Tank
- Private First Class
- Posts: 99
- Joined: Mon Aug 17, 2009 12:44 pm
Re: Fun with Genocide
When I try to download them it says that the folder is corrupted. I'm on XP. Has anyone downloaded the folder on XP and has opened it. I don't know why it's corrupted, I even tried redownloading and trying to just open it instead of saving it. Sill didn't work. And also, I have 2.0.10, where can you get 2.0.12? I know there's 2.0.13 for Linux, but I never knew there was 2.0.12 for Windows. Or is that just a typo?Yassen wrote:Here are the win32 builds for these plugins.
Built against: 2.0.12
Built on: Windows Vista
-Propane Tank
Re: Fun with Genocide
They might still work on 2.0.10 - you'd have to try. Version 2.0.12 was a source only release, and it was just to fix build issues on Linux. That's why there isn't a win32 built of 2.0.12.
As for the l3m4r.zip attachment, it works fine for me. I don't use the built-in ZIP functionality in XP though. Try clearing your cache and downloading it again. If that fails, try installing WinRAR.
As for the l3m4r.zip attachment, it works fine for me. I don't use the built-in ZIP functionality in XP though. Try clearing your cache and downloading it again. If that fails, try installing WinRAR.
Re: Fun with Genocide
Genoonce (or something akin to it) is up on Mid-point Mahem 2.2 my mrapplecomputer1
Enjoy!
Enjoy!
Darkid--Not a happy camper.
Re: Fun with Genocide
Genoonce, Genostats, and Riskygeno updated to BZFlag 2.4
- Attachments
-
- riskygeno.cpp
- BZFlag 2.4
- (5.86 KiB) Downloaded 285 times
-
- genostats.cpp
- BZFlag 2.4
- (5.67 KiB) Downloaded 285 times
-
- genoonce.cpp
- BZFlag 2.4
- (1.14 KiB) Downloaded 286 times
Re: Fun with Genocide
Here's some version of the teamflaggeno plug-in I had for 2.4
- Attachments
-
- teamflaggeno.cpp
- (2.74 KiB) Downloaded 186 times