|
|
|
|
Autor |
Wiadomość |
Vinix
Moderator
Dołączył: 28 Gru 2010
Posty: 285 Przeczytał: 0 tematów
Pomógł: 9 razy Ostrzeżeń: 0/7
Skąd: 6 wymiar
|
Wysłany:
Nie 1:29, 09 Sty 2011 |
|
Wld_InsertNpc (Tu nazwa bestii ,"Tu jej waypoint");[/code]
Waypoint najlepiej zrobić klikając na innego voba, aby był z nim połączony, wtedy na pewno zadziała
No to zamiast nazwy bestii wklejamy Wolf skrypty bestii w Gothic podkreśliłem dlaczego akurat w startup.d piszemy wolf
II\_Work\Data\Scripts\Content\Story\NPC\Monster
[code]//********************
// Wolf Prototype
//********************
PROTOTYPE Mst_Default_Wolf(C_Npc)
{
//----- Monster ----
name = "Wilk";
guild = GIL_WOLF;
aivar[AIV_MM_REAL_ID] = ID_WOLF;
level = 6;
//----- Attribute ----
attribute [ATR_STRENGTH] = 30;
attribute [ATR_DEXTERITY] = 30;
attribute [ATR_HITPOINTS_MAX] = 60;
attribute [ATR_HITPOINTS] = 60;
attribute [ATR_MANA_MAX] = 0;
attribute [ATR_MANA] = 0;
//----- Protections ----
protection [PROT_BLUNT] = 30;
protection [PROT_EDGE] = 30;
protection [PROT_POINT] = 0;
protection [PROT_FIRE] = 30;
protection [PROT_FLY] = 30;
protection [PROT_MAGIC] = 0;
//---- Damage Types ----
damagetype = DAM_EDGE;
// damage [DAM_INDEX_BLUNT] = 0;
// damage [DAM_INDEX_EDGE] = 0;
// damage [DAM_INDEX_POINT] = 0;
// damage [DAM_INDEX_FIRE] = 0;
// damage [DAM_INDEX_FLY] = 0;
// damage [DAM_INDEX_MAGIC] = 0;
//----- Kampf Taktik ----
fight_tactic = FAI_WOLF;
//----- Senses & Ranges ----
senses = SENSE_HEAR | SENSE_SEE | SENSE_SMELL;
senses_range = PERC_DIST_MONSTER_ACTIVE_MAX;
aivar[AIV_MM_ThreatenBeforeAttack] = TRUE;
aivar[AIV_MM_FollowTime] = FOLLOWTIME_LONG;
aivar[AIV_MM_FollowInWater] = TRUE;
aivar[AIV_MM_Packhunter] = TRUE;
//----- Daily Routine ----
start_aistate = ZS_MM_AllScheduler;
aivar[AIV_MM_RoamStart] = OnlyRoutine;
};
//************
// Visuals
//************
func void B_SetVisuals_Wolf()
{
Mdl_SetVisual (self,"Wolf.mds");
// Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex ARMOR
Mdl_SetVisualBody (self, "Wol_Body", DEFAULT, DEFAULT, "", DEFAULT, DEFAULT, -1);
};
//************
// Wolf
//************
INSTANCE Wolf (Mst_Default_Wolf)
{
B_SetVisuals_Wolf();
Npc_SetToFistMode(self);
CreateInvItems (self, ItFoMuttonRaw, 1);
};
autor edawid |
Post został pochwalony 1 raz
|
|
|
|
|
|
|
fora.pl - załóż własne forum dyskusyjne za darmo
Powered by phpBB
© 2001/3 phpBB Group :: FI Theme ::
Wszystkie czasy w strefie CET (Europa)
|
|
|
|
|
|
|