can't edit perks limit
-
i tried to make a script for edit perks limit but even with editing everything i can only buy 4 perks here is the script :
#include maps\_utility; #include common_scripts\utility; init() { level.perk_purchase_limit = 9; level.perk_limit = 9; self.num_max_perks = 9; level.max_perks = 9; for ( ;; ) { level waittill( "connecting", player ); player.clientid = level.clientid; player thread onplayerspawned(); level.clientid++; } } onPlayerConnect() { //level.perk_limit = 9; //self.num_max_perks = 9; //level.max_perks = 9; //level.perk_purchase_limit = 9; for ( ;; ) { level waittill( "connecting", player ); player.clientid = level.clientid; player thread onplayerspawned(); level.clientid++; } } onPlayerSpawned() { self endon( "disconnect" ); for( ;; ) { self waittill( "spawned_player" ); //self.num_max_perks = 9; //level.perk_limit = 9; //level.max_perks = 9; //level.perk_purchase_limit = 9; while(1){ self.num_perks = 0; } } }why do i did a while boucle ? because i see that in zombiemode.gsc a check is made if self.num_perks >=4 then the game deny player to buy new perk so the while boucle is for make self.num_perks as 0 always but didn't work also
-
i tried to make a script for edit perks limit but even with editing everything i can only buy 4 perks here is the script :
#include maps\_utility; #include common_scripts\utility; init() { level.perk_purchase_limit = 9; level.perk_limit = 9; self.num_max_perks = 9; level.max_perks = 9; for ( ;; ) { level waittill( "connecting", player ); player.clientid = level.clientid; player thread onplayerspawned(); level.clientid++; } } onPlayerConnect() { //level.perk_limit = 9; //self.num_max_perks = 9; //level.max_perks = 9; //level.perk_purchase_limit = 9; for ( ;; ) { level waittill( "connecting", player ); player.clientid = level.clientid; player thread onplayerspawned(); level.clientid++; } } onPlayerSpawned() { self endon( "disconnect" ); for( ;; ) { self waittill( "spawned_player" ); //self.num_max_perks = 9; //level.perk_limit = 9; //level.max_perks = 9; //level.perk_purchase_limit = 9; while(1){ self.num_perks = 0; } } }why do i did a while boucle ? because i see that in zombiemode.gsc a check is made if self.num_perks >=4 then the game deny player to buy new perk so the while boucle is for make self.num_perks as 0 always but didn't work also
@3D2D To remove perk limit in bo1 you have to modify vending_trigger_think() function in _zombiemode_perks.gsc file

-
@3D2D To remove perk limit in bo1 you have to modify vending_trigger_think() function in _zombiemode_perks.gsc file

@dontknowletsplay nvm sorry
-
@3D2D Change the number 4 to what ever you want the limit to be-
-
@3D2D Change the number 4 to what ever you want the limit to be-
@dontknowletsplay yes just figured out thanks
-
@3D2D To remove perk limit in bo1 you have to modify vending_trigger_think() function in _zombiemode_perks.gsc file

@dontknowletsplay do you know where that file is because i cant find it
I dont think its there
-
@dontknowletsplay do you know where that file is because i cant find it
I dont think its there
serranopepper It is there otherwise you would get error when starting zombie game. Its in your game files
raw/maps/_zombiemode_perks.gsc
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login