AtomicTorch Studio Forums

CryoFall => Modding info => Topic started by: Spyrex on May 03, 2021, 08:19:11 AM

Title: Modding incompatibilities
Post by: Spyrex on May 03, 2021, 08:19:11 AM
I recently ran into the problem of overriding a core's script, resulting in many ambiguity errors because this script already got overridden by another mod.
How to prevent these errors?
Title: Re: Modding incompatibilities
Post by: ai_enabled on May 03, 2021, 10:19:25 AM
Hello!

Unfortunately, it's not possible to avoid this kind of conflict so it's best to avoid using this particular combination of mods.
We may consider a solution to merge scripts but overall it's a very unreliable approach (because the code is in C# and not some scripting language).

Regards!
Title: Re: Modding incompatibilities
Post by: Spyrex on May 03, 2021, 10:30:29 AM
And what would be the best option for me?
The mod I am trying to create has the mod that is conflicting with my mod as a dependency. :(
Title: Re: Modding incompatibilities
Post by: ai_enabled on May 03, 2021, 10:32:51 AM
If there is definitely no way to avoid overriding the same file, then the easiest solution would be to just incorporate the other mod into yours and manually merge the changes so there are no conflicts.
Title: Re: Modding incompatibilities
Post by: Spyrex on May 03, 2021, 10:34:57 AM
Okay I will do that, but I hope there will be a better way soon  ;)