Joris Olde Bijvanks

... UT3 and other Tutorials

  • Increase font size
  • Default font size
  • Decrease font size

Tutorial: Making Quests part 1

E-mail Print PDF
User Rating: / 2
PoorBest 

Making Quests part 1 

In this tutorial I will combine two previously made tutorials.
In this tutorial there will be an item that you can pick up, and drop on another location (quest completion)
The tutorial on how to do this is displayed here
Now we will combine the pickup with a text menu that will pop up, asking you to either 1) do the quest (pick the item up) or 2) don't do the quest.
The tutorial on how to set up menu-items is displayed here

Let's start.
First thing you need to do is make a level (1024x1024x512)
insert a small box where you want the picked-up item to be brought to (64x64x64)
Texture it all
Insert a player-start
Insert a lightpoint
Insert a trigger inside the small box
Insert a trigger somewhere in the area
Insert a StaticMesh as InterpActor on top of the trigger

You should start like this:
Image 1

 Next we will make two UIscenes. The first one will have two options:
1) Yes give me the Quest
2) No I don't want the Quest
The second UIscene will be triggered when the second option is chosen:
1) No I don't want the Quest
2) Oops i do want the Quest! (a second chance to get it)

I named my UIscenes PickUpQuest and PickUpQuestRetry as seen in Image 2

Image 2

Open up the first UIscene, right-clik a blank area and open the UIscene Kismet
In the Enabled state, create your Kismet like in Image 3
The activate Level Event has the EventName "YesGetQuest" in it. This will refer to the level Kismet later on.

Image 3

The Kismet in your second UIscene needs to look like the one in Image 4
The activate level event from two(pressed) here also links to the EventName "YesGetQuest",
The one(pressed) option only closes the event.

Image 4

Now save up your package containing your UIscenes, and open up your Kismet in the main editor window.

The Main Kismet contains basicly 3 different elements.
1) Trigger_1 opens up the Quest window
2) The Quests from your UIscenes can result in the pickup of the object ((YesGetQuest) inserted in the RemoteEvent > EventName)
3) The picked-up objec must be dropped when in range of trigger_0

The result of this Kismet can be seen in Image 5

Image 5

Save your game and play!
You can get the quest, where you pick up the item and drop it somewhere else, or you can drop the quest, where the object remains untouched on the floor.

 Enjoy!

 

 

Last Updated on Tuesday, 07 July 2009 08:15  
Please register or login to add your comments to this article.

If you would like to make an online donation with your Credit Card or Paypal Account, please click the "Donate" button.  

Sponsored Links


Who's Online

We have 4 guests online

Sponsored Links