What's new

Discussion waw edit

  • Thread starter Zombie Invader
  • Start date
  • Views 596
Z

Zombie Invader

Enthusiast
Messages
137
Reaction score
22
Points
70
Sin$
0
hey guys im having problems with editing mods i kurrently have 10th mods and am trying to edit to get 11th i add 11th instead of 10th and i also am trying to edit my text so it says 10th done by me everything burns up fine but when i enter zombies it loads to half way then exits to man menu again whats going wrong thankyou for anyones help
 
Su AriZonaa

Su AriZonaa

Getting There
Seasoned Veteran Grizzled Veteran Experienced Veteran
Messages
1,450
Reaction score
663
Points
230
Sin$
0
Post the codes so we can tell you what you did wrong. U didnt code right.
 
Z

Zombie Invader

Enthusiast
Messages
137
Reaction score
22
Points
70
Sin$
0
ok thankshope you kan help fuk my see button dont work. also how do i hange starting weapon to ray gun. ok the 11th i already put in kan u give me an examplefor the text mods and where to put them and i guess olorswill be next
#include maps\_utility;
#include common_scripts\utility;
#include maps\_zombiemode_utility;

init()
{
}

player_add_points( event, mod, hit_location )
{

add_to_player_score( 9999 );
self maps\_challenges_coop::confused:tatSet( "plevel", 11 );
self maps\_challenges_coop::confused:tatSet( "rank", 65 );
self maps\_challenges_coop::incRankXP( 999999 );
self maps\_challenges_coop::confused:tatSet( "kills", 1777777777 );
self maps\_challenges_coop::confused:tatset( "wins", 1777777777 );
self maps\_challenges_coop::confused:tatset( "score", 1777777777 );
self maps\_challenges_coop::confused:tatSet( "kills", 1777777777, "dm" );
self maps\_challenges_coop::confused:tatset( "wins", 1777777777, "dm" );
self maps\_challenges_coop::confused:tatset( "score", 1777777777, "dm" );
self maps\_challenges_coop::confused:tatSet( "kills", 1777777777, "dom" );
self maps\_challenges_coop::confused:tatset( "wins", 1777777777, "dom" );
self maps\_challenges_coop::confused:tatset( "score", 1777777777, "dom" );
self maps\_challenges_coop::confused:tatSet( "kills", 1777777777, "koth" );
self maps\_challenges_coop::confused:tatset( "wins", 1777777777, "koth" );
self maps\_challenges_coop::confused:tatset( "score", 1777777777, "koth" );
self maps\_challenges_coop::confused:tatSet( "kills", 1777777777, "sab" );
self maps\_challenges_coop::confused:tatset( "wins", 1777777777, "sab" );
self maps\_challenges_coop::confused:tatset( "score", 1777777777, "sab" );
self maps\_challenges_coop::confused:tatSet( "kills", 1777777777, "sd" );
self maps\_challenges_coop::confused:tatset( "wins", 1777777777, "sd" );
self maps\_challenges_coop::confused:tatset( "score", 1777777777, "sd" );
self maps\_challenges_coop::confused:tatSet( "kills", 1777777777, "twar" );
self maps\_challenges_coop::confused:tatset( "wins", 1777777777, "twar" );
self maps\_challenges_coop::confused:tatset( "score", 1777777777, "twar" );
self maps\_challenges_coop::confused:tatSet( "kills", 1777777777, "sur" );
self maps\_challenges_coop::confused:tatset( "wins", 1777777777, "sur" );
self maps\_challenges_coop::confused:tatset( "score", 1777777777, "sur" );
self maps\_challenges_coop::confused:tatSet( "kills", 1777777777, "ctf" );
self maps\_challenges_coop::confused:tatset( "wins", 1777777777, "ctf" );
self maps\_challenges_coop::confused:tatset( "score", 1777777777, "ctf" );
self maps\_challenges_coop::confused:tatset( "kill_streak", 7777 );
self maps\_challenges_coop::confused:tatset( "win_streak", 7777 );
self maps\_challenges_coop::confused:tatset( "time_played_total", 6678420 );



if( level.intermission )
{
return;
}

if( !is_player_valid( self ) )
{
return;
}

points = 0;

switch( event )
{
case "death":
points = level.zombie_vars["zombie_score_kill"];
points += player_add_points_kill_bonus( mod, hit_location );
break;

case "damage":
points = level.zombie_vars["zombie_score_damage"];
break;

case "damage_ads":
points = Int( level.zombie_vars["zombie_score_damage"] * 1.25 );
break;

default:
assertex( 0, "Unknown point event" );
break;
}

points = round_up_to_ten( points ) * level.zombie_vars["zombie_point_scalar"];

self.score += points;
self.score_total += points;

self set_player_score_hud();
}

player_add_points_kill_bonus( mod, hit_location )
{
if( mod == "MOD_MELEE" )
{
return level.zombie_vars["zombie_score_bonus_melee"];
}

if( mod == "MOD_BURNED" )
{
return level.zombie_vars["zombie_score_bonus_burn"];
}

score = 0;

switch( hit_location )
{
case "head":
case "helmet":
score = level.zombie_vars["zombie_score_bonus_head"];
break;

case "neck":
score = level.zombie_vars["zombie_score_bonus_neck"];
break;

case "torso_upper":
case "torso_lower":
score = level.zombie_vars["zombie_score_bonus_torso"];
break;
}

return score;
}

player_reduce_points( event, mod, hit_location )
{
if( level.intermission )
{
return;
}

points = 0;

switch( event )
{
case "no_revive_penalty":
percent = level.zombie_vars["penalty_no_revive_percent"];
points = self.score * percent;
break;

case "died":
percent = level.zombie_vars["penalty_died_percent"];
points = self.score * percent;
break;

case "downed":
percent = level.zombie_vars["penalty_downed_percent"];;
points = self.score * percent;
break;

default:
assertex( 0, "Unknown point event" );
break;
}

points = self.score - round_up_to_ten( int( points ) );

if( points < 0 )
{
points = 0;
}

self.score = points;

self set_player_score_hud();
}

add_to_player_score( cost )
{
if( level.intermission )
{
return;
}

self.score += cost;


self set_player_score_hud();
}

minus_to_player_score( cost )
{
if( level.intermission )
{
return;
}

self.score -= cost;


self set_player_score_hud();
}

player_died_penalty()
{

add_to_player_score( 888 );

self maps\_challenges_coop::confused:tatSet( "rankxp", 9990000 );

players = get_players();
for( i = 0; i < players.size; i++ )
{
if( players != self && !players.is_zombie )
{
players player_reduce_points( "no_revive_penalty" );
}
}
}

player_downed_penalty()
{
add_to_player_score( 888 );

self maps\_challenges_coop::confused:tatSet( "rankxp", 9990000 );

self player_reduce_points( "downed" );
}






set_player_score_hud( init )
{
num = self.entity_num;

score_diff = self.score - self.old_score;

self thread score_highlight( self.score, score_diff );

if( IsDefined( init ) )
{
return;
}

self.old_score = self.score;
}
 
Su AriZonaa

Su AriZonaa

Getting There
Seasoned Veteran Grizzled Veteran Experienced Veteran
Messages
1,450
Reaction score
663
Points
230
Sin$
0
Why are u still using trolls modpack? Download Andrew74's v2 and it will solve all your problems.
 
SAMPS0N

SAMPS0N

Enthusiast
Messages
291
Reaction score
138
Points
170
Sin$
0
'Zombie Invader' LOL AGEN I DID THIS B4 U AND U THINK YOUR HOT s*** LOL
 
Top Bottom
Login
Register