• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

speeder

Second Lieutenant
2 Badges
Jun 8, 2013
112
20
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
So, the mod I am working is NOT supposed to have an offmap power, eveyrone that matters is already inside the map.

I tried removing it by adding a stub file but this made the game crash.

So how I remove offmap power?
 
Copying and blanking the file should work (as always, you want to copy and blank instead of just making a new blank file in the event formatting is necessary). Failing that, you could just make it undisplayable by putting something impossible in the display_trigger section and making sure there isn't anything that uses it.

Like, say

Code:
    display_trigger = {
        has_dlc = "Jade Dragon"
        FROM = {
            AND = {
                religion = religion_1
                religion = religion_2
            }
        }
    }

So it would only appear for characters that are two separate religions at the same time.

EDIT -

Oh, there might also be some issues with history or common files holding on that mess with it. Make sure your .mod file has replace_path for both history/offmap_powers and common/offmap powers to keep it from loading anything.
 
  • 1Like
Reactions: