Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Name it yourmapsname_panic and paste this template into it. Feel free to play around with the values too.
DirectorOptions <-
{
// This turns off tanks and witches (when true).
ProhibitBosses = false
//LockTempo = true
// Sets the time between mob spawns. Mobs can only spawn when the pacing is in the BUILD_UP state.
MobSpawnMinTime = 1
MobSpawnMaxTime = 1
// How many zombies are in each mob.
MobMinSize = 30
MobMaxSize = 30
MobMaxPending = 30
// Modifies the length of the SUSTAIN_PEAK and RELAX states to shorten the time between mob spawns.
SustainPeakMinTime = 5
SustainPeakMaxTime = 10
IntensityRelaxThreshold = 0.99
RelaxMinInterval = 1
RelaxMaxInterval = 5
RelaxMaxFlowTravel = 50
//Special infected options
SpecialRespawnInterval = 1.0
SmokerLimit = 2
JockeyLimit = 0
BoomerLimit = 0
HunterLimit = 2
ChargerLimit = 1
// Valid spawn locations
PreferredMobDirection = SPAWN_NO_PREFERENCE
ZombieSpawnRange = 2000
}
Director.ResetMobTimer() // Sets the mob spawn timer to 0.
Director.PlayMegaMobWarningSounds() // Plays the incoming mob sound effect.
The script has to be started with an output. E.g. on the alarm door:
OnFullyOpen -> name_of_your_info_director -> BeginScript -> yourmapsname_panic
Optional: To stop the script add an output to the Saferoom Door:
OnClosed -> name_of_your_info_director -> EndScript
YES!
I guess you've build a map. If so, do the following:
Create a folder "my campaign" (name of your choice) and create the folders "maps", "missions" and "scripts/vscripts" in it. You'd have to add a "materials" and "sound" folder if you use custom textures and sounds.
Here is the official explanation on how to create a vpk:
https://developer.valvesoftware.com/wiki/L4D2_Campaign_Add-on_Tutorial
You could also use GCFScape to have a look how other mappers set up the folder structure: http://nemesis.thewavelength.net/?p=26
The mission.txt and the addoninfo.txt are important elements too. They may appear confusing on the first use. Again I recommend to use GCFScape to get a better understanding.