当前位置 : 传奇网 | 传奇教程 | 

怎样制作魔兽NPC与各项参数的设置

来源: 作者: 点击:
[Creature]
Level——>等级
Bounding_radius——>活动半径
Combat_reach——>攻击距离
Attack——>速度
Damage——>攻击伤害
Name——>名字
Type——>属性
Guild——>团队
Model——>模型
Npcflags——>怪物类型
Maxmana——>最大SP
Faction——>状态:属于哪方阵营还是中立?
Unk3——>12为elite精华级;3为Boss等级500;4未知
Unk4——>
Loot——>掉落物品
Flags1——>标记
Flags——>标记
Size——>体型大小
Quest——>任务编号
Qusetscript——>任务对应的tcl名
Sell——>出售物品
Train——>教授技能
speed=1.0——>移动速度

NPCflags参数的含义:
0Nothing
1SpiritHealer治疗
2Quest任务
4Vendor销售
8Taxi传送
16Trainer技能训练
64Banker银行
128BagSlotVendor背包销售
256InnKeeper旅馆老板
97
512Tabard传令
1024Talking聊天
2048Auction拍卖这些代码可以叠加,比如
2Quest任务
+
4Vendor销售
--------------
=npcflags=6即此npc销售物品的同时还能做任务
0Nothing
1SpiritHealer治疗
2Quest任务
-->3治疗+任务
========================
4Vendor销售
-->5治疗+销售
-->6销售+任务
-->7治疗+销售+任务
========================
8Taxi传送
-->9传送+治疗
-->10传送+任务
-->11传送+任务+治疗
-->12传送+销售
-->13传送+销售+治疗
-->14传送+销售+任务
-->15传送+销售+任务+治疗
========================
16Trainer技能训练
既能学技能又能做任务的NPC[creature4258]
level=35
npcflags=17
maxhealth=100
maxmana=132
faction=55
bounding_radius=0.347000
combat_reach=1.500000
attack=20002000
damage=52.28571356.285713
train=2020表示技能代码
train=2021
train=3539
train=9786
questscript=HelloWorld表示任务名称对照scriptstcl里面的名称
name=BengusDeepforge
guild=ArtisanBlacksmith
flags1=08400046
type=7
model=3097
既能任务又能说话[creature658]
level=5
npcflags=2
maxhealth=100
maxmana=28
faction=55
bounding_radius=0.347000
combat_reach=1.500000
attack=15001500
damage=3.1250004.125000
name=StenStoutarm
flags1=066
type=7
model=1362
questscript=StenStoutarm表示任务名称对照scriptstcl里面的名称
npctext0_0=ahwellaren'tyouasturdy-lookingone?Perhapsyoucanassistmewithathingortwo.Notmuchhelparoundhereexceptforgreenapprenticesandthey'veotherthingstoworryabout.表示此NPC提示任务说明.
连续任务的设置[quest3904]
name=Milly'sHarvest 任务名字
任务提示desc=Bring8cratesofMilly'sHarvesttoMillyOsworthatNorthshireAbbey.
任务内容details=AgangofbrigandstheDefiasmovedintotheNorthshireVineyardswhileIwasharvesting!IreportedittotheNorthshireguardsandtheyassuredmethey'dtakecareofthingsbut...I'mafraidformycropofgrapes!IftheDefiasdon'tstealthemthenIfearourguardswilltramplethemwhentheychaseawaythethugs.$B$BPleaseyoumusthelpme!IgatheredmostofmygrapesintobucketsbutIlefttheminthevineyardstothesoutheast.$B$BBringmethosecrates!Savemyharvest!
levels=24 等级
zone=9
next_quest=3905 表示下一个任务编号是3905
quest_flags=08 任务完成的Flages是08
deliver=111198 任务需要物品是葡萄代码11119,总共需要8个[quest3905]
name=GrapeManifest
desc=BringtheGrapeManifesttoBrotherNealsinNorthshireAbbey.
details=NowthatmycropissavedtakethisGrapeManifesttoBrotherNeals.HemanagesthestoreoffoodanddrinkinNorthshireandI'msurehe'llbedelightedtohearthathehasfreshgrapes.$B$BYou'llfindBrotherNealsintheabbeyinthebelltower...wherehelikestotastehiswine.
levels=24
zone=9
src_item=11125
quest_flags=020
reward_choice=26901
deliver=111251 任务需要物品是人头代码11125,总共需要1个
[顶部]