Compatibility patches

adan_eslavo

Archmage of all Pixels
Supporter
Joined
Apr 23, 2017
Messages
3,463
Location
Łódź, Poland
I would like to merge VPEE compatibility patch into MUCfVP mod and create ENW small compatibility update too. I only wonder how to code that because if I just put the code then it will throw errors for people who do not use fe. VPEE. Is it possible to code smth like:
Code:
if VPEE is enabled then
        use that compatibility code
end
I coded such patch in sql so far. If you want to use my code as an example than link to that patch is in my signature. I will be very grateful for any help.
 
Last edited:
Yes, this has been the basis of most of my compatibility patches with custom civilizations.

You can do this in SQL and Lua easily.

The entire basis of CPMC (in my sig) follows this. Look for reference in the CompatibilityOptions.sql and the other modular SQL files.
 
Thanks! I will try to do something using your example.
 
Worked! Thanks for help.
 
Top Bottom