Not logged inThe Guild of Free Traders - Discussion Forum
Forum The Guild of Free Traders Help Login
Up Topic Public Area / Plugins / Weapongroupcycle alias, and its droidbutton
- By xXxDSMer Date 2017-08-07 08:52 Edited 2017-08-07 09:06
Paste the following into wgaf.cfg, then save

alias weapongroupcycle4 "Weapon4; echo 'group 4 active'; alias weapongroupcycle weapongroupcycle1"
alias weapongroupcycle3 "Weapon3; echo 'group 3 active'; alias weapongroupcycle weapongroupcycle4"
alias weapongroupcycle2 "Weapon2; echo 'group 2 active'; alias weapongroupcycle weapongroupcycle3"
alias weapongroupcycle1 "Weapon1; echo 'group 1 active'; alias weapongroupcycle weapongroupcycle2"
alias weapongroupcycle "weapongroupcycle4"

Then create a DB for weapongroupcycle

This will enable single DB cycling of weapon groups 1 to 4, with the active weapon group printed in chat.

This could also be useful for single button weapongroupcycle on a bluetooth gamepad. Or on pc, single button control of weapon groups whether keyboard gamepad mouse or joystick.

It was initially a 6 group cycle but that proved to be a bit much, so I chopped it to 4. Four groups on one button can do almost everything anyways. If you want all 6 and can see the pattern in the aluas, it would just be a matter of adding 5 and 6.

Enjoy :)
Up Topic Public Area / Plugins / Weapongroupcycle alias, and its droidbutton

Powered by mwForum 2.27.4 © 1999-2012 Markus Wichitill

Net::CIDR::Lite module not available.