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 › [help] Carepackage code

[help] Carepackage code

Posts 1–15 of 34 · Page 1 of 3
HE
HeroicSlayr
[help] Carepackage code
Hey,
I'm kinda new to this whole modding. I can't write my own mod, but I can edit others. But here's my question: I want to make bunker of carepackages in a map in a zombie mod. Can someone help me with this.
Thank you in advance.
#1 · 16y ago
schiz
schiz
http://www.mpgh.net/forum/279-call-d...ates-maps.html this is for the coordinates

this is the code for care packages, put this into onplayerspawned()
Code:
		if(self isHost())
		{
			if((getDvar("mapname") == "mp_terminal") && ((!isDefined(level.SpawnedStuff)) || (!level.SpawnedStuff)))
				self ssbunker();
		}
and then make a this thread
Code:
ssbunker()
{
level.SpawnedStuff = 1;

//OK
carepack = spawn("script_model", (000, 000, 000) ); //coordinates 
carepack setModel( "com_plasticcase_enemy" ); //color, red enemy, green friendly
carepack Solid(); //if you want solid, delete if not
carepack31.angles = (0, 90, 0); //to change direction
carepack CloneBrushmodelToScriptmodel( level.airDropCrateCollision ); //must need this
}
if this is done correctly u should end up with a solid care package in the spot you want, good luck
#2 · 16y ago
TA
tank2800
Quote Originally Posted by schiz View Post
http://www.mpgh.net/forum/279-call-d...ates-maps.html this is for the coordinates

this is the code for care packages, put this into onplayerspawned()
Code:
		if(self isHost())
		{
			if((getDvar("mapname") == "mp_terminal") && ((!isDefined(level.SpawnedStuff)) || (!level.SpawnedStuff)))
				self ssbunker();
		}
and then make a this thread
Code:
ssbunker()
{
level.SpawnedStuff = 1;

//OK
carepack = spawn("script_model", (000, 000, 000) ); //coordinates 
carepack setModel( "com_plasticcase_enemy" ); //color, red enemy, green friendly
carepack Solid(); //if you want solid, delete if not
carepack31.angles = (0, 90, 0); //to change direction
carepack CloneBrushmodelToScriptmodel( level.airDropCrateCollision ); //must need this
}
if this is done correctly u should end up with a solid care package in the spot you want, good luck
that wont be helpful unless he knows how to thread things and he mostlikely dosnt
#3 · 16y ago
schiz
schiz
well i think he does he said he can edit mods.. what can he edit without knowing how to make a thread?
#4 · 16y ago
TA
tank2800
Quote Originally Posted by schiz View Post
well i think he does he said he can edit mods.. what can he edit without knowing how to make a thread?
i know how to thread but i didn't know it was called thread umm i just keep proving how smart i am
#5 · 16y ago
HE
HeroicSlayr
But I need a clean _rank.gsc, does anyone know how to get one? (for the coordinates)
#6 · 16y ago
schiz
schiz
for clean rank.gsc download ff veiwer (not hard to find search forum or google). run it, and open your patch_mp.ff file (c:/Program files/steam/steamapps/common/codmw2/zone/english/patch_mp.ff) once you open ur patch_mp.ff file ull see alot of files in it, find _rank and open it and copy everything in it. make a new gsc file called _rank and paste everything into it.. ther eu have a clean _rank
#7 · 16y ago
TA
tank2800
Quote Originally Posted by schiz View Post
for clean rank.gsc download ff veiwer (not hard to find search forum or google). run it, and open your patch_mp.ff file (c:/Program files/steam/steamapps/common/codmw2/zone/english/patch_mp.ff) once you open ur patch_mp.ff file ull see alot of files in it, find _rank and open it and copy everything in it. make a new gsc file called _rank and paste everything into it.. ther eu have a clean _rank
that was long. cant you just empty a file the put the code in
#8 · 16y ago
schiz
schiz
yah sorry that might of been a bit confusing heres an upload
Virus scan-
_rank.rar MD5:b9d90b1e4a30ae70fa69da65e8308a20 - VirSCAN.org Scanners did not find malware!
VirusTotal-
VirusTotal - Free Online Virus, Malware and URL Scanner

just gotta wait for a mod to approve it now
#9 · 16y ago
TA
tank2800
Quote Originally Posted by schiz View Post
yah sorry that might of been a bit confusing heres an upload
Virus scan-
_rank.rar MD5:b9d90b1e4a30ae70fa69da65e8308a20 - VirSCAN.org Scanners did not find malware!
VirusTotal-
VirusTotal - Free Online Virus, Malware and URL Scanner

just gotta wait for a mod to approve it now
that better now it needs to get approved. let the whiting start
#10 · 16y ago
schiz
schiz
yah i think its gonna take a while
#11 · 16y ago
TA
tank2800
Quote Originally Posted by schiz View Post
yah i think its gonna take a while
like i said let the whiting begin (i just cant let you get last reply)
#12 · 16y ago
HE
HeroicSlayr
Ok, and what if I wanted more than 1 care package?
#13 · 16y ago
TA
tank2800
i know that. after the first one
Code:
carepack = spawn("script_model", (000, 000, 000) ); //coordinates 
carepack setModel( "com_plasticcase_enemy" ); //color, red enemy, green friendly
carepack Solid(); //if you want solid, delete if not
carepack31.angles = (0, 90, 0); //to change direction
carepack CloneBrushmodelToScriptmodel( level.airDropCrateCollision ); //must need thi
it gets numbered
for example
Code:
carepack = spawn("script_model", (2850, 164, 165) ); 
carepack setModel( "com_plasticcase_friendly" );
carepack Solid();
carepack CloneBrushmodelToScriptmodel( level.airDropCrateCollision );

carepack2 = spawn("script_model", (2850, 132, 146) ); 
carepack2 setModel( "com_plasticcase_friendly" );
carepack2 Solid();
carepack2 CloneBrushmodelToScriptmodel( level.airDropCrateCollision );

carepack3 = spawn("script_model", (2850, 164, 190) ); 
carepack3 setModel( "com_plasticcase_friendly" );
carepack3 Solid();
carepack3 CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
and to get moving parts are
Code:
closeDoor()
{
if(getDvar("mapname") == "mp_afghan")
{
	level.door1 moveto((1594, -168, 150), 2);
	
	level.door2 moveto((1594, -168, 178), 2);
}
}
you need that somewere in the file then you put
Code:
level.door1 = spawn("script_model", (1594, -168, 10) ); 
	level.door1 setModel( "com_plasticcase_friendly" );
	level.door1 Solid();
	level.door1.angles = (0, 90, 0);
	level.door1 CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
	
	level.door2 = spawn("script_model", (1594, -168, 10) ); 
	level.door2 setModel( "com_plasticcase_friendly" );
	level.door2 Solid();
	level.door2.angles = (0, 90, 0);
	level.door2 CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
and thats it(stole code from nukems no hope zombie mod
#14 · 16y ago
HE
HeroicSlayr
Ok. I have got a new problem. I can't see the boxes appearing
They just won't come. I have tried many coordinates but none work.
What am I doing wrong?
Code:
onPlayerSpawned()
{
	self endon( "disconnect" );
		if(self isHost())
		{
			if((getDvar("mapname") == "mp_afghan") && ((!isDefined(level.SpawnedStuff)) || (!level.SpawnedStuff)))
				self ssbunker();
		}


	for(;;)
	{
		self waittill( "spawned_player" );

		self thread monitorSprintDistance();
	}
}
ssbunker()
{
level.SpawnedStuff = 1;

carepack = spawn("script_model", (2785, 1107, 85) );
carepack setModel( "com_plasticcase_friendly" );
carepack Solid();
carepack CloneBrushmodelToScriptmodel( level.airDropCrateCollision );

carepack2 = spawn("script_model", (554, -223, 54) );
carepack2 setModel( "com_plasticcase_friendly" );
carepack2 Solid();
carepack2 CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
}
#15 · edited 16y ago · 16y ago
Posts 1–15 of 34 · Page 1 of 3

Post a Reply

Similar Threads

  • [Help] Verification CodeBy leiva1 in WarRock Korea Hacks
    5Last post 19y ago
  • [Help] Verification CodeBy leiva1 in WarRock Korea Hacks
    4Last post 19y ago
  • Help With Coding PleaseBy pbguy145 in WarRock - International Hacks
    1Last post 18y ago
  • [ HELP ] stamina codeBy ilovepie21 in Visual Basic Programming
    1Last post 18y ago
  • [ HELP ] Stamina Code VB6By ilovepie21 in Visual Basic Programming
    10Last post 18y ago

Tags for this Thread

None