| 怎样制作NPC,与各项参数的设置 |
| 怎样制作NPC,与各项参数的设置 |
| 作者:佚名 文章来源:本站原创 点击数: 更新时间:2007-9-27 14:40:22 |
[Creature] Level ——>等级 Bounding_radius ——>活动半径 Combat_reach ——>攻击距离 Attack ——>速度 Damage ——>攻击伤害 Name ——>名字 Type ——>属性 Guild ——>团队 Model ——>模型 Npcflags ——>怪物类型 Maxmana ——>最大SP Faction ——>状态:属于哪方阵营 还是中立? Unk3 ——>1,2为elite精华级;3为Boss,等级500;4未知 Unk4 ——> Loot ——>掉落物品 Flags1 ——>标记 Flags ——>标记 Size ——>体型大小 Quest ——>任务编号 Qusetscript ——>任务对应的tcl名 Sell ——>出售物品 Train ——>教授技能 speed=1.0 ——>移动速度 NPCflags参数的含义: 0 Nothing 1 Spirit Healer 治疗 2 Quest 任务 4 Vendor 销售 8 Taxi 传送 16 Trainer 技能训练 64 Banker 银行 128 BagSlotVendor 背包销售 256 Inn Keeper 旅馆老板 97 512 Tabard 传令 1024 Talking 聊天 2048 Auction 拍卖这些代码可以叠加,比如 2 Quest 任务 + 4 Vendor 销售 -------------- = npcflags=6 即此npc销售物品的同时还能做任务 0 Nothing 1 Spirit Healer 治疗 2 Quest 任务 -->3 治疗+任务 ======================== 4 Vendor销售 -->5 治疗+销售 -->6 销售+任务 -->7 治疗+销售+任务 ======================== 8 Taxi 传送 -->9 传送+治疗 -->10 传送+任务 -->11 传送+任务+治疗 -->12 传送+销售 -->13 传送+销售+治疗 -->14 传送+销售+任务 -->15 传送+销售+任务+治疗 ======================== 16 Trainer 技能训练 既能学技能又能做任务的NPC [creature 4258] level=35 npcflags=17 maxhealth=100 maxmana=132 faction=55 bounding_radius=0.347000 combat_reach=1.500000 attack=2000 2000 damage=52.285713 56.285713 train=2020表示技能代码 train=2021 train=3539 train=9786 questscript=HelloWorld表示任务名称对照\scripts\tcl里面的名称 name=Bengus Deepforge guild=Artisan Blacksmith flags1=08400046 type=7 model=3097 既能任务又能说话 [creature 658] level=5 npcflags=2 maxhealth=100 maxmana=28 faction=55 bounding_radius=0.347000 combat_reach=1.500000 attack=1500 1500 damage=3.125000 4.125000 name=Sten Stoutarm flags1=066 type=7 model=1362 questscript=StenStoutarm表示任务名称对照\scripts\tcl里面的名称 npctext0_0=ah, well aren't you a sturdy-looking one? Perhaps you can assist me with a thing or two. Not much help around here except for green apprentices, and they've other things to worry about.表示此NPC提示任务说明. 连续任务的设置 [quest 3904] name=Milly's Harvest 任务名字 任务提示desc=Bring 8 crates of Milly's Harvest to Milly Osworth at Northshire Abbey. 任务内容details=A gang of brigands, the Defias, moved into the Northshire Vineyards while I was harvesting! I reported it to the Northshire guards and they assured me they'd take care of things, but... I'm afraid for my crop of grapes! If the Defias don't steal them then I fear our guards will trample them when they chase away the thugs.$B$BPlease, you must help me! I gathered most of my grapes into buckets, but I left them in the vineyards to the southeast.$B$BBring me those crates! Save my harvest! levels=2 4 等级 zone=9 next_quest=3905 表示下一个任务编号是3905 quest_flags=08 任务完成的Flags是08 deliver=11119 8 任务需要物品是葡萄代码11119,总共需要8个[quest 3905] name=Grape Manifest desc=Bring the Grape Manifest to Brother Neals in Northshire Abbey. details=Now that my crop is saved, take this Grape Manifest to Brother Neals. He manages the store of food and drink in Northshire, and I'm sure he'll be delighted to hear that he has fresh grapes.$B$BYou'll find Brother Neals in the abbey, in the bell tower... where he likes to taste his wine. levels=2 4 zone=9 src_item=11125 quest_flags=020 reward_choice=2690 1 deliver=11125 1 任务需要物品是人头代码11125,总共需要1个
本站声明:本站文章资源均来自网上转载或机器人自动搜索采集,如果本站文章资源有版权问题请联系管理员,我们尽快予以更正。所有文章只限用于个人测试学习使用,不得用于非法商业用途,请勿非法复制传播。特此声明!--[5uwl.net]
五年游戏制作经验; 金牌服务品质保障 游戏开区一条龙 第一品牌无忧网络[5uwl.net]
|
|
| 文章录入:黑鹰 责任编辑:ceo |
|
上一篇文章: 人物数据用户迁移sql语句(人物数据_帐号数据备份&恢复--换库后迁移用户用的)
下一篇文章: 魔兽世界服务器端各个文件详细说明 |
| 【字体:小 大】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】 |