[RELEASE] [ZM] Black Ops 2 Custom Perks
-
This post is deleted!
-
Awesome
-
-
You seem to have declared the same function twice which throws an error
https://github.com/Viren070/BO2-Zombies-Custom-Perks/blob/main/src/custom_perk_machines.gsc#L523C1-L523C1
https://github.com/Viren070/BO2-Zombies-Custom-Perks/blob/main/src/custom_perk_machines.gsc#L1006 -
Yes, it's giving me the same error:
[ERROR]:compiler:scripts/zm/custom_perk_machines.gsc:1006:1:funciotn name 'custom_get_player_weapon_limit' already defined as local function -
XResident21 see the post I linked for a solution
-
It works now, thank you very much
-
Viren_7 is it possible for you to try add perks to die rise and motd?
-
-
just read what already got posted? you don't even need to scroll up
-
Viren_7 I've tried your mod and it's insane ! Thanks you for making it ! I have a quick question tho, how do you start a zombie game with a million points ? Your screeenshots shows that you have like 950000 points xD. Thanks
-
Resxt thanks for pointing that out, ill fix it now.
-
coreosiv Thanks. I'm not too sure, but it might have been self.points = 99999 on the onPlayerSpawned function
-
C0NFU510N nah. although i could add the perks to motd, i remember having some trouble with the afterlife system and the perks.
like i said before, i dont play plutonium that much anymore and don't have time to work on this.
-
Viren_7 Tried adding it to your code in the file but it didn't work. Maybe there is something else I need to add ?
-
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.