Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- instance SLD_888_Berni (Npc_Default)
- {
- // ------ NSC ------
- name = "Berni";
- guild = GIL_VLK;
- id = 888;
- voice = 5;
- flags = 0; //NPC_FLAG_IMMORTAL oder 0
- npctype = NPCTYPE_FRIEND;
- // ------ Attribute ------
- B_SetAttributesToChapter (self, 1); //setzt Attribute und LEVEL entsprechend dem angegebenen Kapitel (1-6)
- // ------ Kampf-Taktik ------
- fight_tactic = FAI_HUMAN_STRONG; // MASTER / STRONG / NORMAL / COWARD
- // ------ Equippte Waffen ------ //Munition wird automatisch generiert, darf aber angegeben werden
- EquipItem (self, ItMw_1h_Sld_Axe);
- EquipItem (self, ItRw_Sld_Bow);
- CreateInvItems (self, ItRw_Arrow, 10);
- CreateInvItems (self, itri_prot_fire_01, 1);
- // ------ 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_Pony", Face_N_Lee, BodyTex_N, ITAR_LEATHER_L);
- Mdl_SetModelFatness (self, 0);
- Mdl_ApplyOverlayMds (self, "Humans_Relaxed.mds"); // Tired / Militia / Mage / Arrogance / Relaxed
- // ------ 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, 70); //Grenzen für Talent-Level liegen bei 30 und 60
- // ------ TA anmelden ------
- daily_routine = Rtn_Start_888;
- };
- FUNC VOID Rtn_Start_888 ()
- {
- TA_Stand_Eating (07,00,21,00,"BAZA_WAYPOINT_02");
- TA_SLEEP (21,00,07,00,"LOZKOBERNIEGO_WAYPOINT");
- };
Advertisement
Add Comment
Please, Sign In to add comment