ClaW of Death
19.08.2006, 11:16
ich hab jetz die ganze nacht das editing tutorial in meinen kopf gepumpt und wollte es heute morgen ausprobieren, und zwar wollte ich das script pc_hero.d etwas verändern, doch als ich starten will, kommt access violation. hier das script:
instance PC_Hero (NPC_DEFAULT)
{
// ------ SC ------
name = "Schwarzmagier";
guild = GIL_NONE;
id = 0;
voice = 15;
level = 0;
Npctype = NPCTYPE_MAIN;
//***************************************************
bodyStateInterruptableOverride = TRUE;
//***************************************************
// ------ XP Setup ------
exp = 0;
exp_next = 500;
lp = 0;
// ------ Attribute ------
attribute[ATR_STRENGTH] = 200;
attribute[ATR_DEXTERITY] = 920;
attribute[ATR_MANA_MAX] = 1000;
attribute[ATR_MANA] = 1000;
attribute[ATR_HITPOINTS_MAX] = 760;
attribute[ATR_HITPOINTS] = 760;
// ------ visuals ------
//B_SetNpcVisual (self, MALE, "Hum_Head_Psionic",Face_N_Xardas , BodyTex_N, ITAR_XARDAS);
// ------ Kampf-Talente ------
B_SetFightSkills (self, 100);
CreateInvItems (self, itmi_gold, 50000);
CreateInvItems (self, itfo_coragonsbeer, 2000);
CreateInvItems (self, itwr_map_newworld, 1);
CreateInvItems (self, itwr_map_oldworld, 1);
CreateInvItems (self, itwr_map_addonworld, 1);
CreateInvItems (self,itru_skull,1);
CreateInvItems (self,itru_massdeath,1);
CreateInvItems (self,itru_armyofdarkness,1);
CreateInvItems (self,itru_summonzombie,1);
CreateInvItems (self,itru_sumdemon,1);
CreateInvItems (self,itru_breathofdeath,1);
CreateInvItems (self,itru_light,1);
EquipItem (self, ItMw_BeliarWeapon_2h_20);
// ------ sonstige Talente ------
Npc_SetTalentSkill (self, NPC_TALENT_MAGE, 6);
Npc_SetTalentSkill (self, NPC_TALENT_ACROBAT, 0);
};
wenn bei mir dauernd was schief geht, wovon ich nich weiss was, werd ich verrückt :eek: also, bitte helft mir !!!
thx schonmal im voraus
instance PC_Hero (NPC_DEFAULT)
{
// ------ SC ------
name = "Schwarzmagier";
guild = GIL_NONE;
id = 0;
voice = 15;
level = 0;
Npctype = NPCTYPE_MAIN;
//***************************************************
bodyStateInterruptableOverride = TRUE;
//***************************************************
// ------ XP Setup ------
exp = 0;
exp_next = 500;
lp = 0;
// ------ Attribute ------
attribute[ATR_STRENGTH] = 200;
attribute[ATR_DEXTERITY] = 920;
attribute[ATR_MANA_MAX] = 1000;
attribute[ATR_MANA] = 1000;
attribute[ATR_HITPOINTS_MAX] = 760;
attribute[ATR_HITPOINTS] = 760;
// ------ visuals ------
//B_SetNpcVisual (self, MALE, "Hum_Head_Psionic",Face_N_Xardas , BodyTex_N, ITAR_XARDAS);
// ------ Kampf-Talente ------
B_SetFightSkills (self, 100);
CreateInvItems (self, itmi_gold, 50000);
CreateInvItems (self, itfo_coragonsbeer, 2000);
CreateInvItems (self, itwr_map_newworld, 1);
CreateInvItems (self, itwr_map_oldworld, 1);
CreateInvItems (self, itwr_map_addonworld, 1);
CreateInvItems (self,itru_skull,1);
CreateInvItems (self,itru_massdeath,1);
CreateInvItems (self,itru_armyofdarkness,1);
CreateInvItems (self,itru_summonzombie,1);
CreateInvItems (self,itru_sumdemon,1);
CreateInvItems (self,itru_breathofdeath,1);
CreateInvItems (self,itru_light,1);
EquipItem (self, ItMw_BeliarWeapon_2h_20);
// ------ sonstige Talente ------
Npc_SetTalentSkill (self, NPC_TALENT_MAGE, 6);
Npc_SetTalentSkill (self, NPC_TALENT_ACROBAT, 0);
};
wenn bei mir dauernd was schief geht, wovon ich nich weiss was, werd ich verrückt :eek: also, bitte helft mir !!!
thx schonmal im voraus