![]() |
TOP READ ARTICLES Level Design Workflow Tutorial |
Left 4 Dead 2 Mapping Tutorials Series |
3D Environment Design.com Free Downloads of Ready-to-Use Game Environments and Models |
L4D2: How to Create Scavenge Gamemode Part 2February 23, 2010
|
||||||||||||||||||||||||||

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



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


Second point_template:
Name: scavenge_stuff_spawner
Templates 1-4:
scavenge_weapons
scavenge_items
scavenge_positions
gascans_scavenge
Flags: Preserve Entity Names

3. Logic Relays
Insert 3 logic_relays

logic_relay 1:


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:


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:


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


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

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

|
|
Comments are Closed. Please Join & Discuss this post in the World of Level Design Forums
|
Receive 2 FREE E-Books 11 Day Level Design: How I Created a Map in 11 Days
Your information will never be sold or rented. I respect your privacy and I hate SPAM ! |
TOPICS |
|
UDK© 11 Day Level Design |
|
How to Create a Full Playable Map from Beginning to End in 11 Days Using UDK©. UDK© 11 Day Level Design is a complete level design system that covers the entire process of creating a full playable level using UDK©. - 13 Ebooks (500+pages) - 45 videos (3 hours)
|
|
World of Level Design Tutorial Series |
|
|
||||||
|
|