new resource: map_loader
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start by reading the existing MTA map loading behavior referenced in the issue, including meta.xml <map/> nodes and loadMapData, then review the author's proposed map loader resource approach. The issue asks for opinions on replacing or deprecating the current loader and adding broad capabilities, but does not identify files, tests, or a settled scope; a clear done state would need to be agreed on first.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is your feature request related to a problem? Please describe.
In short, MTA Map Loading system (through meta.xml <map/> nodes or loadMapData (probably nobody uses this feature) has limitations:
- It's server-side and uses element data (inefficient)
- Maps exported by map editor even require a
mapEditorScriptingExtension_c.luascript to do removeWorldObject and LODs!!! This duplicates a lot of code. - It doesn't support
createBuilding - It doesn't support new models, which are incredibly popular since the addition of
engineRequestModel - It doesn't support custom textures, which servers since shaders were invented
- ...
Describe the solution you'd like
I believe the solution is not to expand the MTA Map Loader in C++ (mtasa-blue code), but instead to remove it (deprecate nodes etc) and create a map loader resource (official) that does everything the current system does + all the nice fun features we can add.
The idea is that new official resource will be included in the default resources pack, allowing any server to use it to load their maps through:
- File drag & drop
- Custom exported functions
- etc
Additional context
Honestly I've already created a map loader for fun and for several servers in the past, it's pretty simple.
A map is just a list of elements to spawn at certain positions with certain properties.
The list can be stored on any popular format like JSON, then just use Lua functions to spawn the elements and set their properties.
We can even use the new glob features (<file src="maps/**/*.json"/>) if useful.
Tell us your opinion about this.
- Lingua principale
- Lua
- Stelle
- 185
- Fork
- 180
- Merge medio
- 5g 13h
- PR unite (30g)
- 2
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di multitheftauto/mtasa-resources
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
multitheftauto/mtasa-resources#564 · 1 reazione ·
-
editor: LOD_MAP table is missing some LOD modelsForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertaenhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 36/100
-
New features to Map EditorApertaenhancement resource:editor
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
multitheftauto/mtasa-resources#388 · 3 reazioni ·
-
help wanted waiting for feedback
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
multitheftauto/mtasa-resources#361 · 8 commenti · 8 reazioni ·
-
enhancement resource:editor
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
multitheftauto/mtasa-resources#262 · 1 reazione ·
Tutte le issue di multitheftauto/mtasa-resources
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
teradata-labs/loom#624 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
rohit746/pdf-view.nvim#109 ·
I maintainer di solito rispondono entro 1 giorno
-
bug guide
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement forever
Difficoltà 2/5 1-3 ore Idoneità per principianti 61/100
openmap-world/openmap#78 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 60/100
PathOfBuildingCommunity/PathOfBuilding#10420 ·
I maintainer di solito rispondono entro 8 giorni