Page 1 of 1

UselessGeno

Posted: Tue Feb 05, 2019 8:37 pm
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

Re: UselessGeno

Posted: Wed Feb 06, 2019 1:09 pm
by Ratfink
Why Useless, though? Plugins can create their own flags.

Re: UselessGeno

Posted: Wed Feb 06, 2019 10:11 pm
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