google-code-export / p-g-qvm

Automatically exported from code.google.com/p/p-g-qvm
Other
1 stars 0 forks source link

!denyweapon #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sometimes, you get a player who is good with long range weapons, but
decides to use the flamethrower, and proceeds to tk 7 of his teammates.

!denyweapon would fix this.

Simply put, the command would run like this
!denyweapon NAME/SLOT Weap bind name

Its counterpart would be the same 
!allowweapon NAME/SLOT WEAP/ALL

All would allow all denied weapons.

It would work for classes and upgrades too.

The base classes/weapons (dretch, granger, adv granger, rifle, ckit, ackit)
would not be able to be denied.

There could be quite a few complex things here.

Original issue reported on code.google.com by Paradox460 on 17 Feb 2008 at 11:29

GoogleCodeExporter commented 9 years ago

Original comment by Paradox460 on 17 Feb 2008 at 11:29

GoogleCodeExporter commented 9 years ago
Denying them from buying weapon or evolving into class might be easy.

But what to do when they are already carrying said weapon / class ?

Suicide seems harsh. Forced devolve to dretch / selling for rifle might be 
doable.
Grenades can just be taken away :)

Original comment by Rez...@gmail.com on 18 Feb 2008 at 7:44

GoogleCodeExporter commented 9 years ago
Attached patch adds !denyweapon and !allowweapon
same flag as denybuild

deny takes args such as flamer, lcannon, grenade, level1, level3upgrade, etc.
alow take all deny args, and "all" to reset all weapons/classes

If they are that alien class, they devolve into dretch.
If they are carrying the weapon, they switch to rifle.
If they are carrying a grenade, it is taken away.

All actions restore their credits for the lost class or weapon.
Listplayers will show a 'W' next to their name (shares denybuild slot 'B')

Original comment by Rez...@gmail.com on 20 Feb 2008 at 12:01

Attachments:

GoogleCodeExporter commented 9 years ago
Good!

Original comment by Paradox460 on 22 Feb 2008 at 5:13

GoogleCodeExporter commented 9 years ago

Original comment by Paradox460 on 24 Feb 2008 at 11:36