Post: Unlocking All Challenges
01-09-2016, 09:07 PM #1
BullyWiiPlaza
Climbing up the ladder
(adsbygoogle = window.adsbygoogle || []).push({}); I'm wondering why there is no script for unlocking all challenges since it's really nice to have. I tried to make one but I didn't manage to cover everything. I for example don't know yet how to do the optics and game mode specific challenges. However, I did manage to complete some of the challenges/calling cards from the Prestige, Scorestreaks and Tasks category. I'm using the addPlayerStat() function 10000 times in order to make sure that all challenges are completed since the highest requirement is 10000:
    completeReturnFireChallenges(player)
{
completeChallenges(player, "destroy_aircraft|destroy_qrdrone|destroy_turret|destroyed_helicopter_with_bullet|destroyed_qrdrone_with_bullet|killed_dog");
}

completeChallenges(player, delimitedStatNames)
{
stats = strTok(delimitedStatNames, "|");

for(statsIndex = 0; statsIndex < stats.size; statsIndex++)
{
stat = stats[statsIndex];

// Always adding 1 will not cause issues with it not counting
for(incrementCount = 0; incrementCount < 10000; incrementCount++)
{
player addPlayerStat(stat, 1);
}

informInvokerAndTarget(player, "Stat ^5" + stat + "^7 incremented");

wait 0.1;
}
}

informInvokerAndTarget(player, message)
{
player iPrintln(message);

if(self != player)
{
self iPrintln(message + " for " + player.name);
}
}

Note that these stat names are scattered in the statsmilestones.csv String tables.
The return fire challenges are for example found in statsmilestones4.csv here
You must login or register to view this content.

and here

You must login or register to view this content.

My question is if somebody could help me figure out how to do the remaining challenges? The addPlayerStatWithGameType() function for example seems to handle gamemode specific challenges but it still only takes 2 arguments: The data name and the increment. This won't work for unlocking all game mode challenges since I may have to play every single game mode and run the script in order for this to work. Also no idea yet about the optics and a few other things. Let me know what can be else can be done about unlocking all challenges Smile
(adsbygoogle = window.adsbygoogle || []).push({});
01-11-2016, 03:00 AM #2
Hash847
Purple God
Originally posted by BullyWiiPlaza View Post
I'm wondering why there is no script for unlocking all challenges since it's really nice to have. I tried to make one but I didn't manage to cover everything. I for example don't know yet how to do the optics and game mode specific challenges. However, I did manage to complete some of the challenges/calling cards from the Prestige, Scorestreaks and Tasks category. I'm using the addPlayerStat() function 10000 times in order to make sure that all challenges are completed since the highest requirement is 10000:
    completeReturnFireChallenges(player)
{
completeChallenges(player, "destroy_aircraft|destroy_qrdrone|destroy_turret|destroyed_helicopter_with_bullet|destroyed_qrdrone_with_bullet|killed_dog");
}

completeChallenges(player, delimitedStatNames)
{
stats = strTok(delimitedStatNames, "|");

for(statsIndex = 0; statsIndex < stats.size; statsIndex++)
{
stat = stats[statsIndex];

// Always adding 1 will not cause issues with it not counting
for(incrementCount = 0; incrementCount < 10000; incrementCount++)
{
player addPlayerStat(stat, 1);
}

informInvokerAndTarget(player, "Stat ^5" + stat + "^7 incremented");

wait 0.1;
}
}

informInvokerAndTarget(player, message)
{
player iPrintln(message);

if(self != player)
{
self iPrintln(message + " for " + player.name);
}
}

Note that these stat names are scattered in the statsmilestones.csv String tables.
The return fire challenges are for example found in statsmilestones4.csv here
You must login or register to view this content.

and here

You must login or register to view this content.

My question is if somebody could help me figure out how to do the remaining challenges? The addPlayerStatWithGameType() function for example seems to handle gamemode specific challenges but it still only takes 2 arguments: The data name and the increment. This won't work for unlocking all game mode challenges since I may have to play every single game mode and run the script in order for this to work. Also no idea yet about the optics and a few other things. Let me know what can be else can be done about unlocking all challenges Smile


Well, a while back I figured out how to add medals and you'd get the XP from them. But because it was basically 2 years ago now I don't exactly remember how but I did copy and paste something from one of the gsc files and it seemed to work :p. So my suggestion is to go through some of the gsc and see what the interaction between the stats buffer is and gsc, I don't care enough to look
01-15-2016, 09:45 AM #3
BullyWiiPlaza
Climbing up the ladder
Originally posted by Winter View Post
Well, a while back I figured out how to add medals and you'd get the XP from them. But because it was basically 2 years ago now I don't exactly remember how but I did copy and paste something from one of the gsc files and it seemed to work :p. So my suggestion is to go through some of the gsc and see what the interaction between the stats buffer is and gsc, I don't care enough to look

Lol, nobody on this site cares enough to provide solid help. :P
Either way, I already know how to give medals and it's working fine. It's not the issue here but some of the other challenges like gametype specific ones or optics challenges. Smile
02-25-2016, 09:58 AM #4
I have been trying to find this out for a few days now I don't know the list of challenges on top of that how to do weapons etc.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo