Jump to content

Quick Questions, Quick Answers


Mattiewagg

Recommended Posts

  • Replies 2.6k
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 months later...

I'm trying to create an MCM menu image with Gimp. I'm having issues getting the image to show up in game, I'm not sure if it's incorrect settings on export or scripting issues. Can any help me, please?

Post the image specs including dimensions, resolution, compression type if any, extension, etc

Also, post the code where you are calling up the picture.

 

If you have not seen it, the following may help:

https://github.com/schlangster/skyui/wiki/MCM-Advanced-Features#CustomContent

 

And if you're trying to do this with SSE, I'm sure whatever requirements needed for texture DDS files may also be required of any MCM DDS files.

Link to comment
Share on other sites

 

 

I'm trying to create an MCM menu image with Gimp. I'm having issues getting the image to show up in game, I'm not sure if it's incorrect settings on export or scripting issues. Can any help me, please?

Post the image specs including dimensions, resolution, compression type if any, extension, etc

Also, post the code where you are calling up the picture.

 

If you have not seen it, the following may help:

https://github.com/schlangster/skyui/wiki/MCM-Advanced-Features#CustomContent

 

And if you're trying to do this with SSE, I'm sure whatever requirements needed for texture DDS files may also be required of any MCM DDS files.

 

 

 

 

I toyed around with it more using different encoding options, apparently, with gimp, it won't work unless you use RGB8 or RGB8A8 without compression.

Edited by LadyCrystyna
Link to comment
Share on other sites

 

Why can't I sign in to mod organizer?!!??? HELP!!!!

 

Are you trying to sign into nexus mods with mod organizer? If that answer is yes, nexus mods have updated their mod manager as discussed here. I had the same issue with logging in though it said for "Fallout" when I play "Skyrim", I believe the change affects all games. I do know that mod organizer has updated to version 2, the classic version and version 2 of Mod Organizer can be found on the MO2 page. That page says it contains the "login fix".

Link to comment
Share on other sites

Question:

 

Is there any way to reset a scripted string menu or a floating crafting count both using OIDs? I added a reset button to my MCM script, however, the scripted menu nor the crafting count (uses values as an int to remove the x.0) resets. The reset button is basically to default all settings which quickly disables anything you selected.

 

Any help with this is greatly appreciated.

Link to comment
Share on other sites

IsharaMeradin, on 26 May 2018 - 8:44 PM, said:

 

A little confused, can you post the relevant code? Would make it a bit easier (I hope) to understand what you are asking.

 

 

Included below are the bits of the code I'm referring to:

OnConfigInit()
EnableListMenu = new string[4]
EnableListMenu[0] = "Custom"
EnableListMenu[1] = "Alternative"
EnableListMenu[2] = "Costless"
EnableListMenu[3] = "Both"
EndEvent
 
 
OIDEnableListMenu = AddMenuOption("Enable", EnableListMenu[EnableListSelection])
 
iDisable = AddTextOption("Reset", "")
 
 
OIDCount = AddSliderOption("Crafting Count", CountTweakVal as int, "{0}")
 
 
ElseIf (Option == OIDEnableListMenu)
 
SetInfoText("Selecting this option will open a menu allowing you to choose from for quickly enabling recipes.\nCustom = using manual input settings for recipes.\nAlternative = recipes with gold cost based on value will be enabled.\nCostless = recipes with no gold or ingredient cost will be enabled.\nBoth = recipes for gold cost based on value and no gold or ingredient cost will be enabled.")
 
ElseIf (Option == iDisable)
SetInfoText("Selecting this option will disable all recipe options. DLC and CCF Compatibility will remain unaltered.")
 
 
ElseIf (option == OIDCount)
SetInfoText("Select how many you would like to make per craft? Minimum is 1, and the maximum is 25.")
 
 
event OnOptionMenuOpen(int option)
If (option == OIDEnableListMenu)
SetMenuDialogOptions(EnableListMenu)
SetMenuDialogStartIndex(EnableListSelection)
SetMenuDialogDefaultIndex(0)
EndIf
EndEvent
 
event OnOptionMenuAccept(int option, int index)
If (option == OIDEnableListMenu)
EnableListSelection = index
SetMenuOptionValue(OIDEnableListMenu, EnableListMenu[EnableListSelection])
If EnableListSelection == 0 ; Custom
LCCAOptionAlchemy.getValue()
LCCAOptionAnimal.getValue()
LCCAOptionBuffs.getValue()
LCCAOptionCooking.getValue()
LCCAOptionCures.getValue()
LCCAOptionEmpty.getValue()
LCCAOptionFilled.getValue()
LCCAOptionFoods.getValue()
LCCAOptionIngots.getValue()
LCCAOptionLeathers.getValue()
LCCAOptionOres.getValue()
LCCAOptionPoisons.getValue()
LCCAOptionRegens.getValue()
LCCAOptionResists.getValue()
LCCAOptionRestores.getValue()
LCCAOptionSkills.getValue()
LCCAOptionTools.getValue()
LCCAOptionUBuffs.getValue()
LCCAOptionUPoisons.getValue()
LCCAOptionURegens.getValue()
LCCAOptionUResists.getValue()
LCCAOptionURestores.getValue()
LCCAOptionUSkills.getValue()
LCCAOptionUWeakness.getValue()
LCCAOptionWeakness.getValue()
LCCAOptionWines.getValue()
LCCATypeAlternative.getValue()
LCCATypeCostless.getValue()
ForcePageReset()
ElseIf EnableListSelection == 1 ; Alternative
LCCAOptionAlchemy.setValue(1)
LCCAOptionAnimal.setValue(1)
LCCAOptionBuffs.setValue(1)
LCCAOptionCooking.setValue(1)
LCCAOptionCures.setValue(1)
LCCAOptionEmpty.setValue(1)
LCCAOptionFilled.setValue(1)
LCCAOptionFoods.setValue(1)
LCCAOptionIngots.setValue(1)
LCCAOptionLeathers.setValue(1)
LCCAOptionOres.setValue(1)
LCCAOptionPoisons.setValue(1)
LCCAOptionRegens.setValue(1)
LCCAOptionResists.setValue(1)
LCCAOptionRestores.setValue(1)
LCCAOptionSkills.setValue(1)
LCCAOptionTools.setValue(1)
LCCAOptionUBuffs.setValue(1)
LCCAOptionUPoisons.setValue(1)
LCCAOptionURegens.setValue(1)
LCCAOptionUResists.setValue(1)
LCCAOptionURestores.setValue(1)
LCCAOptionUSkills.setValue(1)
LCCAOptionUWeakness.setValue(1)
LCCAOptionWeakness.setValue(1)
LCCAOptionWines.setValue(1)
LCCATypeAlternative.setValue(1)
LCCATypeCostless.setValue(0)
ForcePageReset()
ElseIf EnableListSelection == 2 ; Costless
LCCAOptionAlchemy.setValue(1)
LCCAOptionAnimal.setValue(1)
LCCAOptionBuffs.setValue(1)
LCCAOptionCooking.setValue(1)
LCCAOptionCures.setValue(1)
LCCAOptionEmpty.setValue(1)
LCCAOptionFilled.setValue(1)
LCCAOptionFoods.setValue(1)
LCCAOptionIngots.setValue(1)
LCCAOptionLeathers.setValue(1)
LCCAOptionOres.setValue(1)
LCCAOptionPoisons.setValue(1)
LCCAOptionRegens.setValue(1)
LCCAOptionResists.setValue(1)
LCCAOptionRestores.setValue(1)
LCCAOptionSkills.setValue(1)
LCCAOptionTools.setValue(1)
LCCAOptionUBuffs.setValue(1)
LCCAOptionUPoisons.setValue(1)
LCCAOptionURegens.setValue(1)
LCCAOptionUResists.setValue(1)
LCCAOptionURestores.setValue(1)
LCCAOptionUSkills.setValue(1)
LCCAOptionUWeakness.setValue(1)
LCCAOptionWeakness.setValue(1)
LCCAOptionWines.setValue(1)
LCCATypeAlternative.setValue(0)
LCCATypeCostless.setValue(1)
ForcePageReset()
ElseIf EnableListSelection == 3 ; Both
LCCAOptionAlchemy.setValue(1)
LCCAOptionAnimal.setValue(1)
LCCAOptionBuffs.setValue(1)
LCCAOptionCooking.setValue(1)
LCCAOptionCures.setValue(1)
LCCAOptionEmpty.setValue(1)
LCCAOptionFilled.setValue(1)
LCCAOptionFoods.setValue(1)
LCCAOptionIngots.setValue(1)
LCCAOptionLeathers.setValue(1)
LCCAOptionOres.setValue(1)
LCCAOptionPoisons.setValue(1)
LCCAOptionRegens.setValue(1)
LCCAOptionResists.setValue(1)
LCCAOptionRestores.setValue(1)
LCCAOptionSkills.setValue(1)
LCCAOptionTools.setValue(1)
LCCAOptionUBuffs.setValue(1)
LCCAOptionUPoisons.setValue(1)
LCCAOptionURegens.setValue(1)
LCCAOptionUResists.setValue(1)
LCCAOptionURestores.setValue(1)
LCCAOptionUSkills.setValue(1)
LCCAOptionUWeakness.setValue(1)
LCCAOptionWeakness.setValue(1)
LCCAOptionWines.setValue(1)
LCCATypeAlternative.setValue(1)
LCCATypeCostless.setValue(1)
ForcePageReset()
EndIf
EndIf
EndEvent
 
Event OnOptionSliderOpen(Int Option)
If (Option == OIDCount)
SetSliderDialogStartValue(CountTweakVal)
SetSliderDialogDefaultValue(1)
SetSliderDialogRange(1, 25)
SetSliderDialogInterval(1)
EndIf
EndEvent
 
Event OnOptionSliderAccept(Int Option, Float Value)
If (Option == OIDCount)
CountTweakVal = value
SetSliderOptionValue(OIDCount, CountTweakVal as int, "{0}")
LCCAACountTweak.setValue(CountTweakVal as int)
EndIf
EndEvent
 
Event OnOptionSelect(Int Option)
If (Option == iDisable)
I want to add the default of the OIDEnableMenu & Count Tweak to this part of the code. As this section or option resets everything to default which is 0. Does not reset Mod or DLC compatibility. Sort of a quick disable menu.
LCCAOptionAlchemy.setValue(0)
LCCAOptionAnimal.setValue(0)
LCCAOptionBuffs.setValue(0)
LCCAOptionCooking.setValue(0)
LCCAOptionCures.setValue(0)
LCCAOptionEmpty.setValue(0)
LCCAOptionFilled.setValue(0)
LCCAOptionFoods.setValue(0)
LCCAOptionIngots.setValue(0)
LCCAOptionLeathers.setValue(0)
LCCAOptionOres.setValue(0)
LCCAOptionPoisons.setValue(0)
LCCAOptionRegens.setValue(0)
LCCAOptionResists.setValue(0)
LCCAOptionRestores.setValue(0)
LCCAOptionSkills.setValue(0)
LCCAOptionTools.setValue(0)
LCCAOptionUBuffs.setValue(0)
LCCAOptionUPoisons.setValue(0)
LCCAOptionURegens.setValue(0)
LCCAOptionUResists.setValue(0)
LCCAOptionURestores.setValue(0)
LCCAOptionUSkills.setValue(0)
LCCAOptionUWeakness.setValue(0)
LCCAOptionWeakness.setValue(0)
LCCAOptionWines.setValue(0)
LCCATypeAlternative.setValue(0)
LCCATypeCostless.setValue(0)
ForcePageReset()

Any help with this code would be greatly appreciated.
Edited by LadyCrystyna
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...