setstats
View Cart

L4D: How to Create Survival Gametype Part 2

Category: Source: L4D1
August 11, 2009

Left 4 Dead video tutorial shows you how to create a survival gametype.

Check out part 1 to get started.

Notes:

1. After creating all the entities that we need in Part 1 of the tutorial. We now need to create nav_meshes for our survival map.

2. Setting up nav_meshes is similar as in my previous tutorial, but with a few extra exceptions.

4. Set nav meshes up through console as follows:

nav_edit 1: turns on navigational editing

director_stop: stops the director from spawning infected

nb_delete_all: removes the survivors and all the infected from your map

z_debug 1: shows you what attributes are set for each nav_mesh

nav_mark_walkable

nav_generate_incremental

nav_flood_select: selects all

mark FINALE

nav_flood_select: selects all again

mark BATTLEFIELD

We now need to mark a Player_Start and BattleStation.

nav_toggle_in_selected_set: select a set that your mouse is pointing at and where you want a Player Start to be.

mark PLAYER_START

Battlestation creates an area where the bots know where they should be to defend themselves against the infected. You want to select specific areas for Battlestations according to your map's design.

nav_toggle_in_selected_set: select a set that you you want BattleStations to be.

mark BATTLESTATION

5. Last step is:

nav_analyze

6. Next is turn off all the nav_mesh commands

nav_edit 0: turns off navigational editing

z_debug 0

director_start: forces the director to spawn infected

7. Test your button and see if your map begins in survival mode.

Updated & Revised - Preproduction Blueprint: How to Plan Your Game Environments and Level Designs

© 2008-2017. All articles on World of Level Design™ are copyrighted.
Not to be reproduced without prior written consent.