佳丽云

英雄无敌3-WoG中文站

 找回密码
 英雄注册|Register
查看: 13617|回复: 38

Simple Way to Add New Towns Under Era 2.3 (Dragon Peaks example)

 关闭 [复制链接]

 成长值: 27430

  • TA的每日心情
    无聊
    2020-5-27 00:09
  • 签到天数: 24 天

    连续签到: 2 天

    [LV.4]狂狼人

    5771

    回帖

    2696万

    金币

    42

    精华

    管理员

    精灵奇侠

    Rank: 12Rank: 12Rank: 12

    积分
    9244770

    社区QQ达人论坛创始人杰出贡献论坛元老

    发表于 2012-7-5 18:14:47 | 显示全部楼层 |阅读模式
    E文不好的童鞋,请点击下面的链接查看翻译:http://www.wogcn.net/viewthread.php?tid=37254&page=2&fromuid=97#pid392576
    感谢 renlinfeng 童鞋的给力翻译!
    ==================================================================================================================
    Original Posted @ HC  by JimVhttp://heroescommunity.com/viewthread.php3?TID=37767

    This post will describe a simple mod which adds a new Town without eliminating an existing Town. The main reason I am posting it is as a template (or just an idea) for others to consider when adding new Towns.

    Download Link:  https://www.box.com/s/a8a7accc0b5436638aa5

    This mod adds a new town, "Dragon Peak", via wogification under Era 2.3.  The town is slightly similar to a Heroes II Dragon City, in that you have to fight dragons to win it, and it produces dragons weekly and 1000 gold daily. It contains Fairie, Rust, Crystal, and Azure Dragons.

    INSTALL:   For this map you have to install the Heroes 3 "Era 2.3" addon, which you can download from http://heroescommunity.com/viewthread.php3?TID=37208 - see the installation instructions there. Note:  this mod will not work under Era versions prior to 2.3.

    After installing Era 2, extract the zip file directly into your Heroes 3 - Era 2/Mods folder.  The result should have this structure:
    (Heroes 3 Era 2 Folder - where you installed Era 2 over Heroes 3 SoD or Heroes 3 Complete)
        ... (subfolders to Heroes 3)
        Mods (a subfolder to Heroes 3)
            DragonPeaks (subfolder to Mods)
                Data (subfolder to DragonPeaks)
                Maps (subfolder to DragonPeaks)
            ... (other Mods subfolders: Yona, WoG, etc.)
        ... (other Heroes 3 subfolders and files)

    The DragonPeak mod can be used to add a new feature (new Town) to random maps.  It can also be used in custom maps, by either wogifying them with the DragonPeaks mod enabled, or with the DragonPeaks.erm script (DragonPeaks/Data/s) placed in a Timed Event using the Map Editor.  Custom DragonPeak cities can be added in the Map Editor by adding Rampart Towns whose names begin with "Dragon Peak", e.g. "Dragon Peak NW".  Randomly added DP Towns will be named "Dragon Peak 1", "Dragon Peak 2", etc., so do not name a custom DP town with a number which will match one of these.  That is, if you intend to add 8 randomly-placed DP Towns (using the script menues at the start of a game), number your custom DP Towns as "Dragon Peak 9" or higher (or do not use numbers in the name).

    At the start of a game, DragonPeak.erm will attempt to add DP Towns to the map. Due to the large footprint of a Town, most random maps will not have enough clear space in which to add DP Towns.  The script will ask if you wish to remove 1/3 of the map's resource piles, in hopes of clearing spaces for random placment.  If the script cannot find space for a random placement (after about 200 random tries), it will then ask if you want to convert a neutral Town to a DP.

    Mod Method:

    I used DefPreview, H3DeftOOL, and MMARCHIVE (thanks to Grayface) to manipulate DEF and PCX files.  I used GIMP to modify graphics. Bersy's new "RedirectFile" option, as well as other Era options, were crucial to the development.

    The plan was to make a new Town type out of Rampart Towns, without eliminating the original Rampart Towns, by changing Town properties and graphics each time a Rampart Town named "Dragon Peak xx" is entered.

    Towns whose names begin with "Dragon Peak" are changed to the new type, and other Rampart Towns are left unchanged.

    Mod Details:

    A Town can be entered by three methods (usually):

    1) A Hero visits the Town (!?OB trigger).

    2) The player clicks on a Town in the Town List on the right side of the Adventure Screen (!?CM5 trigger).

    3) The player clicks on a Town in the Town List in the Town Screen (!?CM1 trigger).

    All of these events can be detected with ERM triggers and used to implement Town changes.  

    However, there is one limitation, under event 3):  it seems the Heroes 3 program does not reload Town graphics (DEF's and background PCX) when transferring from one Ramparts Town Screen to another.  So transferring from a Dragon Peaks Town to an ordinary Rampart Town via the Town Screen Town List leaves the modified DP graphics in place, and vice-versa.  

    Therefore the script checks for this type of transfer and prevents it.  (You can transfer from a Dragon Peak Town to a standard Rampart (e.g., "Rainhaven") by transferring from the DP to another Town type (e.g., Castle), and then transferring from the Castle to Rainhaven.)

    A Dragon Peaks Town is a simple town, with only four Creature Dwellings and an unmodifiable Town Hall.  The following scriplet shows how their new graphics are implemented:

    !?FU6150&-413; set DP Town Cr's
    !!UN:T1/2/0/134; [level 2 no upg - Faerie Dragon3]
    !!UN:T1/3/0/135; [level 3 no upg - Rust Dragons]
    !!UN:T1/4/0/133; [level 4 no upg - Crystal Dragons]
    !!UN:T1/6/0/132; [level 6 no upg - Azure Dragons]
    * change "TB" and "TO" to "JV"
    !!SN:L^Era.dll^/?y1; y1=handle
    !!SN:Ay1/^RedirectFile^/?y2; y2=FU address
    !!SN:Ey2/1/^TBRMDW_2.def^/^JVRMDW_2.def^;
    !!SN:Ey2/1/^TBRMDW_3.def^/^JVRMDW_3.def^;
    !!SN:Ey2/1/^TBRMDW_4.def^/^JVRMDW_4.def^;
    !!SN:Ey2/1/^TBRMDW_6.def^/^JVRMDW_6.def^;
    !!SN:Ey2/1/^TBRMEXT2.def^/^JVRMEXT2.def^;
    !!SN:Ey2/1/^TBRMEXT3.def^/^JVRMEXT3.def^;
    !!SN:Ey2/1/^TBRMHAL2.def^/^JVRMHAL2.def^;
    !!SN:Ey2/1/^TORDR1AA.PCX^/^JVRDR1AA.PCX^;
    !!SN:Ey2/1/^TORELF1.PCX^/^JVRELF1.PCX^;
    !!SN:Ey2/1/^TORHAL2.PCX^/^JVRHAL2.PCX^;
    !!SN:Ey2/1/^TORPEG1A.PCX^/^JVRPEG1A.PCX^;
    !!SN:Ey2/1/^TORTRE1.PCX^/^JVRTRE1.PCX^;
    !!SN:Ey2/1/^tbrmback.pcx^/^JVrmback.pcx^;
    !!IF:V413/1; prevent redirected redirects

    !?FU6151&413; restore Rampart Town Cr's
    !!UN:T1/2/0/18;
    !!UN:T1/3/0/20;
    !!UN:T1/4/0/22;
    !!UN:T1/6/0/26;
    * undo all redirects
    !!SN:L^Era.dll^/?y1; y1=handle
    !!SN:Ay1/^RedirectFile^/?y2; y2=FU address
    !!SN:Ey2/1/^^/^^;
    !!IF:V413/0; unflag redirects

    The "JV" graphic items are stored in h3sprite.pac in DragonPeaks/Data.

    When a Hero visits a Town, this scriplet makes the necessary changes:

    !?OB98/1; Hero enters Rampart Town
    !!CA998:N?z3; get Town Name
    !!VRz2:M1/z3/0/11; get substring "Dragon Peak" if Town is a DP
    !!FU6150&z2=z709/-413:P;
    !!FU6151&z2<>z709/413:P;

    (Similar scriplets are used for the other two entry methods.)

    That is the basic method. See other tutorials (here and elsewhere) to learn how to use the Grayface tools, GIMP, ERM, and Era.

    Dragonpeaks.erm uses these (unclaimed, as far as I know) items:  z709, FU6150-6160, flags 411 & 413 (v1-v10, z1-z10 temporarily).

    Screenshots:

    The new Town Screen:



    The day-one menu:



    The resource-pile option:



    The option to convert neutral towns if random placement is limited by the lack of clear space:



    A randomly-placed Dragon Peak:



    A converted neutral Town (on a random map):



    The download package contains a custom map and a random map which can be used to test the mod.  The custom map ("Hint Test") is just a test vehicle, not a playable map.
  • TA的每日心情
    慵懒
    2019-8-17 09:46
  • 签到天数: 1158 天

    连续签到: 2 天

    [LV.10]圣龙

    2万

    回帖

    91万

    金币

    7

    精华

    论坛嘉宾

    守望论坛的稻草人

    Rank: 9Rank: 9Rank: 9

    积分
    87632

    社区QQ达人论坛守望者金牌裁判杰出贡献魅力之星TE联赛冠军

    发表于 2012-7-5 18:20:53 | 显示全部楼层
    翻译官快快现身,
  • TA的每日心情
    慵懒
    2019-8-17 09:46
  • 签到天数: 1158 天

    连续签到: 2 天

    [LV.10]圣龙

    2万

    回帖

    91万

    金币

    7

    精华

    论坛嘉宾

    守望论坛的稻草人

    Rank: 9Rank: 9Rank: 9

    积分
    87632

    社区QQ达人论坛守望者金牌裁判杰出贡献魅力之星TE联赛冠军

    发表于 2012-7-5 18:21:36 | 显示全部楼层
    第一个图是什么意思?四大龙都悬空了?
  • TA的每日心情
    慵懒
    2019-8-17 09:46
  • 签到天数: 1158 天

    连续签到: 2 天

    [LV.10]圣龙

    2万

    回帖

    91万

    金币

    7

    精华

    论坛嘉宾

    守望论坛的稻草人

    Rank: 9Rank: 9Rank: 9

    积分
    87632

    社区QQ达人论坛守望者金牌裁判杰出贡献魅力之星TE联赛冠军

    发表于 2012-7-5 18:22:45 | 显示全部楼层
    就看懂一个下载地址,不知道是干嘛地?

     成长值: 27430

  • TA的每日心情
    无聊
    2020-5-27 00:09
  • 签到天数: 24 天

    连续签到: 2 天

    [LV.4]狂狼人

    5771

    回帖

    2696万

    金币

    42

    精华

    管理员

    精灵奇侠

    Rank: 12Rank: 12Rank: 12

    积分
    9244770

    社区QQ达人论坛创始人杰出贡献论坛元老

     楼主| 发表于 2012-7-5 18:24:01 | 显示全部楼层
    该主题的大意是:在ERA2.3平台下,可以通过添加一些资源来追加新的种族、城镇,这个Dragon Peak就是一个样板。它是一个类似要塞的新型“城镇”,可以通过占领它来招募野外的四种龙,同时每天提供1000大洋的收入。是不是很棒?
  • TA的每日心情
    慵懒
    2019-8-17 09:46
  • 签到天数: 1158 天

    连续签到: 2 天

    [LV.10]圣龙

    2万

    回帖

    91万

    金币

    7

    精华

    论坛嘉宾

    守望论坛的稻草人

    Rank: 9Rank: 9Rank: 9

    积分
    87632

    社区QQ达人论坛守望者金牌裁判杰出贡献魅力之星TE联赛冠军

    发表于 2012-7-5 18:25:25 | 显示全部楼层
    追加新的种族?不需要MOD支持吗?还是说是一种玩法?等下叫翻译官来看看。

    该用户从未签到

    151

    回帖

    1万

    金币

    2

    精华

    论坛嘉宾

    Rank: 9Rank: 9Rank: 9

    积分
    2633

    退役版主杰出贡献

    发表于 2012-7-5 18:26:05 | 显示全部楼层
    一个使用添加 城镇的
    era2.3新特性
    话说这个需要erm和 mod这2个方面技术 呵呵

    虽然快一步 比云大 看过了....

     成长值: 27430

  • TA的每日心情
    无聊
    2020-5-27 00:09
  • 签到天数: 24 天

    连续签到: 2 天

    [LV.4]狂狼人

    5771

    回帖

    2696万

    金币

    42

    精华

    管理员

    精灵奇侠

    Rank: 12Rank: 12Rank: 12

    积分
    9244770

    社区QQ达人论坛创始人杰出贡献论坛元老

     楼主| 发表于 2012-7-5 18:29:34 | 显示全部楼层
    当然需要!作者给我们通过样板,提供了一个新的追加方式。新的生物模型,在ERA下,也应该是可以添加成功的,只能说ERA太强大,赋予了WoG全新的生命力。
  • TA的每日心情
    慵懒
    2015-8-1 09:10
  • 签到天数: 56 天

    连续签到: 1 天

    [LV.5]女巫

    2431

    回帖

    37万

    金币

    3

    精华

    7级 Admirable Legendary Hero

    Rank: 7Rank: 7Rank: 7

    积分
    17050

    杰出贡献魅力之星

    发表于 2012-7-5 18:35:12 | 显示全部楼层
    呵呵,KS比我懂多了。简单的说ERA就是为了WOG提供了无限的创造性和可能性,一切都可以靠外置MOD来解决,但又不是传统意义上的替换
  • TA的每日心情
    擦汗
    前天 19:33
  • 签到天数: 2426 天

    连续签到: 1 天

    [LV.Master]伴坛终老

    1万

    回帖

    40万

    金币

    0

    精华

    白银会员

    Rank: 5Rank: 5

    积分
    93832

    魅力之星

    QQ
    发表于 2012-7-5 18:38:45 | 显示全部楼层
    哈哈,那不是我们这边的MOD,和ERM大师们的空间更广阔了,以前不能做或者很难做的事情都应该变得更可能更容易了吧
    (话说ERM那边转型可能有点痛苦)

    该会员没有填写今日想说内容.
  • TA的每日心情
    慵懒
    2019-8-17 09:46
  • 签到天数: 1158 天

    连续签到: 2 天

    [LV.10]圣龙

    2万

    回帖

    91万

    金币

    7

    精华

    论坛嘉宾

    守望论坛的稻草人

    Rank: 9Rank: 9Rank: 9

    积分
    87632

    社区QQ达人论坛守望者金牌裁判杰出贡献魅力之星TE联赛冠军

    发表于 2012-7-5 18:39:37 | 显示全部楼层

    回复 9# 的帖子

    你大概翻译一下啊,就不要劳烦我出动谷歌了。那个下载的是什么?

    评分

    1

    查看全部评分

  • TA的每日心情
    慵懒
    2015-8-1 09:10
  • 签到天数: 56 天

    连续签到: 1 天

    [LV.5]女巫

    2431

    回帖

    37万

    金币

    3

    精华

    7级 Admirable Legendary Hero

    Rank: 7Rank: 7Rank: 7

    积分
    17050

    杰出贡献魅力之星

    发表于 2012-7-5 18:45:47 | 显示全部楼层

    回复 11# 的帖子

    下载地址就是Jim Vogen做的MOD样本啊,下面就介绍这个MOD了,给大家参考下的。实在需要等等吃完饭翻译下
  • TA的每日心情
    慵懒
    2019-8-17 09:46
  • 签到天数: 1158 天

    连续签到: 2 天

    [LV.10]圣龙

    2万

    回帖

    91万

    金币

    7

    精华

    论坛嘉宾

    守望论坛的稻草人

    Rank: 9Rank: 9Rank: 9

    积分
    87632

    社区QQ达人论坛守望者金牌裁判杰出贡献魅力之星TE联赛冠军

    发表于 2012-7-5 19:12:24 | 显示全部楼层
    搞了半个多小时,终于把这两个帖子转到了游家,贴吧也转了一个
  • TA的每日心情

    2020-12-30 13:06
  • 签到天数: 3 天

    连续签到: 1 天

    [LV.2]野猪

    144

    回帖

    1万

    金币

    0

    精华

    2级 Adventuring Hero

    Rank: 2

    积分
    256
    发表于 2012-7-5 20:21:59 | 显示全部楼层
    下一个轰动的MOD会是什么呢?老外有没有正在进行的大作?
    别人帮你解答问题了,你也一定要帮其他人解答问题哦。
  • TA的每日心情
    擦汗
    2017-12-6 21:47
  • 签到天数: 4 天

    连续签到: 1 天

    [LV.2]野猪

    160

    回帖

    6872

    金币

    0

    精华

    4级 Famous Hero

    Rank: 4

    积分
    1040
    发表于 2012-7-5 20:46:45 | 显示全部楼层
    这分辨亮瞎偶滴双眼
    强烈期待不用补丁就能享受到的高清
  • TA的每日心情
    慵懒
    2015-8-1 09:10
  • 签到天数: 56 天

    连续签到: 1 天

    [LV.5]女巫

    2431

    回帖

    37万

    金币

    3

    精华

    7级 Admirable Legendary Hero

    Rank: 7Rank: 7Rank: 7

    积分
    17050

    杰出贡献魅力之星

    发表于 2012-7-5 23:19:30 | 显示全部楼层
    眼睛眯了会儿就睡到10点,还是明天搞定吧
  • TA的每日心情

    2016-11-6 01:55
  • 签到天数: 548 天

    连续签到: 2 天

    [LV.9]龙巫妖

    1万

    回帖

    363万

    金币

    1

    精华

    论坛嘉宾

    狼行天下

    Rank: 9Rank: 9Rank: 9

    积分
    100624

    退役版主论坛守望者魅力之星

    发表于 2012-7-5 23:56:34 | 显示全部楼层

    WOG的又一个春天来临了

    这个超给力啊,可以预见WOG的又一个春天要来了
    1、英雄无敌3追随神迹下载整合,总有一款适合你!
    2、WOG地图下载汇总,一网打尽!!
    3、三宝书等卷轴下载,新手必看!!老手必藏!!
    4、广大会员们有福了!论坛之星大红包!!
    5、WOG大陆英雄酒馆火爆营业中!!
    6、没有WOG币?来领红包!
    7、最火爆的WOG讨论群QQ36152349和超级群75673563,期待你的加入
    8、WOG中文站微博 http://t.sina.com.cn/wogcn
    9、登录后点击导航栏左侧的“查看新帖”非常方便
  • TA的每日心情
    郁闷
    2015-6-6 16:12
  • 签到天数: 52 天

    连续签到: 1 天

    [LV.5]女巫

    4948

    回帖

    3万

    金币

    35

    精华

    超级版主

    Rank: 11Rank: 11Rank: 11Rank: 11

    积分
    34639

    论坛守望者论坛元老杰出贡献

    发表于 2012-7-6 08:18:00 | 显示全部楼层
    看来这个  !!SN 语句不是一般的强大。
    很多额外的命令都是通过SN来缔造的。
  • TA的每日心情
    慵懒
    2019-8-17 09:46
  • 签到天数: 1158 天

    连续签到: 2 天

    [LV.10]圣龙

    2万

    回帖

    91万

    金币

    7

    精华

    论坛嘉宾

    守望论坛的稻草人

    Rank: 9Rank: 9Rank: 9

    积分
    87632

    社区QQ达人论坛守望者金牌裁判杰出贡献魅力之星TE联赛冠军

    发表于 2012-7-6 10:02:35 | 显示全部楼层
    原帖由 hanter007 于 2012-7-6 08:18 发表
    看来这个  !!SN 语句不是一般的强大。
    很多额外的命令都是通过SN来缔造的。
    这就叫内行看门道,我们就看热闹
  • TA的每日心情
    慵懒
    2015-8-1 09:10
  • 签到天数: 56 天

    连续签到: 1 天

    [LV.5]女巫

    2431

    回帖

    37万

    金币

    3

    精华

    7级 Admirable Legendary Hero

    Rank: 7Rank: 7Rank: 7

    积分
    17050

    杰出贡献魅力之星

    发表于 2012-7-6 10:29:55 | 显示全部楼层
    简单的方法在ERA 2.3中添加新的城镇(以下为龙崖的样板)
    原帖出自HC论坛的JimV(http://heroescommunity.com/viewthread.php3?TID=37767

    这个帖子将会描述如何在不抹除其他已存在的城镇的情况下添加一个简单的新城镇MOD。我发这个帖子的主要意图就是能够为了在添加新城镇这块上给大家抛砖引玉。

    龙崖MOD样板下载地址:https://www.box.com/s/a8a7accc0b5436638aa5

    这个MOD包括了一个新的城镇,“龙崖岭”,通过ERA 2.3实现WOG化。这个城镇有点像英雄无敌2中的龙城,之中你必须先与龙群战斗取胜,然后它在每周都会生产龙族单位以及每日给你带来1000的黄金。其中包含了紫龙,毒龙,水晶龙和圣龙。

    安装方法:首先你必须安装ERA 2.3,你可以在http://heroescommunity.com/viewthread.php3?TID=3720这个地址下载,然后阅读相关的介绍。注意:这个MOD必须在ERA 2.3的版本下使用。

    安装了ERA之后,直接解压压缩包内的文件到H3的目录-ERA 2/Mods folder文件夹下。然后应该是以下的情况:
    (Heroes 3 Era 2文件夹 - 安装ERA 2之后生成的文件夹)
    。。。Mods (子文件夹)
             DragonPeaks (Mods文件夹的子文件夹)
               Data (Dragonpeaks的子文件夹)
               Maps (Dragonpeaks的子文件夹)
    。。。。(其他MOD文件夹的子文件夹: Yona, WoG, 等等。)
    。。。。(其他英雄无敌3的子文件夹和文件等等)


    龙崖岭MOD可以在随机地图中添加一个新的元素(即新城镇)。当然同样可以用在玩家定制的地图上,可以在龙崖岭mod正常可用的状态下(使用mods manager)wog化地图来实现,或者使用地图编辑器将DragonPeaks.erm脚本(DragonPeaks/data/s文件夹下)放置到地图事件中来实现。玩家可用通过地图编辑器来添加龙崖岭城镇,方法是使用原来的壁垒城添加,不过此刻名字会是“Dragon Peak”,比如说,“Dragon Peak NW”。随机添加龙崖岭城镇则会被命名为“Dragon Peak 1”,“Dragon Peak 2”,等等。所以不要将自己添加的龙崖岭城镇命名为那些数字。事实是,如果你打算添加8个随机放置的龙崖岭城镇(通过使用游戏开始前的菜单选择),那么你自己添加的龙崖岭城镇的名字就会变成“Dragon Peak 9”亦或是更高(要么就不要用数字命名)。

    在游戏开始之前,DragonPeak.erm会尝试在地图中添加龙崖岭城镇。由于一座城镇所占的体积过于巨大,大多数随机地图都没有足够的空余空间来添加龙崖岭。脚本会询问你是否同意删除三分之一的地图资源及建筑,以此来肃清空间添加城镇。如果脚本无法找到合适的空间来添加一处随机的城镇(大概在200次随机尝试之后),那么它会询问你是否想要将一个中立的城镇转换为龙崖岭。

    MOD制作方法:

    我使用了DefPreview, H3DeftOOL和MMARCHIVE来处理DEF和PCX文件。使用GIMP来修改图像。Bersy所写的新的“重置文件”选项,以及其他的ERA选项,对WOG起到了至关重要的发展作用。

    计划是在壁垒城下制作一种新的城镇类型,而并不抹除原始的壁垒城,通过改变城镇的属性和图像在每一次壁垒城被输入命名为“Dragon Peak XX”时。

    于是那些初始名为“Dragon Peak”的城镇变换为了新的类型,而其他的壁垒城依旧保持不变。

    MOD细节:

    城镇有三种方法进入(通常情况下):

    1) 英雄访问(!?OB trigger).

    2) 玩家在右侧的冒险界面城镇菜单中点击选择 (!?CM5 trigger).

    3) 玩家在城镇界面的城镇菜单中点击选择(!?CM1 trigger).

    所有的这些事件都能被ERM触发器接受来执行城镇的变化。

    不过,这之中有一个限制:看起来英雄无敌3的程序并不能重新加载城镇的图像(DEF文件和PCX背景)当从一个壁垒城的界面转换到另一个的时候。所以当一个龙崖岭城镇通过城镇界面的菜单转换到原始的壁垒城时会留下修改过的龙崖岭的图像,反之亦然。

    因此脚本会检查这种转换方式并且防止其发生。(如果你想从龙崖岭转换到普通的壁垒城可以先从龙崖岭转换到别的城镇,比如说城堡,然后再由城堡转换到壁垒城。

    龙崖岭城镇是一个简易的城镇,只有4种生物巢穴和一个不变的市政厅。以下的脚本显示这些i型内的图像是如何执行的:

    !?FU6150&-413; set DP Town Cr's
    !!UN:T1/2/0/134; [level 2 no upg - Faerie Dragon3]
    !!UN:T1/3/0/135; [level 3 no upg - Rust Dragons]
    !!UN:T1/4/0/133; [level 4 no upg - Crystal Dragons]
    !!UN:T1/6/0/132; [level 6 no upg - Azure Dragons]
    * change "TB" and "TO" to "JV"
    !!SN:L^Era.dll^/?y1; y1=handle
    !!SN:Ay1/^RedirectFile^/?y2; y2=FU address
    !!SN:Ey2/1/^TBRMDW_2.def^/^JVRMDW_2.def^;
    !!SN:Ey2/1/^TBRMDW_3.def^/^JVRMDW_3.def^;
    !!SN:Ey2/1/^TBRMDW_4.def^/^JVRMDW_4.def^;
    !!SN:Ey2/1/^TBRMDW_6.def^/^JVRMDW_6.def^;
    !!SN:Ey2/1/^TBRMEXT2.def^/^JVRMEXT2.def^;
    !!SN:Ey2/1/^TBRMEXT3.def^/^JVRMEXT3.def^;
    !!SN:Ey2/1/^TBRMHAL2.def^/^JVRMHAL2.def^;
    !!SN:Ey2/1/^TORDR1AA.PCX^/^JVRDR1AA.PCX^;
    !!SN:Ey2/1/^TORELF1.PCX^/^JVRELF1.PCX^;
    !!SN:Ey2/1/^TORHAL2.PCX^/^JVRHAL2.PCX^;
    !!SN:Ey2/1/^TORPEG1A.PCX^/^JVRPEG1A.PCX^;
    !!SN:Ey2/1/^TORTRE1.PCX^/^JVRTRE1.PCX^;
    !!SN:Ey2/1/^tbrmback.pcx^/^JVrmback.pcx^;
    !!IF:V413/1; prevent redirected redirects

    !?FU6151&413; restore Rampart Town Cr's
    !!UN:T1/2/0/18;
    !!UN:T1/3/0/20;
    !!UN:T1/4/0/22;
    !!UN:T1/6/0/26;
    * undo all redirects
    !!SN:L^Era.dll^/?y1; y1=handle
    !!SN:Ay1/^RedirectFile^/?y2; y2=FU address
    !!SN:Ey2/1/^^/^^;
    !!IF:V413/0; unflag redirects

    The "JV" graphic items are stored in h3sprite.pac in DragonPeaks/Data.

    When a Hero visits a Town, this scriplet makes the necessary changes:

    !?OB98/1; Hero enters Rampart Town
    !!CA998:N?z3; get Town Name
    !!VRz2:M1/z3/0/11; get substring "Dragon Peak" if Town is a DP
    !!FU6150&z2=z709/-413:P;
    !!FU6151&z2<>z709/413:P;

    (Similar scriplets are used for the other two entry methods.)

    这只是一个基础的方法。多看看其他的指导以便更好的学习如何使用Grayface工具,GIMP ERM和ERA。

    Dragonpeaks.erm使用了这些项目:  z709, FU6150-6160, flags 411 & 413 (v1-v10, z1-z10 temporarily).

    新城镇界面
    DP_Aft_1.jpg

    第一天的菜单选择
    DP_NoOfDPs.jpg

    资源建筑清除选项
    DP_RemoveRP.jpg

    空间不足时的转换中立城镇选项
    DP_ConvertNeutral.jpg

    随机放置的龙崖岭
    DP_RandomlyPlaced.jpg

    转换的中立城镇(随机地图下)
    DP_ConvertedTown.jpg

    下载包中包含了一张定制的地图与随机地图以用来测试MOD。定制的地图("Hint Test")只是一种测试的手段,并不具备可玩性。

    [ 本帖最后由 renlinfeng 于 2012-7-6 10:40 编辑 ]

    评分

    4

    查看全部评分

    ahome_bigavatar:guest
    ahome_bigavatar:welcomelogin
    您需要登录后才可以回帖 登录 | 英雄注册|Register

    本版积分规则

    捐赠
    关注我们,英3Mod一网打尽!

    WoG中文站 ( 辽B2-20210485-10 )|辽公网安备 21128202000228 号

    GMT+8, 2024-5-8 02:11 , Processed in 1.040191 second(s), 29 queries , Gzip On, File On.

    Powered by Discuz! X3.4

    Copyright © 2004-2022, Beijing Second Sight Technology Co., LTD.

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