Modme Forums
Menu:

[HELP]New Lethal Grenades

Game Modding | Call of Duty: Black Ops 3 | Asset Importing


ModmeBot:

Thread By: Dick_Nixon

I've ported over the Stick Grenades from the BO1 WaW maps, put them into a grenadeweapon, and got them successfully into game, as in they work exactly as i want them to. The only problem i am experiencing with them is when i give them through console at the begining of the game, it puts them into the tactical grenade slot, rendering them useless, and when i buy them from a wallbuy, they take away the weapon the player is holding, as well as going to the tactical grenade slot, rendering them useless. the only way i can get them to work is if i do /take all and give them to myself through, which seems to be the only way i can get them into my lethal grenade slot successfully. i've gone into APE and put it specifically to lethal grenade in as many options as i could, and it still without fault, keeps giving me these problems. is there any practical solution to this? or is this a scripting kind of problem?(i havent scripted anything to these grenades). Any help would be extremely appreciated.


ModmeBot:

Reply By: soul-toktzt

Dick_Nixon

I've ported over the Stick Grenades from the BO1 WaW maps, put them into a grenadeweapon, and got them successfully into game, as in they work exactly as i want them to. The only problem i am experiencing with them is when i give them through console at the begining of the game, it puts them into the tactical grenade slot, rendering them useless, and when i buy them from a wallbuy, they take away the weapon the player is holding, as well as going to the tactical grenade slot, rendering them useless. the only way i can get them to work is if i do /take all and give them to myself through, which seems to be the only way i can get them into my lethal grenade slot successfully. i've gone into APE and put it specifically to lethal grenade in as many options as i could, and it still without fault, keeps giving me these problems. is there any practical solution to this? or is this a scripting kind of problem?(i havent scripted anything to these grenades). Any help would be extremely appreciated.

The get-grenade-and-weapon-is-gone problem.... I think that can be fixed the same way as the Lil'Arnies fix.

Correct me if i'm wrong, this is going to be a wild guess.:

In zm_usermap.gsc, there's a function called "offhand_weapon_overrride()"

I think you have to add your lethal grenade in there.

Let's say you called the stick grenade "Sticky":

zm_utility::register_lethal_grenade_for_level( "Sticky" );



level.zombie_lethal_grenade_player_init = GetWeapon( "Sticky" );



Like i said, this is a wild guess because i don't really know alot of scripting for bo3, so if anyone can correct me if i'm wrong, would be awesome. :)


ModmeBot:

Reply By: Dick_Nixon

Thanks dude! both of those worked. the " zm_utility::register_lethal_grenade_for_level( "ger_grenate" );" command eliminated both the losing weapon problem and the putting-it-as-a-tactical problem i've been having. all i had to do was put them under function_main() and it worked like a charm!


ModmeBot:

Reply By: soul-toktzt

Dick_Nixon

Thanks dude! both of those worked. the " zm_utility::register_lethal_grenade_for_level( "ger_grenate" );" command eliminated both the losing weapon problem and the putting-it-as-a-tactical problem i've been having. all i had to do was put them under function_main() and it worked like a charm!

Awesome! Glad it works :)