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

[RFE] Filter fixed map generation by board tags that are appropriate for the current terrain #5004

Open
5 tasks done
kuronekochomusuke opened this issue Oct 8, 2024 · 0 comments
Labels
(RFE) Enhancement Requests for Enhancement, new features or implementations

Comments

@kuronekochomusuke
Copy link
Collaborator

kuronekochomusuke commented Oct 8, 2024

Prerequisites and Pre-Issue Checklist

  • I'm reporting the RFE to the correct repository:

  • MegaMek

  • MegaMekLab

  • MekHQ

  • Does this conform with our Content Policy linked above?

  • I've searched the GitHub tracker and haven't found a similar feature request listed

RFE Details *

This is an improvement to an existing feature

Brief Description *


[RFE] Filter fixed map generation by board tags that are appropriate for the current terrain

  • currently the filter is only on map size and not any of the tags the board has, so you can get some boards that dont make sense for the current terrain

  • setup an config file that contains a mapping from allowedTerrainTypes values to valid BoardsTagger.Tags for the board

  • in setScenarioMap() use this mapping to filter the fixed boards availble when generating a map for a scenerio based on the current terrain

  • examples

 allowedTerrainTypes     board tags 
 ArcticDesert     -> (DesertTheme) AND (IceTerrain)
 ColdHills        -> (SnowTheme) AND (LowHills OR HighHills) 
 Forest           -> (GrassTheme) AND (LightForest OR MediumForest OR DenseForest OR Woods)
  • need to determin how best to handle and / or combinations in the config file and code to implement the filter

MekHQ Suite Version *

latest nightly

Attach Files

No response

Final Checklist

  • I've checked to make sure that this RFE has not already been filed
  • I am requesting implementation of only one relevant set of features in this ticket for clarity and focus
@kuronekochomusuke kuronekochomusuke added the (RFE) Enhancement Requests for Enhancement, new features or implementations label Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(RFE) Enhancement Requests for Enhancement, new features or implementations
Projects
None yet
Development

No branches or pull requests

1 participant