I've got to the point with my mod where I want to add an extra City Gate to Leyawiin to lead to the (new) docks and this will obviously create an incompatibility with Open Cities. What are my options?
Do I create two versions - OC-compatible and non-OC? One version plus a patch? Right now I don't have OC installed, as I'm mod-building on an essentially vanilla OB/SI, adding only the UOP's and OBSE, but I may have to do so soon - is it easy to turn on/off so I can test both ways?
I won't go over the details, but I illustrate one way of accomplishing a switch for Open Cities within one of my old mods
http://www.tesnexus.com/downloads/file.php?id=6084
(adjusts for skingrad and chorrol)
Basically, I use a few scripts to detect which version of the space the player or NPCs are moving through, and make an assumption based on those checks which enables/disables markers, or groups of statics to adjust to this. You can do it more directly with OBSE by checking to see if an Open Cities mod is loaded, but using known and persistent NPCs (such as beggars and others who wander about) tends to be a bit more reliable as it catches all instances of the city being open.