WoLD Archives Search About Contact

World of Level Design

Tutorials to Becoming the Best Level Designer and Game Environment Artist (since 2008)

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.

SUBSCRIBE & GET FREE UE5 PDF GUIDE

Subscribe to receive NEW/UPDATED and FREE "UE5 Beginner's Quick Start Guide" PDF (90 pages).

Subscribe and Get Free UE5 PDF Guide

Visit this page for more info about the guide...


Follow WoLD




UE5 FUNDAMENTALS VOL.1 COURSE


UE5: RETRO OFFICE PROJECT


MAYA FOUNDATION COURSE


SUBSTANCE PAINTER ESSENTIALS


LEARN THE PREPRODUCTION PROCESS


ABOUT WoLD & ALEXG

About World of Level Design

My name is AlexG. I am self-taught level designer, game environment artist and the creator of World of Level Design.com. I've learned everything I know from personal experimentation and decades of being around various online communities of fellow environment artist and level designers. On World of Level Design you will find tutorials to make you become the best level designer and game environment artist.

Read More »


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

All content on this website is copyrighted ©2008-2024 World of Level Design LLC. 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 AlexG.

Template powered by w3.css