RE: Ajutor - Cyrus35 - 03-17-2013
) 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?
};
RE: Ajutor - Robi - 03-17-2013
Degeaba aveti voi scripturile originale, daca facem o mesha noua, ne trebuie clenescript si un startup.d nou..
Pentru un npc n-ai treaba cu spacerul daca faci totul ok..
RE: Ajutor - Cyrus35 - 03-17-2013
(03-17-2013, 10:33 PM)roby14 Wrote: Degeaba aveti voi scripturile originale, daca facem o mesha noua, ne trebuie clenescript si un startup.d nou..
Pentru un npc n-ai treaba cu spacerul daca faci totul ok.. sal fut mie tot nu imi apar npc-urile.
si nici dialogurile. deci nu pot face nici un mod Mortii ma-tii!
ps: injur pc-ul sau gothicul, nu membrii wog.ro
RE: Ajutor - Robi - 03-17-2013
Ceva e gresit , si eu nu detin cunostinte prea vaste ca sa stiu ce..
RE: Ajutor - Robi - 03-18-2013
Uite, am cleaned script, nu am intrat in spacer( defapt am intrat sa fac waypoint-ul) si merge:
Show Content
Spoiler![[Image: vh9vf5.jpg]](http://i46.tinypic.com/vh9vf5.jpg)
RE: Ajutor - Szekemri - 03-18-2013
Nu pot intra in spacer din starter cu reperse scripts. Incredibil.
RE: Ajutor - Robi - 03-18-2013
Daca ai fisiere cu format RPT stergele si incearca.
RE: Ajutor - Szekemri - 03-18-2013
Am sters tot de acolo.
RE: Ajutor - Robi - 03-18-2013
Dupa 2 ore de chinuri, in care am corectat o gramada de greseli din npc-urile alea, am reusit sa le introduc, dupa cum am promis:
RE: Ajutor - Cyrus35 - 03-18-2013
sa [...] la mine de ce nu merg? )
btw trebuia postat in discutii nu in ajutor :p
o si iti trimit si dialogul mai tarziu, sa vedem daca merge :p
|