|
İçerde : 1 misafir, 0 üye : ---
|
// NPC AI settings
// NPC_AI_PATH 0x001 NPC pathfinding
// NPC_AI_FOOD 0x002 NPC food search (objects + grass)
// NPC_AI_EXTRA 0x004 NPC magics, etc
// NPC_AI_ALWAYSINT 0x008 Always be as smart as possible with pathfinding
// NPC_AI_INTFOOD 0x010 NPC food search (more intelligent and trusworthy)
// NPC_AI_COMBAT 0x040 Look for friends in combat
// NPC_AI_VEND_TIME 0x080 vendors closing their shops at nighttime
// NPC_AI_LOOTING 0x0100 loot corpses an the way
// NPC_AI_MOVEOBSTACLES 0x0200 if moveable items block my way, try to move them
//NPCAI=0001|0004
[CHARDEF c_rottin_corpse]
NAME=Rotting Corpse
SOUND=snd_monster_zombie1
ID=c_zombie
CAN=MT_RUN|MT_WALK
DAM=3,0
ARMOR=35
CATEGORY=Monsters
SUBSECTION=Undeads
DESCRIPTION=Rotting Corpse
ON=@Create
COLOR=042
NPC=brain_human
STR=350
DEX=355
INT=100
PARRYING={90.0 100.0}
MAGICRESISTANCE={100.0}
TACTICS={90.0 100.0
WRESTLING={120.0 130.0}
POISONING={300.0 800.0}
FAME={300 5000}
KARMA={-6000 -6200}
ITEM=i_gold {700 950}
ITEM=random_weapon_force,R12
ON=@CLICK
VAR.X=<EVAL <oSTR> >
IF !(0<VAR.X>)
VAR.X=1
ENDIF
Message @0480 Guc Orani: <EVAL <VAR.X>>
// NPC AI settings
// NPC_AI_PATH 0x001 NPC pathfinding
// NPC_AI_FOOD 0x002 NPC food search (objects + grass)
// NPC_AI_EXTRA 0x004 NPC magics, etc
// NPC_AI_ALWAYSINT 0x008 Always be as smart as possible with pathfinding
// NPC_AI_INTFOOD 0x010 NPC food search (more intelligent and trusworthy)
// NPC_AI_COMBAT 0x040 Look for friends in combat
// NPC_AI_VEND_TIME 0x080 vendors closing their shops at nighttime
// NPC_AI_LOOTING 0x0100 loot corpses an the way
// NPC_AI_MOVEOBSTACLES 0x0200 if moveable items block my way, try to move them
//NPCAI=0001|0004|00200
tayfun12 :
Kod:...
//NPCAI=0001|0004|00200
[CHARDEF c_rottin_corpse]
NAME=Rotting Corpse
SOUND=snd_monster_zombie1
ID=c_zombie
CAN=MT_RUN|MT_WALK
DAM=3,0
ARMOR=35
CATEGORY=Monsters
SUBSECTION=Undeads
DESCRIPTION=Rotting Corpse
ON=@Create
COLOR=042
NPC=brain_animal
STR=350
DEX=355
FAME=4500
KARMA={-1000 -1999}
INT=100
// NPC AI settings
// NPC_AI_PATH 0001 NPC pathfinding
// NPC_AI_FOOD 0002 NPC food search (objects + grass)
// NPC_AI_EXTRA 0004 NPC magics, etc
// NPC_AI_ALWAYSINT 0008 Always be as smart as possible with pathfinding
// NPC_AI_INTFOOD 0010 NPC food search (more intelligent and trusworthy)
// NPC_AI_COMBAT 0040 Look for friends in combat
// NPC_AI_VEND_TIME 0080 vendors closing their shops at nighttime
// NPC_AI_LOOTING 0100 loot corpses an the way
// NPC_AI_MOVEOBSTACLES 0200 if moveable items block my way, try to move them
NPCAI=00
Buradaki bitefieldlere ne istiyorsak onu yazmalıyız. İlk önce neyin ne işe yaradığına bakalım :
NPC_AI_PATH = Npcler gideceği noktaya çok daha hızlı gider.
NPC_AI_FOOD = Npcler acıktıkları zaman yemek ararlar.
NPC_AI_EXTRA = Npcler büyü yaparken size karşılık verebilir..
NPC_AI_ALWAYSINT = Npcler gideceği noktaya çok daha hızlı gider ve en kısa yolu kullanırlar.
NPC_AI_INTFOOD = Npcler acıktıkları zaman yemek ararlar. ( Et ile beslenenler yemek bulamazsa birbirleriyle savaşırlar , ot ile beslenenler otlanabileceği alana giderler )
NPC_AI_COMBAT = Savaş sırasında kendi düşmanlarına yardım ederler.
NPC_AI_VEND_TIME = Vendorlar geceleri dükkanları kapatır ( Bu sistemde bug var )
NPC_AI_LOOTING = Npcler loot yaparlar.
NPC_AI_MOVEOBSTACLES = Etrafındaki objeleri haraket ettirebilirler ( Wooden box , bnz.. )
|