Anyway I think this would be a good first post for this section so here's my unlocks structure. It's for Delphi so if you're using something else...good luck! XD
Code:
UnlocksBase:Dword=$01B2B81C; // v1.1.195 - $01b2c89c
Unlock:array [0..400] of integer=(
{
For stats, just set values.
For weapons:
- Most set to 2 will set them to done.
- For multi-tier challenges (Marksman I, II, III...) just set to like 9.
- Pro perks are unlocked at 5, but you can fully complete the challenges as with the weapons.
}
{ Barracks - Stats }
$0, // experience
$8, // prestige
$10, // score
$14, // kills
$18, // best killstreak
$1c, // deaths
$24, // assists
$28, // headshots
$34, // time played
$48, // wins
$4c, // losses
$50, // ties
$54, // win streak
{ Weapons - M16A4 }
$688,// Marksman [ 13 ]
$689,// Expert
$68A,// Shotgun
$68B,// Holographic Sight
$68C,// Heartbeat Sensor
$68D,// Thermal Scope
$68E,// Extended Mags
$68F,// Mastery
{ Weapons - Famas }
$690,// Marksman [ 21 ]
$691,// Expert
$692,// Shotgun
$693,// Holographic Sight
$694,// Heartbeat Sensor
$695,// Thermal Scope
$696,// Extended Mags
$697,// Mastery
{ Weapons - Tar-21 }
$698,// Marksman [ 29 ]
$699,// Expert
$69A,// Shotgun
$69B,// Holographic Sight
$69C,// Heartbeat Sensor
$69D,// Thermal Scope
$69E,// Extended Mags
$69F,// Mastery
{ Weapons - FAL }
$6A0,// Marksman [ 37 ]
$6A1,// Expert
$6A2,// Shotgun
$6A3,// Holographic Sight
$6A4,// Heartbeat Sensor
$6A5,// Thermal Scope
$6A6,// Extended Mags
$6A7,// Mastery
{ Weapons - AK-47 }
$6A8,// Marksman [ 45 ]
$6A9,// Expert
$6AA,// Shotgun
$6AB,// Holographic Sight
$6AC,// Heartbeat Sensor
$6AD,// Thermal Scope
$6AE,// Extended Mags
$6AF,// Mastery
{ Weapons - M240 }
$6B0,// Marksman [ 53 ]
$6B1,// Expert
$6B2,// Holographic Sight
$6B3,// Heartbeat Sensor
$6B4,// Thermal Scope
$6B5,// Extended Mags
$6B6,// Mastery
{ Weapons - M4A1 }
$6B7,// Marksman [ 60 ]
$6B8,// Expert
$6B9,// Shotgun
$6BA,// Holographic Sight
$6BB,// Heartbeat Sensor
$6BC,// Thermal Scope
$6BD,// Extended Mags
$6BE,// Mastery
{ Weapons - ACR }
$6BF,// Marksman [ 68 ]
$6C0,// Expert
$6C1,// Shotgun
$6C2,// Holographic Sight
$6C3,// Heartbeat Sensor
$6C4,// Thermal Scope
$6C5,// Extended Mags
$6C6,// Mastery
{ Weapons - Scar-H }
$6C7,// Marksman [ 76 ]
$6C8,// Expert
$6C9,// Shotgun
$6CA,// Holographic Sight
$6CB,// Heartbeat Sensor
$6CC,// Thermal Scope
$6CD,// Extended Mags
$6CE,// Mastery
{ Weapons - F2000 }
$6CF,// Marksman [ 84 ]
$6D0,// Expert
$6D1,// Shotgun
$6D2,// Holographic Sight
$6D3,// Heartbeat Sensor
$6D4,// Thermal Scope
$6D5,// Extended Mags
$6D6,// Mastery
{ Weapons - Intervention }
$6D7,// Marksman [ 92 ]
$6D8,// Expert
$6D9,// Heartbeat Sensor
$6DA,// Thermal Scope
$6DB,// Extended Mags
$6DC,// Mastery
{ Weapons - Barrett .50 Cal }
$6DD,// Marksman [ 98 ]
$6DE,// Expert
$6DF,// Heartbeat Sensor
$6E0,// Thermal Scope
$6E1,// Extended Mags
$6E2,// Mastery
{ Weapons - M21 EBR }
$6E3,// Marksman [ 104 ]
$6E4,// Expert
$6E5,// Heartbeat Sensor
$6E6,// Thermal Scope
$6E7,// Extended Mags
$6E8,// Mastery
{ Weapons - Vector }
$6E9,// Marksman [ 110 ]
$6EA,// Expert
$6EB,// Akimbo
$6EC,// Holographic Sight
$6ED,// Thermal Scope
$6EE,// Extended Mags
$6EF,// Mastery
{ Weapons - UMP 45 }
$6F0,// Marksman [ 117 ]
$6F1,// Expert
$6F2,// Akimbo
$6F3,// Holographic Sight
$6F4,// Thermal Scope
$6F5,// Extended Mags
$6F6,// Mastery
{ Weapons - Mini Uzi }
$6F7,// Marksman [ 124 ]
$6F8,// Expert
$6F9,// Akimbo
$6FA,// Holographic Sight
$6FB,// Thermal Scope
$6FC,// Extended Mags
$6FD,// Mastery
{ Weapons - P90 }
$6FE,// Marksman [ 131 ]
$6FF,// Expert
$700,// Akimbo
$701,// Holographic Sight
$702,// Thermal Scope
$703,// Extended Mags
$704,// Mastery
{ Weapons - MP5-K }
$705,// Marksman [ 138 ]
$706,// Expert
$707,// Akimbo
$708,// Holographic Sight
$709,// Thermal Scope
$70A,// Extended Mags
$70B,// Mastery
{ Weapons - RPD }
$70C,// Marksman [ 145 ]
$70D,// Expert
$70E,// Holographic Sight
$70F,// Heartbeat Sensor
$710,// Thermal Scope
$711,// Extended Mags
$712,// Mastery
{ Weapons - L86 LSW }
$713,// Marksman [ 152 ]
$714,// Expert
$715,// Holographic Sight
$716,// Heartbeat Sensor
$717,// Thermal Scope
$718,// Extended Mags
$719,// Mastery
{ Weapons - AUG HBAR }
$71A,// Marksman [ 159 ]
$71B,// Expert
$71C,// Holographic Sight
$71D,// Heartbeat Sensor
$71E,// Thermal Scope
$71F,// Extended Mags
$720,// Mastery
{ Weapons - WA2000 }
$721,// Marksman [ 166 ]
$722,// Expert
$723,// Heartbeat Sensor
$724,// Thermal Scope
$725,// Extended Mags
$726,// Mastery
{ Weapons - MG4 }
$727,// Expert [ 172 ]
$728,// Marksman
$729,// Holographic Sight
$72A,// Heartbeat Sensor
$72B,// Thermal Scope
$72C,// Extended Mags
$72D,// Mastery
{ Weapons - Secondary }
$72E,// TMP Marksman [ 179 ]
$72F,// TMP Expert
$730,// PP2000 Marksman
$731,// PP2000 Expert
$732,// G18 Marksman
$733,// G18 Expert
$734,// M39 Raffica Marksman
$735,// M39 Raffica Expert
$736,// Striker Marksman [ 187 ]
$737,// Striker Expert
$738,// M1014 Marksman
$739,// M1014 Expert
$73A,// SPAS-12 Marksman
$73B,// SPAS-12 Expert
$73C,// AA12 Marksman
$73D,// AA12 Expert
$73E,// Model 1887 Marksman
$73F,// Model 1887 Expert
$740,// Ranger Marksman
$741,// Ranger Expert
$742,// M9 Marksman [ 199 ]
$743,// M9 Expert
$744,// USP .45 Marksman
$745,// USP .45 Expert
$746,// Deagle Marksman
$747,// Deagle Expert
$748,// .44 Magnum Marksman
$749,// .44 Magnum Expert
$74A,// AT4-HS Marksman [ 207 ]
$74B,// RPG-7 Marksman
$74C,// Javelin Marksman
$74D,// Thumper Marksman
$74E,// Stinger Marksman
{ Pro Perks Unlocks }
$74F,// Marathon Pro [ 212 ]
$750,// Steady Aim Pro
$751,// Ninja Pro
$752,// Scrambler Pro
$753,// Sleight Of Hand Pro
$754,// Bling Pro
$755,// Stopping Power Pro
$756,// Hardline Pro
$757,// One Man Army Pro
$758,// Cold Blooded Pro
$759,// Last Stand Pro
$75A,// Scavenger Pro
$75B,// Commando Pro
$75C,// Sitrep Pro
$75D,// Lightweight Pro
$75E,// Danger Close Pro
{ Challenges - Killstreaks }
$75F,// Exposed [ 228 ]
$760,// Air Mail
$761,// Interference
$762,// Sentry Veteran
$763,// Air to Ground
$764,// Airstrike Veteran
$765,// Vertical Takeoff
$766,// Helicopter Veteran
$767,// Special Delivery
$768,// 21 Ton Giant
$769,// Stealth Bomber Veteran
$76A,// Chopper Gunner Veteran
$76B,// AC130 Veteran
$76C,// Blackout
$76D,// End Game
$76E,// Radar Inbound
$76F,// Airstrike Inbound
$770,// Helicopter Inbound
$771,// Airdrop Inbound
{ Challenges - Equipment }
$772,// Grenade Kill [ 247 ]
$773,// Claymore Shot
$774,// Jack-in-the-Box
$775,// Carnie
$776,// Solid Steel
$777,// Plastered
$778,// C4 Shot
$779,// Did you see that?
$77A,// Darkbringer
$77B,// Tactical Deletion
$77C,// It's Personal!
{ Challenges - Veteran }
$77D,//Heads up [ 258 ]
$77E,// look! no hands!
$77F,// Predator
$780,// carpet bomber
$781,//you're fired
$782,//chopper vet
$783,//jolly green giant
$784,//the spirit
$785,//cobra commander
$786,//spectre
{ Challenges - Finishing Moves }
$787,// Droppin' Crates [ 268 ]
$788,// Absentee Killer
$789,// Dronekiller
$78A,// Finishing Touch
$78B,// True Liar
$78C,// OG
$78D,// Transformer
$78E,// Techno Killer
$78F,// Hi Def
$790,// Death From Above
$792,// Unbelievable
$793,// Owned
$794,// Stickman
$795,// Last Resort
{ Challenges - Basic Training }
$796,// Ghillie In The Mist [ 282 ]
{ Challenges - Humiliation }
$797,// Hot Potato [ 283 ]
$798,// Car Bomb
$799,// Backstabber
$79A,// Slow but Sure
$79B,// Misery Loves Company
$79C,// Ouch
$79D,// Rival
$79E,// Cruelty
$79F,// Think Fast
$7A0,// Think Fast Stun
$7A1,// Think Fast Flash
$7A2,// Return to Sender
$7A3,// Blindfire
$7A4,// Hard Landing
$7A5,// Extreme Cruelty
$7A6,// Tango Down
$7A7,// Counter MVP
{ Challenges - Basic Training }
$7A8,// Goodbye [ 300 ]
$7A9,// Base Jump
$7AA,// Flyswatter
$7AB,// Vandalism
$7AC,// Crouch Shot
$7AD,// Prone Shot
$7AE,// Point Guard
$7AF,// X-Ray Vision
$7B0,// Backdraft
{ Challenges - Riot Shield }
$7B1,//Shield vet [ 309 ]
$7B2,//smasher
$7B3,//back-smasher
$7B4,//sponge
$7B5,//bullet proof
$7B6,//unbreakable
{ Challenges - Precision }
$7B7,// The Surgical [ 315 ]
$7B8,// Mach 5
$7B9,// Dictator
$7BA,// Perfectionist
$7BB,// Assault Expert
$7BC,// SMG Expert
$7BD,// LMG Expert
$7BE,// Multi-RPG
$7BF,// Clay More
$7C0,// Multi-frag
$7C1,// Multi-C4
$7C2,// Collateral Damage
$7C3,// Flawless
$7C4,// Fearless
$7C5,// Group Hug
$7C6,// NBK
$7C7,// All Pro
$7C8,// Airbourne
{ Challenges - Payback }
$7C9,// Money Shot! [ 333 ]
$7CA,// Robin Hood
$7CB,// Bang for your Buck
$7CC,// Overdraft
$7CD,// Identity Theft
$7CE,// ATM
$7CF,// Time Is Money
$7D0,// I'm Rich!
$7D1,// Break The Bank
$7D2,// Color Of Money
{ Challenges - Elite }
$7D4,// The Brink [ 343 ]
$7D5,// Fast Swap
$7D6,// Star Player
$7D7,// How the ?
$7D8,// Dominos
$7D9,// Master Chef
$7DA,// Invincible
$7DB,// Survivalist
$7DC,// Counter-Claymore
$7DD,// Counter-C4
$7DE,// Enemy of the State
$7DF,// The Resourceful
$7E0,// The Survivor
$7E1,// Both Barrels
{ Challenges - Intimidation }
$7E2,// Omnicide! [ 357 ]
$7E3,// Wargasm
$7E4,// The Bigger they are...
$7E5,// ...The Harder They Fall
$7E6,// Crab Meat
$7E7,// Ultimate Sacrifice
$7E8,// The Denier
$7E9,// Carpet Bomb
$7EA,// Red Carpet
$7EB,// Grim Reaper
$7EC,// No Secrets
$7ED,// Sunblock
$7EE,// Afterburner
$7EF,// Air Superiority
$7F0,// The Survivor
$7F1,// Both Barrels
{ Hidden Titles }
$7F4,//= "STD" Title [ 373 ]
$7f2,//= "toxic" title
$7f3,//= "infected" title
$7f5,// "kleptomaniac" title
$7f6,//= "behind enemy lines" title
$7f7,//= "6fears7" title
$7f8,//= "completely numb" title
$7f9,//= "martyr" title
$7fa,//= "living dead" title
$7fb,//= "sidekick" title
{ Challenges - Operations }
$7FF,// Free-for-all Victor [ 383 ]
$800,// Team Player
$801,// Search And Destroy Victor
$802,// MVP Team Deathmatch
$803,// Hardcore Team Player
$804,// Sabotage Victor
$805,// MVP Team Hardcore
$806,// Bomb Down
$807,// Bomb Defender
$808,// Bomb Prevention
$809,// Defuser
$80A,// Last Man Standing
$80B,// Saboteur
{ Challenges - Veteran }
$80C,//knife vet [ 396 ]
$80D,//last stant vet
$80E,//stealth
$80F,//stun vet
$810);//flash vet
Okay, explanation time.
UnlocksBase and Unlock are declared as constants. To update this to work on a different version of MW2, all you need to change is the UnlocksBase address.
$... is Delphi's equivalent of 0x...
You will see in the comments of some lines a number, such as next to Marathon pro, [ 215 ]. This is simply a marker to make it easier to determine what address is at what position in the array.
For you C++ers, the { and } are Delphi's equivalent of /* and */.
Eh so yeah, hope this helps someone hehe. If you need any help with this I'll be glad to help so... yeah.
(By the way, weapon prestige and some other challenges are between unlocksBase + $600 and $688. I'm just too lazy to find and add them.