Page 1 of 1

Fun with Genocide

Posted: Thu Mar 27, 2008 9:19 am
by L4m3r
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. :)

Posted: Thu Mar 27, 2008 9:23 am
by TheOneAndOnly
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?

Posted: Thu Mar 27, 2008 1:53 pm
by F687/s
> 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).

Posted: Thu Mar 27, 2008 7:43 pm
by Tank 52
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

Posted: Thu Mar 27, 2008 8:19 pm
by joevano
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.

Posted: Thu Mar 27, 2008 9:14 pm
by Triumph of the Soul
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.

Posted: Thu Mar 27, 2008 10:16 pm
by L4m3r
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).
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.

Re: Fun with Genocide

Posted: Thu Jan 29, 2009 3:24 pm
by The Master
if you loaded both would the whole team die if u r holding the team flag and were shot?

Re: Fun with Genocide

Posted: Wed Feb 04, 2009 9:00 am
by Bambino
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.

Re: Fun with Genocide

Posted: Thu Feb 05, 2009 1:40 am
by Anxuiz
Here are the win32 builds for these plugins.

Built against: 2.0.12
Built on: Windows Vista

Re: Fun with Genocide

Posted: Fri Jun 26, 2009 4:35 am
by johnnyk154
Will this work with xp?

Re: Fun with Genocide

Posted: Fri Jun 26, 2009 7:07 pm
by Carnage
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.

Re: Fun with Genocide

Posted: Sat Jun 27, 2009 1:32 pm
by tobylane
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

Posted: Sun Jun 28, 2009 10:22 am
by Cygal
For genonce, you only need to add "-sl G 1" to your bzfs command line, right?

Re: Fun with Genocide

Posted: Sun Jun 28, 2009 10:56 am
by joevano
Cygal wrote:For genonce, you only need to add "-sl G 1" to your bzfs command line, right?
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.

Re: Fun with Genocide

Posted: Sun Jun 28, 2009 11:49 am
by Cygal
Ah ok. Interesting. :)

Re: Fun with Genocide

Posted: Sun Jul 12, 2009 5:25 pm
by Anxuiz
Here are Linux builds of the plug-ins in the SVN repository.

- Yassen

Re: Fun with Genocide

Posted: Mon Aug 10, 2009 2:27 pm
by tobylane
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

Posted: Wed Sep 30, 2009 8:08 pm
by War Pig
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.
I like the handy genostats plug-in. Some suggestions for enhancement:

- 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.

:P

WP

Re: Fun with Genocide

Posted: Wed Dec 16, 2009 3:09 am
by Propane Tank
Yassen wrote:Here are the win32 builds for these plugins.

Built against: 2.0.12
Built on: Windows Vista
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?

Re: Fun with Genocide

Posted: Wed Dec 16, 2009 4:45 am
by blast
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.

Re: Fun with Genocide

Posted: Sun Jan 17, 2010 11:56 pm
by darkid
Genoonce (or something akin to it) is up on Mid-point Mahem 2.2 my mrapplecomputer1
Enjoy!

Re: Fun with Genocide

Posted: Wed Jul 13, 2011 9:16 pm
by allejo
Genoonce, Genostats, and Riskygeno updated to BZFlag 2.4

Re: Fun with Genocide

Posted: Tue Mar 20, 2018 12:06 am
by allejo
Here's some version of the teamflaggeno plug-in I had for 2.4