Skip to content

justin-chellah/left-4-invasion-outer-space

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

[L4D2] Left 4 Invasion: Outer Space!

This repository contains two VScripts that were made for the Left 4 Invasion: Outer Space! custom campaign. One of which alters the AI Director and prevents infected from spawning during cutscenes and the other adds an option for the level designer to control whether boss music should play or not.

Installation

  • Drag and drop the scripts folder in your left4dead2 folder

Hammer Editor Example

Hammer-Editor-Code-Example

Stripper: Source Example

If you're running a SourceMod server, you'll need to download Stripper: Source.

You can add the following code to the global_filters.cfg file if you wish to have this code apply to all maps. If you want to add it for a specific map only, you can create <mapname>.cfg (e.g. c8m1_apartment.cfg) and add the following code:

add:
{
"origin" "0 0 0"
"spawnflags" "1"
"classname" "logic_auto"
"OnMapSpawn" "info_director�RunScriptCode�g_ModeScript.DisableBossMusic()�0�-1"
}

If you like to run the cutscene script, simply append by adding the following code after the OnMapSpawn output on the next line:

"OnMapSpawn" "info_director�BeginScript�l4invasion_cutscene�0�-1"

Docs

About

VScripts that were developed for Left 4 Invasion: Outer Space! custom campaign on the Steam Workshop

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published