Fallout 4

File information

Last updated

Original upload

Created by

reg2k - Neanka - shadowslasher410

Uploaded by

registrator2000

Virus scan

Some manually verified files

MCM Development (62 comments)

  1. registrator2000
    registrator2000
    • premium
    • 2,306 kudos
    Locked
    Sticky
    This thread is for discussion regarding mod development with the MCM and creating MCM menus.
  2. SoleVaultBoy
    SoleVaultBoy
    • premium
    • 26 kudos
    Would it be possible to add a function to Papyrus that would allow to read a defined keybind?
  3. aquilegia
    aquilegia
    • member
    • 5 kudos
    When MCM reports:

    An error was encountered while loading this menu.

    What information is logged about the nature of that error, and where is it logged? Or, if there can be only one cause for this error, what would that be?
    1. Neanka
      Neanka
      • premium
      • 606 kudos
      where did u see this text?
      all F4SE plugins logs stored in "Documents\My Games\Fallout 4\F4SE" folder
    2. aquilegia
      aquilegia
      • member
      • 5 kudos
      I saw it in MCM (after hitting the ESC key and trying to visit my new MCM page).

      I did not see any errors reported in the F4SE\MCM.log file

      I have completely replaced that attempt, working from the MCM Demo, so I can no longer reproduce this problem. But I was frustrated for a couple of days.
  4. aquilegia
    aquilegia
    • member
    • 5 kudos
    This mod defines:

    string Function GetModSettingString(string asModName, string asSetting) native global
    Function SetModSettingString(string asModName, string asSettingName, string asValue) native global

    But the MCM Demo shows no examples of how to use either of these.

    Do these work?

    If so, how can they be used?

    (For example, can settings be used to dynamically update any text displayed by MCM? Or are these only for storing strings to and retrieving strings from the settings.ini file?)
    1. aquilegia
      aquilegia
      • member
      • 5 kudos
      I have discovered  https://www.nexusmods.com/fallout4/articles/1501 which answers part of my questions, but I am still somewhat baffled by the Get/SetModSettingString api.

      I have also found a reference to sOrder:Main in https://github.com/Neanka/MCM_0.1_AS3/blob/be8ff94d6cbac4af1a3aa42377ad1cfc51bf9571/mcm/MCM_Menu.as but I have not found any examples where that gets used.
    2. Neanka
      Neanka
      • premium
      • 606 kudos
      this is papyrus functions. u can use it in your scripts to get mcm mod settings
    3. aquilegia
      aquilegia
      • member
      • 5 kudos
      (deleted, I figured out the answer to this question)
  5. aquilegia
    aquilegia
    • member
    • 5 kudos
    I am trying to understand:

    What is the purpose of the "lib.swf" in the MCM Demo?

    (How do we treat this when developing MCM enabled mods?)
    1. Neanka
      Neanka
      • premium
      • 606 kudos
      this swf file contains vector images that you can load in the menu
      you can examine the json file mcm_demo as well as lib.swf (using FFDEC for example) to understand how it works
    2. aquilegia
      aquilegia
      • member
      • 5 kudos
      Thank you, FFDEC helped me immensely.

      (Though I am still puzzled by the naming convention -- if I understand right, the file must always be named lib.swf which would mean only one swf per mod, but there's a libName that goes with it which I guess let's the mod create other "mod directories" which could contain their own lib.swf files...? Though I guess also the className lets the lib.swf contain different images which can each be referred to separately...)
  6. magicgamer09
    magicgamer09
    • member
    • 0 kudos
    can someone help me i cant se the mcm in fallout 4

    Thanks in advance.
  7. TheMountainJohn
    TheMountainJohn
    • member
    • 0 kudos
    Glad to know that It was just the recent update that was causing the problem why the MCM menu isn't showing up. thought it was my load order. lmao
  8. markab10
    markab10
    • member
    • 1 kudos
    in the old list of mcm next to the last one is 1.10.138    it needs a .0 added to it
    it would take me less time to take my car apart and put it back together
    and god howard keeps stomping on our sand castles
    i understand the lack of enthusiasm
  9. Destroyer5
    Destroyer5
    • premium
    • 5 kudos
    Any update on have it work with FO4VRSE

    Is there a way to change the version requirement in MCM.
    1. clorenz
      clorenz
      • member
      • 0 kudos
      Has anyone found a way to make this work in VR? I am getting the same error code as it seems everyone else that my versions don't match up.
      I never had this issue with Skyrim VR, but finding most mods aren't working properly without MCM.

      Does anyone have any suggestions?  I am about to quit playing the game as it is so frustrating.

      Thanks in advance.
    2. Neanka
      Neanka
      • premium
      • 606 kudos
      i posted beta file in mcm discord 
      feel free to test it
    3. Destroyer5
      Destroyer5
      • premium
      • 5 kudos
      Still the same.

      incorrect game version:v1.10.138.0
      Expected Version: v1.10.163.0
      Mod Config will be disabled.

      You may already know this, but f4SEVR is stored in the main directory under src/f4sevr
      Then its broken into folders
      So it looks like this

      Fallout 4 VR
        src
          common
          f4sevr
              f4se
              f4se_common
              f4se_Loader
              f4se_Loader_common
              f4se_steam_loader
              xbyak

    4. Neanka
      Neanka
      • premium
      • 606 kudos
      Still the same.

      incorrect game version:v1.10.138.0
      Expected Version: v1.10.163.0
       that means u didnt use files from discord, or didnt delete all classic f4 mcm files
    5. Destroyer5
      Destroyer5
      • premium
      • 5 kudos
      Yes I did that is how I got the mod.  As for the MCM files I dont know what you are referring to.  There werent any instructions in the mod.
    6. ed3839
      ed3839
      • premium
      • 0 kudos
      What's the name of the Discord server? I can't find it. 

      Nevermind. I found it on the bottom of the main mod page. 
      https://discord.com/invite/4VtnEnb
  10. iTeNiTeStAlKeR
    iTeNiTeStAlKeR
    • premium
    • 0 kudos
    Can you tel us how to get this working for fallout 4 VR being there is no working release? I see these comments have been here for months and not even a reply
    1. DaleJones87
      DaleJones87
      • premium
      • 0 kudos
      +1
    2. oldbastard42
      oldbastard42
      • premium
      • 37 kudos
      Yes, or release the source code so we can try to recompile it against F4SEVR ourselves.  I'm sure it's just a matter of searching fallout4r.exe for the sub-routine hook addresses, which is relatively easy.
    3. alderwaran
      alderwaran
      • premium
      • 0 kudos
      A +1 from me too.
    4. MJS814
      MJS814
      • premium
      • 26 kudos
      According to the description page the source code is available on Github. 
  11. Fantafaust
    Fantafaust
    • premium
    • 85 kudos
    Not seeing it in the documentation so I'll ask, is there a way to have one switch control multiple other switches?

    For clarity, I do not mean their visibility, I mean their setting.
    ie I toggle multiple other switches' settings on or off using one switch, or I set a switch to the opposite of the one I just used.
     
    EDIT: Could I maybe just use the papyrus script to catch when the specific setting is changed, and then also change the others via that same OnMCMSettingChanged(sic)?