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 Server / GSC Modding › Call of Duty Modern Warfare 2 GSC Modding Help/Discussion › [Tutorial] Modifying weapon damage

[Tutorial] Modifying weapon damage

Posts 16–22 of 22 · Page 2 of 2
Critted
Critted
Tusind tak Mikkel! Dine mods er for nice! // Thanks a lot Mikkel! Your mods are way too awesome
#16 · 16y ago
Shucker
Shucker
I get bad syntax somehow, is this ok?

Code:
if(isSubStr(sWeapon, "_silencer_"))
iDamage * 1.5;
	
if(isSubStr(sWeapon, "_fmj_"))
iDamage * 2;

if(isSubStr(sWeapon, "barrett_"))
iDamage = 125;
	
if(isSubStr(sWeapon, "m21_"))
iDamage = 125;
	
if(sWeapon == "rpg_mp")
iDamage = 1000;
	
if(sWeapon == "at4_mp")
iDamage = 1000;
	
if(sWeapon == "claymore_mp")
iDamage = 1000;
	
if(sWeapon == "semtex_mp")
iDamage = 1000;
#17 · 16y ago
AZUMIKKEL
AZUMIKKEL
Quote Originally Posted by Shucker View Post
I get bad syntax somehow, is this ok?

Code:
if(isSubStr(sWeapon, "_silencer_"))
iDamage * 1.5;
	
if(isSubStr(sWeapon, "_fmj_"))
iDamage * 2;

if(isSubStr(sWeapon, "barrett_"))
iDamage = 125;
	
if(isSubStr(sWeapon, "m21_"))
iDamage = 125;
	
if(sWeapon == "rpg_mp")
iDamage = 1000;
	
if(sWeapon == "at4_mp")
iDamage = 1000;
	
if(sWeapon == "claymore_mp")
iDamage = 1000;
	
if(sWeapon == "semtex_mp")
iDamage = 1000;

iDamage * # is the error.
Should be like
iDamage *= #
#18 · 16y ago
shotyoudie
shotyoudie
How can i get the _Damage.gsc ??
#19 · 16y ago
AZUMIKKEL
AZUMIKKEL
Quote Originally Posted by shotyoudie View Post
How can i get the _Damage.gsc ??
use ffviewer
#20 · 16y ago
BL
blackhawk943654
Quote Originally Posted by AZUMIKKEL View Post
use ffviewer
i can´t founds the archive _damage...
#21 · 16y ago
Insane
Insane
Thread Bumped.

/Closed
#22 · 16y ago
Posts 16–22 of 22 · Page 2 of 2

Post a Reply

Similar Threads

  • [TUTORIAL]Get Real Weapon Damage (please dont remove, may shut up some people)By scimmyboy in WarRock - International Hacks
    26Last post 18y ago
  • Weapon damageBy allard123 in WarRock - International Hacks
    0Last post 19y ago
  • weapon damageBy UsukIown in Combat Arms Hacks & Cheats
    29Last post 18y ago
  • [Tutorial]No Fall Damage How To.By ModaFoca in Combat Arms Hacks & Cheats
    13Last post 18y ago
  • I search tutorial of fall damageBy juanitobalde in WarRock - International Hacks
    0Last post 19y ago

Tags for this Thread

None