Editing Mission Editor Tutorial
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | =Mission Editor Tutorial: Attack of the Chickens.= | |
− | + | Download the mission editor <a href="http://zero-k.info/missioneditor/setup.exe">here</a> | |
− | Download the mission editor | ||
Install and double-click on MissionEditor.exe | Install and double-click on MissionEditor.exe | ||
Line 10: | Line 9: | ||
http://enalostka.pancakeapps.com/S/Zero-k_editor1.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor1.jpg | ||
− | If the unitsync box is red, click on browse, go to | + | If the unitsync box is red, click on browse, go to Spring/engine/[newest version] and select spring.exe. |
− | |||
− | |||
− | |||
Click on New Mission, select an map, a mod, and mission name. They can be changed later. | Click on New Mission, select an map, a mod, and mission name. They can be changed later. | ||
− | We'll call our mission | + | We'll call our mission “Attack of the Chickens†|
http://enalostka.pancakeapps.com/S/Zero-k_editor2.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor2.jpg | ||
Line 25: | Line 21: | ||
− | First, let's look at the settings dialog. You can reach it by pressing on the | + | First, let's look at the settings dialog. You can reach it by pressing on the “Mission†button in the menu bar, then on “Settingsâ€. |
Fill in the author, description and scoring method. Also, rename the teams by double-clicking on their names. | Fill in the author, description and scoring method. Also, rename the teams by double-clicking on their names. | ||
http://enalostka.pancakeapps.com/S/Zero-k_editor4.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor4.jpg | ||
− | Dismiss the window by pressing on | + | Dismiss the window by pressing on “OKâ€. Let's start by adding some units. Click on the “Create Units†action, in the left bar. You'll see the units that are loaded by default. |
http://enalostka.pancakeapps.com/S/Zero-k_editor5.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor5.jpg | ||
− | We don't need them. Select them by shift or ctrl-clicking on them, then right-click on one and press on | + | We don't need them. Select them by shift or ctrl-clicking on them, then right-click on one and press on “Deleteâ€. |
− | The player will need some units to start with. Let's add some advanced engineers. We could scroll down until we see the Freakers, but it's faster to right-click on the unit list and select | + | The player will need some units to start with. Let's add some advanced engineers. We could scroll down until we see the Freakers, but it's faster to right-click on the unit list and select “Findâ€. Type “corfast†in the find dialog and press on enter. |
http://enalostka.pancakeapps.com/S/Zero-k_editor6.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor6.jpg | ||
Line 50: | Line 46: | ||
− | Time to add something to shoot at! Click on the | + | Time to add something to shoot at! Click on the “New†button in a trigger bar. |
http://enalostka.pancakeapps.com/S/Zero-k_editor10.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor10.jpg | ||
Line 60: | Line 56: | ||
− | It's a good idea to rename triggers to keep them organized. Right-click on the blue trigger bar, press on | + | It's a good idea to rename triggers to keep them organized. Right-click on the blue trigger bar, press on “Rename†then pick a new name. |
http://enalostka.pancakeapps.com/S/Zero-k_editor12.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor12.jpg | ||
− | We want chickens to attack every minute. We'll add a metronome condition. Click on the | + | We want chickens to attack every minute. We'll add a metronome condition. Click on the “New†button in the conditions bar and click on “Metronome Clicksâ€. |
http://enalostka.pancakeapps.com/S/Zero-k_editor13.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor13.jpg | ||
Line 75: | Line 71: | ||
− | Triggers, by default, can only be executed once. Right-click on the trigger then press on | + | Triggers, by default, can only be executed once. Right-click on the trigger then press on “Settingsâ€. Set the execution limit -1, which means that there is no limit. |
http://enalostka.pancakeapps.com/S/Zero-k_editor16.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor16.jpg | ||
− | The trigger still won't have any effect. We'll need to add some actions. Click on the | + | The trigger still won't have any effect. We'll need to add some actions. Click on the “New†button in the actions bar. |
http://enalostka.pancakeapps.com/S/Zero-k_editor17.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor17.jpg | ||
Line 94: | Line 90: | ||
− | Chickens will now spawn every minute, but will just stand there. Add a | + | Chickens will now spawn every minute, but will just stand there. Add a “Give Orders to Unit†action and select it. If you don't select a group for the action, t will affect any unit created before the action, in the same trigger. |
http://enalostka.pancakeapps.com/S/Zero-k_editor19.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor19.jpg | ||
Line 122: | Line 118: | ||
http://enalostka.pancakeapps.com/S/Zero-k_editor23.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor23.jpg | ||
− | Next, create a new trigger. Add a | + | Next, create a new trigger. Add a “Unit Entered Area†condition. |
Line 144: | Line 140: | ||
Units in Area condition will now active its trigger every second that a chicken is in the rectangle. | Units in Area condition will now active its trigger every second that a chicken is in the rectangle. | ||
− | Let's make the player lose points. Add a | + | Let's make the player lose points. Add a “Modify Score†action and cause the player to lose a point every time the trigger is executed. |
The score is displayed in the GUI once it's different from zero. | The score is displayed in the GUI once it's different from zero. | ||
Line 150: | Line 146: | ||
− | Let's give reward the player for killing chickens. Create a new trigger. Add a | + | Let's give reward the player for killing chickens. Create a new trigger. Add a “Units Destroyed†condition. Select the chickens group. |
http://enalostka.pancakeapps.com/S/Zero-k_editor28.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor28.jpg | ||
− | Create a | + | Create a “Modify Score†action. This time, make the player gain points. |
http://enalostka.pancakeapps.com/S/Zero-k_editor29.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor29.jpg | ||
Line 163: | Line 159: | ||
− | Maybe we should give the player some time to prepare for the assault. Let's grant the player a minute of truce, and display a countdown for the first attack. Add a | + | Maybe we should give the player some time to prepare for the assault. Let's grant the player a minute of truce, and display a countdown for the first attack. Add a “Start Countdown†action to the first trigger. Give it a descriptive name. Choose the duration of the truce. |
http://enalostka.pancakeapps.com/S/Zero-k_editor30.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor30.jpg | ||
− | We'll make the | + | We'll make the “Chickens Attack†trigger that you created earlier start disabled, then activate after a minute. Select it and uncheck the “Enabled†check-box. |
http://enalostka.pancakeapps.com/S/Zero-k_editor31.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor31.jpg | ||
− | Create a new trigger. Add a | + | Create a new trigger. Add a “Countdown Ended†condition. |
http://enalostka.pancakeapps.com/S/Zero-k_editor32.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor32.jpg | ||
− | Add an | + | Add an “Enable Trigger†action. Select the chickens attack trigger. |
http://enalostka.pancakeapps.com/S/Zero-k_editor33.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor33.jpg | ||
Line 182: | Line 178: | ||
Now the chickens won't attack until the countdown ended. The player will see the time remaining in the GUI. | Now the chickens won't attack until the countdown ended. The player will see the time remaining in the GUI. | ||
− | Let's make Spiker waves, too. Create a new trigger. Add a | + | Let's make Spiker waves, too. Create a new trigger. Add a “Create Units†condition. Place a few Spikers near the first chickens and add them to the chickens group. |
http://enalostka.pancakeapps.com/S/Zero-k_editor34.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor34.jpg | ||
− | Add a | + | Add a “Give Orders to Units†action and make them fight their way to the south border. |
http://enalostka.pancakeapps.com/S/Zero-k_editor35.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor35.jpg | ||
Line 198: | Line 194: | ||
http://enalostka.pancakeapps.com/S/Zero-k_editor37.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor37.jpg | ||
− | Let's make the Spiker attacks start after 10 minutes. Add a | + | Let's make the Spiker attacks start after 10 minutes. Add a “Wait†action. Move it up until it's the first action in the trigger. You can move triggers up by right-click on them then selecting “Move Upâ€. Set the time to 10 minutes. |
http://enalostka.pancakeapps.com/S/Zero-k_editor38.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor38.jpg | ||
− | Time to add the boss! Create a new trigger. Add a metronome condition set to forty minutes. Add a | + | Time to add the boss! Create a new trigger. Add a metronome condition set to forty minutes. Add a “Create Units†and a “Give Orders to Units†action. |
− | Place a queen and order her to fight to the south border. Set her group to | + | Place a queen and order her to fight to the south border. Set her group to “chickens,queenâ€. This means that she is both in the “chickens†and “queen†groups. The queen group will be needed later. |
http://enalostka.pancakeapps.com/S/Zero-k_editor39.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor39.jpg | ||
− | Add a | + | Add a “Cause Sunset†action. An ominous darkness will announce the arrival of the queen. |
http://enalostka.pancakeapps.com/S/Zero-k_editor40.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor40.jpg | ||
− | Let's make the player win and gain a big pile of points if he defeats the queen. Create a new trigger. Add a | + | Let's make the player win and gain a big pile of points if he defeats the queen. Create a new trigger. Add a “Unit Destroyed†condition. Select the queen group. |
http://enalostka.pancakeapps.com/S/Zero-k_editor41.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor41.jpg | ||
− | Create a | + | Create a “Modify Score†action. Set it to “Increase Score†and type a large number. Also add a “Send Score†action. |
http://enalostka.pancakeapps.com/S/Zero-k_editor42.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor42.jpg | ||
− | What if he's defeated? We want to record his score in that case, too. Create a new trigger. Add a | + | What if he's defeated? We want to record his score in that case, too. Create a new trigger. Add a “Player Died†condition and select the Robots team. |
http://enalostka.pancakeapps.com/S/Zero-k_editor43.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor43.jpg | ||
− | Add another | + | Add another “Send Score†action. |
http://enalostka.pancakeapps.com/S/Zero-k_editor44.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor44.jpg | ||
Line 231: | Line 227: | ||
http://enalostka.pancakeapps.com/S/Zero-k_editor45.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor45.jpg | ||
− | You can now test the mission. Click on the Mission menu button and select Test | + | You can now test the mission. Click on the Mission menu button and select Test Mission. |
http://enalostka.pancakeapps.com/S/Zero-k_editor46.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor46.jpg | ||
Line 241: | Line 237: | ||
http://enalostka.pancakeapps.com/S/Zero-k_editor48.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor48.jpg | ||
− | We should tell the player about his objectives. First, let's center the camera on his units, when the game starts. Add a | + | We should tell the player about his objectives. First, let's center the camera on his units, when the game starts. Add a “Point Camera to Map Point†action to the firs trigger. |
Click on the starting hill. | Click on the starting hill. | ||
Line 256: | Line 252: | ||
http://enalostka.pancakeapps.com/S/Zero-k_editor52.jpg | http://enalostka.pancakeapps.com/S/Zero-k_editor52.jpg | ||
− | |||
− | + | The mission is now ready to be shared! Press on the “Publish Mission†entry in the Mission menu. Fill in the form. | |
+ | |||
+ | http://enalostka.pancakeapps.com/S/Zero-k_editor53.jpg | ||
+ | |||
+ | |||
+ | Wait a few seconds... | ||
+ | |||
+ | |||
+ | and the mission is visible in the Missions module of SpringDownloader. | ||
+ | |||
+ | |||
+ | If you want to update or delete it, select the Manage Missions item in the Mission menu. |