
一、既能学技能又能做任务的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表示任务名称对照scriptstcl里面的名称
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表示任务名称对照scriptstcl里面的名称
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个
四、教你增加买卖NPC
[creature 1298]
level=30
npcflags=5
maxhealth=100
maxmana=108
faction=12
bounding_radius=0.306000
combat_reach=1.500000
attack=2000 2000
damage=42.285713 47.285713
sell=11303
sell=11307
sell=11306
sell=5105
sell=5026
sell=5024
sell=3027
sell=2506
sell=11285
sell=2507
sell=2101
sell=11362
sell=2505
sell=3030
sell=3026
sell=2512
sell=2515
sell=5439
sell=2504
name=Frederick Stover
guild=Bow & Arrow Merchant
flags1=08400046
type=7
model=1427
“sell=2504”表示需要在这个NPC身上加上物品ID代码即可,想要什么加什么。
巫师的召唤用“灵魂碎片”代码是6265和5232,加进NPC sell=6265
和sell=5232即可有卖。
在scripts下面的 creature.scp 文件添加
添加后用GM号登陆游戏,在你想要放置此NPC的地方使用GM命令创建即可。
五、教你增加自动攻击性NPC
creatures表里面数据
npcflags=0 表示自动攻击性NPC
注意要使用.addspawn的NPC才可以自动攻击的
- 微软官方入门教程19:轻松掌握Vista系统的快
- 微软2008大冲击,预借Vista SP1力促Vista市
- 在收件箱中获得 Windows Vista 的最新更新
- 微软官方Vista入门教程全集19篇(Vista学院
- Windows Vista 的成功将势不可挡
- 快快抛弃Vista,拥抱XP SP3!你觉得呢?
- 浅谈Vista系统关闭虚拟内存与使用内存盘加速
- 嘿嘿,按下键盘上面的三个键,马上让你的Vi
- Windows Vista的盗版率只有Windows XP的一半
- 3DMark和PCMark Vantage新版将只支持Vista系
- 一步一步教你如何自己架设高性能CS服务器
- 新手架设魔兽单机和局域网服务器教程
- VOD视频点播系统架设指南
- 《反恐精英》CS服务器架设任我行
- 魔兽世界:魔兽模拟器2.2安装说明
- 如何在自己机器上架设电影服务器
- MU私服新手架设教程(0.99B)
- 最新奇迹私服复制漏洞大全(含98C)
- Windows 2003架设视频服务器完全攻略
- 魔兽世界,私服SQL架设,Step教程
- 最新奇迹私服复制漏洞大全(含98C)
- 传奇:翎风4-8M2脚本大全之功能操作篇
- MU私服新手架设教程(0.99B)
- 传奇:人形怪物样子的appy的探究
- 用QFunction-0.txt实现传奇世界回城石脚本
- 私服有效防DDOS攻击的方法
- 传奇:自动刷怪脚本,节省服务器资源
- 魔兽世界:item.scp文件参数说明
- 传奇:版本不对或寂幻之刃消失的解决办法
- 魔兽世界:服务器安装之地图解压方法
- 大话G游 专题:手机病毒揭密
- ARP攻击防范与解决方案 路由故障处理手册
- Picasa中文版_Picasa教程 专题:清除流氓软件
- Firefox专题 seo搜索引擎优化专区
- 重装Windows必知的事情 装机之必备软件大行动
