Problem z dialogami 1340 2

O temacie

Autor jamokiolE

Zaczęty 2.07.2009 roku

Wyświetleń 1340

Odpowiedzi 2

jamokiolE

jamokiolE

Użytkownicy
posty164
Propsy3
  • Użytkownicy

jamokiolE

Problem z dialogami
2009-07-02, 14:57(Ostatnia zmiana: 2009-07-02, 15:05)
Tak jak w temacie mam problem z dialogiem w gothic 1 Gdy wlącza się gra i pojawi się logo Gothica wyskakuje error messenger i pisze LINE 37 prosze o pomoc.Tak wygląda jego skrypt:

//========================================
//-----------------> EXIT
//========================================

INSTANCE DIA_Vatras_EXIT(C_INFO)
{
   npc         = KDW_9999_Vatras;
   nr         = 999;
   condition   = DIA_Vatras_EXIT_Condition;
   information   = DIA_Vatras_EXIT_Info;
   permanent   = TRUE;
   description = DIALOG_ENDE;
};

FUNC INT DIA_Vatras_EXIT_Condition()
{
   return TRUE;
};

FUNC INT DIA_Vatras_EXIT_Info()
{
   AI_StopProcessInfos   (self);
};

//========================================
//-----------------> HELLO
//========================================

INSTANCE DIA_Vatras_HELLO (C_INFO)
{
   npc         = KDW_9999_Vatras;
   nr         = 1;
   condition   = DIA_Vatras_HELLO_Condition;
   information   = DIA_Vatras_HELLO_Info;
   permanent   = TRUE;
   description   = "Kim Jestes?"
};

FUNC INT DIA_Vatras_HELLO_Condition()
{
      return TRUE;
};

func VOID DIA_Vatras_HELLO_Info()
{
        AI_Output (other, self ,"DIA_Vatras_HELLO_15_01"); //Kim jestes?
        AI_Output (self, other ,"DIA_Vatras_HELLO_03_02"); //Mam na imie Vatras i jestem jednym z Buntownikow.
        AI_Output (other, self ,"DIA_Vatras_HELLO_03_03"); //Czyli jestes magiem który sprzeciwił się Gomezowi??
        AI_Output (self, other ,"DIA_Vatras_HELLO_15_04"); //Nie.
        AI_Output (other, self ,"DIA_Vatras_HELLO_15_05"); //Wiec kim??
        AI_Output (self, other ,"DIA_Vatras_HELLO_03_06"); //Jestem magie ktory sprzeciwstawil sie Saturasowi oraz Gomezowi
};

//========================================
//-----------------> SATURAS
//========================================

INSTANCE DIA_Vatras_SATURAS (C_INFO)
{
   npc         = KDW_9999_Vatras;
   nr         = 2;
   condition   = DIA_Vatras_SATURAS_Condition;
   information   = DIA_Vatras_SATURAS_Info;
   permanent   = FALSE;
   description   = "Kim jest Saturas?"
};

FUNC INT DIA_Vatras_SATURAS_Condition()
{
      return TRUE;
};

func VOID DIA_Vatras_SATURAS_Info()
{
        AI_Output (other, self ,"DIA_Vatras_SATURAS_15_02"); //Kim jest Saturas???
        AI_Output (self, other ,"DIA_Vatras_SATURAS_03_03"); //Jest arcy mistrzem kregu magow wody.
        AI_Output (self, other ,"DIA_Vatras_SATURAS_03_04"); //Ale ja nigdy nie uznawalem go za mistrza.
        AI_Output (other, self ,"DIA_Vatras_SATURAS_15_05"); //Dlaczego?
        AI_Output (self, other ,"DIA_Vatras_SATURAS_03_06"); //To juz moja sprawa.
        AI_Output (other, self ,"DIA_Vatras_SATURAS_15_07"); //Jak chcez


};

//========================================
//-----------------> PRACA
//========================================

INSTANCE DIA_Vatras_PRACA (C_INFO)
{
   npc         = KDW_9999_Vatras;
   nr         = 3;
   condition   = DIA_Vatras_PRACA_Condition;
   information   = DIA_Vatras_PRACA_Info;
   permanent   = FALSE;
   description   = "Dla kogo pracujesz??"
};

FUNC INT DIA_Vatras_PRACA_Condition()
{
      return TRUE;
};

func VOID DIA_Vatras_PRACA_Info()
{
        AI_Output (other, self ,"DIA_Vatras_PRACA_15_01"); //Skoro nie pracujesz dla Gomeza ani dla Saturasa to dla kogo???
        AI_Output (self, other ,"DIA_Vatras_PRACA_03_02"); //Dla wielkiego maga ktoremu udalo sie opanowac wrzystkie zywioly.
        AI_Output (other, self ,"DIA_Vatras_PRACA_15_03"); //A czy ten ktos ma imie?
        AI_Output (self, other ,"DIA_Vatras_PRACA_03_04"); //Na imie mu Arkidos
        AI_Output (self, other ,"DIA_Vatras_PRACA_03_05"); //Zdaje sie ze jest teraz w posterunku zaraz za toba.
        AI_Output (other, self ,"DIA_Vatras_PRACA_15_06"); //Czy mogl bym sie z nim zobaczyc?
        AI_Output (self, other ,"DIA_Vatras_PRACA_03_07"); //Nie!!Musisz Najpierw cos dla nas zrobic i udowodnic ze jestes godny.

};

//========================================
//-----------------> JAK
//========================================

INSTANCE DIA_Vatras_JAK (C_INFO)
{
   npc         = KDW_9999_Vatras;
   nr         = 4;
   condition   = DIA_Vatras_JAK_Condition;
   information   = DIA_Vatras_JAK_Info;
   permanent   = FALSE;
   description   = "Jak?"
};

FUNC INT DIA_Vatras_JAK_Condition()
{
      return TRUE;
};

func VOID DIA_Vatras_JAK_Info()
{
        AI_Output (other, self ,"DIA_Vatras_JAK_15_01"); //Jak mam to zrobic?
        AI_Output (self, other ,"DIA_Vatras_JAK_03_02"); //Wejdz do posterunku i popytaj buntownikow, moze ktos z nich potrzebuje pomocy.

        AI_StopProcessInfos   (self);
};



// *Script was make in Easy Dialog Maker (EDM)
 

Tanner

Tanner

Użytkownicy
posty83
  • Użytkownicy

Tanner

Problem z dialogami
#1 2009-07-02, 15:47(Ostatnia zmiana: 2009-07-02, 15:48)
Cytuj
description = "Kim Jestes?"

w tej linii musi być średnik czyli:
Cytuj
description = "Kim Jestes?";


ps: po każdej linijce z wyrazem description stawia się ; ;]
 

jamokiolE

jamokiolE

Użytkownicy
posty164
Propsy3
  • Użytkownicy

jamokiolE

Problem z dialogami
#2 2009-07-07, 15:41(Ostatnia zmiana: 2009-07-07, 15:46)
Ok dzięki.
Temat do Zamknięcia

Ok, zamykam,
Adanos
 


0 użytkowników i 1 Gość przegląda ten wątek.
0 użytkowników
Do góry