这里介绍给地图命名,写上介绍以及定义地图图片等。
由于我制作的是不影响联机的地图,所以背景图、预览图都是用原来的。
地图有两个文件,应该是xml文件,另一个是xs文件,下面两张截图的内容都是是在xml文件定义的。
这个是作者的中国地图xml:
<?xml version = "1.0" encoding = "UTF-8"?> <mapinfo detailsText = "<font=Arial 32>Map:<color=0,1,1>中国地图</color> 作者:<icon="(16)(ui/ingame/resource_skill_16)"/><color=0,1,1>小羽</color>\nE-mail:<color=0,1,1>[email protected]</color>\nQQ群:<color=0,1,1>85442352(MOD群)</color>\n论坛:<color=1,1,0>https://</color><color=0,1,1>www.aoebbs.net</color>\n \n \n \n \n注:<color=1,0,0>安装路径必须为全英文或数字路径,否则会被系统踢出局。\nThe Age of Empires III installation path must be English or numeric path, notherwise you will be kicked out of the game.</color>\n \n \n制作日期:<color=0,1,1>2018.03.08-2018.09.08</color>\n更新日期:<color=0,1,1>2022.05.29</color>\n \n \n<color=0,255,255>关于本地图特殊宝藏:探险家宝藏在击败附近守护者后,己方单位大于3才能解救。</font>\n<font=Arial 48><icon=(256)(ui\random_map\yellow_river\yellow_river_ss_3)></font>" imagepath = "ui\random_map\yellow_river" displayName = "*[aoebbs.net]中国地图" cannotReplace = "" loadDetailsText="<color=0,1,0><icon="(16)(ui/ingame/resource_skill_16)">[www.aoebbs.net]地图——中国地图\n拥有广阔海岸及丰富资源的中国沿海地区,让您有许多机会来扩张领土及制造冲突。沿海地区有一条贸易路线经过。\n<color=1,0,0>注:<b>安装帝国的目录不是全英文或数字路径</b>,或者安装了某些存在错误的自定义触发程序(trigger3/typetest.xml),开局后会被系统踢出局。\n<color=0,255,255>作者:小羽 E-mail:[email protected] \n更新日期:2022.05.29 17:00:00\nForum-->https://www.aoebbs.net" loadBackground="ui\random_map\yellow_river\yellow_river_map"> <loadss>ui\random_map\yellow_river\yellow_river_ss_3</loadss> </mapinfo>
<?xml version = "1.0"encoding = "UTF-8"?> <mapinfo details = "00501" imagepath = "ui\random_map\yellow_river" displayNameID = "00500" cannotReplace = "" loadDetails="00502" loadBackground = "ui\random_map\yellow_river\yellow_river_map"> <loadss>ui\random_map\yellow_river\yellow_river_ss_3</loadss> </mapinfo> <--用在MOD里面,当然是使用StringID方便-->
<String _locID="00500">* 中国地图</String> <String _locID="00501"><font=Arial 32>Map:<color=0,1,1>中国地图</color> 作者:<icon="(16)(ui/ingame/resource_skill_16)"/><color=0,1,1>小羽</color>\nE-mail:<color=0,1,1>[email protected]</color>\nQQ群:<color=0,1,1>85442352(MOD群)</color>\n论坛:<color=1,1,0>https://</color><color=0,1,1>www.aoebbs.net</color>\n \n \n \n \n注:<color=1,0,0>安装路径必须为全英文或数字路径,否则会被系统踢出局。\nThe Age of Empires III installation path must be English or numeric path, notherwise you will be kicked out of the game.</color>\n \n \n制作日期:<color=0,1,1>2018.03.08-2018.09.08</color>\n更新日期:<color=0,1,1>2022.05.29</color>\n \n \n<color=0,255,255>关于本地图特殊宝藏:探险家宝藏在击败附近守护者后,己方单位大于3才能解救。</font>\n<font=Arial 48><icon=(256)(ui\random_map\yellow_river\yellow_river_ss_3)></font></String> <String _locID="00502"><color=0,1,0><icon="(16)(ui/ingame/resource_skill_16)">[www.aoebbs.net]地图——中国地图\n拥有广阔海岸及丰富资源的中国沿海地区,让您有许多机会来扩张领土及制造冲突。沿海地区有一条贸易路线经过。\n<color=1,0,0>注:<b>安装帝国的目录不是全英文或数字路径</b>,或者安装了某些存在错误的自定义触发程序(trigger3/typetest.xml),开局后会被系统踢出局。\n<color=0,255,255>作者:小羽 E-mail:[email protected] \n更新日期:2022.05.29 17:00:00\nForum-->https://www.aoebbs.net</String>
<?xml version = "1.0"encoding = "UTF-8"?> <mapinfo detailsText = "XXXXXXXXX" imagepath = "ui\random_map\XXXXXX" displayName = "XXXXXXXX" cannotReplace = "" loadDetailsText="XXXXXXXX"> <loadss>ui\random_map\XXXXXXXX</loadss> </mapinfo>
<?xml version = "1.0"encoding = "UTF-8"?> <mapinfo details = "00501" imagepath = "ui\random_map\XXXXXX" displayNameID = "00500" cannotReplace = "" loadDetails="00502" loadBackground = "ui\random_map\XXXXXXX"> <loadss>ui\random_map\XXXXXX</loadss> </mapinfo>
换行符 /n 下划线 <u></u> 改变颜色 <color=0,0,0> <color=1,0,0> <color=1,1,0> <color=1,1,1> <color=0,1,1> <color=0,1,0> <color=0,0,1> <color=1,0,1> <color=0,0,0>XXX</color> <color=1,0,0>XXX</color> <color=1,1,0>XXX</color> <color=1,1,1>XXX</color> <color=0,1,1>XXX</color> <color=0,1,0>XXX</color> <color=0,0,1>XXX</color> <color=1,0,1>XXX</color> 调用art图标 <icon="(16)(ui/ingame/resource_skill_16)"><icon="(16)(ui/xxxxxx)"> <icon="(32)(ui/xxxxxx)">