VU Community Forums

ConsoleWeapons - Console commands to equip weapons and attachments


Equip weapons and their attachments through console commands. All weapons that get loaded can be equipped. Any weapons in singleplayer or coop bundles that are loaded will also be available.


This mod registers 3 console commands:

consoleweapons.equip <weapon/gadget> [weaponSlot] [attachment] [attachment]...

Equip a weapon/gadget in a weaponSlot (0 - 9) with attachments. Defaults to current slot.

consoleweapons.list [weapons|gadgets]

List all available weapons, gadgets or everything.

consoleweapons.listAttachments <weapon>

List available attachments for a weapon.


The latest version can be found here: (4.6 KB)

You can also find it on Github:


I seem to be having some trouble spawning weapons with the attachments I want. The M4A1 for example will spawn with empty rails. But this gives me a usage error:
consoleweapons.equip M4A1 [1] [eotech]
What am I doing wrong?