Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 14.02.2005, 12:38   #1
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default [chinese] some new quest defination techniques

first of all "love letter quest" introduction

quest flow
LV 1 愛情隨信 說話之島村莊 達靈 金幣:450

1 在說話之島村中央與(達靈)對話得� �《達靈的信函》 說話之島村莊
達靈 達靈的信函

2 將《達靈的信函》交給村莊神殿前水� �旁的(拉普吉兒)得到《拉普吉兒的� ��帕》 說話之島村莊
守門人
拉普吉兒 拉普吉兒的手帕

3 將《拉普吉兒的手帕》交給(達靈)� �到《達靈的收據》 說話之島村莊
達靈 達靈的收據

4 將《達靈的收據》交給位於西南方教� �的(教師巴烏洛)得到《巴烏洛的藥� ��》 說話之島村莊
教師
巴烏洛 巴烏洛的藥水

5 將《巴烏洛的藥水》交回給(達靈)� �到《450金幣》 說話之島村莊
達靈 金幣:450

u can find in questcomp.txt the quest items
[0001] letters_of_love1 {687;688;1079;1080}

{687;688;1079;1080} record of needed quest items
item_name_begin id=687 name=[達靈的信函] description=[達靈寫給拉普吉兒的情書] item_name_end
item_name_begin id=688 name=[拉普吉兒的手帕] description=[拉普吉兒的手帕,拉普吉兒對達\n靈信 函內容所做的回覆。] item_name_end
item_name_begin id=1079 name=[達靈的收據] description=[達靈付給巴烏洛魔法藥水後的收\n據。 必須將此交給巴烏洛] item_name_end
item_name_begin id=1080 name=[巴烏洛的藥水] description=[巴烏洛專為害羞的達靈所特製的\n藥水 ,但是效果還是未知數。] item_name_end

IMPT part flow control of quest is in questdata.txt

////////////////////////////////////////////////////////////////
////
//// 퀘스트 이름 : [사랑은 편지를 타고(letters_of_love1)]
//// 퀘스트 번호 : 001
//// 작성자 : 한재혁
//// 작성일 : 2002 .11
////
////////////////////////////////////////////////////////////////

quest_begin
quest_id = 1
quest_name = [letters_of_love1]
quest_items = { [darings_letter], [rapunzels_kerchief], [darings_receipt], [bauls_potion] }

//store all quest items
// 퀘스트 제시 및 수락
npc_begin
npc_name = [daring]

talk_selected_event_begin
condition = [HaveMemo(talker, @letters_of_love1)==0 &&
GetOneTimeQuestFlag(talker, @letters_of_love1)==0]
choice_string = 0000101
handler(fhtml0, talker) =
[
if (GetMemoCount(talker)<16)
{
if (talker.level > 1)
{
FHTML_SetFileName(fhtml0, "daring_q0001_02.htm");
FHTML_SetInt(fhtml0, "quest_id", @letters_of_love1);
ShowFHTML(talker, fhtml0);
}
else
ShowPage(talker, "daring_q0001_01.htm");
}
else
ShowPage(talker, "fullquest.htm");
]
talk_selected_event_end

talk_selected_event_begin
condition = [HaveMemo(talker, @letters_of_love1)==0 &&
GetOneTimeQuestFlag(talker, @letters_of_love1)==1]
choice_string = 0000101
handler(fhtml0, talker) =
[
ShowPage(talker, "finishedquest.htm");
]
talk_selected_event_end

quest_accepted_event_begin
handler(talker, quest_id) =
[
talker.quest_last_reward_time = 0;
SetMemo(talker, quest_id);
SoundEffect(talker, "ItemSound.quest_accept");
if(OwnItemCount(talker, @darings_letter) == 0)
GiveItem1(talker, @darings_letter, 1);
ShowPage(talker, "daring_q0001_06.htm");
]
quest_accepted_event_end
npc_end


from questdata.txt u could design all sorts of quest!
Digital is offline  
Old 16.02.2005, 16:01   #2
SOnick
Архивный участник
 
Join Date: Feb 2005
Posts: 177
Default

if i think in right direction - i must put this in smthing like questdata.txt -?
SOnick is offline  
Old 16.02.2005, 16:19   #3
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

yep bingo
Digital is offline  
Old 16.02.2005, 19:02   #4
SOnick
Архивный участник
 
Join Date: Feb 2005
Posts: 177
Default

and - what i must do with same strings in the ai.obj>?
SOnick is offline  
Old 16.02.2005, 19:03   #5
SOnick
Архивный участник
 
Join Date: Feb 2005
Posts: 177
Default

and what kind of call i must use for this to work>? a html file call>?
SOnick is offline  
Old 05.03.2005, 17:23   #6
Sauron
Архивный участник
 
Join Date: Feb 2005
Posts: 357
Default

which quest data are u using?..coz the one that cames with meifu server is incomplete. clan lvl 4 and 5 quest are missing also coin of magic, and i'm sure there are some more missing to.
Sauron is offline  
Old 02.06.2005, 14:15   #7
serjr
Архивный участник
 
Join Date: May 2005
Posts: 115
Default

Digital, can you public ai_script.txt and ai_macro.txt please? I don't have one's on my server and nasc.exe whant run whithout them Or maybe there is any other way to convert questdata to ai.obj? Sory for newbe questions but i can't find any info about using questdata.txt. Ai.obj is to hard to understand for me (i don't have asm skills ). If there is a way to use quesdata.txt for editing and writing new quests that will be nice.
Sory for bad english
serjr is offline  
Old 18.08.2005, 02:39   #8
wton
Архивный участник
 
Join Date: May 2005
Posts: 463
Default

somebody that translate to english?
wton is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:04.