setstats

Available for Download: How to Plan Game Environments and Level Designs

New Challenge 2012: Storytelling Level Design/Game Environment Challenge - Enter Here

View Cart  

Top Tutorial Topics


LevelDesign


UDK©


3D Modeling/
Maya®


CryEngine 3 SDK


L4D2


L4D1


Get Started


Challenges

L4D2: How to Create Scavenge Gamemode Part 2

February 23, 2010
Category: Left 4 Dead 2 Mapping

<--L4D2: Scavenge Gamemode Part 1

Game Env. Challenge Image Reference 1-->

L4D2: How to Create Scavenge Gamemode

L4D2 Tutorial covers:

- Setting up the necessary entities for Scavenge gamemode type

- Compiling and running the game in Scavenge gamemode

L4D2 Scavenge Tutorial Part 1 can be viewed here.

 

1. Gas Cans

Place 16 gas cans throughout the map.

weapon_scavenge_item_spawn

Name: gascans_scavenge

Disable Shadows: Yes

Flags: Must Exist

L4D2: How to Create Scavenge Gamemode

L4D2: How to Create Scavenge Gamemode

L4D2: How to Create Scavenge Gamemode

 

2. Point Templates

Insert 2 point_templates

First point_template:

Name: scavenge_misc_spawner

Templates 1-4:
navattr_scavenge_checkpoint
brush_scavenge_boundary
event_scavenge_startarea

Flags: Preserve Entity Names

L4D2: How to Create Scavenge Gamemode

L4D2: How to Create Scavenge Gamemode

 

Second point_template:

Name: scavenge_stuff_spawner

Templates 1-4:
scavenge_weapons
scavenge_items
scavenge_positions
gascans_scavenge

Flags: Preserve Entity Names

L4D2: How to Create Scavenge Gamemode

 

3. Logic Relays

Insert 3 logic_relays

L4D2: How to Create Scavenge Gamemode

 

logic_relay 1:

L4D2: How to Create Scavenge Gamemode

L4D2: How to Create Scavenge Gamemode

Name: spawn_scavenge_postIO

Under Outputs:

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

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

My Output Named: onTrigger
Target Entities: event_scavenge_pour
Via this input: GenerateGameEvent

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

My Output Named: onTrigger
Target Entities: navblock_scavenge
Via this input: BlockNav

 

logic_relay 2:

L4D2: How to Create Scavenge Gamemode

L4D2: How to Create Scavenge Gamemode

Name: kill_scavenge_stuff

Under Outputs:

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

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

 

logic_relay 3:

L4D2: How to Create Scavenge Gamemode

L4D2: How to Create Scavenge Gamemode

Name: relay_scavenge_roundstart

Under Outputs:

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

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

 

4. Info Game Mode

Insert info_game_mode entity.

Name: info_gamemode

L4D2: How to Create Scavenge Gamemode

L4D2: How to Create Scavenge Gamemode

 

Under Outputs:

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

My Output Named: onScavengePostIO
Target Entities: spawn_scavenge_postIO
Via this input: Trigger

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

My Output Named: onSurvival
Target Entities:kill_scavenge_stuff
Via this input: Trigger

 

5. Director

Insert info_director entity.

Name: director

L4D2: How to Create Scavenge Gamemode

Under Outputs:

My Output Named: OnScavengeIntensityChanged
Target Entities: case_scvng_intensity
Via this input: inValue

My Output Named: OnScavengeOverTimeStart
Target Entities: relay_scvng_overtime_start
Via this input: Trigger

My Output Named: OnScavengeRoundStart
Target Entities: relay_scavenge_roundstart
Via this input: Trigger

My Output Named: OnScavengeTimerExpired
Target Entities: relay_scavenge_timer_expire
Via this input: Trigger

My Output Named: OnTeamScored
Target Entities: branch_gascan_used
Via this input: SetValue
Parameter: 1

My Output Named: OnTeamScored
Target Entities:@director
Via this input: Runscriptcode
Parameter: DirectorScript.MapScript.LocalScripts.GasCanPoured()

 

6. Compile and Test

Compile and run your map.

Force a gamemode through console: map mapname scavenge

Type the following commands into the console:

sv_cheats 1
sb_all_bot_team 1
jointeam survivor or infected

L4D2: How to Create Scavenge Gamemode

 

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

Preproduction Blueprint - How to Plan Your Game Environments and Level Designs

 

PREPRODUCTION BLUEPRINT

PREPRODUCTION BLUEPRINT

How to Plan Your Game Environments and Level Designs

- Ebooks (235+ pages)

- 18 videos (2+ hours)

- Instant Digital Download

Read More...

Regular Price: $67
(Save $8) Sale: $59

Add to Cart

SPECIAL DEAL: Save $29

Ebook Deal

Preproduction Blueprint + UDK 11 Day Level Design

- Buy Both Guides and Save

- Total: 63 videos and 735 pages

- Instant Digital Download

- Read more about Preproduction Blueprint

- Read more about UDK 11 Day Level Design

Regular Price: $118
(Save $29) Sale: $89

Add to Cart

POPULAR AND RECENT POSTS

LEVEL DESIGN TOPICS

3D Modeling

CryEngine 3 SDK

Game Environment Design

Left 4 Dead Mapping

Left 4 Dead 2 Mapping

Architecture

Level Design Tutorials/Workflow

Level Design Challenges

Productivity & Goal Setting

Source SDK/Authoring Tools

UDK

Interviews

World of Level Design Social Network

3D Environment Design.com

WoLD March Game Env. Challenge:

Free Downloads of Ready-to-Use Game Environments and Models
Jump Over to 3DED