Cosmoteer: 星舰设计师

Cosmoteer: 星舰设计师

Remote Power
 此主题已被置顶,因此可能具有重要性
Chase  [开发者] 2022 年 11 月 12 日 下午 4:56
How do I use this with other mods!?
So I get this question A LOT. Like probably the most common question I get. A lot of people don't like this mod, other mod authors in particular. I have no desire to make patches myself, as that requires me to keep them up to date, which I do not have time for. Particularly if the author of the other mod DOES NOT want compatibility with this one.

However, if you just want to do it for personal use, here are the methods to do so:

1. Find a patch mod for that particular mod. This is the lowest skill required for this. However it also is the most unlikely way that exists.

2. Use the included "compat.py" python script to generate a patch mod and put it in your mod folder "Saved Games/Cosmoteer/<some number>/Mods/" in your user directory. This script is not perfect, but has been tested against a few complex mods.

3. Directly alter the other mod to accept the Buffs from this mod.

4. Create a patch mod by hand (see my Remote Power Patch Example mod).

Also, you can of course have someone else do one of the above for you.

I have no desire to walk everyone through the process of making a patch, and mod authors can make trivial modifications to their mod to prevent this from working with it. So therefore I will not be walking anyone through the process.

However you can ask questions here about this, and maybe someone else will be willing to help.

P.S. While I cannot stop you from posting a generated compatibility patch, keep in mind this may prompt authors of other mods to change their mod to prevent compatibility, which the tool may not be able to handle.
最后由 Chase 编辑于; 2022 年 11 月 12 日 下午 5:05
< >
正在显示第 1 - 4 条,共 4 条留言
Salty Biscuit 2022 年 11 月 12 日 下午 7:03 
Did option 3 after brute forcing it because I can't mod, got it working thanks
ᗩᗰᗩᑎᕮ 2023 年 1 月 8 日 上午 3:23 
With this change in /mod.rules it should also work with modded parts:
// Add PowerPlacebo buff to all parts, should work with other mods { Action = Add AddTo = "<./Data/ships/terran/base_part_terran.rules>/Part/ReceivableBuffs" ToAdd = PowerPlacebo OnlyIfNotExisting = false }
Chase  [开发者] 2023 年 1 月 8 日 下午 2:04 
The problem with modding the base part is that it applies to all parts, like armor or drives. This causes some bad interactions which makes the mod stop working properly.
最后由 Chase 编辑于; 2023 年 1 月 8 日 下午 2:05
sir Evans 2023 年 4 月 27 日 下午 1:21 
You need to clean up mod after adding this to base part.

Basically:

// Base_part Buff to make buildings consume power
{
Action = Add
AddTo = "<ships/base_part.rules>/Part/ReceivableBuffs"
Name = PowerPlacebo
ToAdd = PowerPlacebo

IgnoreTypeCategories = [reactor]
}

// Capacitor fix
{
Action = Replace
Replace = "<ships/terran/power_storage/power_storage.rules>/Part/ReceivableBuffs"
IgnoreIfNotExisting = false
With = []
}

// Hyperdrive fix
{
Action = Replace
Replace = "<ships/terran/hyperdrive_small/hyperdrive_small.rules>/Part/ReceivableBuffs"
IgnoreIfNotExisting = false
With = []
}


Also as author stated, removing this buff from armor may be a very good idea.
Unfortunatelly there is no easy way to fix this other then adding a lot of custom code.
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50