UGX-Mods

Call of Duty: Black Ops 3 => Tutorial Desk => Scripting => Topic started by: reckfullies on October 02, 2016, 01:45:01 am

Title: [Tutorial] Change Perk Limit
Post by: reckfullies on October 02, 2016, 01:45:01 am
This is actually really simple now.

Just go into your root/usermaps/zm_mapname/scripts/zm/zm_mapname.gsc

Then add:
Code Snippet
Plaintext
level.perk_purchase_limit = 4;

under:
Code Snippet
Plaintext
zm_usermap::main();

Change 4 to the amount of perks you want.

Screenshot of In-game:
Spoiler: click to open...
(https://gyazo.com/3a7b6d63e1d1e0b6577a897345448a19.jpg)
Title: Re: [Tutorial] Change Perk Limit
Post by: wumbi on October 02, 2016, 03:53:23 am
Where did you figure out how to do this? Is there Treyarch documentation somewhere?
Title: Re: [Tutorial] Change Perk Limit
Post by: reckfullies on October 02, 2016, 07:00:08 am
I was just looking through the _zm_perks.gsc script and found it there. Most of the stuff is found this way.

There is a lot of documentation made by Treyarch though located in docs_modtools inside your bo3 folder.

Most of the documentation there is tutorials, except the first file that is a htm document that contains a very useful function list along with some other stuff.

Title: Re: [Tutorial] Change Perk Limit
Post by: wumbi on October 02, 2016, 06:18:14 pm
Thanks. I don't know the first thing about scripting and I've been trying to learn. I have a bit of C++ knowledge and have watched/read a lot of tutorials but can't even figure out how to get text to display when the player spawns.