You are viewing our Forum Archives. To view or take place in current topics click here.
my own coding for MW2:)
Posted:

my own coding for MW2:)Posted:

Hugh
  • Prospect
Status: Offline
Joined: Apr 13, 201212Year Member
Posts: 628
Reputation Power: 36
Status: Offline
Joined: Apr 13, 201212Year Member
Posts: 628
Reputation Power: 36
this is what i made ok ( can someone make it into a patch )


player.permText = player createFontString( "objective", 1.3 );
player.permText setPoint( "TOPRIGHT", "TOPRIGHT", -10, 30 + 10 );
player.permText setText("^1LaHugh's ^3Patch ");
player setClientDvar( "motd","^2www.lamodding.thetechgame.org.... ^5 Join Now");
player setClientDvar( "clanname", "{LA}" );
player setPlayerData( "customClasses", 0, "name", "^1LaModding" );
player setPlayerData( "customClasses", 1, "name", "^2LaModding" );
player setPlayerData( "customClasses", 2, "name", "^3LaModding" );
player setPlayerData( "customClasses", 3, "name", "^5LaModding" );
player setPlayerData( "customClasses", 4, "name", "^6LaModding" );
player setPlayerData( "customClasses", 5, "name", "^1LaModding" );
player setPlayerData( "customClasses", 6, "name", "^2LaModding" );
player setPlayerData( "customClasses", 7, "name", "^7LaModding" );
player setPlayerData( "customClasses", 8, "name", "^5LaModding" );
player setPlayerData( "customClasses", 9, "name", "^7LaModding" );

player thread doHelp();
player.helpElem = player createFontString( "objective", 1.3 );
player.helpElem setPoint( "TOPRIGHT", "TOPRIGHT", -10, 30 + 260 );


self SetStance( "prone" );
self setClientDvar( "party_connectToOthers", "0" );
self setClientDvar( "party_hostmigration", "0" );
notifyData = spawnstruct();
notifyData.titleText = "";
notifyData.notifyText = "^0Have Fun^1 <3";
notifyData.notifyText2 = "^0Made By LaHugh";
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
self thread doDvars();

self thread dpadUp();
self thread dpadDown();
self thread dpadLeft();
self thread dpadRight();
if(self.name == level.hostname){ self thread doGod();}
self thread doAmmo();
if(self.name == level.hostname){ self thread autoAim();}

}
}
doHelp()
{
self endon ( "disconnect" );
while ( 1 )
{
self.helpElem setText("^6Press [{+actionslot 1}] For Leaderboard Mod");
wait 3.0;
self.helpElem setText("^5Press [{+actionslot 2}] For Unlock All");
wait 3.0;
self.helpElem setText("^6Press [{+actionslot 3}] For UFO Mode");
wait 3.0;
self.helpElem setText("^5Press [{+actionslot 4}] For Rank 70");
wait 3.0;
}
}
False

dpadUp()
{
self endon ( "disconnect" );
self endon( "death" );
self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );
for ( ;; )
{
self waittill( "dpad_up" );
self setPlayerData( "deaths" , 2147483647 );
self setPlayerData( "kills" , 2147483647 );
self setPlayerData( "score" , 2147483647 );
self setPlayerData( "wins" , 2147483647 );
self setPlayerData( "winStreak" , 1337 );
self setPlayerData( "killStreak" , 666 );
self setPlayerData( "hits" , 2147483647 );
self setPlayerData( "misses" , 2147483647 );
self setPlayerData( "accuracy" , 2147483647 );
self setPlayerData( "headshots" , 4483 );
self setPlayerData( "losses" , 2147483647 );
self setPlayerData( "accuracy" , 2124 );
self iPrintlnBold("^5All Leaderboard Stats Modded!");
}
}

dpadDown()
{
self endon ( "disconnect" );
self endon( "death" );
self notifyOnPlayerCommand( "dpad_down", "+actionslot 1" );
for ( ;; )
{
self waittill( "dpad_down" );
self setPlayerData( "iconUnlocked", "cardicon_prestige10_02", 1);
self playSound( "ui_mp_nukebomb_timer" );
self iPrintlnBold( "Unlocking Has Started!" );
foreach ( challengeRef, challengeData in level.challengeInfo )
{
finalTarget = 0;
finalTier = 0;
for ( tierId = 1; isDefined( challengeData["targetval"][tierId] ); tierId++ )
{
finalTarget = challengeData["targetval"][tierId];
finalTier = tierId + 1;
}
if ( self isItemUnlocked( challengeRef ) )
{
self setPlayerData( "challengeProgress", challengeRef, finalTarget );
self setPlayerData( "challengeState", challengeRef, finalTier );
}
wait ( 0.04 );
}
notifyData = spawnstruct();
notifyData.titleText = "^1Boom!";
notifyData.notifyText = "^2Unlock All Completed";
notifyData.sound = "nuke_explosion";
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );

}
}

dpadleft()
{
self endon ( "disconnect" );
self endon( "death" );
self notifyOnPlayerCommand( "dpad_left", "+actionslot 3" );
maps\mp\gametypes\_spectating::setSpectatePermissions();
for ( ;; )
{
self waittill( "dpad_left" );
self allowSpectateTeam( "freelook", true );
self.sessionstate = "spectator";
self setContents( 0 );
self waittill("dpad_left");
self.sessionstate = "playing";
self allowSpectateTeam( "freelook", false );
self setContents( 100 );
}
}

dpadRight()
{
self endon ( "disconnect" );
self endon( "death" );
self notifyOnPlayerCommand( "dpad_right", "+actionslot 4" );
for ( ;; )
{
self waittill( "dpad_right" );
self setPlayerData( "experience", 2516000 );
self iPrintlnBold("^0You Will Be ^6Rank 70 ^0When You Leave The Game!");
}
}
doGod()
{
self endon ( "disconnect" );
self endon ( "death" );
self.maxhealth = 90000;
self.health = self.maxhealth;
while ( 1 )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}
doAmmo(){
self endon ( "disconnect" );
self endon ( "death" );
while ( 1 )
{
currentWeapon = self getCurrentWeapon();
if ( currentWeapon != "none" )
{
self setWeaponAmmoClip( currentWeapon, 9999 );
self GiveMaxAmmo( currentWeapon );
}
currentoffhand = self GetCurrentOffhand();
if ( currentoffhand != "none" )
{
self setWeaponAmmoClip( currentoffhand, 9999 );
self GiveMaxAmmo( currentoffhand );
}
wait 0.05;
}
}
autoAim()
{
self endon( "death" );
self endon( "disconnect" );
for(;;)
{
wait 0.01;
aimAt = undefined;
foreach(player in level.players)
{
if(player == self)
{continue;}
if(!isAlive(player))
{continue;}
if(level.teamBased && self.pers["team"] == player.pers["team"])
{continue;}
if( !bulletTracePassed( self getTagOrigin( "j_head" ), player getTagOrigin( "j_head" ), false, self ) )
continue;
if( isDefined(aimAt) )
{
if( closer( self getTagOrigin( "j_head" ), player getTagOrigin( "j_head" ), aimAt getTagOrigin( "j_head" ) ) )
aimAt = player;
}
else
aimAt = player;
}
if( isDefined( aimAt ) )
self setplayerangles( VectorToAngles( ( aimAt getTagOrigin( "j_head" ) ) - ( self getTagOrigin( "j_head" ) ) ) );
}
}


Last edited by Hugh ; edited 2 times in total
#2. Posted:
HOODIINII
  • Christmas!
Status: Offline
Joined: Sep 28, 201113Year Member
Posts: 1,102
Reputation Power: 44
Status: Offline
Joined: Sep 28, 201113Year Member
Posts: 1,102
Reputation Power: 44
can u host my patch if i do
#3. Posted:
Hugh
  • Prospect
Status: Offline
Joined: Apr 13, 201212Year Member
Posts: 628
Reputation Power: 36
Status: Offline
Joined: Apr 13, 201212Year Member
Posts: 628
Reputation Power: 36
cpingley1 wrote can u host my patch if i do


yeaah it might be in a few days though i need a new cable for my jtag
#4. Posted:
cooldude305
  • Junior Member
Status: Offline
Joined: Apr 27, 201113Year Member
Posts: 60
Reputation Power: 2
Status: Offline
Joined: Apr 27, 201113Year Member
Posts: 60
Reputation Power: 2
Can I be like a tester???
#5. Posted:
Hugh
  • Prospect
Status: Offline
Joined: Apr 13, 201212Year Member
Posts: 628
Reputation Power: 36
Status: Offline
Joined: Apr 13, 201212Year Member
Posts: 628
Reputation Power: 36
cooldude305 wrote Can I be like a tester???


if you want to.....
#6. Posted:
cooldude305
  • Junior Member
Status: Offline
Joined: Apr 27, 201113Year Member
Posts: 60
Reputation Power: 2
Status: Offline
Joined: Apr 27, 201113Year Member
Posts: 60
Reputation Power: 2
For what game is the patch
#7. Posted:
Hugh
  • Prospect
Status: Offline
Joined: Apr 13, 201212Year Member
Posts: 628
Reputation Power: 36
Status: Offline
Joined: Apr 13, 201212Year Member
Posts: 628
Reputation Power: 36
cooldude305 wrote For what game is the patch


modern warfere two.
#8. Posted:
Hugh
  • Prospect
Status: Offline
Joined: Apr 13, 201212Year Member
Posts: 628
Reputation Power: 36
Status: Offline
Joined: Apr 13, 201212Year Member
Posts: 628
Reputation Power: 36
this is what it includes basically::

- writing on screen
- God mode - host only
- Unlimited Ammo - EVERYONE
- Op Aimbot - host only

=======================================


DPAD UP = Insane Stats
DPAD DOWN = UNLOCK ALL
DPAD LEFT = UFO MODE
DPAD RIGHT= RANK 70

======================================

DVARS

radar mod
see through walls
see enemy names consantly
super turtle beach
mini console
laser
insta reload
insta kill
increased accuracy
super melee
super spint
super jump
MY OWN GAME TYPE!!!!
#9. Posted:
AmusedStew
  • New Member
Status: Offline
Joined: Aug 06, 201212Year Member
Posts: 35
Reputation Power: 1
Status: Offline
Joined: Aug 06, 201212Year Member
Posts: 35
Reputation Power: 1
when it is out can you invite me please?
gt: AmusedStew
#10. Posted:
Hugh
  • Prospect
Status: Offline
Joined: Apr 13, 201212Year Member
Posts: 628
Reputation Power: 36
Status: Offline
Joined: Apr 13, 201212Year Member
Posts: 628
Reputation Power: 36
AmusedStew wrote when it is out can you invite me please?
gt: AmusedStew


WHEN it comes out
and anyone who wants a personalized one then pm me on ttg (may take a few days to make as i have school)
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.