new resource: map_loader
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Lua
- スター
- 185
- フォーク
- 180
- 平均マージ
- 5日 13時間
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
multitheftauto/mtasa-resources のほかの issue
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
multitheftauto/mtasa-resources#564 · リアクション 1 件 ·
-
editor: LOD_MAP table is missing some LOD models再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンenhancement
難易度 3/5 1〜2日 初心者へのやさしさ 36/100
-
enhancement resource:editor
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
multitheftauto/mtasa-resources#388 · リアクション 3 件 ·
-
help wanted waiting for feedback
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
multitheftauto/mtasa-resources#361 · コメント 8 件 · リアクション 8 件 ·
-
enhancement resource:editor
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
multitheftauto/mtasa-resources#262 · リアクション 1 件 ·
multitheftauto/mtasa-resources の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rohit746/pdf-view.nvim#109 ·
メンテナーはふだん 1 日以内に返信
-
bug guide
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
enhancement forever
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
openmap-world/openmap#78 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
AndyHazz/bookends.koplugin#130 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
carlos-algms/agentic.nvim#336 ·