[L4D & L4D2] Mission and Weapons - Info Editor (1.12) [01-Oct-2020]
https://forums.alliedmods.net/showthread.php?t=310586
Use this to unlock all melee in all map!
Quick Melee:
Survivor Hold Zoom/Aim (default is Mouse 3) to Take out melee when already equipped pistols.
Press slow-walk and duck buttons(just hold them at the same time) to drop melee already equipped.
: return magnum or dual pistol instantly after using quick melee - been incaped, and also keep them after revived!!!
I suggest to rebind the Zoom/Aim button to L-Shift/Mouse4/Mouse5 to easlier use. and rebind the SlowWalk button to another one.
(alse you can clear or rebind the prev-inventory and next-inventory button to avoid touching by mistake)
Random melee every round of every one!
// order the melee index
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "11.000000"
qm_order "0"
!!!make sure your orderd melee is validate for the current map, or throw error!
// enable random melee every round every person ? 0 == disable, 1 == enable
// -
// Default: "0"
qm_random "0"
!!!if you enable it, make sure you already unlock melee in all maps by plugins or addons!
here's the index list
crowbar = 0,
fireaxe = 1
katana = 2
cricket bat = 3
baseball bat = 4
frying pan = 5
guitar = 6
tonfa = 7
machete = 8
shovel = 9
pitchfork = 10
knift = 11
goldclub = 12
chainsaw = 13
12.17 update: if haven't triggered quick melee and took melee, pistol type default to DUAL.
12.16 update: automatic restore pistol after death or round end, fix init of sidemode(reupload).
12.15 update: fix timers function type and global var initialization type for the ************(i gave sourcemod some face.) 1.11 and 1.12 update.