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
-
@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-
-
@dontknowletsplay yes just figured out thanks
-
@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