[Crossfire-wiki] [Crossfire DokuWiki] page changed: user:cavesomething:guide_to_quest_dialogs
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Thu Mar 25 20:15:16 CDT 2010
A page in your DokuWiki was added or changed. Here are the details:
Date : 2010/03/25 20:15
User : cavehippo
Edit Summary: more principles
@@ -546,9 +546,9 @@
if the player were not at either step 0 or 1 in this example, then nothing would happen when the event triggered.
NB: Be careful about binding to event_pickup for items that are not taken away as part of a quest soon afterwards, especially for restartable quests, an event_pickup will return
- ===== General Principles =====
+ ===== General Principles/Advice =====
* If you have a 'takeitem' instruction in a dialog's post block, you should always have a matching 'item' check in the 'pre' block. - possible exception, if you want to take '0' (ie, all) of an item, whether the player has it or not.
* "takeitem", "money", "0" will work, but don't expect it to win you friends.
@@ -571,8 +571,13 @@
This will only give the player one cookie when they do the quest (with more possible later if it is a restartable quest.
* If you have a quest item that the player is given and which they will need later in the quest, then attach the script "python/dialog/questessentialuntil.py" to an event_drop for the object. This will make the player unable to drop the item while they are early on in the quest, and if they pass a stage where it is no longer needed, it will disappear when they drop it. You probably shouldn't use this for a quest reward.
+
+ * If you are using that script on an item, it is probably best that it isn't too heavy, remember a player may need to carry it around for quite a long time before they complete the quest.
+ You can modify the weight of the item in the map editor.
+
+ * If you are picking a quest item, be sure to pick a type of item that is fairly inert, it is no good making an item undroppable and relying on it to be present if the player can middle click on it and eat it. Keys are quite a good base item to modify from, remember that you can customise the face of an object independently of it's other properties.
===== How Do I? =====
The following are common things to want to do, and how to go about doing them.
IP-Address : 81.141.60.247
Old Revision: http://wiki.metalforge.net/doku.php/user:cavesomething:guide_to_quest_dialogs?rev=1269537527
New Revision: http://wiki.metalforge.net/doku.php/user:cavesomething:guide_to_quest_dialogs
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list