1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Reloading Contexts on Mod Load

Discussion in 'Civ5 - Creation & Customization' started by Exsolutus, Aug 13, 2017.

  1. Exsolutus

    Exsolutus Chieftain

    Joined:
    Aug 12, 2017
    Messages:
    16
    Gender:
    Male
    I've been digging through the FrontEnd UI files. What I've found is that everything up to AdvancedSettings is loaded prior to loading mods. This means a mod which attempts to make changes to any of the FrontEnd UI other than AdvancedSettings (and maybe a few other select items) will not have any effect.

    So I was wondering if there was any way for a script to run immediately on mod load, and then force the context tree to reload. Is this possible? If so, a quick overview of the method is appreciated. If not, are there any similar alternatives to modding FrontEnd UI?

    Thanks, guys
     
  2. Ryika

    Ryika Lazy Wannabe Artista

    Joined:
    Aug 30, 2013
    Messages:
    9,395
    As far as I know that's not possible as a mod, but FrontEnd UI modding can be done as Fake DLC.
    Of course as such it cannot easily be shared via Steam Workshop.
     
  3. Exsolutus

    Exsolutus Chieftain

    Joined:
    Aug 12, 2017
    Messages:
    16
    Gender:
    Male
    That's too bad. Honestly, I'm a bit obsessed with ease of use, so I want to avoid the fake DLC method as much as possible. I feel more complicated methods like that tend to reduce the number of players actually modding their game. I'll keep exploring anyway.
     
  4. Ryika

    Ryika Lazy Wannabe Artista

    Joined:
    Aug 30, 2013
    Messages:
    9,395
    True, although I would guess that people interested in front-end UI modding would most likely be mostly "power users" anyway, so maybe it does not make that much of a difference.
     

Share This Page