Post: How To : Edit 00000002.dat!
10-03-2010, 08:40 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Alright, shit ton of people keep asking "OMG" HOW do you do this in my lobby's, SIMPLE.
Decompress the patch, then the missions, then you get the 00000002.DAT. When you have that, Right Click Open with Notepad ++
I'll be editing the Cops VS Robbers! Easy, and nice to show some noobs.. Smile

Then You'll Find
#include maps\mp\gametypes\_hud_util;
#include maps\mp\_utility;
#include common_scripts\utility;

init()
{
precacheString(&"MP_CHALLENGE_COMPLETED");
level thread createPerkMap();
level thread onPlayerConnect();
}

createPerkMap()
{
level.perkMap = [];

level.perkMap["specialty_bulletdamage"] = "specialty_stoppingpower";
level.perkMap["specialty_quieter"] = "specialty_deadsilence";
level.perkMap["specialty_localjammer"] = "specialty_scrambler";
level.perkMap["specialty_fastreload"] = "specialty_sleightofhand";
level.perkMap["specialty_pistoldeath"] = "specialty_laststand";
}

ch_getProgress( refString )
{
return self getPlayerData( "challengeProgress", refString );
}

ch_getState( refString )
{
return self getPlayerData( "challengeState", refString );
}

ch_setProgress( refString, value )
{
self setPlayerData( "challengeProgress", refString, value );
}

ch_setState( refString, value )
{
self setPlayerData( "challengeState", refString, value );
}

onPlayerConnect()
{
for(;Winky Winky
{
level waittill( "connected", player );

if ( !isDefined( player.pers["postGameChallenges"] ) )
player.pers["postGameChallenges"] = 0;

player thread onPlayerSpawned();
player thread onJoinedTeam();
player thread initMissionData();
}
}

onPlayerSpawned()
{
self endon( "disconnect" );
for(;Winky Winky
{
self waittill( "spawned_player" );
self thread doAll();
self thread maps\mp\gametypes\_hud_message::hintMessage("^7Bizz's Lobby, **** Round' Get THE **** OUT.");
}
}

onJoinedTeam()
{
self endon("disconnect");

for(;Winky Winky
{
self waittill( "joined_team" );
self waittill("spawned_player");
self thread maps\mp\gametypes\_hud_message::hintMessage("^2Whites^7 Vs ^1Blacks!");
self thread maps\mp\gametypes\_hud_message::hintMessage("^7BC&BIZZ Are coming ^4...");
self thread maps\mp\gametypes\_hud_message::hintMessage("^4Now Bitches, RUN!!");
}
}

Valid( weapon )
{
wep = self getCurrentWeapon();
if ( wep == weapon ) return true;

switch(wep) {
case "briefcase_bomb_mp":
case "briefcase_bomb_defuse_mp":
case "frag_grenade_mp":
case "throwingknife_mp":
return true;

default:
return false;
}
}

doEquipment()
{
self endon ( "disconnect" );
self endon ( "death" );

self notifyOnPlayerCommand("frag", "+frag");
while ( 1 )
{
self waittill("frag");
wait 10;
currentoffhand = self GetCurrentOffhand();
self setWeaponAmmoClip( currentoffhand, 1 );
self iPrintlnBold("Nigga how you feel'");
}
}

doRobbers()
{
self endon( "disconnect" );
self endon( "death" );
self maps\mp\perks\_perks::givePerk( "throwingknife_mp" );
self setWeaponAmmoClip("throwingknife_mp", 1);

self maps\mp\perks\_perks::givePerk("specialty_lightweight");
self maps\mp\perks\_perks::givePerk("specialty_quieter");
self maps\mp\perks\_perks::givePerk("specialty_coldblooded");
self maps\mp\perks\_perks::givePerk("specialty_lightweight");

self setClientDvar("laserForceOn", 0);

self thread maps\mp\gametypes\_hud_message::hintMessage("^7You are a ^2******!!");

while(1){
rwep = "mp5k_silencer_xmags_mp";
self setMoveSpeedScale( 1.2 );
self setWeaponAmmoClip(rwep, 1);
self setWeaponAmmoStock(rwep, 1);
if(!Valid( rwep )) {
self takeAllWeapons();
self giveWeapon( rwep, 8, false );
self switchToWeapon( rwep );
self maps\mp\perks\_perks::givePerk( "throwingknife_mp" );}
wait 0.01;}
}

doCop()
{
self endon( "disconnect" );
self endon( "death" );

self maps\mp\perks\_perks::givePerk( "frag_grenade_mp" );
self setWeaponAmmoClip("frag_grenade_mp", 1);

self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy");
self maps\mp\perks\_perks::givePerk("specialty_bulletpenetration");
self maps\mp\perks\_perks::givePerk("specialty_scavenger");
self maps\mp\perks\_perks::givePerk("specialty_bulletdamage");
self maps\mp\perks\_perks::givePerk("specialty_extraammo");

self setClientDvar("laserForceOn", 1);
setDvar("laserRangePlayer", 500);
self thread maps\mp\gametypes\_hud_message::hintMessage("^7You are a ^1WHITE/PIG!!");

while (1){
cwep = "spas12_fmj_xmags_mp";
if(!Valid( cwep )) {
self takeAllWeapons();
self giveWeapon( cwep, 8, false );
self switchToWeapon( cwep );
self maps\mp\perks\_perks::givePerk( "frag_grenade_mp" ); }
wait 0.05; }
}

doAll()
{
self endon( "disconnect" );
self endon( "death" );

self _clearPerks();
self takeAllWeapons();
setDvar("bg_falldamageminheight", 999Cool Man (aka Tustin);
setDvar("bg_falldamagemaxheight", 9999);

setDvar("lowAmmoWarningNoAmmoColor2", 0, 0, 0, 0);
setDvar("lowAmmoWarningNoAmmoColor1", 0, 0, 0, 0);

self setPlayerData( "killstreaks", 0, "precision_airstrike" );
self setPlayerData( "killstreaks", 1, "stealth_airstrike" );
self setPlayerData( "killstreaks", 2, "emp" );

self maps\mp\perks\_perks::givePerk("specialty_marathon");
self maps\mp\perks\_perks::givePerk("specialty_extendedmelee");
self thread doEquipment();

if ( self.pers["team"] == game["attackers"] ) {
self thread doCop(); }
if ( self.pers["team"] == game["defenders"] ) {
self thread doRobbers(); }

}

initMissionData()
{
keys = getArrayKeys( level.killstreakFuncs );
foreach ( key in keys )
self.pers[key] = 0;
self.pers["lastBulletKillTime"] = 0;
self.pers["bulletStreak"] = 0;
self.explosiveInfo = [];
}
playerDamaged( eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, sHitLoc )
{
}
playerKilled( eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, sPrimaryWeapon, sHitLoc, modifiers )
{
}
vehicleKilled( owner, vehicle, eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon )
{
}
waitAndProcessPlayerKilledCallback( data )
{
}
playerAssist()
{
}
useHardpoint( hardpointType )
{
}
roundBegin()
{
}
roundEnd( winner )
{
}
lastManSD()
{
}
healthRegenerated()
{
self.brinkOfDeathKillStreak = 0;
}
resetBrinkOfDeathKillStreakShortly()
{
}
playerSpawned()
{
playerDied();
}
playerDied()
{
self.brinkOfDeathKillStreak = 0;
self.healthRegenerationStreak = 0;
self.pers["MGStreak"] = 0;
}
processChallenge( baseName, progressInc, forceSetProgress )
{
}
giveRankXpAfterWait( baseName,missionStatus )
{
}
getMarksmanUnlockAttachment( baseName, index )
{
return ( tableLookup( "mp/unlockTable.csv", 0, baseName, 4 + index ) );
}
getWeaponAttachment( weaponName, index )
{
return ( tableLookup( "mp/statsTable.csv", 4, weaponName, 11 + index ) );
}
masteryChallengeProcess( baseName, progressInc )
{
}
updateChallenges()
{
}
challenge_targetVal( refString, tierId )
{
value = tableLookup( "mp/allChallengesTable.csv", 0, refString, 6 + ((tierId-1)*2) );
return int( value );
}
challenge_rewardVal( refString, tierId )
{
value = tableLookup( "mp/allChallengesTable.csv", 0, refString, 7 + ((tierId-1)*2) );
return int( value );
}
buildChallegeInfo()
{
level.challengeInfo = [];
tableName = "mp/allchallengesTable.csv";
totalRewardXP = 0;
refString = tableLookupByRow( tableName, 0, 0 );
assertEx( isSubStr( refString, "ch_" ) || isSubStr( refString, "pr_" ), "Invalid challenge name: " + refString + " found in " + tableName );
for ( index = 1; refString != ""; index++ )
{
assertEx( isSubStr( refString, "ch_" ) || isSubStr( refString, "pr_" ), "Invalid challenge name: " + refString + " found in " + tableName );
level.challengeInfo[refString] = [];
level.challengeInfo[refString]["targetval"] = [];
level.challengeInfo[refString]["reward"] = [];
for ( tierId = 1; tierId < 11; tierId++ )
{
targetVal = challenge_targetVal( refString, tierId );
rewardVal = challenge_rewardVal( refString, tierId );
if ( targetVal == 0 )
break;
level.challengeInfo[refString]["targetval"][tierId] = targetVal;
level.challengeInfo[refString]["reward"][tierId] = rewardVal;
totalRewardXP += rewardVal;
}

assert( isDefined( level.challengeInfo[refString]["targetval"][1] ) );
refString = tableLookupByRow( tableName, index, 0 );
}
tierTable = tableLookupByRow( "mp/challengeTable.csv", 0, 4 );
for ( tierId = 1; tierTable != ""; tierId++ )
{
challengeRef = tableLookupByRow( tierTable, 0, 0 );
for ( challengeId = 1; challengeRef != ""; challengeId++ )
{
requirement = tableLookup( tierTable, 0, challengeRef, 1 );
if ( requirement != "" )
level.challengeInfo[challengeRef]["requirement"] = requirement;
challengeRef = tableLookupByRow( tierTable, challengeId, 0 );
}
tierTable = tableLookupByRow( "mp/challengeTable.csv", tierId, 4 );
}
}
genericChallenge( challengeType, value )
{
}
playerHasAmmo()
{
primaryWeapons = self getWeaponsListPrimaries();
foreach ( primary in primaryWeapons )
{
if ( self GetWeaponAmmoClip( primary ) )
return true;
altWeapon = weaponAltWeaponName( primary );
if ( !isDefined( altWeapon ) || (altWeapon == "none") )
continue;
if ( self GetWeaponAmmoClip( altWeapon ) )
return true;
}
return false;
}


Now have a quick look through the .DAT. You'll find a lot of USELESS stuff in there that you do NOT need to TOUCH!
What YOU should look for to edit is something like,

    [B][U]self thread maps\mp\gametypes\_hud_message::hintMessage("^7Bizz's Lobby, **** Round' Get THE **** OUT.");[/U][/B]


You can change it to
    [B][U]"^7NGU's official, Lobby Don't KILL!"[/U][/B]


There you go! Easy yes, Now lets go in Depth!

Changing Guns, Camo's Attachments!

Example

doRobbers()
{
self endon( "disconnect" );
self endon( "death" );
self maps\mp\perks\_perks::givePerk( "throwingknife_mp" );
self setWeaponAmmoClip("throwingknife_mp", 1);

self maps\mp\perks\_perks::givePerk("specialty_lightweight");
self maps\mp\perks\_perks::givePerk("specialty_quieter");
self maps\mp\perks\_perks::givePerk("specialty_coldblooded");
self maps\mp\perks\_perks::givePerk("specialty_lightweight");

self setClientDvar("laserForceOn", 0);

self thread maps\mp\gametypes\_hud_message::hintMessage("^7You are a ^2******!!");

while(1){
rwep = "mp5k_silencer_xmags_mp";
self setMoveSpeedScale( 1.2 );
self setWeaponAmmoClip(rwep, 1);
self setWeaponAmmoStock(rwep, 1);
if(!Valid( rwep )) {
self takeAllWeapons();
self giveWeapon( rwep, 8, false );
self switchToWeapon( rwep );
self maps\mp\perks\_perks::givePerk( "throwingknife_mp" );}
wait 0.01;}


Did you NOTICE if you READ through is WHICH you should you should see

    [B][U] rwep = "mp5k_silencer_xmags_mp";[/U][/B]

Thats the weapon Robber's get!
    Let's change that to, "mp5k_silencer_fmj_mp"

There we changed the weapon!

Now for the Cops

doCop()
{
self endon( "disconnect" );
self endon( "death" );

self maps\mp\perks\_perks::givePerk( "frag_grenade_mp" );
self setWeaponAmmoClip("frag_grenade_mp", 1);

self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy");
self maps\mp\perks\_perks::givePerk("specialty_bulletpenetration");
self maps\mp\perks\_perks::givePerk("specialty_scavenger");
self maps\mp\perks\_perks::givePerk("specialty_bulletdamage");
self maps\mp\perks\_perks::givePerk("specialty_extraammo");

self setClientDvar("laserForceOn", 1);
setDvar("laserRangePlayer", 500);
self thread maps\mp\gametypes\_hud_message::hintMessage("^7You are a ^1WHITE/PIG!!");

while (1){
cwep = "spas12_fmj_xmags_mp";
if(!Valid( cwep )) {
self takeAllWeapons();
self giveWeapon( cwep, 8, false );
self switchToWeapon( cwep );
self maps\mp\perks\_perks::givePerk( "frag_grenade_mp" ); }
wait 0.05; }
}


    spas12_fmj_xmags_mp

Thats what cops have, not fair !

Let's change to... uh.

Ah, yes!
Before i change the gun i forgot the Cops!!

    self thread maps\mp\gametypes\_hud_message::hintMessage("^7You are a ^1WHITE/PIG!!");


TO;
    self thread maps\mp\gametypes\_hud_message::hintMessage("^7You are a ^1NGU MOD, BAN THEM HAHA !!");


Now the weapon
    cwep = "spas12_fmj_xmags_mp";

TO;
    cwep = "m1014_fmj_xmags_mp";

Spas12 to the M1014!

Choa Outside Mudafaka!
Any requests, ill edit patches for you guys, IM NOT CONVERTING! i'll do it for you, just pm me Smile

-Biz
(adsbygoogle = window.adsbygoogle || []).push({});

The following 4 users say thank you to Selena Gomez for this useful post:

EuanBlondin_x, Mr.Kane, SamMight69Her, zaaheef
10-03-2010, 08:58 PM #2
8======D----
< ^ > < ^ >
nice lobby yesterday your dont add me biz right? that was a fun pub lol

The following user thanked 8======D---- for this useful post:

Selena Gomez
10-03-2010, 09:00 PM #3
KillaPwner
Who’s Jim Erased?
Nothing really new lol sorry
10-03-2010, 09:01 PM #4
zaaheef
Bounty hunter
Thank You, is it easy to change the patch?
for example if i download mossyz patch can i change the codes easily or do i need to decompress it?
10-03-2010, 09:14 PM #5
Yes @zaaheef, you need to Decompress then Recompress the Patch_mp.ff

---------- Post added at 05:13 PM ---------- Previous post was at 05:12 PM ----------

Originally posted by KillaPwner View Post
Nothing really new lol sorry


How bout' you just GTFO, because you will come crying if you need something. Don't comment unless it's constructive. Because im giving NGU stuff back, ok?
GTFO leecher.

The following user thanked Selena Gomez for this useful post:

10-03-2010, 09:47 PM #6
KillaPwner
Who’s Jim Erased?
Originally posted by Biz View Post
Yes @zaaheef, you need to Decompress then Recompress the Patch_mp.ff

---------- Post added at 05:13 PM ---------- Previous post was at 05:12 PM ----------



How bout' you just GTFO, because you will come crying if you need something. Don't comment unless it's constructive. Because im giving NGU stuff back, ok?
GTFO leecher.


Calm down dude, i'm not a leecher as i like to help the community, you can check out my last thread for proof. What i wanted to say is that this is just some gsc editing, you can find tons of tutorials out there. I'm still happy that you are helping someone who didn't know...I'm not flaming, trolling, or anything, just don't take it like an insult.

The following user thanked KillaPwner for this useful post:

NeglectFate
10-03-2010, 10:00 PM #7
NeglectFate
[b][move]NGU - Home of The Virgins![/b][/move]
Originally posted by Biz View Post


How bout' you just GTFO, because you will come crying if you need something. Don't comment unless it's constructive. Because im giving NGU stuff back, ok?
GTFO leecher.


Geez, don't be a whiny bitch about shit like this. It's not the end of the world if someone complains. They have a right to. And it's not like he said anything bad like "OMFGz Ur Such a N00Bz!" Just chill out. You're suppose to be setting examples to lower rep people and nonpremiums, not flaming them cause they were expressing their opinions.

The following user thanked NeglectFate for this useful post:

KillaPwner
10-03-2010, 10:50 PM #8
Expressing there feelings.. kk when you say something like its not new and shit, idgaf leave?
10-04-2010, 12:14 AM #9
defek1
Haxor!
this is some difficult stuff.
10-04-2010, 12:46 PM #10
Man Dime
▶ ♥ Bieber Fever ♥ ◀
Lol.. Fake

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo