NPCを設置

Last-modified: 2007-02-12 (月) 11:43:08

NPCを設置

NPCの置くには、下記のディレクトリー下にある、テキストファイルに書き込みます。

athena/script/

サンプルを使うには、下記のディレクトリー下にいろいろ入ってますので、使ってみましょう。

athena/script/sample/

まずは、サンプルにある npc_extend_shop.txt をmapサーバーに読み込ませます

map_athena.confを開いてください。

athena/conf/map_athena.conf

map_athena.confのnpc: conf/mapflag.txtの下に下記の【】の中身の部分を書き加えてください。

mapreg_txt: save/mapreg.txt
   
water_height: conf/water_height.txt
npc: conf/mapflag.txt
【//sample(追加NPC)};
npc: script/sample/npc_extend_shop.txt】

これで、npc_extend_shop.txtが mapサーバーに読み込まれます。

他に、追加する場合は同じように書き加えてください。