北大侠客行MUD论坛

 找回密码
 注册
搜索
热搜: 新手 wiki 升级
查看: 4839|回复: 4

最近没有研究mush的地图插件了么?求指导啊

[复制链接]
发表于 2013-4-7 17:34:11 | 显示全部楼层 |阅读模式
最近没有研究mush的地图插件了么?求指导啊

创建地图,快速寻路,移动什么的~~~求指导啊

北大侠客行MUD,中国最好的MUD
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
 楼主| 发表于 2013-4-7 17:37:47 | 显示全部楼层
plugins / Materia_Magica_Mapper.xml

  1.   
  2.   
  3.   
  4.   
  5.   
  6.   
  7.   
  8.   
  9. ]>


  10.    name="Materia_Magica_Mapper"
  11.    author="Nick Gammon"
  12.    id="1c17ac2c83b2b66c402c80c6"
  13.    language="Lua"
  14.    purpose="Mapper for Materia Magica"
  15.    save_state="y"
  16.    date_written="2010-10-12"
  17.    date_modified="2010-10-18 07:05"
  18.    requires="4.61"
  19.    version="1.5"
  20.    >

  21.    
  22. AUTOMATIC MAPPER ...  by Nick Gammon

  23. The window can be dragged to a new location by dragging the room name.

  24. Your current room is always in the center with a bolder border.

  25. LH-click on a room to speed-walk to it. RH-click on a room for options.

  26. LH-click on the "*" button on the bottom-left corner to configure it.

  27. ** WHY DOES THE MAP CHANGE? **

  28. The mapper draws from your room outwards - that is, it draws your room's exits
  29. first, then the rooms leading from those rooms, and so on.

  30. Eventually it finds an overlap, and draws a short "stub" line to indicate there
  31. is a room there which there isn't space to draw. If you get closer to that
  32. room the stub will disappear and the room(s) in question will be drawn.

  33. ACTIONS

  34. mapper help         --> this help  (or click the "?" button on the bottom right)
  35. mapper zoom out     --> zoom out
  36. mapper zoom in      --> zoom in
  37. mapper hide         --> hide map
  38. mapper show         --> show map

  39. FINDING THINGS

  40. mapper bookmarks    --> show nearby rooms that you bookmarked
  41. mapper find   --> full-text search  (eg. shop OR baker)
  42. mapper shop         --> show nearby shops/banks etc.
  43. mapper train        --> show nearby trainers
  44. mapper where --> show directions to a room

  45. MOVING  

  46. mapper goto   --> walk to a room by its room number (partial)
  47. mapper stop         --> cancel any current speedwalk
  48. mapper resume       --> resume last speedwalk or hyperlinked speedwalk

  49. ]]>










  50.    back_colour="8"
  51.    bold="y"
  52.    enabled="y"
  53.    match="[Shop] *"
  54.    match_back_colour="y"
  55.    match_bold="y"
  56.    match_inverse="y"
  57.    match_italic="y"
  58.    match_text_colour="y"
  59.    name="Shop_Line"
  60.    script="Shop_Line"
  61.    sequence="200"
  62.    text_colour="11"
  63.    
  64.   >
  65.   
  66.   
  67.    back_colour="8"
  68.    bold="y"
  69.    enabled="y"
  70.    match="[Train] *"
  71.    match_back_colour="y"
  72.    match_bold="y"
  73.    match_inverse="y"
  74.    match_italic="y"
  75.    match_text_colour="y"
  76.    name="Train_Line"
  77.    script="Train_Line"
  78.    sequence="200"
  79.    text_colour="11"
  80.    
  81.   >
  82.   
  83.    
  84.   
  85.    back_colour="8"
  86.    bold="y"
  87.    enabled="y"
  88.    match="*"
  89.    match_back_colour="y"
  90.    match_bold="y"
  91.    match_inverse="y"
  92.    match_italic="y"
  93.    match_text_colour="y"
  94.    name="Name_Line"
  95.    script="Name_Line"
  96.    sequence="100"
  97.    text_colour="11"
  98.    keep_evaluating="y"
  99.    
  100.   >
  101.   
  102.   
  103.    back_colour="8"
  104.    bold="y"
  105.    enabled="n"
  106.    match="(-------------------------------------------------)*"
  107.    match_back_colour="y"
  108.    match_bold="y"
  109.    match_inverse="y"
  110.    match_italic="y"
  111.    match_text_colour="y"
  112.    name="Hyphen_Line"
  113.    script="Hyphen_Line"
  114.    sequence="100"
  115.    text_colour="12"
  116.    
  117.   >
  118.   
  119.    
  120.    
  121.   
  122.    back_colour="8"
  123.    enabled="n"
  124.    match="*"
  125.    match_back_colour="y"
  126.    match_bold="y"
  127.    match_inverse="y"
  128.    match_italic="y"
  129.    match_text_colour="y"
  130.    name="Map_Line"
  131.    script="Map_Line"
  132.    sequence="100"
  133.    text_colour="15"
  134.   >
  135.     

  136.   
  137.    enabled="n"
  138.    match="*"
  139.    name="Other_Line"
  140.    script="Other_Line"
  141.    sequence="110"
  142.    keep_evaluating="y"
  143.   >
  144.   
  145.    
  146.   
  147.    enabled="n"
  148.    match="  Visible Exits: *"
  149.    name="Exits_Line"
  150.    script="Exits_Line"
  151.    sequence="100"
  152.   >
  153.   
  154.   
  155.       
  156.   
  157.    enabled="y"
  158.    match="^The (door|gate) is closed\.$"
  159.    regexp="y"
  160.    name="Door_Closed"
  161.    script="Door_Closed"
  162.    sequence="100"
  163.   >
  164.   
  165.   

  166.   
  167.   
  168.    enabled="y"
  169.    match="You are too exhausted. Better rest for a bit."
  170.    regexp="y"
  171.    script="mapper.cancel_speedwalk"
  172.    sequence="100"
  173.   >
  174.   
  175.    





  176.   

  177.    match="mapper zoom out"
  178.    enabled="y"
  179.    sequence="100"
  180.    omit_from_command_history="y"
  181.    omit_from_output="y"
  182.    script="mapper.zoom_out"
  183.   >
  184.   
  185.   
  186.    match="mapper zoom in"
  187.    enabled="y"
  188.    sequence="100"
  189.    omit_from_command_history="y"
  190.    omit_from_output="y"
  191.    script="mapper.zoom_in"
  192.   >
  193.     
  194.    
  195.    
  196.    match="mapper goto *"
  197.    enabled="y"
  198.    sequence="100"
  199.    script="map_goto"
  200.   >
  201.   
  202.     
  203.    
  204.   

  205.   
  206.    match="^mapper find ([\w* %d/"]+)$"
  207.    enabled="y"
  208.    sequence="100"
  209.    script="map_find"
  210.    regexp="y"
  211.   >
  212.   
  213.     
  214.   
  215.   
  216.    match="^mapper book\w*$"
  217.    regexp="y"
  218.    enabled="y"
  219.    sequence="100"
  220.    script="map_bookmarks"
  221.   >
  222.   
  223.     
  224.   
  225.    match="mapper where *"
  226.    enabled="y"
  227.    sequence="100"
  228.    script="map_where"
  229.   >
  230.   
  231.     
  232.    
  233.    match="^mapper shops?$"
  234.    regexp="y"
  235.    enabled="y"
  236.    sequence="100"
  237.    script="map_shops"
  238.   >
  239.   
  240.     

  241.    match="^mapper train\w*$"
  242.    regexp="y"
  243.    enabled="y"
  244.    sequence="100"
  245.    script="map_trainers"
  246.   >
  247.   
  248.     
  249.   
  250.    match="mapper resume"
  251.    enabled="y"
  252.    sequence="100"
  253.    script="map_resume"
  254.   >
  255.   
  256.     
  257.    
  258.   
  259.    script="OnHelp"
  260.    match="mapper help"
  261.    enabled="y"
  262.   >
  263.   
  264.    
  265.   
  266.   
  267.    match="mapper stop"
  268.    enabled="y"
  269.    sequence="100"
  270.    script="mapper.cancel_speedwalk"
  271.   >
  272.     

  273.   
  274.       
  275.   
  276.    match="mapper hide"
  277.    enabled="y"
  278.    sequence="100"
  279.    script="mapper.hide"
  280.   >
  281.     
  282.   
  283.    
  284.    match="mapper show"
  285.    enabled="y"
  286.    sequence="100"
  287.    script="mapper.show"
  288.   >
  289.     
  290.   








复制代码
我是完全看不懂啊
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
发表于 2013-4-7 17:44:04 | 显示全部楼层
这个不适用于北侠
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
 楼主| 发表于 2013-4-8 15:40:26 | 显示全部楼层
回复 3# nsonline


    修改一下呢?能否就适应呢?
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
发表于 2013-4-8 17:39:04 | 显示全部楼层
回复 4# jizong


    改肯定可以啊,不过改动会灰常大
北大侠客行Mud(pkuxkx.com),最好的中文Mud游戏!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|北大侠客行MUD ( 京ICP备16065414号-1 )

GMT+8, 2024-11-28 05:10 PM , Processed in 0.011543 second(s), 14 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表