Your First Left 4 Dead Map: Difference between revisions
Jump to navigation
Jump to search

m (→Panic Events) |
(Rearanged into chronological order and correced titles) |
||
| Line 6: | Line 6: | ||
== | == Introduction == | ||
* <code>logic_choreographed_scene</code> | * <code>logic_choreographed_scene</code> | ||
* <code>point_viewcontrol_survivor</code> | * <code>point_viewcontrol_survivor</code> | ||
| Line 13: | Line 13: | ||
== | == Spawn area == | ||
* <code>info_survivor_position</code> | * <code>info_survivor_position</code> | ||
* <code>weapon_first_aid_kit_spawn</code> | * <code>weapon_first_aid_kit_spawn</code> | ||
| Line 25: | Line 25: | ||
* <code>info_director</code> | * <code>info_director</code> | ||
== Building the navigation mesh == | |||
== Item and | === Basic === | ||
This should only be used for testing. A nav mesh should be thoroughly examined and edited. | |||
:<code>nav_edit 1</code> | |||
:<code>nav_generate</code> | |||
:<code>nav_analyze</code> | |||
:<code>nav_edit 0</code> | |||
=== Advanced === | |||
:This tutorial does not cover advanced mesh creation. Please refer to [[Navigation Meshes]] | |||
== Item and weapon caches == | |||
Set spawn flags to randomize | Set spawn flags to randomize | ||
* <code>weapon_molotov_spawn</code> | * <code>weapon_molotov_spawn</code> | ||
| Line 41: | Line 52: | ||
== Rescue | == Rescue closets == | ||
Bringing dead players back into the game. | Bringing dead players back into the game. | ||
* <code>info_survivor_rescue</code> | * <code>info_survivor_rescue</code> | ||
| Line 47: | Line 58: | ||
== Panic | == Panic events == | ||
Triggering the info_director and summoning the horde. | Triggering the info_director and summoning the horde. | ||
* <code>info_game_event_proxy</code> | * <code>info_game_event_proxy</code> | ||
* <code>ambient_generic</code> | * <code>ambient_generic</code> | ||
* <code>logic_timer</code> | * <code>logic_timer</code> | ||
<br> | |||
* '''Examples''' | * '''Examples''' | ||
** Car alarms | ** Car alarms | ||
** Metal detectors | ** Metal detectors | ||
== Crescendo | == Crescendo events == | ||
Intermediate objectives | Intermediate objectives | ||
* <code>func_button</code> | * <code>func_button</code> | ||
| Line 64: | Line 75: | ||
== Safe | == Safe houses == | ||
* <code>prop_door_rotating_checkpoint</code> | * <code>prop_door_rotating_checkpoint</code> | ||
== Changing | == Changing levels == | ||
* <code>info_landmark</code> | * <code>info_landmark</code> | ||
* <code>info_changelevel</code> | * <code>info_changelevel</code> | ||
== | == Finale == | ||
'''Work in progress''' | |||
== Notes == | == Notes == | ||
Revision as of 22:42, 28 November 2008
This tutorial will cover the basics of Left 4 Dead map creation. It will explain the required entities, such as the director, weapons, and spawns. It will also answer some of the questions that Left 4 Dead mappers will have. This tutorial is not intended for new mappers: Basic level construction is already covered in other topics.

Introduction
logic_choreographed_scenepoint_viewcontrol_survivorpoint_viewcontrol_multiplayerenv_fade
Spawn area
info_survivor_positionweapon_first_aid_kit_spawnweapon_ammo_spawnweapon_smg_spawnweapon_pumpshotgun_spawn
The Director
Creating areas for the infected to spawn.
info_director
Basic
This should only be used for testing. A nav mesh should be thoroughly examined and edited.
nav_edit 1nav_generatenav_analyzenav_edit 0
Advanced
- This tutorial does not cover advanced mesh creation. Please refer to Navigation Meshes
Item and weapon caches
Set spawn flags to randomize
weapon_molotov_spawnweapon_pipe_bomb_spawnweapon_pistol_spawnweapon_pain_pills_spawnweapon_ammo_spawnweapon_smg_spawnweapon_first_aid_kit_spawnweapon_hunting_rifle_spawnweapon_rifle_spawnweapon_autoshotgun_spawnweapon_pumpshotgun_spawn
Rescue closets
Bringing dead players back into the game.
info_survivor_rescuerescueEyePos
Panic events
Triggering the info_director and summoning the horde.
info_game_event_proxyambient_genericlogic_timer
- Examples
- Car alarms
- Metal detectors
Crescendo events
Intermediate objectives
func_buttonfilter_activator_teaminfo_game_event_proxy
Safe houses
prop_door_rotating_checkpoint
Changing levels
info_landmarkinfo_changelevel
Finale
Work in progress
Notes
Doors
- Type: prop_door_rotating
- Frame Dimensions: width: 56, height: 104
- World Model: models/props_doors/doormainmetal01.mdl
FAQ
Common issues
- How do I make the infected spawn?
- Your map must have a info_director that is enabled.
- Why won't the survivor bots move?
- The most likely cause is a faulty or missing .nav file. See Navigation Meshes
- Why is the molotov fire / Smoker's smoke not visible in-game?
- (not answered)
- Why won't my rescue closets work?
- (not answered)
Error messages
- NAV ERRORS - Map is unplayable!
- Missing nav file.
- The nav file was built for an older compile.
- Missing Battlefield check found N areas
- WARN: CL4DBasePanel::UpdateProgressBar called outside of level loading, discarded!
- GetGoalArea: Cannot find SPAWN_RESCUE_CLOSET area in FINALE, thus cannot guarantee reachability of goal area.
- GetGoalArea: Cannot find end area - no checkpoint or finale located.
- ComputeFlowDistances: ERROR - Cannot compute flow.