Portal-Zone Gothic-Zone Gothic II-Zone Gothic 3-Zone Gothic 4-Zone Modifikationen-Zone Download-Zone Foren-Zone RPG-Zone Almanach-Zone Spirit of Gothic

 

Ergebnis 1 bis 3 von 3
  1. Beiträge anzeigen #1 Zitieren
    Neuling
    Registriert seit
    Jan 2018
    Beiträge
    5
     
    kirazeez23 ist offline

    rolleyes Frage zu aivar

    Hey bin noch etwas neu auf der Seite, und weiß nicht ob ich hier richtig bin für dieses Problem. Ich würde gerne wissen wie ein aivar aussehen würde, um ein NPC den Spieler angreifen zulassen wenn er etwas stiehlt aus einem Haus. Ich habe schon in den originalscripten reingeschaut aber Verwendung von solchem aivar finde ich dort leider nicht.

  2. Beiträge anzeigen #2 Zitieren
    Drachentöter Avatar von Arthonius
    Registriert seit
    Jan 2006
    Beiträge
    4.067
     
    Arthonius ist offline
    Da brauchst du in den NPC-Skripten nichts einstellen, das Angreifen nach Diebstahl machen NPCs automatisch in Portalräumen.

  3. Beiträge anzeigen #3 Zitieren
    Neuling
    Registriert seit
    Jan 2018
    Beiträge
    5
     
    kirazeez23 ist offline

    Halloween

    ahh prima damit hat sich dann das geklärt. Ich hätte da noch eine Frage undzwar wollte ich den Held eskortieren lassen von einem NPC
    und hatte das auch schon öfters getan nur hab ich jetzt ein kleines Problemchen bei diesem Script und finde das Problem nicht. Laut meinen Augen müsste das funktionieren.

    Code:
    var int Edgor_Los;
    
    
    Instance DIA_Edgor_Baronheil (C_INFO)
    {
        npc = NONE_99001_Edgor;
        nr = 1;
        condition = DIA_Edgor_Baronheil_Condition;
        information = DIA_Edgor_Baronheil_Info;
        description = "Ich bin bereit";
    };
    
    
    Func int DIA_Edgor_Baronheil_Condition()
    {
    
    
        return TRUE;
    
    
    };
    
    
    Func void DIA_Edgor_Baronheil_Info()
    {
        AI_Output (other, self, "DIA_Edgor_Baronheil_15_0"); //Ich bin bereit.
        AI_Output (self, other, "DIA_Edgor_Baronheil_7_1"); //Na dann wollen wir mal. Bleib hinter mir, ich hör schon wieder diese dreckigen Ratten.
        Edgor_Los = TRUE;
        AI_StopProcessInfos (self);
        
        self.aivar[AIV_PARTYMEMBER] = TRUE;
        Npc_ExchangeRoutine (self, "GuidezumHeilkraut");
    
    
        MIS_Baron = LOG_RUNNING;    
        Log_CreateTopic (TOPIC_Baron, LOG_MISSION);
        Log_SetTopicStatus(TOPIC_Baron, LOG_RUNNING);
        B_LogEntry (TOPIC_Baron,".....");
        
    };
    Code:
    instance NONE_99001_Edgor (Npc_Default)
    {
        // ------ NSC ------
        name         = "Edgor";
        guild         = GIL_NONE;
        id             = 99000;
        voice         = 7;
        flags       = 0;    //NPC_FLAG_IMMORTAL oder 0
        npctype        = NPCTYPE_MAIN;
        
        
            //-----------AIVARS----------------
    aivar[AIV_NPCIsRanger] = TRUE;
        
        
        // ------ Attribute ------
        B_SetAttributesToChapter (self, 3);                                                                    //setzt Attribute und LEVEL entsprechend dem angegebenen Kapitel (1-6)
        attribute[ATR_STRENGTH]  =55;
            attribute[ATR_DEXTERITY] =75;
            attribute[ATR_MANA_MAX]  =100;
            attribute[ATR_MANA]      =100;
            attribute[ATR_HITPOINTS_MAX]=255;
            attribute[ATR_HITPOINTS]=255;
        
        // ------ Kampf-Taktik ------
        fight_tactic        = FAI_HUMAN_STRONG;    // MASTER / STRONG / COWARD
        
        // ------ Equippte Waffen ------                                                                    //Munition wird automatisch generiert, darf aber angegeben werden
        EquipItem            (self, ItMw_1h_Mil_Sword);
        EquipItem           (self, ItRw_Bow_L_03);
        
        // ------ 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_Homer, BodyTex_B, ITAR_LESTER);    
        Mdl_SetModelFatness    (self, 1);
        Mdl_ApplyOverlayMds    (self, "Humans_Tired.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, 30); //Grenzen für Talent-Level liegen bei 30 und 60i
        
        Mdl_ApplyOverlayMds     (self,    "Humans_BowT1.mds");
        Mdl_ApplyOverlayMds     (self,    "humans_1hST1.mds");
    
    
        // ------ TA anmelden ------
        daily_routine         = Rtn_Start_99001;
    };
    
    
    FUNC VOID Rtn_Start_99001 ()
    {
        TA_Stand_WP                 (08,00,15,00,"WP_STAND_EDGOR_01");
        TA_Stand_ArmsCrossed                  (15,00,22,00,"WP_WALK_EDGOR_02");    
        TA_Stand_Eating                     (22,00,08,00,"WP_EAT_EDGOR_03");    
    };
    
    
    FUNC VOID Rtn_GuidezumHeilkraut_99001 ()
    {
        TA_Guide_Player                  (08,00,23,00,"NW_OUTDOOR_HEALHERB_05");
        TA_Guide_Player                 (23,00,08,00,"NW_OUTDOOR_HEALHERB_05");        
    };
    Editiert: Jetzt grad wo ich noch paar mal drüber geschaut habe ist mir aufgefallen, dass ich die falsche ID benutzt hatte. Jetzt funktioniert alles sauber.
    Und ich war mir so sicher alles 3 mal überprüft zuhaben... (facepalm)
    Geändert von kirazeez23 (10.10.2019 um 06:33 Uhr)

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
Impressum | Link Us | intern
World of Gothic © by World of Gothic Team
Gothic, Gothic 2 & Gothic 3 are © by Piranha Bytes & Egmont Interactive & JoWooD Productions AG, all rights reserved worldwide