CabConModding
Facebook
Twitter
youtube
Discord
Contact us
RSS
Menu
CabConModding
Home
New
Top
Premium
Rules
FAQ - Frequently Asked Questions
Games
Fornite
Call of Duty: Black Ops 3
Clash of Clans
Grand Theft Auto 5
Apex Legends
Assassin’s Creed Origins
Forums
Premium
Latest posts
What's new
Latest posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Log in
Register
What's new
Premium
Latest posts
Menu
Log in
Register
Navigation
Install the app
Install
More options
Dark Theme
Contact us
Close Menu
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 2
Call of Duty: Black Ops 2 Mods and Scripts
Call of Duty: Black Ops 2 Scripts
Call of Duty: Black Ops 2 Scripts Questions
Call of Duty: Black Ops 2 Answered Questions
I forgot that the bank points and random perk existed
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="CabCon" data-source="post: 9609" data-attributes="member: 1"><p>You can check each powerup via the level.zombie_include_powerups array. Here is a list with all powerups and the checks. Just put under the if your add_option with this powerup <img src="/styles/default/xenforo/smilies.emoji/people/slight_smile.emoji.svg" class="smilie" loading="lazy" alt=":smile:" title="Smile :smile:" data-shortname=":smile:" /> </p><p>[CODE]if (isDefined(level.zombie_include_powerups) && (level.zombie_include_powerups.size > 0)) </p><p> {</p><p> ->Create Powerups menu</p><p> if (isDefined( level.zombie_include_powerups["nuke"]))</p><p> Nuke Bomb -> nuke</p><p> if (isDefined( level.zombie_include_powerups["green_nuke"]))</p><p> Green Nuke Bomb -> green_nuke</p><p> if (isDefined( level.zombie_include_powerups["red_nuke"]))</p><p> Red Nuke Bomb -> red_nuke</p><p> if (isDefined( level.zombie_include_powerups["yellow_nuke"]))</p><p> Yellow Nuke Bomb -> yellow_nuke</p><p> if (isDefined( level.zombie_include_powerups["insta_kill"]))</p><p> Insta Kill -> insta_kill</p><p> if (isDefined( level.zombie_include_powerups["green_insta"]))</p><p> Green Insta Kill -> green_insta</p><p> if (isDefined(level.zombie_include_powerups["insta_kill_ug"]))</p><p> Insta Kill Ug -> insta_kill_ug </p><p> if (isDefined(level.zombie_include_powerups["full_ammo"]))</p><p> Full Ammo -> full_ammo</p><p> if (isDefined(level.zombie_include_powerups["green_ammo"]))</p><p> Green Full Ammo -> green_ammo</p><p> if (isDefined(level.zombie_include_powerups["red_ammo"]))</p><p> Red Full Ammo -> red_ammo</p><p> if (isDefined(level.zombie_include_powerups["double_points"]))</p><p> Double Points -> double_points</p><p> if (isDefined(level.zombie_include_powerups["green_double"]))</p><p> Green Double Points -> green_double</p><p> if (isDefined(level.zombie_include_powerups["yellow_double"]))</p><p> Red Double Points -> red_double</p><p> if (isDefined(level.zombie_include_powerups["yellow_double"]))</p><p> Yellow Double Points -> yellow_double</p><p> if (isDefined(level.zombie_include_powerups["carpenter"]))</p><p> Carpenter -> carpenter</p><p> if (isDefined(level.zombie_include_powerups["fire_sale"]))</p><p> Fire Sale -> fire_sale</p><p> if (isDefined(level.zombie_include_powerups["bonfire_sale"]))</p><p> Bonfire Sale -> bonfire_sale</p><p> if (isDefined(level.zombie_include_powerups["minigun"]))</p><p> Minigun -> minigun</p><p> if (isDefined(level.zombie_include_powerups["free_perk"]))</p><p> Free Perk -> free_perk</p><p> if (isDefined(level.zombie_include_powerups["tesla"]))</p><p> Tesla -> tesla</p><p> if (isDefined(level.zombie_include_powerups["random_weapon"]))</p><p> Random Weapon -> random_weapon</p><p> if (isDefined(level.zombie_include_powerups["teller_withdrawl"]))</p><p> Bank Points -> teller_withdrawl</p><p> if (isDefined(level.zombie_include_powerups["bonus_points_player"]))</p><p> Bonus Points Player -> bonus_points_player</p><p> if (isDefined(level.zombie_include_powerups["lose_points_player"]))</p><p> Lose Points Player -> lose_points_player</p><p> if (isDefined(level.zombie_include_powerups["bonus_points_team"]))</p><p> Bonus Points Team -> bonus_points_team</p><p> if (isDefined(level.zombie_include_powerups["lose_points_team"]))</p><p> Lose Points Team -> lose_points_team</p><p> if (isDefined(level.zombie_include_powerups["lose_perk"]))</p><p> Lose Perk -> lose_perk</p><p> if (isDefined(level.zombie_include_powerups["empty_clip"]))</p><p> Empty Clip -> empty_clip</p><p> if (isDefined(level.zombie_include_powerups["meat_stink"]))</p><p> Meat Stink -> meat_stink</p><p> if (isDefined(level.zombie_include_powerups["the_cure"]))</p><p> The Cure -> the_cure</p><p> if (isDefined(level.zombie_include_powerups["blue_monkey"]))</p><p> Blue Monkey -> blue_monkey</p><p> if (isDefined(level.zombie_include_powerups["green_monkey"]))</p><p> Green Monkey -> green_monkey</p><p> if (isDefined(level.zombie_include_powerups["zombie_blood"]))</p><p> Zombie Blood -> zombie_blood</p><p> }[/CODE]</p></blockquote><p></p>
[QUOTE="CabCon, post: 9609, member: 1"] You can check each powerup via the level.zombie_include_powerups array. Here is a list with all powerups and the checks. Just put under the if your add_option with this powerup :) [CODE]if (isDefined(level.zombie_include_powerups) && (level.zombie_include_powerups.size > 0)) { ->Create Powerups menu if (isDefined( level.zombie_include_powerups["nuke"])) Nuke Bomb -> nuke if (isDefined( level.zombie_include_powerups["green_nuke"])) Green Nuke Bomb -> green_nuke if (isDefined( level.zombie_include_powerups["red_nuke"])) Red Nuke Bomb -> red_nuke if (isDefined( level.zombie_include_powerups["yellow_nuke"])) Yellow Nuke Bomb -> yellow_nuke if (isDefined( level.zombie_include_powerups["insta_kill"])) Insta Kill -> insta_kill if (isDefined( level.zombie_include_powerups["green_insta"])) Green Insta Kill -> green_insta if (isDefined(level.zombie_include_powerups["insta_kill_ug"])) Insta Kill Ug -> insta_kill_ug if (isDefined(level.zombie_include_powerups["full_ammo"])) Full Ammo -> full_ammo if (isDefined(level.zombie_include_powerups["green_ammo"])) Green Full Ammo -> green_ammo if (isDefined(level.zombie_include_powerups["red_ammo"])) Red Full Ammo -> red_ammo if (isDefined(level.zombie_include_powerups["double_points"])) Double Points -> double_points if (isDefined(level.zombie_include_powerups["green_double"])) Green Double Points -> green_double if (isDefined(level.zombie_include_powerups["yellow_double"])) Red Double Points -> red_double if (isDefined(level.zombie_include_powerups["yellow_double"])) Yellow Double Points -> yellow_double if (isDefined(level.zombie_include_powerups["carpenter"])) Carpenter -> carpenter if (isDefined(level.zombie_include_powerups["fire_sale"])) Fire Sale -> fire_sale if (isDefined(level.zombie_include_powerups["bonfire_sale"])) Bonfire Sale -> bonfire_sale if (isDefined(level.zombie_include_powerups["minigun"])) Minigun -> minigun if (isDefined(level.zombie_include_powerups["free_perk"])) Free Perk -> free_perk if (isDefined(level.zombie_include_powerups["tesla"])) Tesla -> tesla if (isDefined(level.zombie_include_powerups["random_weapon"])) Random Weapon -> random_weapon if (isDefined(level.zombie_include_powerups["teller_withdrawl"])) Bank Points -> teller_withdrawl if (isDefined(level.zombie_include_powerups["bonus_points_player"])) Bonus Points Player -> bonus_points_player if (isDefined(level.zombie_include_powerups["lose_points_player"])) Lose Points Player -> lose_points_player if (isDefined(level.zombie_include_powerups["bonus_points_team"])) Bonus Points Team -> bonus_points_team if (isDefined(level.zombie_include_powerups["lose_points_team"])) Lose Points Team -> lose_points_team if (isDefined(level.zombie_include_powerups["lose_perk"])) Lose Perk -> lose_perk if (isDefined(level.zombie_include_powerups["empty_clip"])) Empty Clip -> empty_clip if (isDefined(level.zombie_include_powerups["meat_stink"])) Meat Stink -> meat_stink if (isDefined(level.zombie_include_powerups["the_cure"])) The Cure -> the_cure if (isDefined(level.zombie_include_powerups["blue_monkey"])) Blue Monkey -> blue_monkey if (isDefined(level.zombie_include_powerups["green_monkey"])) Green Monkey -> green_monkey if (isDefined(level.zombie_include_powerups["zombie_blood"])) Zombie Blood -> zombie_blood }[/CODE] [/QUOTE]
Verification
Post reply
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 2
Call of Duty: Black Ops 2 Mods and Scripts
Call of Duty: Black Ops 2 Scripts
Call of Duty: Black Ops 2 Scripts Questions
Call of Duty: Black Ops 2 Answered Questions
I forgot that the bank points and random perk existed
CabConModding is now on facebook! Check the latest Updates, the Site Status and much more now!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top