) nu are nici o treaba una cu alta
)
tu ma indrumai sa bag iar cleanscripts iar terente spunea sa nu mai bag cleanscripts-urile ca d-aia nu imi apar npc-urile
ma gandesc ca nu fac ceva bine in spacer.
Dupa ce dau update si save(output units) intru la meniul "world" dau "reparse scripts", deschid "gothic.src" si apoi mai trebuie facut ceva? sau cum ca nu se intampla absolut nimic, poate aici e problema.
ps: bineinteles nu imi apar nici dialogurile:
ERD_3006_Gorth.d
Show Content
Spoiler
instance ERD_3006_Gorth(Npc_Default)
{
name[0] = "Gorth(";
guild = GIL_SLD;
id = 3006;
voice = 9;
flags = 0;
npcType = npctype_main;
aivar[AIV_MM_FollowTime] = 60;
B_SetAttributesToChapter(self,4);
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,ItMw_1h_Sld_Sword);
CreateInvItems(self,ItFo_Apple,1);
B_SetNpcVisual(self,MALE,"Hum_Head_FatBald",Face_N_Tough_Okyl,BodyTex_N,ItAr_Sld_H);
Mdl_SetModelFatness(self,0);
Mdl_ApplyOverlayMds(self,"Humans_Militia.mds");
B_GiveNpcTalents(self);
B_SetFightSkills(self,50);
daily_routine = Rtn_Start_3006;
};
func void Rtn_Start_3006()
{
TA_Stand_ArmsCrossed (07,55,22,55,"NW_XARDAS_TOWER_PATH_01");
TA_Stand_ArmsCrossed (22,55,07,55,"NW_XARDAS_TOWER_PATH_01_b");
};
startup.d
Show Content
Spoiler// *******************************************************************
// Startup und Init Funktionen der Level-zen-files
// -----------------------------------------------
// Die STARTUP-Funktionen werden NUR beim ersten Betreten eines Levels
// (nach NewGame) aufgerufen, die INIT-Funktionen jedesmal
// Die Funktionen müssen so heissen wie die zen-files
// *******************************************************************
// *********
// GLOBAL
// *********
func void STARTUP_GLOBAL()
{
// wird fuer jede Welt aufgerufen (vor STARTUP_<LevelName>)
Game_InitGerman();
};
func void INIT_GLOBAL()
{
// wird fuer jede Welt aufgerufen (vor INIT_<LevelName>)
Game_InitGerman();
};
func void STARTUP_NewWorld_Part_Xardas_01()
{
Wld_InsertNpc(ERD_3006_Gorth,"NW_XARDAS_START");
};
DIA_ERD_3006_Gorth.d
Show Content
Spoiler
instance DIA_Gorth_EXIT(C_Info)
{
npc = ERD_3006_Gorth;
nr = 999;
condition = DIA_Gorth_EXIT_Condition;
information = DIA_Gorth_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Gorth_EXIT_Condition()
{
return TRUE;
};
func void DIA_Gorth_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance DIA_Gorth_Hello(C_Info)
{
npc = ERD_3006_Gorth;
nr = 1;
condition = DIA_Gorth_Hello_Condition;
information = DIA_Gorth_Hello_Info;
permanent = FALSE;
description = "Care-i treaba?";
};
func int DIA_Gorth_Hello_Condition()
{
return TRUE;
};
func void DIA_Gorth_Hello_Info()
{
AI_Output (other, self,"DIA_Gorth_Hello_15_00"); //Care-i treaba?
AI_Output (self, other,"DIA_Gorth_Hello_02_00"); //Care-i treaba??? Omule situatia e critica!, raidurile goblinilor sunt din ce in ce mai dese!
AI_Output (self, other,"DIA_Gorth_Hello_02_01"); //Ati reusit sa dati de fier?
AI_Output (other, self,"DIA_Gorth_Hello_02_02"); //Fier?
AI_Output (self, other,"DIA_Gorth_Hello_02_02"); //Da, fier! Eh?
};
instance DIA_Gorth_Fier(C_Info)
{
npc = ERD_3006_Gorth;
nr = 1;
condition = DIA_Gorth_Fier_Condition;
information = DIA_Gorth_Fier_Info;
permanent = FALSE;
description = "Nu inteleg!";
};
func int DIA_Gorth_Fier_Condition()
{
if (Npc_KnowsInfo(hero, DIA_Gorth_Hello))
{
return TRUE;
};
};
func void DIA_Gorth_Fier_Info()
{
AI_Output (other, self,"DIA_Gorth_Fier_15_00"); //Nu inteleg la ce te referi?
AI_Output (self, other,"DIA_Gorth_Fier_03_00"); //Cum adica nu intelegi la ce ma refer?
AI_Output (self, other,"DIA_Gorth_Fier_03_01"); //Nu esti unul dintre cautatorii de fier de la mina?
AI_Output (other, self,"DIA_Gorth_Fier_03_02"); //Eu nu sunt cautator de fier de la mina..
AI_Output (self, other,"DIA_Gorth_Fier_02_02"); //Atunci cine dracu' esti?
};
instance DIA_Gorth_Sef(C_Info)
{
npc = ERD_3006_Gorth;
nr = 2;
condition = DIA_Gorth_Sef_Condition;
information = DIA_Gorth_Sef_Info;
permanent = FALSE;
description = "Inceteaza cu tampeniile astea, sunt conducatorul acestui sat!";
};
func int DIA_Gorth_Sef_Condition()
{
if (Npc_KnowsInfo(hero, DIA_Gorth_Hello))
{
return TRUE;
};
};
func void DIA_Gorth_Sef_Info()
{
AI_Output (other, self,"DIA_Gorth_Sef_15_00"); //Inceteaza cu tampeniile astea, sunt conducatorul acestui sat!
AI_Output (self, other,"DIA_Gorth_Sef_04_00"); //Care-i treaba??? Omule situatia e critica!
AI_Output (self, other,"DIA_Gorth_Sef_04_01"); //Ati reusit sa dati de fier?
AI_Output (other, self,"DIA_Gorth_Sef_04_02"); //Fier?
AI_Output (self, other,"DIA_Gorth_Sef_04_02"); //Da, fier! Eh?
};