Enemy Spawning: Difference between revisions
(13 intermediate revisions by the same user not shown) | |||
Line 40: | Line 40: | ||
===Adding a Wave Designer=== | ===Adding a Wave Designer=== | ||
Now that you have created a squad it's time to set up a wave that will spawn them. To do this you must place a 'KF_StoryWaveDesigner' actor somewhere in your map. You can find the Wave Designer in the actor classes browser under '''Info -->KF_StoryWaveDesigner.''' It is usually a good idea to place your wave designer next to your squad designer, so that if you have maps with multiple wave / squad setups you can see which ones are grouped at a glance. | Now that you have created a squad it's time to set up a wave that will spawn them. To do this you must place a 'KF_StoryWaveDesigner' actor somewhere in your map. You can find the Wave Designer in the actor classes browser under '''Info -->KF_StoryWaveDesigner.''' It is usually a good idea to place your wave designer next to your squad designer, so that if you have maps with multiple wave / squad setups you can see which ones are grouped at a glance. <br><br> | ||
[[File:AddingWaveDesigner.jpg |left|x600px|link=File:AddingWaveDesigner.jpg |left|x600px|]] | [[File:AddingWaveDesigner.jpg |left|x600px|link=File:AddingWaveDesigner.jpg |left|x600px|]] | ||
Line 46: | Line 46: | ||
{{Col-begin}} | {{Col-begin}} | ||
{{Col-break}}<br> | {{Col-break}}<br> | ||
===Setting up your wave=== | |||
In Killing Floor, spawning usually happens in 'Waves', which is a nickname for a large amount of enemies that spawn over time. The wave designer is a 'container' which stores information about what types of enemies should spawn for a particular wave, and how long it should last. | |||
To add a wave to your Wave Designer select it and press F4 to open its property window, then click 'Add' next to the 'waves' array. | |||
[[File:AddNewWave.jpg |left|x600px|link=File:AddNewWave.jpg |left|x600px|]] | |||
{{Col-begin}} | |||
{{Col-break}}<br> | |||
{{note|Wave designers can only have one active wave at a time. If you would like to have multiple waves spawning enemies concurrently, you need to place multiple wave designer actors. }} | |||
'''Wave Properties''' | |||
This category contains a list of events that dialogue can trigger before, during and after it plays. | |||
{| class="wikitable sortable" style="min-width:75%;text-align:left;" | |||
! Variable Name | |||
! Variable Type | |||
! Description | |||
|- | |||
|- | |||
| DisplayedEvent || Name || This event will be triggered '''after''' the dialogue has '''completely''' finished playing. | |||
|- | |||
| DisplayingEvent || Name || This event will be triggered the very second the dialogue '''begins''' playing. | |||
|- | |||
| RequiredEvent || Name || If you have multiple dialogues, setting an event here will cause the dialogue chain to halt until it receives an event of that name. Think of it like a 'pause' command. | |||
|- | |||
|} | |||
== Finishing Touches == | == Finishing Touches == |
Latest revision as of 17:08, 12 November 2013
Enemy spawning in Objective Mode is very different than it is in Wave Mode. Adding zombie volumes to an Objective Mode map will not automatically cause enemies to spawn when the map loads like they do in Wave Mode. In order to make enemies spawn you need to do abit more work, but it'll be worth it in the end because you'll have total control over what gets spawned and when!
Creating a Squad
Adding a Squad Designer
Before you can get an enemy to spawn you need to create a 'squad' for it. Squads contain information about the number and type of enemies that should spawn in a particular group. You could have a squad with only a single enemy in it, or a squad with dozens of enemies, it's up to you. To begin creating squads you must first place a 'KF_StorySquadDesigner' actor somewhere in your map. You can find the Squad Designer in the actor classes browser under Info -->KF_StorySquadDesigner
Once the Squad designer has been placed you should select it and press F4 to open up its properties. You will notice that it has an empty array called 'Squads'. Click on this and select 'Add' to create a new entry.
|