Home / Black Ops 3 Mod Tools / How To Add Buyable Powerups

How To Add Buyable Powerups

This quick tutorial will show you how you can add a wall buy in your map that will spawn a random power up. ย The trigger can be placed on any wall or surfase and the location of the power up can be customised to suit your needs.

Original Credit : Click Here

Open up your mapname.gsc file that can be located by right clicking your map in the mod tools launcher and selecting “show zone folder”.

20-buyable-powerup-001

From here you can then navigate back to the maps base folder.

20-buyable-powerup-002

Now the mapname.gsc will be located in the “scripts > zm” folder.

20-buyable-powerup-003

Open up your mapname.gsc in your favourite text editor (I use notepad++) and at the top of the file add the following line.

20-buyable-powerup-004

Next you will need to add the following line at the bottom of the main function

20-buyable-powerup-005

Finally add this section of code to the very bottom of the file and you are done with all the code edits.

Now for the last stage of this tutorial you will need to load up your map into radiant. Place a “trigger > use” over the area you want the player to purchase the power up. Pres “n” to bring up the entity info and set targetname to buyable_powerup_trig.

20-buyable-powerup-006

After that you need to place a “script > struct” in the place you would like to have the power up spawn. ย Again while in the entity properties you will need to set the targetname to “powerup_spawn”.

20-buyable-powerup-007

About CraftDAnimations

Just testing

Check Also

How To Add Change To Perk Machines

One thing that was missing from the perk machines was the ability to get 100 …