Guest User

Untitled

a guest
Oct 20th, 2015
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1.  
  2. instance SLD_888_Berni (Npc_Default)
  3. {
  4. // ------ NSC ------
  5. name = "Berni";
  6. guild = GIL_VLK;
  7. id = 888;
  8. voice = 5;
  9. flags = 0; //NPC_FLAG_IMMORTAL oder 0
  10. npctype = NPCTYPE_FRIEND;
  11.  
  12. // ------ Attribute ------
  13. B_SetAttributesToChapter (self, 1); //setzt Attribute und LEVEL entsprechend dem angegebenen Kapitel (1-6)
  14.  
  15. // ------ Kampf-Taktik ------
  16. fight_tactic = FAI_HUMAN_STRONG; // MASTER / STRONG / NORMAL / COWARD
  17.  
  18. // ------ Equippte Waffen ------ //Munition wird automatisch generiert, darf aber angegeben werden
  19. EquipItem (self, ItMw_1h_Sld_Axe);
  20. EquipItem (self, ItRw_Sld_Bow);
  21. CreateInvItems (self, ItRw_Arrow, 10);
  22. CreateInvItems (self, itri_prot_fire_01, 1);
  23.  
  24. // ------ Inventory ------
  25. B_CreateAmbientInv (self);
  26.  
  27. // ------ visuals ------ //Muss NACH Attributen kommen, weil in B_SetNpcVisual die Breite abh. v. STR skaliert wird
  28. B_SetNpcVisual (self, MALE, "Hum_Head_Pony", Face_N_Lee, BodyTex_N, ITAR_LEATHER_L);
  29. Mdl_SetModelFatness (self, 0);
  30. Mdl_ApplyOverlayMds (self, "Humans_Relaxed.mds"); // Tired / Militia / Mage / Arrogance / Relaxed
  31.  
  32. // ------ NSC-relevante Talente vergeben ------
  33. B_GiveNpcTalents (self);
  34.  
  35. // ------ Kampf-Talente ------ //Der enthaltene B_AddFightSkill setzt Talent-Ani abhängig von TrefferChance% - alle Kampftalente werden gleichhoch gesetzt
  36. B_SetFightSkills (self, 70); //Grenzen für Talent-Level liegen bei 30 und 60
  37.  
  38. // ------ TA anmelden ------
  39. daily_routine = Rtn_Start_888;
  40. };
  41.  
  42. FUNC VOID Rtn_Start_888 ()
  43. {
  44. TA_Stand_Eating (07,00,21,00,"BAZA_WAYPOINT_02");
  45. TA_SLEEP (21,00,07,00,"LOZKOBERNIEGO_WAYPOINT");
  46. };
Advertisement
Add Comment
Please, Sign In to add comment