5
« dnia: 2011-06-28, 11:21 »
Mam duży problem tu zrobiłem script-a :
instance PAL_4600_Palladyn-Zwiadowca (Npc_Default)
{
// ------ NSC ------
name = "Palladyn-Zwiadowca";
guild = GIL_PAL;
id = 4600;
voice = 13;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 5); //setzt Attribute und LEVEL entsprechend dem angegebenen Kapitel (1-6)
// ------ Kampf-Taktik ------
fight_tactic = FAI_HUMAN_MASTER; // MASTER / STRONG / NORMAL / COWARD
// ------ Equippte Waffen ------ //Munition wird automatisch generiert, darf aber angegeben werden
EquipItem (self, ItMw_2h_Pal_Sword);
EquipItem (self, ItRw_Sld_Bow);
CreateInvItems (self, ItRw_Arrow, 50);
// ------ Inventory ------
B_CreateAmbientInv (self);
// ------ visuals ------ //Muss NACH Attributen kommen, weil in B_SetNpcVisual die Breite abh. v. STR skaliert wird
B_SetNpcVisual (self, MALE, "Hum_Head_Bald", Face_N_Drax, BodyTex_N, ITAR_PAL_M);
Mdl_SetModelFatness (self, 0);
Mdl_ApplyOverlayMds (self, "Humans_Militia.mds");
// ------ NSC-relevante Talente vergeben ------
B_GiveNpcTalents (self);
// ------ Kampf-Talente ------ //Der enthaltene B_AddFightSkill setzt Talent-Ani abhängig von TrefferChance% - alle Kampftalente werden gleichhoch gesetzt
B_SetFightSkills (self, 80); //Grenzen für Talent-Level liegen bei 30 und 60
// ------ TA anmelden ------
daily_routine = Rtn_Start_4600;
};
FUNC VOID Rtn_Start_4600 ()
{
TA_Stand (08,00,23,00,"NW_FOREST_PATH_36");
TA_Stand (23,00,08,00,"NW_FOREST_PATH_36");
};
ale nie mam pojęcie gdzie wrzucić startup i co dalej !!! pomocy!