warning do not Precache the pics you use will get error in coop sooner or latter they will still showyou can set 5 difficulty levels from normal to what ever you name it the zoms get more health and speed the harder the difficulty level you can add more in to happen easy
make a backup of both files before replacing the difficulty one is a default menu I changed
and it is not for zombie until now so after you're finished with your mod put it back
it is the difficulty menu that pops up when you play a new game
coop menu
how to add
download files put in raw/ui look down if you want solo and coop menu all in one get 2nd download file
add this in mod csv
menufile,ui/xboxlive_lobby.menu
menufile,ui/difficulty.menu
the xboxlive_lobby.menu file line 294 change this
coop start is what your naming
the difficulty.menu change
line 62 to 66
change all named
specialty_db1
specialty_db2
specialty_db3
specialty_db4
specialty_db5
its pic that shows when mouse is on that option
lines 78 to 85 change text
line 78 is the menu title basically where this is "^3The Higher The Stars The Harder The Game"
the rest
the names of your different difficulty levels
in zombie mode gsc look for this
replace it all with this
ai_calculate_health()
{
// After round 10, get exponentially harder
if( level.round_number >= 10 )
{
level.zombie_health += Int( level.zombie_health + level.zombie_health_level * level.zombie_vars["zombie_health_increase_percent"] );
return;
}
if( level.round_number > 1 )
{
level.zombie_health = Int( level.zombie_health + level.zombie_health_level + level.zombie_vars["zombie_health_increase"] );
}
}
go to _zombiemode_spawner.gsc
delete this out its right on top
level.zombie_health = 150;
level.zombie_move_speed = 1;
add this
if (GetDVarInt("zom_level") == 1 )
{
level.zombie_health_level = 0;
level.zombie_health = 150;
level.zombie_move_speed = 1;
}
else if (GetDVarInt("zom_level") == 2 )
{
level.zombie_health_level = 100;
level.zombie_health = 150;
level.zombie_move_speed = 2;
self.run_combatanim = level.scr_anim[self.animname]["walk" + 10];
self set_run_speed();
}
else if (GetDVarInt("zom_level") == 3 )
{
level.zombie_health_level = 150;
level.zombie_health = 150;
level.zombie_move_speed = 3;
self.run_combatanim = level.scr_anim[self.animname]["walk" + 15];
self set_run_speed();
}
else if (GetDVarInt("zom_level") == 4 )
{
level.zombie_health_level = 200;
level.zombie_health = 150;
level.zombie_move_speed = 4;
self.run_combatanim = level.scr_anim[self.animname]["run" + 20];
self set_run_speed();
}
else if (GetDVarInt("zom_level") == 5 )
{
level.zombie_health_level = 250;
level.zombie_health = 150;
level.zombie_move_speed = 5;
self.run_combatanim = level.scr_anim[self.animname]["sprint" + 25];
self set_run_speed();
}
will look like this at top
#include maps\_utility;
#include common_scripts\utility;
#include maps\_zombiemode_utility;
#using_animtree( "generic_human" );
init()
{
if (GetDVarInt("zom_level") == 1 )
{
level.zombie_health_level = 0;
level.zombie_health = 150;
level.zombie_move_speed = 1;
}
else if (GetDVarInt("zom_level") == 2 )
{
level.zombie_health_level = 100;
level.zombie_health = 150;
level.zombie_move_speed = 1;
self.run_combatanim = level.scr_anim[self.animname]["walk" + 10];
self set_run_speed();
}
else if (GetDVarInt("zom_level") == 3 )
{
level.zombie_health_level = 150;
level.zombie_health = 150;
level.zombie_move_speed = 2;
self.run_combatanim = level.scr_anim[self.animname]["walk" + 15];
self set_run_speed();
}
else if (GetDVarInt("zom_level") == 4 )
{
level.zombie_health_level = 200;
level.zombie_health = 150;
level.zombie_move_speed = 1;
self.run_combatanim = level.scr_anim[self.animname]["run" + 20];
self set_run_speed();
}
else if (GetDVarInt("zom_level") == 5 )
{
level.zombie_health_level = 250;
level.zombie_health = 150;
level.zombie_move_speed = 1;
self.run_combatanim = level.scr_anim[self.animname]["sprint" + 25];
self set_run_speed();
}
level.zombie_eyes_limited = 1;
level.zombie_eyes_disabled = 1;
compile your mod and all done
all dun start coop game host picks what difficulty level you play and then start game can add gametypes in to
any background picture or video will show on this screen now as well
both coop and solo set updo every thing same but use these files
but in this difficulty.menu
lines 83 to 87 is solo names
and put your dev map name where this is
on each line
lines 89 to 93 are coop names
and in your main.menu where your solo lunch button is take this out
mine looked like this
CHOICE_BUTTON_VIS( 1, "^3Dragonball Z Frieza Saga", exec "map nazi_zombie_dbzzs1", when( !localvarBool( ui_hideBack ) ); )
after you take that out put this where that was
setdvar sub_menu "1" open popmenu_newgame
will look like this
CHOICE_BUTTON_VIS( 1, "^3Dragonball Z Frieza Saga", setdvar sub_menu "1" open popmenu_newgame, when( !localvarBool( ui_hideBack ) ); )
warning do not Precache the pics you use will get error in coop sooner or latter they will still showcompile map
all dun when you click the solo button the difficulty menu pops up when you click what you want it runs the game with difficulty set