Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Investigate whether D2 map import should preserve the requested tileset/rules

Aperta
#237 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
csharp
Ambito
game-dev

Direzione di ricerca

Start with D2MapImporter.Import and trace how the hardcoded "arrakis2" tileset and default Ruleset reach map initialization. Compare that flow with D2ImportMapD2Command passing args[2], and inspect Ruleset.LoadDefaultsForTileSet(...). Done means establishing the intended behavior and either propagating caller-provided values or confirming that unused parameters should be removed.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

D2MapImporter.Import(filename, mod, tileset, rules) still accepts tileset and rules, but the importer currently initializes terrain using the hardcoded "arrakis2" tileset and does not use the passed Ruleset.
Investigate whether this is intentional or whether the importer should propagate the requested tileset/rules into map initialization. If needed, update D2MapImporter so imported maps are created with the caller-provided tileset/rules instead of relying on hardcoded defaults.
Points to check:

  • Whether all current D2 imports are expected to use only "arrakis2".
  • Whether D2ImportMapD2Command passing args[2] should affect the imported map.
  • Whether Ruleset.LoadDefaultsForTileSet(...) is expected to be reflected in the resulting Map.
  • Whether keeping unused tileset / rules parameters is still useful or should be cleaned up.
Lingua principale
C#
Stelle
64
Fork
23
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenRA/d2

Tutte le issue di OpenRA/d2

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.