WoLD Store Search About Contact

World of Level Design

Tutorials to Becoming the Best Level Designer and Game Environment Aritst

L4D2: How to Create Survival Gamemode Part 2

Category: Source: L4D 1 & 2
February 06, 2010

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.

trigger_finale Outputs:

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

5. Func_Brush

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

Press Ctrl+T = tie to entity and select func_brush

Name: survival_glow

Parent: survival_radio

Render Mode: Glow

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

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

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

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

Get the Book »

SUBSCRIBE & GET 2 FREE PDF GUIDES

Subscribe to WoLD and receive 2 FREE PDF Level Design Guides (200+ pages).

Subscribe and Get 2 Free Level Design PDF Guides

Want to know more what you are getting by subscribing?


Follow WoLD




BEST SELLING UE4 SERIES


EVERYTHING I KNOW ABOUT PLANNING


Home Terms of Use/Trademarks/Disclaimers Privacy Policy About Contact

All content on this website is copyrighted ©2008-2018 World of Level Design LLC by Alex Galuzin. All rights reserved.
Duplication and distribution is illegal and strictly prohibited.

World of Level Design LLC is an independent company. World of Level Design website, its tutorials and products are not endorsed, sponsored or approved by any mentioned companies on this website in any way. All content is based on my own personal experimentation, experience and opinion. World of Level Design™ and 11 Day Level Design™ are trademarks of Alex Galuzin.

Template powered by w3.css