Jump to content

Quick Questions, Quick Answers


Mattiewagg

Recommended Posts

In early testing phase before adding too much to the MCM however, I can't figure out how to get the custom content to work on the menu. I've tried quick start guide but I don't exactly understand that. Is the issue why it won't load because of needing to input x & y positions?

Edited by LadyCrystyna
Link to comment
Share on other sites

  • Replies 2.6k
  • Created
  • Last Reply

Top Posters In This Topic

In early testing phase before adding too much to the MCM however, I can't figure out how to get the custom content to work on the menu. I've tried quick start guide but I don't exactly understand that. Is the issue why it won't load because of needing to input x & y positions?

Don't understand the question. What custom content? What x & y positions? What exactly are you referring to that does not work? Is it your MCM menu? Is it getting data from the MCM menu to the rest of your mod? We will need more details in order to provide you with appropriate information.

Link to comment
Share on other sites

 

In early testing phase before adding too much to the MCM however, I can't figure out how to get the custom content to work on the menu. I've tried quick start guide but I don't exactly understand that. Is the issue why it won't load because of needing to input x & y positions?

Don't understand the question. What custom content? What x & y positions? What exactly are you referring to that does not work? Is it your MCM menu? Is it getting data from the MCM menu to the rest of your mod? We will need more details in order to provide you with appropriate information.

 

I'm trying to get the picture for the MCM, the x & y (horizontal & vertical) positions are referring to the placement of the image on the MCM but the image won't load even though the image is in .dds format.

Edited by LadyCrystyna
Link to comment
Share on other sites

 

 

In early testing phase before adding too much to the MCM however, I can't figure out how to get the custom content to work on the menu. I've tried quick start guide but I don't exactly understand that. Is the issue why it won't load because of needing to input x & y positions?

Don't understand the question. What custom content? What x & y positions? What exactly are you referring to that does not work? Is it your MCM menu? Is it getting data from the MCM menu to the rest of your mod? We will need more details in order to provide you with appropriate information.

 

I'm trying to get the picture for the MCM, the x & y (horizontal & vertical) positions are referring to the placement of the image on the MCM but the image won't load even though the image is in .dds format.

 

Probably too much information...

 

File location needs to stem from: Data > Interface

Max picture dimensions: 770 x 446

Center point of picture area: 376 x 223

 

If you use a DDS image, it needs to be uncompressed. If you do not use coordinates, it will be placed starting at the upper left corner of the image area. Coordinates are optional.

If you put your image in Data > Interface, your command line will be: LoadCustomContent("MyTitleImage.dds")

If you put your image in Data > Interface > myMod, your command line will be: LoadCustomContent("myMod\MyTitleImage.dds")

Link to comment
Share on other sites

 

 

 

In early testing phase before adding too much to the MCM however, I can't figure out how to get the custom content to work on the menu. I've tried quick start guide but I don't exactly understand that. Is the issue why it won't load because of needing to input x & y positions?

Don't understand the question. What custom content? What x & y positions? What exactly are you referring to that does not work? Is it your MCM menu? Is it getting data from the MCM menu to the rest of your mod? We will need more details in order to provide you with appropriate information.

 

I'm trying to get the picture for the MCM, the x & y (horizontal & vertical) positions are referring to the placement of the image on the MCM but the image won't load even though the image is in .dds format.

 

Probably too much information...

 

File location needs to stem from: Data > Interface

Max picture dimensions: 770 x 446

Center point of picture area: 376 x 223

 

If you use a DDS image, it needs to be uncompressed. If you do not use coordinates, it will be placed starting at the upper left corner of the image area. Coordinates are optional.

If you put your image in Data > Interface, your command line will be: LoadCustomContent("MyTitleImage.dds")

If you put your image in Data > Interface > myMod, your command line will be: LoadCustomContent("myMod\MyTitleImage.dds"

Thank you. However I still can't get it to work.

Edited by LadyCrystyna
Link to comment
Share on other sites

 

<snip>

Thank you. However I still can't get it to work.

 

Share your OnPageReset event from your MCM script. Lets rule out any scripting error.

 

If you'd like, you can share your image file. With it I'd try to see if I can get it to display in an MCM menu.

 

Ok here it is

 

 

 

Event OnPageReset(string page)
If (page == "")
LoadCustomContent("LadyCrystynasCraftingAddons/LCCATitle.dds")
return
Else
UnloadCustomContent()
EndIf
http://imgur.com/TEwU83l (Can't get .dds uploaded to imgur so it's in jpeg format. This is also just the test image to get it working, I have a friend hand drawing one for me.)

It will take this / but not this one\ when compiling scripts. MCM quickstart says to use this one /.
Edited by LadyCrystyna
Link to comment
Share on other sites

@LadyCrystyna

The following works with the image you provided:

uncompressed DDS with script code LoadCustomContent("NameOfFile.dds")

uncompressed DDS with script code LoadCustomContent("SomeDirectory/NameOfFile.dds")

 

If neither one of those works for you, please check your MCM menu on a new game. You can enter the console and COC QASMOKE to get to a testing cell. The reason I state this is that the MCM menu system does not update scripts after they have been loaded unless you are using the appropriate version checking functions/events.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...