UselessGeno

Expand and mod your server.
Post Reply
User avatar
Zehra
Private First Class
Private First Class
Posts: 622
Joined: Sun Oct 18, 2015 3:36 pm
Location: Arctic

UselessGeno

Post by Zehra » Tue Feb 05, 2019 8:37 pm

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
There's always something to remember and it's been a game I love. ~Zehra
The time spent is a time which can never be regained, so it's a time to enjoy. ~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.

Ratfink
Private First Class
Private First Class
Posts: 8
Joined: Sat Nov 01, 2008 2:05 pm

Re: UselessGeno

Post by Ratfink » Wed Feb 06, 2019 1:09 pm

Why Useless, though? Plugins can create their own flags.

User avatar
Zehra
Private First Class
Private First Class
Posts: 622
Joined: Sun Oct 18, 2015 3:36 pm
Location: Arctic

Re: UselessGeno

Post by Zehra » Wed Feb 06, 2019 10:11 pm

Ratfink wrote:
Wed Feb 06, 2019 1:09 pm
Why 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
There's always something to remember and it's been a game I love. ~Zehra
The time spent is a time which can never be regained, so it's a time to enjoy. ~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.

Post Reply