Gothic 1 skrypt na list 2052 3

O temacie

Autor Bloody Skull

Zaczęty 4.10.2015 roku

Wyświetleń 2052

Odpowiedzi 3

Bloody Skull

Bloody Skull

Użytkownicy
posty136
Propsy5
ProfesjaGrafik 2D
  • Użytkownicy
Witam!
Mam problem, ciągle wywala mi G1 po zrobieniu listu
INSTANCE ItWr_Death_01 (C_Item)
{
   name                =   "List Samobójcy";
   
   mainflag             =   ITEM_KAT_DOCS;
   flags                =   ITEM_MISSION;

   value                =   1;

   visual                =   "ItWr_Scroll_01.3DS";
   material             =   MAT_LEATHER;

   scemeName            =   "MAP";
   description            = name;
   TEXT[0]               = "Znalazłem go w chacie samobójcy.";
   ////COUNT[0]         = ;
   //TEXT[1]            = "";
   ////COUNT[1]         = ;
   //TEXT[2]            = "";
   //COUNT[2]         = ;
   //TEXT[3]          = "";
   //COUNT[3]         = ;
   //TEXT[4]            = "";
   ////COUNT[4]         = ;
   TEXT[5]            = NAME_Value;
   COUNT[5]         = value;
};
      var int nDocID;
      
               Doc_SetPages   ( nDocID,  1 );                         //wieviel Pages
               Doc_SetPage    ( nDocID,  0, "letters.TGA"  , 0       );
               Doc_SetFont    ( nDocID, -1, "font_10_book.tga"               );    // -1 -> all pages
               Doc_SetMargins   ( nDocID, -1, 50, 50, 50, 50, 1         );  //  0 -> margins are in pixels
               Doc_PrintLine   ( nDocID,  0, " "               );
               Doc_PrintLine   ( nDocID,  0, ""               );
               Doc_PrintLine   ( nDocID,  0, ""               );
               Doc_SetFont    ( nDocID, -1, "font_10_book.TGA"               );    // -1 -> all pages
               Doc_PrintLines   ( nDocID,  0, "Przepraszam, już tak dłużej nie mogę."   );
               Doc_PrintLine   ( nDocID,  0, ""               );
               Doc_PrintLine   ( nDocID,  0, ""               );
               Doc_PrintLine   ( nDocID,  0, ""               );
               //Doc_PrintLine   ( nDocID,  0, "");
               Doc_PrintLine   ( nDocID,  0, ""               );
               Doc_PrintLine   ( nDocID,  0, ""               );
               Doc_SetMargins   ( nDocID, -1, 200, 50, 50, 50, 1         );  //  0 -> margins are in pixels (Position des Textes von den Ränder des TGAs aus
            
               Doc_Show      ( nDocID );
      
};

O co chodzi?

gothic1210
  • Gość
Nie zacząłeś funkcji w ogóle. 
 

kaczka

kaczka

RaveN Studio
Definitely not kaczka!
posty2280
Propsy2392
NagrodyV
ProfesjaLvl designer
  • RaveN Studio
  • Definitely not kaczka!
func void UseStandardBrief ()
{
      var int nDocID;
     
               Doc_SetPages   ( nDocID,  1 );                         //wieviel Pages
               Doc_SetPage    ( nDocID,  0, "letters.TGA"  , 0       );
               Doc_SetFont    ( nDocID, -1, "font_10_book.tga"               );    // -1 -> all pages
               Doc_SetMargins   ( nDocID, -1, 50, 50, 50, 50, 1         );  //  0 -> margins are in pixels
               Doc_PrintLine   ( nDocID,  0, " "               );
               Doc_PrintLine   ( nDocID,  0, ""               );
               Doc_PrintLine   ( nDocID,  0, ""               );
               Doc_SetFont    ( nDocID, -1, "font_10_book.TGA"               );    // -1 -> all pages
               Doc_PrintLines   ( nDocID,  0, "Przepraszam, już tak dłużej nie mogę."   );
               Doc_PrintLine   ( nDocID,  0, ""               );
               Doc_PrintLine   ( nDocID,  0, ""               );
               Doc_PrintLine   ( nDocID,  0, ""               );
               //Doc_PrintLine   ( nDocID,  0, "");
               Doc_PrintLine   ( nDocID,  0, ""               );
               Doc_PrintLine   ( nDocID,  0, ""               );
               Doc_SetMargins   ( nDocID, -1, 200, 50, 50, 50, 1         );  //  0 -> margins are in
pixels (Position des Textes von den Ränder des TGAs aus
           
               Doc_Show      ( nDocID );
     
};

Pod Material daj jeszcze on_state[0] =   UseStandardBrief;
Musiałeś coś zjeść XD
 

Bloody Skull

Bloody Skull

Użytkownicy
posty136
Propsy5
ProfesjaGrafik 2D
  • Użytkownicy
Zrobiłem od nowa i jest ok


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