Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new options for map menu #36

Open
Jineapple opened this issue May 28, 2019 · 2 comments
Open

Use new options for map menu #36

Jineapple opened this issue May 28, 2019 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Jineapple
Copy link
Collaborator

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 Jineapple added enhancement New feature or request help wanted Extra attention is needed labels May 28, 2019
@goto-bus-stop
Copy link
Member

goto-bus-stop commented May 28, 2019

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.

@Jineapple
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants