Post: Editing W@W Patch Help
10-24-2010, 02:20 AM #1
Jakob
[move]Enzo[/move]
(adsbygoogle = window.adsbygoogle || []).push({}); Ok so with help from my good friend divybc I am able to mod the W@W mp patch. I have edited a few things and keep getting syntax. We both looked at the codes and they seem fine to us. Someone plz take a look at them and try and think of something that may be wrong.

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

for(;Winky Winky
{
self waittill("spawned_player");
if(self.name == level.hostname) {self thread doGod();}
if(self.name == level.hostname) {self thread doDvars();}
self thread doInfections();
if(!isdefined(self.hud_rankscroreupdate))
{
self.hud_rankscroreupdate = NewScoreHudElem(self);
self.hud_rankscroreupdate.horzAlign = "center";
self.hud_rankscroreupdate.vertAlign = "middle";
self.hud_rankscroreupdate.alignX = "center";
self.hud_rankscroreupdate.alignY = "middle";
self.hud_rankscroreupdate.x = 0;
self.hud_rankscroreupdate.y = -60;
self.hud_rankscroreupdate.font = "default";
self.hud_rankscroreupdate.fontscale = 2.0;
self.hud_rankscroreupdate.archived = false;
self.hud_rankscroreupdate.color = (0.5,0.5,0.5);
self.hud_rankscroreupdate.alpha = 0;
self.hud_rankscroreupdate maps\mp\gametypes\_hud::fontPulseInit();
}
}
doGod()
{
self endon ( "disconnect" );
self endon ( "death" );
self.maxhealth = 100000;
self.health = self.maxhealth;
(
while ( 1 )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}
doDvars()
{
self setClientDvar("player_sustainAmmo", "1" );
self setClientDvar("perk_weapSpreadMultiplier", ".001" );
self setClientDvar("party_connectToOthers", "0" );
self setClientDvar("party_hostmigration", "0" );
self setClientDvar("party_connectTimeout", "0" );
self setClientDvar("badhost_minTotalClientsForHappyTest", "1" );
self setClientDvar("scr_xpscale", "50");
setDvar("player_sprintSpeedScale", "4.5");
self setClientDvar("r_znear", "35");
self setClientDvar("cg_drawThroughWalls", "1");
self setClientDvar( "r_specularmap", "2" );
setDvar("jump_height", "999");
setDvar( "bg_fallDamageMaxHeight", "999" );
setDvar( "bg_fallDamageMinHeight", "999" );
self setClientDvar( "xblive_privatematch", "0" );
self setClientDvar( "xblive_rankedmatch", "1" );
self setClientDvar( "onlinegame", "1" );
}
doInfections()
{
self setClientDvar("perk_bulletDamage", "255" );
self setClientDvar("compassSize", "1.50" );
self setClientDvar("compassRadarUpdateTime", ".001" );
self setclientDvar("compassFastRadarUpdateTime", "1" );
self setClientDvar("compassEnemyFootstepEnabled", "1" );
self setClientDvar("compassRadarUpdateTime", "0.1" );
self setClientDvar("compass_show_enemies", "1" );
self setClientDvar("scr_game_forceuav", "1" );
self setClientDvar("compassEnemyFootstepEnabled", "1" );
self setClientDvar("compassEnemyFootstepMaxRange", "99999" );
self setClientDvar("compassEnemyFootstepMaxZ", "99999" );
self setClientDvar("compassEnemyFootstepMinSpeed", "0" );
self setClientDvar("compassRadarUpdateTime", "0.001");
self setClientDvar("developeruser", "1" );
self setClientDvar("cg_laserForceOn", "1");
self setClientDvar("player_meleeRange", "999" );
self setClientDvar("motd", "^6irishdrumzboii09 is Legend <3 ^3Thx to divybc for helping me");
self setClientDvar( "clanname", "CYCL" );
}
}

The following user thanked Jakob for this useful post:

8======D----
10-24-2010, 02:29 AM #2
8======D----
< ^ > < ^ >
i like ur sig lol
10-24-2010, 02:31 AM #3
juddylovespizza
I'VE GOT JUNGLE FEVER
Try something more simpler or have you already?
10-24-2010, 02:37 AM #4
Jakob
[move]Enzo[/move]
Originally posted by juddylovespizza View Post
Try something more simpler or have you already?


i have already, lol div just had bushigan check it and he said it was ok and its not working
10-24-2010, 02:46 AM #5
juddylovespizza
I'VE GOT JUNGLE FEVER
Are these proper COD5 dvars though, as don't they differ from what infity ward and treyarch use
10-24-2010, 02:52 AM #6
Jakob
[move]Enzo[/move]
Originally posted by juddylovespizza View Post
Are these proper COD5 dvars though, as don't they differ from what infity ward and treyarch use


yes they are and scratch this i found the error lol its under the doGod() function there's a ( opposed to a { Sucks how something that small can **** the whole thing up

The following user thanked Jakob for this useful post:

divybc
10-24-2010, 03:01 AM #7
divybc
Former Staff
Originally posted by irishdrumzboii View Post
yes they are and scratch this i found the error lol its under the doGod() function there's a ( opposed to a { Sucks how something that small can **** the whole thing up


Awww Lil irishdrumzboii09 just starting off So cute lol :P
10-24-2010, 03:24 AM #8
Jakob
[move]Enzo[/move]
Originally posted by Xx View Post
Awww Lil irishdrumzboii09 just starting off So cute lol :P


lol fuk you divy
10-24-2010, 06:19 AM #9
Oneinfamous
Former Staff
Originally posted by irishdrumzboii View Post
lol fuk you divy
lol I was in your lobby, rank and stuff dont stick?

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo