Modme Forums
Menu:

[HELP] Setting Up Hero Weapons

Game Modding | Call of Duty: Black Ops 3 | Scripting


ModmeBot:

Thread By: MJPW
Hi there! Has there been a breakthrough on setting up hero weapons? (being a weapon you obtain and you kill zombies to fill the meter, use it, then kill more zombies to be able to use it again)


ModmeBot:

Reply By: WARDOGSK93
From what i can see its just calling the hero weapon register function to set up a basic hero weapon



zm_hero_weapon handles it all automaticly



zm_hero_weapon::register_hero_weapon(string_weapon_name);

best thing to do is look at how other weapons do it, for example annihaltor only registers the weapon as a hero weapon does nothing else releated to hero weapons


ModmeBot:

Reply By: MJPW

WARDOGSK93From what i can see its just calling the hero weapon register function to set up a basic hero weapon



zm_hero_weapon handles it all automaticly



zm_hero_weapon::register_hero_weapon(string_weapon_name);

best thing to do is look at how other weapons do it, for example annihaltor only registers the weapon as a hero weapon does nothing else releated to hero weapons


Thank you! Setting up the weapon worked but when you kill the zombies the bar doesn't fill, no weapon.