• Welcome to AtomicTorch Studio Forums.
 

Modding incompatibilities

Started by Spyrex, May 03, 2021, 08:19:11 AM

Spyrex

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?

ai_enabled

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!

Spyrex

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. :(

ai_enabled

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.

Spyrex

Okay I will do that, but I hope there will be a better way soon  ;)