WORK IN PROGRESS !!!!!!!
Creating a new primitive¶
To add a mission we must open a world and add a primitive to it (you can also use an existing primitive, the steps are the same, but in this article we will create a new primitive).
To add a primitive go to Project -> New Primitive and create your primitive. Your should now have a new primitive in the tree on the right of the world editor.
What are we gonna do ?¶
We are gonna create a new guild mission and a new solo mission that some guild members will have to complete.
Only the guild leader will be able to pick this mission.
- 2 guild members will have to complete a solo mission
- The guild members will have to kill a total of 2 yubos
Each member will earn 50 gold and the guild will earn 100 gold.
The objective of the solo mission is to kill 1 yubo. The reward of this mission is 20 gold.
Create a new guild mission¶
Now that you have a primitive, do a right click on it and select Add missions_editor.
You will have a new item in the tree, do a right click on the new item (a mission_editor item) and select Add mission_tree
Here is what you should have in your tree (i set the title of the mission tree to GUILD_MISSION)
Now that you have a mission tree it's time to set its properties.
Fill the properties of the mission tree like this (double click on the mission tree to see the properties window):
The name is just the name you want to set for the world editor.
The audience must be Guild because it's a guild mission.
I set the giver primitive to urban_newbieland.primitive because i want a NPC from the urban_newbieland primitive to give us the mission. If you don't have this primitive you can learn how to create a new NPC that gives mission in this article: [[Adding_Quests]Adding Quests]