1
Miałem to samo, zrobiłem paczkę z modem 2 raz i działało

Ta sekcja pozwala Ci zobaczyć wszystkie wiadomości wysłane przez tego użytkownika. Zwróć uwagę, że możesz widzieć tylko wiadomości wysłane w działach do których masz aktualnie dostęp.
AI_Output (self, other,"DIA_Zenek_hello_15_00"); //Jak leci?
AI_Output (other,self,"DIA_Zenek_hello_10_01"); //Nie jest źle... Tylko nurtuje mnie jedna rzecz...
AI_Output (self, other,"DIA_Zenek_hello_15_02"); //Mianowicie
AI_Output (other,self,"DIA_Zenek_hello_10_03"); //Napił bym się dobrego piwka
AI_Output (self, other,"DIA_Zenek_hello_15_04"); //Myśle, że dam rade coś z tym zrobić
AI_Output (self, other,"DIA_Zenek_hello_15_00"); //Jak leci?
AI_Output (other,self,"DIA_Zenek_hello_10_01"); //Nie jest źle... Tylko nurtuje mnie jedna rzecz...
AI_Output (self, other,"DIA_Zenek_hello_15_02"); //Mianowicie
AI_Output (other,self,"DIA_Zenek_hello_10_03"); //Napił bym się dobrego piwka
AI_Output (self, other,"DIA_Zenek_hello_15_04"); //Myśle, że dam rade coś z tym zrobić
///////////////////////////////////////////////////////
////////////// EXIT
///////////////////////////////////////////////////////
instance Dia_Zenek_EXIT (C_INFO)
{
npc = SLD_999_Zenek;
nr = 999;
condition = Dia_Zenek_EXIT_condition;
information = Dia_Zenek_EXIT_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
FUNC int Dia_Zenek_EXIT_condition()
{
return TRUE;
};
FUNC VOID DIA_Zenek_EXIT_info()
{
AI_StopProcessInfos (self);
};
///////////////////////////////////////////////////////
////////////// hello
///////////////////////////////////////////////////////
instance Dia_Zenek_hello (C_INFO)
{
npc = SLD_999_Zenek;
nr = 1;
condition = Dia_Zenek_hello_condition;
information = Dia_Zenek_hello_info;
permanent = FALSE;
important = FALSE;
description = "Jak leci?";
};
FUNC int Dia_Zenek_hello_condition()
{
return TRUE;
};
FUNC VOID DIA_Zenek_hello_info()
{
AI_Output (self, other,"DIA_Zenek_hello_1_01"); //Jak leci?
AI_Output (self, other,"DIA_Zenek_hello_1_02"); //Nie jest źle... Tylko nurtuje mnie jedna rzecz...
AI_Output (other,self,"DIA_Zenek_hello_1_03"); //Mianowicie
AI_Output (self, other,"DIA_Zenek_hello_1_04"); //Napił bym się dobrego piwka
AI_Output (other,self,"DIA_Zenek_hello_1_05"); //Myśle, że dam rade coś z tym zrobić.
Log_CreateTopic(TOPIC_PIWKO_1, LOG_MISSION);
Log_SetTopicStatus(TOPIC_PIWKO_1, LOG_RUNNING);
B_LogEntry(TOPIC_PIWKO_1, "Mam przynieść piwko dla Zenka");
};
// *********************************************************
// Hallo
// *********************************************************
instance DIA_Zenek_Piwo (C_INFO)
{
npc = SLD_999_Zenek ;
nr = 1;
condition = DIA_Zenek_Piwo_Condition;
information = DIA_Zenek_Piwo_Info;
permanent = FALSE;
description = "Mam Piwo";
};
func int DIA_Zenek_Piwo_Condition ()
{
if Npc_KnowsInfo (other, Dia_Zenek_hello)
&& (Npc_HasItems(other, ItFo_Beer) >= 1)
{
return TRUE;
};
};
func void DIA_Zenek_Piwo_Info ()
{
AI_Output (other, self, "DIA_Zenek_Piwo_15_00"); //Mam Piwko.
B_GiveInvItems (other, self, ItFo_Beer, 1);
AI_Output (self, other, "DIA_Zenek_Piwo_15_01"); //Świetnie! Dzięki!
CreateInvItems (self, ItMi_Gold, 500);
B_GiveInvItems (self, other, ItMi_Gold, 500);
Log_SetTopicStatus (TOPIC_PIWKO_1, LOG_SUCCESS);
B_GivePlayerXP (200);
};
Proszę.
force_subtitles=1
jest na 1, [% zCCSBlock 0 49549]
blockName=string:DIA_Zenek_hello_1_01
numOfBlocks=int:1
subBlock0=float:0
[% zCCSAtomicBlock 0 49550]
[% oCMsgConversation:oCNpcMessage:zCEventMessage 0 49551]
subType=enum:0
text=string:Jak leci?
name=string:DIA_Zenek_hello_1_01.WAV
[]
[]
[]
(Chyba) Jest dobrze, ale nadal nie działa.