UselessGeno

Expand and mod your server.
Post Reply
User avatar
Zehra
Private First Class
Private First Class
Posts: 915
Joined: Sun Oct 18, 2015 3:36 pm
Location: Within the BZFS API and Beyond it
Contact:

UselessGeno

Post by Zehra »

UselessGeno

The geno flag does have several issues when running.
Most notably the '-noTeamKills' setting does not prevent a player from killing teammates by shooting themselves.
This plug-in avoids that and rogueGeno is a setting within the plug-in itself, so no need for rogueGeno to be used.
Also players receive a message saying "You have grabbed Useless Geno" on grabbing the Useless flag.

README:

Code: Select all

Useless geno causes the 'useless' flag to act like geno.
Any kills made with useless geno cause the enemy team to be wiped out.
Self kills do not lead to geno events as well.

There is three variables which can be set.
RogueGeno, which is the first variable.
GenoOnce, which is the second.
TeamSafety, which is the last.

The variables are set via command line when the server is loaded.

-loadplugin plugin,111

1 is to activate the feature, 0 will turn it off.
No commas are required or recommended to be placed between the numbers.
This will may cause the plug-in to fail to operate correctly and is not recommended.

Correct syntax: -loadplugin plugin.so,000
Incorrect syntax: -loadplugin plugin.so,0,0,0

The uselessGeno plug-in may be loaded either at startup or while it is running.
Minimum revision of BZFlag required is '2.4.0', but later revisions are recommended.
Slight note: If teamSafety is on and a player kills a teammate, the geno effect will not occur.

Licensed as my previous plug-ins under LGPL v.2.3.

Link to plug-in: uselessGeno.cpp

-Zehra
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
Ratfink
Private First Class
Private First Class
Posts: 9
Joined: Sat Nov 01, 2008 2:05 pm

Re: UselessGeno

Post by Ratfink »

Why Useless, though? Plugins can create their own flags.
User avatar
Zehra
Private First Class
Private First Class
Posts: 915
Joined: Sun Oct 18, 2015 3:36 pm
Location: Within the BZFS API and Beyond it
Contact:

Re: UselessGeno

Post by Zehra »

Ratfink wrote: Wed Feb 06, 2019 1:09 pmWhy Useless, though? Plugins can create their own flags.
There is no reason not to and it simplifies things a bit.
I may later introduce a custom flag version of geno with much more features in the near future though.

-Zehra
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
Post Reply