Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

Turret Pipeline Compatibility Patch

Turret Pipeline Compatibility Patch for 1.6 [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3424132769]Reel's Turret Pipeline[/url]用の互換性パッチです。いくつかのModとの互換性を持たせます。 自分用に作成しました。なので、私が互換性を持たせたいModがあった場合に追加することがあります。 各タレットで装填に必要なTurret Ammunition数は一応調整してあります。 原始的なタレットや迫撃砲弾等の手動での装填が必要になるタレットは除いてあります。 ■対応Mod (Supported Mods) [list] [*] [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3446237098]CeleTech Arsenal MKIII[/url] [*] [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3125491199]EDF Rim[/url] [*] [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2561619583]Fortifications - Industrial[/url] [*] [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2887532326]Fortification Industrial - Citadel[/url] [*] [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2297837011]RimLife Expansion Security[/url] [*] [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3121742525]The Dead Man's Switch[/url] [/list] [list] [*] [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3421959154]Cinders of the Embergarden[/url] [*] [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2988200143]Kiiro Race[/url] [*] [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3473140562]Wolfein Race[/url] [*] [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3159926804][OA]Ratkin Faction: Oberonia aurea[/url] [*] [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3379692207][LSK]月兔扩展——防御建筑和炮塔 (Rabbie Defense & Turrets)[/url] [/list] ※1.5で対応しているのはCeleTech Arsenal MKIII、Fortifications - Industrial、Fortification Industrial - Citadel、The Dead Man's Switchのみになります。 ■パッチの作り方 (How to make a patch) パッチを作る際に重要なことは3つです。 TP Modを適用したいタレットのdefName、対象のタレットのdefファイルが1.6フォルダ内にあるかどうか、対象のModの名前(パッケージIDではない)です。これらがわかれば後は簡単です。 1.6フォルダ内にdefファイルがある場合は、1.6フォルダ下にPatchesフォルダを作り、そこにパッチファイルを作成します。(パッチファイルはTP ModのVFE Ancients.xmlなどをコピーして改名してください) <Operation Class="PatchOperationFindMod">下の<li></li>で囲まれているところに対象のModの名前を記入します。 <Operation Class="PatchOperationFindMod"> <mods> <li>Mod Name (packageIdではありません)</li> </mods> 最後に<li Class="PatchOperationReplace">下の<xpath></xpath>の間にある[defName="xxxx"]の"xxxx"部分を、適用したいタレットのdefNameに書き換えます。 <xpath>/Defs/ThingDef[defName="xxxx"]/comps/li[@Class="CompProperties_Refuelable"]/fuelFilter/thingDefs/li</xpath> 必要があれば<li Class="PatchOperationReplace">全体をコピーして他のタレットにも適用させてください。<operations></operations>の間に記述するようにしてください。 以上です。 [hr] Compatibility patch for [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3424132769]Reel's Turret Pipeline[/url]. Make it and other mods compatible. Please refer to the "Supported Mods" column for the corresponding Mod. ■How to make a patch There are three important things to consider when creating a patch. The defName of the turret to which you want to apply the TP Mod, whether the def file for the target turret is in the 1.6 folder, and the name of the target Mod (not the package ID). Once these are known, the rest is easy. If there is a def file in the 1.6 folder, create a Patches folder under the 1.6 folder and create the patch file there. (The patch file should be copied and renamed from TP Mod's VFE Ancients.xml, etc.) Fill in the name of the target mod in the space enclosed by <li></li> under <Operation Class=“PatchOperationFindMod”>. <Operation Class="PatchOperationFindMod"> <mods> <li>Mod Name (not a packageId)</li> </mods> Finally, replace the “xxxx” part of [defName=“xxxx”] between <xpath></xpath> under <li Class=“PatchOperationReplace”> with the defName of the turret to which you wish to apply the mod. <xpath>/Defs/ThingDef[defName="xxxx"]/comps/li[@Class="CompProperties_Refuelable"]/fuelFilter/thingDefs/li</xpath> If necessary, copy the entire <li Class=“PatchOperationReplace”> and apply it to other turrets. Make sure to put it between <operations></operations>. That's all. Translated by deepL.