Meatspin 2014년 2월 26일 오전 12시 14분
need help to make a mutation?
my first time trying to make one, and i not know that is wrong. i play l4d2 in tourneys and i trying to make a mutation to spawns infected specials as the same rates for versus modes withou common zombies. not the versus itself but more like the "Promod".

i want to remove the T2 weapons because are weapons for noobs how to make that?

this is the codes can someone help to find the error?
the codes in paste bin
http://pastebin.com/z67fB8xM
http://pastebin.com/pXf73cRU
Meatspin님이 마지막으로 수정; 2014년 2월 28일 오전 1시 34분
16개 중 1-15 표시중
< >
Rectus 2014년 2월 26일 오전 1시 47분 
In the mode file, you're missing a curly brace at the end of the convar list.

In the vscript, use the MutationOptions table instead of DirectorOptions to set the global options, or director scripts in the maps will overwrite it.

The Total<Special> options are for custom panic waves, and will probably not do anything by themselves.

To remove or convert weapons, you add an ConvertWeaponSpawn or AllowWeaponSpawn function to MutationOptions togetrher with lists of what weapons to convert or remove, like shown below.

MutationOptions <-
{
weaponsToConvert =
{
weapon_shotgun_spas = "weapon_pumpshotgun_spawn"
}

function ConvertWeaponSpawn( classname )
{
if ( classname in weaponsToConvert )
{
return weaponsToConvert[classname];
}
return 0;
}

weaponsToRemove =
{
weapon_rifle = 0
}

function AllowWeaponSpawn( classname )
{
if ( classname in weaponsToRemove )
{
return false;
}
return true;
}

}
Meatspin 2014년 2월 26일 오전 1시 49분 
can you put for me what i missing? the problem for me is the infectds specials spawns only when leave the safe room, so after that the entire map no spawn more spawn only one time 4 specials (sorry for the english) what i need to change to fix this?
Meatspin님이 마지막으로 수정; 2014년 2월 26일 오전 1시 50분
Rectus 2014년 2월 26일 오전 1시 52분 
Meatspin 2014년 2월 26일 오전 1시 55분 
oh how i no see this before? -_- thanks, but how to make the infecteds no stop spawns?
Meatspin님이 마지막으로 수정; 2014년 2월 26일 오전 1시 56분
Meatspin 2014년 2월 26일 오전 1시 58분 
really thanks for this now the commands on mode file are working, the only problem is the infecteds stops spawn
Meatspin님이 마지막으로 수정; 2014년 2월 26일 오전 2시 02분
Rectus 2014년 2월 26일 오전 2시 05분 
SpecialRespawnInterval and MaxSpecials or cm_MaxSpecials should be the important values. You seem to have them set up all right though. MaxSpecials govern how many can be spawned at the same tim togetehr with the <Special>Limit settings. There might be specials further away from you hogging up the slots, preventing more from spawning in.

You can use the console commands "z_debug 1" and "director_debug 1" to see where they are and how many can spawn.
Meatspin 2014년 2월 26일 오전 2시 06분 
yes i know that, but the problem is they stop spawns and i no know why. i think i removed the relax sustain peaks times, but they just stop only spawn 4 infecteds the first time after that stops.
Meatspin님이 마지막으로 수정; 2014년 2월 26일 오전 2시 07분
Meatspin 2014년 2월 26일 오전 2시 08분 
still curiose RE: turkey hole님이 먼저 게시:

In the vscript, use the MutationOptions table instead of DirectorOptions to set the global options, or director scripts in the maps will overwrite it.

The Total<Special> options are for custom panic waves, and will probably not do anything by themselves.
i have a poor english, if i understand you, is for me to move the commands for the director to te mutationoptions tab?
Meatspin님이 마지막으로 수정; 2014년 2월 26일 오전 2시 09분
Meatspin 2014년 2월 26일 오전 2시 13분 
http://pastebin.com/6j0FQsJF the only command that i will no remove from director options is the Tank health?. i changed this settings removing the total special spawns
Rectus 2014년 2월 26일 오전 2시 13분 
Johnny# Sem Mouse님이 먼저 게시:
i have a poor english, if i understand you, is for me to move the commands for the director to te mutationoptions tab?

Yes that's right, you should only need MutationOptions in your vscript.

Also try removing the Total<Special> commands competely. I'm not sure how they work in normal play, but since TotalSpecials is set to 4, they mihgt be preventing more spawns.
Meatspin 2014년 2월 26일 오전 2시 15분 
i make this when you say thanks for help i will go test now.
Meatspin 2014년 2월 26일 오전 2시 16분 
for the convert weapon command, have a command specific to remove all t2 weapons? or i need to make this for every weapon i want to convert?
Rectus 2014년 2월 26일 오전 2시 18분 
Johnny# Sem Mouse님이 먼저 게시:
for the convert weapon command, have a command specific to remove all t2 weapons? or i need to make this for every weapon i want to convert?

You need to add entries in the table for every weapon to convert.
Meatspin 2014년 2월 26일 오전 2시 27분 
http://pastebin.com/CtCMChpN tried to remove all t2 weapons see for me if the code is ok?.

to remove weapons like pipe bombs i need to use alloweapon spawn? or i just can put in weapons to remove?
Meatspin님이 마지막으로 수정; 2014년 2월 26일 오전 2시 36분
Rectus 2014년 2월 26일 오전 2시 43분 
Looks like it should work. You only need to have specific weapons in one of the lists though, otherwise depending on the order the function run, it could remove a weapon you want to convert.

Remember to put those functions and tables into the MutationOptions table together with the director options.
16개 중 1-15 표시중
< >
페이지당: 15 30 50
게시된 날짜: 2014년 2월 26일 오전 12시 14분
게시글: 16