« Previous - Version 8/17 (diff) - Next » - Current version
Fabien_HENON, 08/26/2011 02:11 pm


AddingGuildMission

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.

The objectives of this mission are:
  • 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)

Properties

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]

Pre-requisites

Pre actions

Objectives

Actions

Create a new solo mission for guild members

Properties

Pre-requisites

Pre actions

Objectives

Actions

Compile the mission

Test the mission

create_guild_mission.png (7.6 kB) Fabien_HENON, 08/26/2011 02:05 pm

guild_mission_properties.png (58.2 kB) Fabien_HENON, 08/26/2011 02:07 pm

guild_mission_recv_money_guild.png (34.2 kB) Fabien_HENON, 08/26/2011 03:12 pm

guild_mission_var.png (30.7 kB) Fabien_HENON, 08/26/2011 03:12 pm

guild_mission_step.png (1.7 kB) Fabien_HENON, 08/26/2011 03:12 pm

guild_mission_spawn_mission.png (35.5 kB) Fabien_HENON, 08/26/2011 03:12 pm

guild_mission_do_mission.png (39.3 kB) Fabien_HENON, 08/26/2011 03:12 pm

guild_mission_kill.png (54.9 kB) Fabien_HENON, 08/26/2011 03:12 pm

solo_mission_properties.png (56.4 kB) Fabien_HENON, 08/26/2011 03:30 pm

solo_mission_objective.png (55.3 kB) Fabien_HENON, 08/26/2011 03:30 pm

mission_compiler.png (54.7 kB) Fabien_HENON, 08/26/2011 03:49 pm