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
    Ehrengarde Avatar von neocromicon
    Registriert seit
    Jan 2019
    Beiträge
    2.562
     
    neocromicon ist offline

    Magie Kreis NPC

    Hi! Wie stellt man den Magie Kreis Level eines NPC's ein? Ich kann dazu absolut nichts finden, weder Google, Forums Suche oder in den Original Scripten.

    Alles NPC's die ich erstelle, haben immer Magie Kreis Level 6, ich will es aber auf 0.

  2. Beiträge anzeigen #2 Zitieren
    Veteran Avatar von N1kX
    Registriert seit
    Aug 2018
    Ort
    Serov
    Beiträge
    643
     
    N1kX ist offline
    Example
    Code:
    instance BAU_900_Onar (Npc_Default){
    	// ------ NSC ------
    	name 		= "Onar";
    	guild 		= GIL_BAU;
    	id 			= 900;
    	voice 		= 14;
    	flags       = NPC_FLAG_IMMORTAL;		//NPC_FLAG_IMMORTAL oder 0
    	npctype		= NPCTYPE_MAIN;
    	
    	// ------ Attribute ------
    	B_SetAttributesToChapter (self, 4);																	//setzt Attribute und LEVEL entsprechend dem angegebenen Kapitel (1-6)
    	
    	// ------ Kampf-Taktik ------
    	fight_tactic		= FAI_HUMAN_STRONG;	// MASTER / STRONG / COWARD
    	
    	// ------ Equippte Waffen ------																	//Munition wird automatisch generiert, darf aber angegeben werden
    	EquipItem			(self, ItMw_1h_Bau_Mace);
    	
    	// ------ 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_FatBald", Face_N_OldBald_Jeremiah, BodyTex_N, ITAR_Vlk_H);	
    	Mdl_SetModelFatness	(self, 2);
    	Mdl_ApplyOverlayMds	(self, "Humans_Arrogance.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 60i
    
    
    	// ------ TA anmelden ------
    	daily_routine 		= Rtn_Start_900;
    };
    B_GiveNpcTalents (self); ->
    Code:
    func void B_GiveNpcTalents (var C_NPC slf){
    	// ------ Magierkreis 6 bei allen NSCs (potentiell wichtig fьrs Runen-Equippen) -------
    	Npc_SetTalentSkill	(slf, NPC_TALENT_MAGE, 			6);
    	
    	// ------ Kampf-Talente ------								
    	//werden ьber B_AddFightSkill gesetzt
    	
    	// ------ Sonstige Talente ------
    	Npc_SetTalentSkill	(slf, NPC_TALENT_PICKLOCK, 		1); //hдngt ab von DEX (auf Programmebene)
    	Npc_SetTalentSkill	(slf, NPC_TALENT_SNEAK, 			1);
    	Npc_SetTalentSkill	(slf, NPC_TALENT_ACROBAT, 			0);
    	
    	Npc_SetTalentSkill	(slf, NPC_TALENT_PICKPOCKET, 		0);	//hдngt ab von DEX (auf Scriptebene)
    	Npc_SetTalentSkill	(slf, NPC_TALENT_SMITH, 			1);
    	Npc_SetTalentSkill	(slf, NPC_TALENT_RUNES, 			1);
    	Npc_SetTalentSkill	(slf, NPC_TALENT_ALCHEMY, 			1);
    	Npc_SetTalentSkill	(slf, NPC_TALENT_TAKEANIMALTROPHY,	0);
    };
    Edits
    Code:
    // ------ Magierkreis 6 bei allen NSCs (potentiell wichtig fьrs Runen-Equippen) -------
    	Npc_SetTalentSkill	(slf, NPC_TALENT_MAGE, 			6);

  3. Beiträge anzeigen #3 Zitieren
    Ehrengarde Avatar von neocromicon
    Registriert seit
    Jan 2019
    Beiträge
    2.562
     
    neocromicon ist offline
    Nice, Thanks Again
    Geändert von neocromicon (12.05.2021 um 19:09 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