Difference between revisions of "L4D2 Level Design/Boss Prohibition"

From Valve Developer Community
Jump to: navigation, search
Line 1: Line 1:
 +
{{otherlang2
 +
| ru=L4D2 Level Design/Boss Prohibition:ru}}
 +
 
Left4Dead 2 no longer relies on the mission.txt file to prohibit Tanks and Witches on maps. This is now done with a script file that you should place in your '''left4dead2/scripts/vscripts''' folder (you may need to add the '''vscripts''' subfolder yourself).
 
Left4Dead 2 no longer relies on the mission.txt file to prohibit Tanks and Witches on maps. This is now done with a script file that you should place in your '''left4dead2/scripts/vscripts''' folder (you may need to add the '''vscripts''' subfolder yourself).
 
Add the following to a text file:
 
Add the following to a text file:

Revision as of 12:24, 2 March 2010

Русский

Left4Dead 2 no longer relies on the mission.txt file to prohibit Tanks and Witches on maps. This is now done with a script file that you should place in your left4dead2/scripts/vscripts folder (you may need to add the vscripts subfolder yourself). Add the following to a text file:


DirectorOptions <-
{
   ProhibitBosses = true
}

Save the textfile with the extention .nut in the vscripts folder. In your map, place a logic_auto entity and add an output. The output should target the AI Director entity and make it fire the script by using the BeginScript action. In the parameter field, you set the name of your script (without the .nut extention)



L4D2 Level Design
:L4D2_Level_Design/Add-on Notes
[[ {{{3}}}|{{{3}}} ]] →


See also