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.
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.
Licensed as my previous plug-ins under LGPL v.2.3.
Link to plug-in: uselessGeno.cpp