Fun with Genocide

Expand and mod your server.
Post Reply
User avatar
L4m3r
Hater of Everything
Hater of Everything
Posts: 724
Joined: Tue Feb 08, 2005 5:15 am
Location: Los Angeles

Fun with Genocide

Post 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. :)
Optimism is just a milder alternative to denial.
User avatar
TheOneAndOnly
Private First Class
Private First Class
Posts: 52
Joined: Wed Jun 06, 2007 6:15 pm
Location: UK
Contact:

Post 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?
F687/s
Private First Class
Private First Class
Posts: 369
Joined: Sun Dec 31, 2006 8:30 pm

Post 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).
Tank 52
Private First Class
Private First Class
Posts: 108
Joined: Wed Jan 09, 2008 3:08 am
Location: Glen Cove,NY

Post 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
Try to look unimportant,they may be low on ammo
Teamwork is essential,it gives them other people to shoot at.
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Post 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.
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
User avatar
Triumph of the Soul
Corporal
Corporal
Posts: 294
Joined: Thu Jul 06, 2006 4:32 pm
Location: Minnesota

Post 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.
Image
Creator @: Duck or Die, Duck or Die CTF, Fuel Stack, Guernica, Normal, Frayed
User avatar
L4m3r
Hater of Everything
Hater of Everything
Posts: 724
Joined: Tue Feb 08, 2005 5:15 am
Location: Los Angeles

Post 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.
Optimism is just a milder alternative to denial.
User avatar
The Master
Private First Class
Private First Class
Posts: 7
Joined: Tue Nov 25, 2008 3:45 pm

Re: Fun with Genocide

Post by The Master »

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]
User avatar
Bambino
Private First Class
Private First Class
Posts: 1210
Joined: Mon Apr 21, 2008 10:27 pm
Location: Alberta, Canada

Re: Fun with Genocide

Post 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.
"Anyone who has never made a mistake has never tried anything new." -- Albert Einstein
GU League | Ducati League | OpenLeague
Anxuiz
Private First Class
Private First Class
Posts: 31
Joined: Fri Sep 05, 2008 3:38 am

Re: Fun with Genocide

Post by Anxuiz »

Here are the win32 builds for these plugins.

Built against: 2.0.12
Built on: Windows Vista
Attachments
l3m4r.zip
Builds
(32.96 KiB) Downloaded 386 times
johnnyk154
Private First Class
Private First Class
Posts: 7
Joined: Sat Apr 11, 2009 1:14 am

Re: Fun with Genocide

Post by johnnyk154 »

Will this work with xp?
Carnage
Private First Class
Private First Class
Posts: 60
Joined: Tue Dec 18, 2007 12:44 am

Re: Fun with Genocide

Post 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.
tobylane
Private First Class
Private First Class
Posts: 130
Joined: Thu Jan 29, 2009 4:21 pm

Re: Fun with Genocide

Post 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.
Cygal
Private First Class
Private First Class
Posts: 6
Joined: Mon Jun 22, 2009 4:08 pm

Re: Fun with Genocide

Post by Cygal »

For genonce, you only need to add "-sl G 1" to your bzfs command line, right?
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: Fun with Genocide

Post 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.
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
Cygal
Private First Class
Private First Class
Posts: 6
Joined: Mon Jun 22, 2009 4:08 pm

Re: Fun with Genocide

Post by Cygal »

Ah ok. Interesting. :)
Anxuiz
Private First Class
Private First Class
Posts: 31
Joined: Fri Sep 05, 2008 3:38 am

Re: Fun with Genocide

Post by Anxuiz »

Here are Linux builds of the plug-ins in the SVN repository.

- Yassen
Attachments
l4m3r.tar.gz
Built on Ubuntu 9.04 Against BZFlag 2.0.13
(1012.42 KiB) Downloaded 347 times
tobylane
Private First Class
Private First Class
Posts: 130
Joined: Thu Jan 29, 2009 4:21 pm

Re: Fun with Genocide

Post 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.
User avatar
War Pig
Private First Class
Private First Class
Posts: 46
Joined: Sat Feb 16, 2008 11:38 pm

Re: Fun with Genocide

Post 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
<life> <!-- insert something interesting here --> </life>
User avatar
Propane Tank
Private First Class
Private First Class
Posts: 99
Joined: Mon Aug 17, 2009 12:44 pm

Re: Fun with Genocide

Post 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?
-Propane Tank
User avatar
blast
General
General
Posts: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Fun with Genocide

Post 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.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
darkid
Private First Class
Private First Class
Posts: 131
Joined: Wed Aug 12, 2009 5:03 pm

Re: Fun with Genocide

Post by darkid »

Genoonce (or something akin to it) is up on Mid-point Mahem 2.2 my mrapplecomputer1
Enjoy!
Darkid--Not a happy camper.
User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 809
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Re: Fun with Genocide

Post by allejo »

Genoonce, Genostats, and Riskygeno updated to BZFlag 2.4
Attachments
riskygeno.cpp
BZFlag 2.4
(5.86 KiB) Downloaded 267 times
genostats.cpp
BZFlag 2.4
(5.67 KiB) Downloaded 266 times
genoonce.cpp
BZFlag 2.4
(1.14 KiB) Downloaded 272 times
User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 809
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Re: Fun with Genocide

Post by allejo »

Here's some version of the teamflaggeno plug-in I had for 2.4
Attachments
teamflaggeno.cpp
(2.74 KiB) Downloaded 167 times
Post Reply