WololoKingdoms icon indicating copy to clipboard operation
WololoKingdoms copied to clipboard

Use new options for map menu

Open Jineapple opened this issue 6 years ago • 2 comments

https://github.com/SiegeEngineers/aoc-builtin-rms offers useful options for maps. It would be nice to include this, needs coordination with Voobly (and someone familiar with how to do it) to allow custom dll loading. https://github.com/SiegeEngineers/aoe2-extended-triggers-patch could potentially nice as well.

Jineapple avatar May 28 '19 13:05 Jineapple

It will require:

  • Adding the AoE HD rms files and scx files to the DRS
  • Adding the map names and descriptions to the language.ini file
  • Adding the "Special Maps" string to the language.ini file
  • Generating an aoc-builtin-rms.xml file like below:
<?xml version="1.0" encoding="utf-8"?>
<random-maps>
  <standard>
    <map id="-12" name="hardcoded-map-name" drsId="54251" string="55001" description="55002" />
    <!-- etc -->
  </standard>
  <real-world>
    <map id="-14" name="hardcoded-rwm-name" drsId="55001" scxDrsId="56001" string="9764" description="9475" />
    <!-- etc -->
  </real-world>
  <section name="SPECIAL_MAP_STRING_ID" aiSymbolPrefix="SPECIAL-MAP" aiConstPrefix="special-map">
    <map id="-33" name="hardcoded-special-name" drsId="54207" scxDrsId="54208" string="4841" description="4842" />
    <!-- etc -->
  </section>
</random-maps>

The terrainOverrides attribute should also be provided to <map /> elements, it can be generated during the RMS conversion I think.

  • Adding aoc-mmmod, moving aoc-language-ini to the mmmods/ folder, adding aoc-builtin-rms to the mmmods/ folder.

I'd like to make a C API around the genie-scx library at some point, it can do automatic conversion of scenarios from HD to WK. Then we don't need to ship pre-converted versions of real world maps and special maps.

goto-bus-stop avatar May 28 '19 14:05 goto-bus-stop

Working on this atm. Note to self: Blind Random can be adjusted

Jineapple avatar Dec 01 '19 10:12 Jineapple