Left 4 Dead 2 > Modding/Mapping Help and Tips > トピックの詳細
Meatspin 2月26日 0時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が行いました; 2月28日 1時34分
1-15 / 16 のコメントを表示
< >
Serial Butt Stabber 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 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が行いました; 2月26日 1時50分
Serial Butt Stabber 2月26日 1時52分 
Meatspin 2月26日 1時55分 
oh how i no see this before? -_- thanks, but how to make the infecteds no stop spawns?
最近の変更はMeatspinが行いました; 2月26日 1時56分
Meatspin 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が行いました; 2月26日 2時02分
Serial Butt Stabber 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 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が行いました; 2月26日 2時07分
Meatspin 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が行いました; 2月26日 2時09分
Meatspin 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
Serial Butt Stabber 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 2月26日 2時15分 
i make this when you say thanks for help i will go test now.
Meatspin 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?
Serial Butt Stabber 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 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が行いました; 2月26日 2時36分
Serial Butt Stabber 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.
1-15 / 16 のコメントを表示
< >
ページ毎: 15 30 50
投稿日: 2月26日 0時14分
投稿数: 16