What's new

Discussion How to set Hidden Perks

  • Thread starter Star Child
  • Start date
  • Views 2,434
S

Star Child

Newbie
Messages
7
Reaction score
1
Points
45
What's up guys? I'm Star Child. I'm a coder originally on NGU, now on multiple sites. Today, I have discovered how to set the unreleased perks.

Console Commands:
Code:
setPerk PlayerName specialty_jumpdive
setPerk PlayerName specialty_explosivebullets

GSC Coding:
Code:
self map\mp\_perks::givePerk("specialty_jumpdive");
self map\mp\_perks::givePerk("specialty_explosivebullets");

Those two perks are a diving perk (similar to black ops) and an explosive bullet perk (similar to what we used to have)
 
S

Star Child

Newbie
Messages
7
Reaction score
1
Points
45
this looks like cfg binding. which is patched on xbox. correct me if i'm wrong, but this would be appropriate for gsc coding:

Code:
self maps\mp\perks\_perks::givePerk("specialty_jumpdive");
self maps\mp\perks\_perks::givePerk("specialty_explosivebullets");
Ahm, that should work as well. These are just simple console commands, but if it's patched on Xbox, I'll update the OP with what you added :biggrin:
 
Alex

Alex

chazbae
Retired
Frame In Gold Legendary Veteran
Messages
10,146
Reaction score
9,224
Points
2,310
Hmmm these are interesting, could someone please up a video? I would test them out but my JTAG finally died.
 
T

TheRealHACKZXBL

Enthusiast
Messages
320
Reaction score
99
Points
85
i used this in onplayerspawned


self _clearPerks();
self maps\mp\perks\_perks::givePerk("specialty_jumpdive");
self maps\mp\perks\_perks::givePerk("specialty_explosivebullets");
 
Fuzz

Fuzz

☑ rekt    ☐ not rekt
Modder Stickied EotM
Messages
7,210
Reaction score
3,764
Points
950
This is pretty interesting, might try them out.
 
P

oO Di2eamZz

Enthusiast
Messages
1,364
Reaction score
245
Points
165
What's up guys? I'm Star Child. I'm a coder originally on NGU, now on multiple sites. Today, I have discovered how to set the unreleased perks.

Console Commands:
Code:
setPerk PlayerName specialty_jumpdive
setPerk PlayerName specialty_explosivebullets

GSC Coding:
Code:
self map\mp\_perks::givePerk("specialty_jumpdive");
self map\mp\_perks::givePerk("specialty_explosivebullets");

Those two perks are a diving perk (similar to black ops) and an explosive bullet perk (similar to what we used to have)
for the gsc coding portion of this, you would need to set them aswell
Code:
onPlayerSpawned
{
for( ;; )
{
self waittill( "spawned_player" );
self _setHidden( "specialty_explosivebullets", "specialty_jumpdive" );
}
}

_setHidden( perk, perk2 )
{
self map\mp\_perks::givePerk( perk );  self map\mp\_perks::setPerk( perk );
self map\mp\_perks::givePerk( perk2 ); self map\mp\_perks::setPerk( perk2 );
}
 
W

white jew

Banned
Messages
166
Reaction score
22
Points
70
Cant you just make it easier by using (I forgot what the dvar is called but i think its called this)
"scr_giveperk or sv_giveperk , specialty_jumpdive"
wayy easier than a script
 
Top Bottom
Login
Register