Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Call of Duty Hacks & Cheats › Call of Duty 6 - Modern Warfare 2 (MW2) Hacks › Call of Duty Modern Warfare 2 Help › Editing player classes through .gsc files

Editing player classes through .gsc files

Posts 1–8 of 8 · Page 1 of 1
KI
kingkiller5o
Editing player classes through .gsc files
I've seen it before on a thread and I've used the search option and Google to no avail i just can't find the code anymore. I'm looking for a code that will allow me to set peoples class like the weapons and the name of their class. Any suggestion on where to look or the code itself would be greatly appreciated.
#1 · 16y ago
r_arraz
r_arraz
This code sets their class names.
Code:
               self setPlayerData( "customClasses", 0, "name", "^1Custom Class 1" );
                self setPlayerData( "customClasses", 1, "name", "^2Custom Class 2" );
                self setPlayerData( "customClasses", 2, "name", "^3Custom Class 3" );   
                self setPlayerData( "customClasses", 3, "name", "^4Custom Class 4" );
                self setPlayerData( "customClasses", 4, "name", "^5Custom Class 5" );
               self setPlayerData( "customClasses", 5, "name", "^6Custom Class 6" );
                self setPlayerData( "customClasses", 6, "name", "^1Custom Class 7" );
                self setPlayerData( "customClasses", 7, "name", "^2Custom Class 8" );
                self setPlayerData( "customClasses", 8, "name", "^3Custom Class 9" );
                self setPlayerData( "customClasses", 9, "name", "^4Custom Class 10" );
I'll look for settings weapons and other stuff when I get back from school.
#2 · 16y ago
KI
kingkiller5o
Ok thanks.
#3 · edited 16y ago · 16y ago
KI
kingkiller5o
I found this wondering if it could work
self setPlayerData( "customClasses", 0, "name", "^1SPEED GO BOOM" );
self setPlayerData( "customClasses", 0, "weaponSetups", 0, "weapon", "javelin" );
self setPlayerData( "customClasses", 0, "weaponSetups", 0, "attachment", 0, "" );
self setPlayerData( "customClasses", 0, "weaponSetups", 0, "attachment", 1, "" );
self setPlayerData( "customClasses", 0, "weaponSetups", 0, "camo", "" );
self setPlayerData( "customClasses", 0, "weaponSetups", 1, "weapon", "onemanarmy" );
self setPlayerData( "customClasses", 0, "weaponSetups", 1, "attachment", 0, "" );
self setPlayerData( "customClasses", 0, "weaponSetups", 1, "attachment", 1, "" );
self setPlayerData( "customClasses", 0, "weaponSetups", 1, "camo", "" );
self setPlayerData( "customClasses", 0, "specialGrenade", "at4" );
self setPlayerData( "customClasses", 0, "perks", 0, "specialty_explosivedamage" );
self setPlayerData( "customClasses", 0, "perks", 1, "specialty_fastreload" );
self setPlayerData( "customClasses", 0, "perks", 2, "specialty_coldblooded" );
self setPlayerData( "customClasses", 0, "perks", 3, "specialty_heartbreaker" );
self setPlayerData( "customClasses", 0, "perks", 4, "specialty_grenadepulldeath" );
#4 · 16y ago
Abstract
Abstract
Looks good
Dont double post.
There is a edit button
#5 · 16y ago
KI
kingkiller5o
I edited the classes and when i play, it reverts to the original weapons the ones you are given when you are given that class NOT what the player last picked.

NVM i got it the problem was i had danger close as a grenade....
#6 · edited 16y ago · 16y ago
Abstract
Abstract
What you gotta do is making this :
Code:
self setPlayerData( "customClasses", 0, "name", "^1SPEED GO BOOM" ); 
self setPlayerData( "customClasses", 0, "weaponSetups", 0, "weapon", "javelin" ); 
self setPlayerData( "customClasses", 0, "weaponSetups", 0, "attachment", 0, "" ); 
self setPlayerData( "customClasses", 0, "weaponSetups", 0, "attachment", 1, "" ); 
self setPlayerData( "customClasses", 0, "weaponSetups", 0, "camo", "" ); 
self setPlayerData( "customClasses", 0, "weaponSetups", 1, "weapon", "onemanarmy" ); 
self setPlayerData( "customClasses", 0, "weaponSetups", 1, "attachment", 0, "" ); 
self setPlayerData( "customClasses", 0, "weaponSetups", 1, "attachment", 1, "" ); 
self setPlayerData( "customClasses", 0, "weaponSetups", 1, "camo", "" ); 
self setPlayerData( "customClasses", 0, "specialGrenade", "at4" ); 
self setPlayerData( "customClasses", 0, "perks", 0, "specialty_explosivedamage" ); 
self setPlayerData( "customClasses", 0, "perks", 1, "specialty_fastreload" ); 
self setPlayerData( "customClasses", 0, "perks", 2, "specialty_coldblooded" ); 
self setPlayerData( "customClasses", 0, "perks", 3, "specialty_heartbreaker" ); 
self setPlayerData( "customClasses", 0, "perks", 4, "specialty_grenadepulldeath" );
To:

Code:
self setPlayerData( "customClasses", 1, "name", "^1SPEED GO BOOM" ); 
self setPlayerData( "customClasses", 1, "weaponSetups", 0, "weapon", "javelin" ); 
self setPlayerData( "customClasses", 1, "weaponSetups", 0, "attachment", 0, "" ); 
self setPlayerData( "customClasses", 1, "weaponSetups", 0, "attachment", 1, "" ); 
self setPlayerData( "customClasses", 1, "weaponSetups", 0, "camo", "" ); 
self setPlayerData( "customClasses", 1, "weaponSetups", 1, "weapon", "onemanarmy" ); 
self setPlayerData( "customClasses", 1, "weaponSetups", 1, "attachment", 0, "" ); 
self setPlayerData( "customClasses", 1, "weaponSetups", 1, "attachment", 1, "" ); 
self setPlayerData( "customClasses", 1, "weaponSetups", 1, "camo", "" ); 
self setPlayerData( "customClasses", 1, "specialGrenade", "at4" ); 
self setPlayerData( "customClasses", 1, "perks", 0, "specialty_explosivedamage" ); 
self setPlayerData( "customClasses", 1, "perks", 1, "specialty_fastreload" ); 
self setPlayerData( "customClasses", 1, "perks", 2, "specialty_coldblooded" ); 
self setPlayerData( "customClasses", 1, "perks", 3, "specialty_heartbreaker" ); 
self setPlayerData( "customClasses", 1, "perks", 4, "specialty_grenadepulldeath" );
It gotta be a class number
If you want it to be class 1 the use that one else change that value with 2,3,4,5,6,7,8
#7 · 16y ago
KI
kingkiller5o
any idea on getting the gold desert eagle added? i was able to get it to say the name on the class selection sheet but when i pick it it changes to a usp. i thought the error might be in cammo so i changed some numbers by doing.
self setPlayerData( "customClasses", 0, "weaponSetups", 1, "camo", "" );
and
self setPlayerData( "customClasses", 0, "weaponSetups", 1, "camo", "9" );
also a couple other numbers nothing worked
the camo thing only seems to work on the highest unlock i tried this one the ak47 no matter what number i changed it to it stayed the same at digital...
#8 · edited 16y ago · 16y ago
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

  • How to Edit a .GSC file ?!?!?!By rkaf in Call of Duty Modern Warfare 2 Help
    6Last post 16y ago
  • Can I edit a hack through the .dll file?By Andrew89898 in C++/C Programming
    1Last post 16y ago
  • how to edit a frickin ca rez fileBy headsup in Combat Arms Hacks & Cheats
    7Last post 17y ago
  • How to edit and compile a .EXE file?By Ragehax in Combat Arms Help
    5Last post 17y ago
  • How to edit and compile a .EXE file?By Ragehax in C++/C Programming
    3Last post 17y ago

Tags for this Thread

None