Add RedM example resources and RDR3-specific snippets
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 55/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
研究方向
Start by reading examples/README.md and an existing GTA5 example's fxmanifest.lua plus its README to copy the layout, then look at templates/vorp/ and templates/rsg/ for the bridge pattern. Check docs/ROADMAP.md Milestone 5 for the intended scope, and verify every RDR3 native against mcp-server/data/natives_rdr3.json (or lookup_native_tool with game="rdr3") before writing snippets. Run the MCP server with cd mcp-server && pip install -r requirements.txt && python server.py and read .github/workflows/validate.yml to see what CI checks; done means a games { 'rdr3' } resource with README, snippets that load, and updated counts.
由索引模型根據 Issue 內容生成。
描述
Summary
All five example resources target GTA5, and no snippet targets RDR3. RedM appears only in the VORP and RSG templates, which are short skeletons. Add at least one RedM example and a few RDR3-specific snippets.
Where
examples/*/fxmanifest.lua(allgames { 'gta5' })examples/README.md:5snippets/lua/templates/vorp/,templates/rsg/docs/ROADMAP.md(Milestone 5, RedM expansion)
Details
docs/ROADMAP.md lists "RedM-specific snippets (prompts, scenarios, RDR3 peds)" as planned, and Milestone 2 aims for balanced FiveM/RedM representation. RDR3 differs most from GTA5 in UI prompts (PromptRegisterBegin and related natives), which agents commonly get wrong, and the repo has no runnable reference for them.
Impact
RedM developers have no runnable reference resource, and agents have no RDR3 patterns to copy.
Suggested fix
- Add one RedM example, for example a VORP/RSG-bridged camp-crafting or stable resource that uses
PromptRegisterBeginprompts, keeps rewards server-side, declaresgames { 'rdr3' }, and has a README like the other examples. - Add 2-3 Lua snippets: prompt registration, scenario playback, and ped spawn with outfit variation.
- Verify every native name against
mcp-server/data/natives_rdr3.json(orlookup_native_toolwithgame="rdr3").
Acceptance criteria
-
examples/contains at least onerdr3resource with a README. -
snippets/lua/contains RDR3-specific snippets that load cleanly. - All natives used exist in
natives_rdr3.json. - Counts in README and other docs are updated.
Getting started
- Relevant files:
examples/,snippets/lua/,templates/vorp/,templates/rsg/,mcp-server/data/natives_rdr3.json - How to run checks: there is no test suite yet; run the MCP server with
cd mcp-server && pip install -r requirements.txt && python server.py, and CI checks live in.github/workflows/validate.yml - Related docs:
examples/README.md,docs/ROADMAP.md, RedM documentation on docs.fivem.net
Filed by repo-audit/full-audit at 701824d. Severity: low. Effort: M. audit-key: enhancement|examples|redm-example
- 主要語言
- Python
- 星號
- 7
- 分支
- 4
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
TMHSDigital/CFX-Developer-Tools 的其他 Issue
-
help wanted severity: low tech-debt
難度 3/5 1-2 天 新手友好度 45/100
TMHSDigital/CFX-Developer-Tools#79 ·
維護者通常 1 天內回覆
-
help wanted severity: low tech-debt
難度 4/5 3-5 天 新手友好度 35/100
TMHSDigital/CFX-Developer-Tools#66 ·
維護者通常 1 天內回覆
-
dependencies severity: low
難度 3/5 1-2 天 新手友好度 65/100
TMHSDigital/CFX-Developer-Tools#62 · 2 則留言 ·
維護者通常 1 天內回覆
-
enhancement severity: medium
難度 3/5 1-2 天 新手友好度 55/100
TMHSDigital/CFX-Developer-Tools#58 · 1 則留言 ·
維護者通常 1 天內回覆
-
enhancement severity: medium
難度 4/5 3-5 天 新手友好度 42/100
TMHSDigital/CFX-Developer-Tools#57 ·
維護者通常 1 天內回覆
查看 TMHSDigital/CFX-Developer-Tools 的全部 Issue
相似的 Issue
-
hive size:simple
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
A new VOLTTRON_HOME starts with agent isolation mode on (string comparison of a boolean default)未關閉
難度 2/5 1-3 小時 新手友好度 68/100
-
難度 2/5 1-3 小時 新手友好度 70/100
painted-porch/marcus#977 ·
維護者通常 1 天內回覆
-
llm translation
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
FAIRmat-NFDI/sand#239 ·
維護者通常 1 天內回覆