L4D2 Level Design/Boss Prohibition: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
| ru=L4D2 Level Design/Boss Prohibition:ru}}
| ru=L4D2 Level Design/Boss Prohibition:ru}}


{{L4D2 level intro menu}}
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 22:03, 17 July 2010

Template:Otherlang2

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/Add-on Notes Return to L4D2 Level Design

See also