شعار Godot Modding Dlc

Godot Modding Dlc

المجتمع
EL4CTEO
godot-modding-dlc

Mod support, DLC and patches in Godot 4.7 - resource packs (PCK/ZIP) with load_resource_pack, load timing and file overrides, mod folders, manifests and load order, registries and a mod API, runtime loading of images, audio, glTF and fonts, PCKPacker mod tools, Godot Mod Loader, Steam Workshop, DLC packs, delta patches, security limits. Use for mods, user content, DLC or patching.

نظرة عامة

الناشرEL4CTEO
المستودعgodot-skills
اسم المهارةgodot-modding-dlc
النجوم
60
التفريعات
6
الملفات المرفقة
1
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 1

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها EL4CTEO على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Godot Modding Dlc في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/EL4CTEO/godot-skills/tree/main/skills/godot-modding-dlc
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/EL4CTEO/godot-skills.git /tmp/godot-skills
mkdir -p .claude/skills
cp -r /tmp/godot-skills/skills/godot-modding-dlc .claude/skills/godot-modding-dlc
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Godot Modding Dlc في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Godot Modding Dlc تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Godot Modding Dlc بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Modding, DLC and Patches (4.7)

Choose the kind of mod support

LevelWhat mods can doHow
Data modsnew items, levels as JSON, textures, sounds, modelsread files from a mods folder at runtime (no Godot needed by modders)
Pack modsnew scenes, scripts, resources; replace any game file.pck/.zip loaded with ProjectSettings.load_resource_pack(); modders use the Godot editor
Script-extension modschange existing game logic without replacing filesthe Godot Mod Loader addon (script extensions and hooks, used by shipped games)
Workshopdiscovery and installSteam UGC through GodotSteam; it downloads into a folder you then load like any other mod
Start with data mods plus a registry API. Add packs when modders need scenes and scripts.

Resource packs

  • ProjectSettings.load_resource_pack(path, replace_files := true, offset := 0) mounts a PCK or ZIP into res://. It returns false on failure. With replace_files = true, pack files override game files at the same path (texture packs, balance patches). Set false to protect the base game.
  • Timing: resources already loaded or preloaded stay cached. Load packs as early as possible, in an autoload's _init() (the first autoload), before the main scene loads. To swap later, reload with ResourceLoader.load(path, "", ResourceLoader.CACHE_MODE_REPLACE) and rebuild the scenes that use it.
  • Where to look: user://mods/ (always writable) and the folder next to the executable (OS.get_executable_path().get_base_dir() + "/mods", for Steam/manual installs; not writable on every platform). In the editor, OS.has_feature("editor") points to a dev folder instead.
  • Ask mods to put their files under res://mods/<mod_id>/ so two mods don't overwrite each other by accident. Overrides then become deliberate (same path as a game file).
  • A pack must be exported by the same Godot version (4.7.x) as the game, from a project with the same import settings. Give modders a "mod SDK" project: the game's public assets and scripts, a sample mod and an export preset (godot --headless --export-pack "Mod" mymod.pck, see godot-export-ci).
  • class_name in mod scripts isn't reliable (the global class cache comes from the game). Mods should reference scripts and scenes by path or through your registry.
  • C# games: GDScript mods still work in .NET builds. Mod C# assemblies aren't loaded from packs; supporting them needs your own AssemblyLoadContext code. Most games keep mods GDScript or data only.

Manifest, order, conflicts

  • Each mod has mod.cfg (a ConfigFile): id, name, version, game_version (min compatible), depends, priority. Read it before loading the pack (the reference reads it from inside a ZIP with ZIPReader, or from a folder).
  • Sort by dependencies, then priority. Packs loaded later win on file conflicts, so show a load-order UI and save the enabled list in user://mods.cfg.
  • Skip mods with a newer game_version or missing dependencies and say why in the mod menu. Never crash because of a bad mod: push_warning and continue.
  • After loading, call each mod's entry script (res://mods/<id>/main.gd with func _mod_init(api)), passing a narrow API object.

A mod API instead of free access

  • Registries: ItemRegistry.register(id, item_resource), EnemyRegistry, LevelRegistry. The game reads from registries, never from hard-coded lists, so mods add content without patching files.
  • Events: expose an event bus (enemy_killed, level_loaded, player_spawned) for mods to react to.
  • Version the API (api_version in the manifest), and deprecate before you remove anything.
  • Data validation: parse JSON with JSON.parse_string, check types and ranges, clamp numbers, and fall back to defaults.

Runtime loading for data mods (no import step)

AssetAPI
Image → textureImage.load_from_file(path) → ImageTexture.create_from_image(img)
AudioAudioStreamOggVorbis.load_from_file, AudioStreamWAV.load_from_file, AudioStreamMP3.load_from_file
3D modelGLTFDocument.new().append_from_file(path, state) → generate_scene(state)
FontFontFile.new().load_dynamic_font(path)
Text, dataFileAccess.get_file_as_string, JSON.parse_string, ConfigFile.load
Zipped contentZIPReader.open → read_file (then Image.load_png_from_buffer, …)
Runtime-loaded textures aren't VRAM-compressed, so cap their size for mobile. Load big sets with WorkerThreadPool (godot-performance).

Security (tell your players)

Pack mods and Mod Loader mods run unrestricted GDScript: file access, network and OS calls. Godot has no sandbox. Show a warning on first enable, and keep data-only mods as the default for user-generated content you download automatically. Evaluate expressions from mod data with Expression.execute(..., const_calls_only = true).

DLC and patches

  • DLC: export the DLC content as a PCK (--export-pack with a preset that includes only res://dlc/<name>/). Ship it as a separate depot or download, verify ownership (Steam: GodotSteam isDLCInstalled(app_id); consoles and mobile stores have their own APIs), then load_resource_pack. PCKs aren't DRM: anyone can copy the file.
  • Patches: godot --export-patch out.pck --patches base.pck (4.6+) writes only changed files, delta-encoded. Load patches in order after the base. Each patch adds load-time overhead, so fold patches into a new base PCK at major updates. Steam and most stores already diff builds, so patch PCKs matter mainly for custom launchers and mobile hot-content.
  • Code signing and console certification rules may forbid loading code at runtime. iOS forbids downloaded executable code, so ship content-only packs there.

Tools for modders

  • PCKPacker builds packs from inside the game (pck_start, add_file(res_path, source), flush), e.g. a level editor that exports shareable levels.
  • Document the folder layout, the registry API and the event list in the SDK README.

Mod loader (discovery, manifests, order, packs), registry, runtime asset loading, PCK export from game, DLC gate (compiled by the tests): references/patterns.md

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Godot Modding Dlc؟

Mod support, DLC and patches in Godot 4.7 - resource packs (PCK/ZIP) with load_resource_pack, load timing and file overrides, mod folders, manifests and load order, registries and a mod API, runtime loading of images, audio, glTF and fonts, PCKPacker mod tools, Godot Mod Loader, Steam Workshop, DLC packs, delta patches, security limits. Use for mods, user content, DLC or patching.

لماذا تستخدم Godot Modding Dlc على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Godot Modding Dlc عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Godot Modding Dlc في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/EL4CTEO/godot-skills/tree/main/skills/godot-modding-dlc. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Godot Modding Dlc؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Godot Modding Dlc؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Godot Modding Dlc معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Godot Modding Dlc مجانية؟

نعم. نشرها EL4CTEO على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇