[RELEASE] [ZM] Black Ops 2 Custom Perks
-
coreosiv my bad, it was self.score, not self.points
-
Viren_7 Awesome, it works ! Thank you bro, I am going to try to create a simple script to start with more points, I am very new to coding gsc so it's going to be tough.
-
Viren_7 I've tried adding a new perk using the code you gave at the bottom of the first post but something isn't working. I first wrote this :
Then I wrote this right aboce the init_custom_map :
And I added a perk next to one already existing, but the perk doesn't appear and the game spams me with Angles and positions message on the left :
Any idea why this is happening ? Thanks for your help -
coreosiv the code i gave allows you to see your current position and angle, which you can then use to add new perks. To add another perk, you need to add the code for that perk and create a perk machine using the perk_machine_system function. Then you need to add it the shader handling under another function which i forgot the name of.
The game spamming angles and positions is to be used for the perk machine system function which requires angles and position as a parameter.
You can then remove the self thread doGetposition to stop the game from spamming you.
-
Viren_7 is it only for me or mule kick is not working on buried ?
-
Teknokratt Same here, it's not been working on our buried/origin server for few days least so could possibly be bug?
Did have look to see if can find an issue, im gonna see if upping weapon limit from 3 to 4 changes anything.
-
Teknokratt Toxic_Coding I think I have fixed it. I have updated the script at the GitHub repository. Please test it out and let me know if it works.
-
-
how do i put the images of the perk at my game?
anyone can pls help me
-
jorgelara11 i need the icons so bad
-
for some reason when buying bo2 perks (double tap, quick revive, jug, etc) it removes the abillity to buy the new perks added
-
Viren_7 I Just wanted to thank you for creating this mod. Great work bro.
-
-
it works but why Tombstone is not spawning anymore?
can someone help me to get it back XD
-
I found a bug and it is that by lying down near a drink machine, players who are spectating do not stop earning 50 points (money) every second
-
yo i keep dying after killing a zombie and im new, what should i do?
-
It's interfering with Sniper Points Persistent Upgrade, will cause all shots to count as a miss
-
use the perk icons instead of random assets
-
cookie no scope I'm planning to do that for the perks that already exist within the game to have their own perk shaders and perk machines, as in a mod built on this script. when it's done I'll probably publish it here on the forum
-
Hey, do you know why the game goes back to menu with an error on tranzit and origins?
-
Viren_7 you bro your script is awsome but why it removed original tombstone from tranzit?
-
Hello, I don't know if it only happened to me, but when using this script, in Mob Of The Dead, leaving the afterlife mode the loadout loads but the perks doesn't load (so you lost all the perks), I modified the script, deleting the functions that modify the afterlife system, so that it does not overload the plutonium stock afterlife system.
// Deleted the unnecessary include #include maps\mp\zombies\_zm_afterlife; // Deleted this functions custom_afterlife_save_loadout() // Line 1501 custom_afterlife_save_perks() // Line 1573 custom_afterlife_give_loadout() // Line 1595 // Deleted this two lines from init // Line 140 level.afterlife_save_loadout = ::custom_afterlife_save_loadout; // Line 141 level.afterlife_give_loadout = ::custom_afterlife_give_loadout;
I sent a pull request to the project repository so you can review the changes I made to solve this problem.
ps: I appreciate you taking the time to create this script, it's great.