- 対応バージョン:不明
- サブスクライバー数:1736501
- 最終更新:不明
- 制作者:76561198007584659
MOD説明(日本語)
MOD概要
このMODは、Project ZomboidのMOD開発者向けに提供されるAPI(Application Programming Interface)です。ゲーム内の既存のアイテム定義に対し、MODderが特定の値を簡単に変更できるように設計されています。本来ゲーム内に備わっていた互換性向上のための機能ですが、MOD開発者にその存在を周知し、利用を促す目的で作成されました。ビルド42以降ではサポートが終了し、動作しませんが、ビルド41以前のバージョンでは引き続き利用可能です。
このMODで何が変わるか
**プレイヤーへの直接的な影響は少ないですが、MODderにとっては以下のような機能が提供されます。**
* **アイテムプロパティの変更**: MOD開発者は、アイテムの重量、表示名、表示カテゴリ、空腹減少量、アイコンなど、任意のアイテムプロパティを簡単に変更できます。
* **ModDataの追加**: アイテムにカスタムModDataを追加できます。
* **MOD間の互換性向上**: このAPIを利用することで、複数のMODが同じアイテムの異なるプロパティを変更する際に、互いに上書きすることなく共存しやすくなります。例えば、あるMODがアイテムのアイコンを変更し、別のMODが同じアイテムの重量を変更するといったことが競合なく可能になります。
* **既存アイテムへの影響**: アイテムの「TYPE」プロパティを変更した場合、既にワールドにスポーンしている当該アイテムのインスタンスは全て削除されます。
* **バージョン互換性**: ビルド42以降のゲームバージョンでは動作しません。ビルド41以前のゲームバージョンでのみ有効です。
想定されるメリット(推定)
* **MOD互換性の向上**: このAPIを利用するMODが増えることで、プレイヤーはより多くのMODを導入してもアイテム定義に関する競合が減少すると考えられます。これにより、ゲームの安定性が向上し、より多様なMOD環境を構築できる可能性があります(ビルド41以前の環境において)。
* **MOD開発の簡素化**: MOD開発者はアイテム定義ファイルを丸ごと上書きすることなく、必要なプロパティのみを効率的に変更できるため、開発の手間が省かれる可能性があります。
* **エラーの減少**: 複数のMODが同じアイテム定義を上書きし合うことによる、予期せぬ動作やアイテムの消失といったエラーが減る可能性があります。
想定されるデメリット・注意点(推定)
* **ビルド42以降では動作しない**: このMODはビルド42以降のProject Zomboidでは機能しないため、最新バージョンでプレイしているプレイヤーにとっては無用の長物となる可能性があります。
* **サポート終了**: 作者によるサポートが終了しているため、将来的なゲームアップデートや他のMODとの予期せぬ競合に対して、解決策が提供されない可能性があります。
* **導入の複雑さ**: MOD開発者向けのAPIであるため、一般のプレイヤーがこのMODを直接利用してゲーム内容を変更することはできません。あくまでこのAPIに依存する他のMODを介して間接的に恩恵を受ける形になります。
* **「TYPE」変更の危険性**: MODがこのAPIを使用してアイテムの「TYPE」を変更した場合、既にゲーム内に存在する当該アイテムが消滅する可能性があります。これは、セーブデータ上のアイテムに影響を与え、ゲームプレイに混乱を招くかもしれません。
* **他のMODとの競合**: このAPIを使用しないMODが同じアイテムの値を変更しようとした場合、競合が発生し、どちらかの変更が上書きされる可能性があります(一般的には後からロードされたMODの変更が適用されます)。
向いている人(推定)
* **Project Zomboidの古いビルド(ビルド41以前)でプレイしているプレイヤー**: このMODはビルド41以前のバージョンでのみ機能するため、古いバージョンを好むプレイヤーに適していると考えられます。
* **多数のMODを導入し、互換性問題を避けたいプレイヤー**: このAPIに依存するMODを多く使用することで、アイテム定義の競合による問題を軽減したいと考えているプレイヤーに適している可能性があります。
* **MOD開発者(特に初心者)**: アイテム定義の変更方法をより簡単に学び、互換性の高いMODを開発したいと考えている開発者にとって有用なツールだったと考えられます。
向いていない人(推定)
* **Project Zomboidの最新ビルド(ビルド42以降)でプレイしているプレイヤー**: このMODは最新ビルドでは動作しないため、導入しても意味がありません。
* **MODをほとんど導入しない、またはアイテム競合を気にしないプレイヤー**: このMODはAPIであるため、直接的なゲームプレイの変更はありません。MODの数が少ない場合、恩恵を感じることは少ないでしょう。
* **MODの安定性を最優先するプレイヤー**: サポートが終了しており、最新ビルドで動作しないため、システムの安定性を重視するプレイヤーには不向きな可能性があります。
総合評価(暫定)
* おすすめ度:★★☆☆☆
* 根拠:このMODは、Project ZomboidのMOD開発者向けAPIとして、過去にはMOD間のアイテム定義の競合を軽減し、互換性を高める上で非常に重要な役割を果たしました。多くのサブスクライバーがいることからも、その影響力は大きかったと推測されます。しかし、作者によるサポートが終了し、ビルド42以降の最新ゲームバージョンでは動作しないことが明記されているため、現在の主要なゲーム環境においては実用性がほとんどありません。ビルド41以前でプレイする限られたユーザーや、このAPIに依存する古いMODを使用し続けるプレイヤーにとっては依然として価値があるかもしれませんが、その数は減少していると予想されます。
※この説明文はAIによる自動翻訳です。正確な情報は下記の原文またはSteam Workshop公式ページをご確認ください。
原文を見る(英語)
ModID: ItemTweakerAPI
–EDIT 3 – End of Support —
I thank you all who have subscribed, and with these numbers am humbled.
I am aware this mod no longer works for build 42. I am okay with this, and in fact am glad, as this mod was honestly never really needed. It has been 9 years, and was once drastically needed to help spread modding awareness, this is by far no longer true.
It is time to return the attention this mod has been given back to the Zomboid devs, who laid the framework this mod piggybacked.
For Context:
This mod was built during a time where new Zomboid modders would release mods containing entire files worth of item definitions, in order to only change a single entry, thus removing any changes a mod loaded previously would make.
This mod mod makes use of code that Zomboid always had simply to make new modders know how to make mods more compatible. I honestly never intended for people to continue to use this mod for their mods for the last 9 years instead of discovering the real method behind how to do it themselves.
That being said, while I appreciate the support, and the sheer number of people subscribing, I am going to keep this mod in a mothballed state, ending support for build 42 onward, but keeping it available to any mod still relying on it in build 41. Feel free to unsubscribe when the time for it comes, but it’s still been quite a trip.
–EDIT 2–
For those of you who are -still- getting missing file errors, Unsubscribe from the other item tweaker here.
https://steamcommunity.com/workshop/filedetails/?id=2510747487
Having both versions subscribed list alone can cause issues, as they are using the same ModID, and is 100% confusing your game’s mod enabling/loading attempts.
This alone is making it try to load both my still working code, and the outdated version’s now broken code.
Furthermore, if this issue is still happening, and you know you haven’t subscribed to this mod, then there may be another mod you’ve subscribed to that is still using the outdated mod’s script files.
I recommend looking into which those are, and suggest those mods switch back to this still working version.
—EDIT—
It’s come to my attention that there is another version of item tweaker that had been updated at one point. While it may have been an improvement at one point, and I thank him for trying to keep this mod alive, his version is apparently causing many issues in the new build. This version seems to still work very well.
I have not been modding for PZ in quite a long time, however knowing this mod still works now as it did before makes me feel glad to have been part of the modding community. Should this start acting up for real, I may pass it on to someone more active, but as of now, I hope you continue to enjoy it. Thank you again Brybry and Blindcoder for helping to make improved mod compatability possible all these years
—ORIGINAL POST—
This modding API allows any modders to more simply make multiple changes to any items loaded into the game’s current database, while leaving the rest of the remaining values alone. This uses code that Zomboid already has implemented, but intended for new modders that haven’t discovered those commands yet.
Change any item’s weight, display name, display category, hunger reduction, or anything else, while keeping the item as mod friendly as possible.
(WARNING: changing TYPE will delete all instances of already spawned items)
You can change only an item icon, while another mod changes the same item’s weight, all without conflict (Unless mods do not use this mod to do so, or two mods try to change the same value, in which case, the last loaded mod will win)
For the Simplest Implementation through LUA:
———————————————————————–Begin File
if getActivatedMods():contains(“ItemTweakerAPI”) then
require(“ItemTweaker_Core”);
else return end
TweakItem(“Base.Needle”,”Icon”, “Worm”);
TweakItem(“Base.Needle”,”Tooltip”, “Wearable: Waist”);
TweakItem(“Base.Needle”,”DisplayCategory”, “Repair”);
———————————————————————–End File
For each item and property you wish to change, create a new line, and place the related values in place.
You can even add custom ModData to items.
TweakItem(“Base.Needle”,”BaseValue”, “500”);
Organized Item Names is an example mod to hopefully show beginner modders how to make use of this API
Mods I know of using this API:
Custom Categories
JPCategoriesPlus – By: Proxyer
Littering – By: Svarog
Jaw Stab Proliferation – By: LoonyLadel
Wedge’s Item Name Fixes – By: Wedge McCloud (Includes changes for some other mods)
[strike] Custom Categories[/strike](Outdated: Use Wedge’s Item Name Fixes instead)
[strike] Organized Item Names[/strike] (Outdated: Use Wedge’s Item Name Fixes instead)
Wedge’s Hydrocraft Tweaks – By: Wedge McCloud (Requires Hydrocraft)
Better Carts – By: yuriy206 (Requires Hydrocraft)
このMODはSteam Workshopで公開されています。ダウンロード・詳細は公式ページをご確認ください。