ctgwglzc 发表于 2007-5-24 17:00:55

传送NPC设置方法

npcsay
add new npc in datebase ( K_NPC ). When creating npc,you must dont remember ByType. ByType only number 50 to 255.

首先在表K_NPC填加一个新的NPC,而这个NPC必须是50到255这几个数字

creating npcsay folder in ebenezer folder.create new new.txt document in npcsay folder and then add this code:

而NPC的对话的内容就是在在ebenezer目录下再新建一个下新建npcsay目录
最后就是在 npcsay目录下建 文本文件(TXT)写对话内容了 下面是一个列子!

Code:(举列)
[@main]
#IF
checkpkpoint 2
#SAY
welcome\ \
<Go up/@move1>\\
<Exit/@exit>\

[@move1]
#IF
checkgold 100
#ACT
take gold 100
mapmove 330 444 108
break
#ELSESAY
cannot teleported\
dont have coin\ \
<EXIT/@exit>\(new.txt) chance name is npcsay_( your add ByType code ) .spt

//这里就是和你建的那个文本文件联系的

sample : npcsay_100.spt



= Zone code
= coordinate X
= coordinate Y


sample map code


Code:
21 : Moradon
1 : Karus
2 : Human
300 : Delos Dezert
310 : bifrost
320 : Normal Abyss
330 : Hell Abyss
202 : Coloni Zone
201 : Andream
when add npc ActType warning.

ActType if you make "1" atack your self.

if you add "117" to make business

sample "117" sunders, warp gate

leerui0124 发表于 2007-8-2 00:46:41

看不懂哦 ,顶哈

yyg1983 发表于 2009-2-20 13:27:23

谢谢分享!顶一下!

fangyuan 发表于 2009-4-7 11:56:42

感谢分享,顶一下让更多人看到!!!

kevinlin 发表于 2009-4-8 02:13:02

支持一下!!!!~

wl2836 发表于 2009-4-10 21:08:19

顶一下 谢谢分享

weilong520 发表于 2009-4-26 13:24:01

CT谢谢了

feng1979 发表于 2009-4-26 14:34:53

2年前的1505的东西都翻出来了,强人..

dryzh7758 发表于 2009-5-2 09:28:54

虽然不懂,但看起来有点感觉了..

evaydd 发表于 2009-5-2 10:59:42

这是1505的东西吧。你好强呀!
页: [1] 2
查看完整版本: 传送NPC设置方法