setstats
View Cart
Category Tutorial TopicsLevel DesignGame Environment Art+DesignGame Modeling: MayaUnreal Engine 4UDKCryEngine 3 SDKCounter-Strike: Global OffensiveLeft4Dead 1 and 2Time Management and ProductivityGetting StartedBrowse Full Tutorial List

NEW: How to Create Game Environment Assets for Unreal Engine in 6 Easy Hours

L4D2: How to Create Survival Gamemode Part 2

Category: Source: L4D2
February 06, 2010

L4D2: Create Survival Gamemode Part 1

L4D2 Tutorial covers:

- Making all the entities previously covered in Part 1 working together.

*L4D1 Survival Gamemode Tutorial here.

1. Point_Template

Insert point_template entity

Name: survival_stuff_spawner

Templates are the name of the items we previously places. Such as the radio, weapons and items.

Templates 1-4:
survival_items
survival_weapons
survival_glow
survival_radio

L4D2: Create Survival Gamemode Part 2

2. Logic_Relays

We need 2 logic_relays in our survival map

L4D2: Create Survival Gamemode Part 2

First logic_relay:

Name: spawn_survival_stuff_postIO

L4D2: Create Survival Gamemode Part 2

Under Outputs:

My Output Named: onTrigger
Target Entities: survival_stuff_spawner
Via this input: ForceSpawn

L4D2: Create Survival Gamemode Part 2

Under flags make sure to check Allow Fast Retrigger

L4D2: Create Survival Gamemode Part 2

Second logic_relay:

Name: kill_survival_stuff

L4D2: Create Survival Gamemode Part 2

Under Outputs:

My Output Named: onTrigger
Target Entities: survival_positions
Via this input: Kill

My Output Named: onTrigger
Target Entities: survival_explainer_proxy
Via this input: Kill

L4D2: Create Survival Gamemode Part 2

Under flags make sure to check Allow Fast Retrigger

L4D2: Create Survival Gamemode Part 2

3. Info_gamemode

Our last entity.

info_gamemode

Name: survival_gamemode

L4D2: Create Survival Gamemode Part 2

Under Outputs:

My Output Named: onCoop
Target Entities: kill_survival_stuff
Via this input: Trigger

My Output Named: onScavenge
Target Entities: kill_survival_stuff
Via this input: Trigger

My Output Named: onVersus
Target Entities: kill_survival_stuff
Via this input: Trigger

My Output Named: onSurvivalPostIO
Target Entities: spawn_survival_stuff_postIO
Via this input: Trigger

L4D2: Create Survival Gamemode Part 2

Basically it tells the game to kill or spawn our items we inserted for specific gamemodes. Depending which gamemode our map was started in.

4. Test

Compile and run your map. You will need to go into console and force a survival game mode to start for your map.

map mapname survival

Until you have a missions.txt and addoninfo with vpk, that is how you will need to test your game modes.

L4D2: Create Survival Gamemode Part 1

trigger_finale Outputs:

My Output Named: UseStart
Target Entity: survival_explainer_proxy
Via this input: Kill

L4D2: Create Survival Gamemode Part 1

5. Func_Brush

Surround your trigger_finale with a basic brush, and with invisible texture applied to it.

L4D2: Create Survival Gamemode Part 1

Press Ctrl+T = tie to entity and select func_brush

Name: survival_glow

Parent: survival_radio

Render Mode: Glow

L4D2: Create Survival Gamemode Part 1

6. Weapons and Items

Now we can insert some entities that will spawn us some weapons and items.

weapon_item_spawn entity

Name: survival_items

L4D2: Create Survival Gamemode Part 1

Make sure that under flags, you have Spawned Items Must Exist is checked.

L4D2: Create Survival Gamemode Part 1

This is the setup for weapons. Its similar to items. Only differnce is I named weapons as surival_weapons. It keeps my scene more organized instead of name all items the same name.

weapon_melee_spawn

L4D2: Create Survival Gamemode Part 1

Again, make sure that under flags, you have Spawned Items Must Exist is checked.

L4D2: Create Survival Gamemode Part 1

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.