添加新的传送.doc_第1页
添加新的传送.doc_第2页
添加新的传送.doc_第3页
添加新的传送.doc_第4页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

增加地图的转门地点Step 1: Changing the map cursor to a warp cursor修改一个转门光标本指南及以下内容,我们将创建一个正常的撒哈拉1(图36)在以下XY是转门点:249, 16249, 17249, 18249, 19249, 20249, 21首先,我们必须了解一些基本的地图文件十六进制码 ,首先打开Map00036.rmm,位于我们的DATAsmap文件夹.我们只需要看看现在的顶端部分(见下文)当你理解了这一点后,就可以开始发现XY值,以及改变地图文件的传送指针指和传送到另一个地图。要找到我们的XY值要使用下列计算(所有的值计算要用十六进制做一些转换):要转换为十六进制值,需打开计算器的科学型, 输入数值后点击十六进制单选按钮.首先是249 的计算(Max X*8*Y) + (X*8) + Start of XYsMax X= 最大值X为一个特定的地图. 在这种情况下,250转化为十六进制FAY = 我们正在寻找的Y值. 16 转化为十六进制 10 X= 我们正在寻找的X值. 249 转化为十六进制 F9 Start of XYs= 请记住我们前面谈到的29. 那是这个值. 已经是一个十六进制值.8代表8个字节的数据, 每个XY包含8个字节.所以我们计算为249, 16 计算如下.(FA*8*10) + (F9*8) + 29 = 84F1So now we must locate the 84F1 addressThe number highlighted above is the start of our XY coordinate. If you see on the left it says 84F1 preceded by zeros. This is the value we just calculated. Normally it would read 84F0 but because we are in the 01 column it reads 84F1.The 8 bytes after this value are what we will be editing. 00 a0 8d 14 20 00 60The value in red above would normally read 00 as I have already edited my map to display a warp point. So we need to change this fifth value from 00 to 20 in order to display a warp point. The next XY is 249, 17 and the calculation is as follows.(FA*8*11) + (F9*8) +29 = 8CC1. Follow the steps above and change the fifth value again to 20 in order to display the warp point. Complete this for the rest of the XYsThat is it for this step.Step 2: Adding the warp point to the server filesThis step gets slightly more complicated.We need to take a look at 2 files for this step. We need to open Map00036.smm located in our serverbinDataMap folder as well as Event00036.rse located in serverbinDataEvent.We are going to look at the Event file first. If we scroll down we will see the numbers 25, 26, 27, 28. These 4 numbers are the warp to Sahara Dungeon 1. We need to add a new line for our new warp point. The next line will be labeled 29. This 29 will come into play when we edit the map file. The line will look like this:29 1 21 110 110 1It is the 29th warp for the map, the “1” represents what type of command, the 21 is the map we are moving to, the 110 110 is the XY we end up on, the 1 at the end stays there.We need to somehow tell the map to refer to this new line we have created in the event file. In order to do this we have to use the following sequence:1=00000f 00 00 00 00402=0000 0f 00 00 00 00803=0000 0f 00 00 00 00c04=0100 0f 00 00 00 00005=0100 0f 00 00 00 0040The 1 refers to the event file index number. As you can see there is a pattern. The next few sequences are as follows:6=01000f 00 00 00 00807=0100 0f 00 00 00 00c08=0200 0f 00 00 00 00009=0200 0f 00 00 00 004010=0200 0f 00 00 00 008011=0200 0f 00 00 00 00c0So if we continue this pattern up to 29 we will end up with 07 00 00 0f 00 00 00 40The blue numbers above represent the bytes we are going to edit. We only need to change the first and last bytes at the XY coordinate. If you change more the map will errorNow we move onto the map file. This map file looks a little different than the client side one. The XYs on this file start at 2C instead of 29. That is because on this file they start right after the map number (24 00 00 00). So that means our calculation is a little different:(FA*8*10) + (F9*8) + 2C = 84F4We now need to go to the 84F4 address.The highlighted byte above is the 84F4 address. As you can see mine says 07 00 00 0f 00 00 00 40Yours however will read 00 00 00 0f 00 00 00 00I have already edited mine. So we figured out earlier that the 29th event will use 07 00 00 0f 00 00 00 40. So now we just plug in the first and last byte. In the screenshot above you can see that I have already done this.So tha

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论