Quest System Dialogs ? - Alias - 09-07-2012 01:44 PM
Hi is there a way to change dialogs in quest system ? Like to create my own dialog for quest ?
RE: Quest System Dialogs ? - darksun84 - 09-07-2012 07:48 PM
What quest system you are talking about ?
RE: Quest System Dialogs ? - Alias - 09-07-2012 09:39 PM
I am talking about this quest system
http://code.google.com/p/sphere-community-pack/source/browse/trunk/scripts/add-on/quests/sphere_quest_quests.scp
RE: Quest System Dialogs ? - darksun84 - 09-07-2012 10:09 PM
I think this is the main dialog related to quests !
http://code.google.com/searchframe#gNAUiKiZuqQ/trunk/scripts/add-on/quests/sphere_quest_dialogs.scp&q=DIALOG%20d_quest_log%20%20package:sphere-community-pack%5C.googlecode%5C.com
I guess you can change it but of course you'll have to do a major overhaul
RE: Quest System Dialogs ? - Alias - 09-07-2012 10:20 PM
Ah ok than i wont override it
Maybe you know where can i find instruction how to run this quest system right, becouse when i am trying to use slaying quest where need kill few monsters, when i kill monster it doesnt count on the quest ... it always stay Slayed: 0
Sorry for bad english
RE: Quest System Dialogs ? - darksun84 - 09-08-2012 12:09 AM
(09-07-2012 10:20 PM)Alias Wrote: Ah ok than i wont override it
Maybe you know where can i find instruction how to run this quest system right, becouse when i am trying to use slaying quest where need kill few monsters, when i kill monster it doesnt count on the quest ... it always stay Slayed: 0
Sorry for bad english
i can't find it:\, you have to test all the entire systemi i guess
RE: Quest System Dialogs ? - RanXerox - 09-08-2012 01:15 AM
This is an explanation from a slightly earlier version of the system that Cloud_BR built... Maybe it will help:
Quote:to create a quest giver:
.xevents +e_quester
or you can just create one of the premade questers, c_quester_humanm,c_quester_humanf, c_quester_elff, c_quester_elfm then, to add the quests
.xtag.questX.id=some_quest_id (open questsys_quests.scp to know the quest ids)
and then .xtag.quests=Y, being Y the total number of quests this npc has
set home to their location
set homedist 2
For example:
.add c_quester_humanm
.set tag.quests 1
.set tag.quest1.id 66
.set home 546,992
.set homedist 2
[COMMENT INSTALLATION]
1. Add
scripts/QuestSys_Items.scp
scripts/QuestSys_Main.scp
scripts/QuestSys_npc.scp
scripts/QuestSys_Quests.scp
scripts/QuestSys_Temp.scp
scripts/QuestSys_Dialogs.scp
to sphere_tables.scp
2. Add this event to sphere_events_npcs.scp
Code:
[EVENTS e_quest_kill_fix]
ON=@Death
FORCHARMEMORYTYPE MEMORY_FIGHT
COLOR |= <def.memory_harmedby>
ENDFOR
3. Add
Code:
EventsPet=e_quest_kill_fix
...to sphere.ini under //Events related to all NPCs
[COMMENT OBJECTIVETYPES]
1 = get
2 = kill
3 = deliver
4 = escort
[COMMENT WRITINGQUESTS]
QUEST_#_NOREPEAT 1 // 1=quest non-repeatable 0=quest is repeatable , replace # with the quest number
QUEST_#_NAMELOCALIZED //name here
QUEST_#_TEXTLOCALIZED //text telling about the quest (history/what to do)
QUEST_#_TEXTCOMPLETELOCALIZED //npc spoken text displayed upon completion
QUEST_#_TEXTUNCOMPLETELOCALIZED //text after taken quest but incomplete
QUEST_#_TEXTREFUSELOCALIZED //text when refusing to accept the quest
QUEST_#_OBJECTIVEAMOUNT # //the number of objective to complete the quest
QUEST_#_OBJECTIVE1_TYPE # //See OBJECTIVETYPES at top
QUEST_#_OBJECTIVE1 ##, item_or_npc_defname //the number of, NEEDED items acquired or npcs killed. You cannot add in a name here, it will appear as the defname (ie. cannot put i_mace MACE OF COOL)
QUEST_#_OBJECTIVE1_RECEIVER npc_name //This is only necessary if it is a DELIVER quest, this is who the item is brought to. Also used if any completed quest is brought to a different npc from the original giver. (good for chain quests when you want people to move around the world)
QUEST_#_PRIZES # //The number of prices available
QUEST_#_PRIZETYPE1 # //type of prize 1= item 2= nothing 3= perform a function
QUEST_#_PRIZEID1 defname NAME //what the prize is. no numbers can be used If you need to add quantities of a price (ie. i_gold) you must use a template (See QuestSys_Temp.scp) Here you CAN add a name (ie. can put i_mace MACE OF COOL)
QUEST_#_CHAIN ### //### = the next quest in the chain
QUEST_#_ISCHAIN ###;###; // the other quests in the chain, to use this properly only put the quests that are prior to that part in the chain. (ie. 500 is the starter quest, 501 is the next: therefore, ISCHAIN 500. Now 502 is the next quest in the 3 part chain; therefore, ISCHAIN 500;501)
///Blank template///
QUEST_#_NOREPEAT 1
QUEST_#_NAMELOCALIZED
QUEST_#_TEXTLOCALIZED
QUEST_#_TEXTCOMPLETELOCALIZED
QUEST_#_TEXTUNCOMPLETELOCALIZED
QUEST_#_TEXTREFUSELOCALIZED
QUEST_#_OBJECTIVEAMOUNT #
QUEST_#_OBJECTIVE1_TYPE #
QUEST_#_OBJECTIVE1 ##, item_or_npc_defname
QUEST_#_PRIZES #
QUEST_#_PRIZETYPE1 #
QUEST_#_PRIZEID1 #
QUEST_#_CHAIN ###
QUEST_#_ISCHAIN ##1;##2;
[COMMENT INGAMEUSE]
**Quest giver can hold up to 10 quests, player can hold up to 10 quests**
1. Spawn a quest giver
c_quester_humanm
c_quester_humanf
c_quester_elff
c_quester_elfm
2. Ingame type
.set tag.quests #
The # is how many quests the giver can hold
3. Set the quests given out by the npc using .set
TAG.QUEST1.ID=### //where ### is the number of the quest contained in this QuestSys_Quests.scp
TAG.QUEST2.ID=### //add more quests by changing the number in QUEST#.ID
TAG.QUEST3.ID=###
*If the quest is a chain ensure to set the # of quests to incorporate that chain. Then .set tag.quest#.id=### for the other parts of the chain. These will not appear in the quest menu; however, they will take up a quest slot. Once you set a ischain quest on the npc the slot that was there with the arrow will disappear. Now you know the chain is set.
Example
.Set Tag.quests 2
.Set Tag.quest1.id=500 (first part in the chain, shows up as the quest to accept)
.Set Tag.quest2.id=501 (the second part of the chain, will not show up in the menu)
RE: Quest System Dialogs ? - Alias - 09-08-2012 05:15 AM
tyvm RanXerox i will try it when i will be at home.
RE: Quest System Dialogs ? - Alias - 09-08-2012 06:29 PM
Emm RanXerox, can you please upload this quest system ? what intruction you add i found older version where i get error, maybe in your quest system it wont error
RE: Quest System Dialogs ? - RanXerox - 09-09-2012 08:06 AM
What are your errors?
|