YoshiCrafterEngine icon indicating copy to clipboard operation
YoshiCrafterEngine copied to clipboard

Help: How to set available difficulties in story mode

Open NikRetaNCAM opened this issue 3 years ago • 3 comments

What do you need help for ?

Please note that the documentation is still under construction.

for example, if week should be available on hard only?

NikRetaNCAM avatar Sep 14 '22 08:09 NikRetaNCAM

for example, if week should be avaliable on hard only?

not only that but you can change the image of the difficulty. Just go into weeks.json then go into your week then find the "difficulties" property and open an array in it's value:

"difficulties": [],

then inside the array put this:

{
        "sprite": "mod:filepath",
	"name": "difficulty"
}

then change mod: into your mod's folder name then change the filepath to the file path of your custom difficulty image and change difficulty to the difficulty you want (first letter capitalized)

  • but if you want to use the normal difficulty image then ~use~ put this instead:
{
	"sprite": "Friday Night Funkin':storymenu/difficulty",
	"name": "difficulty"
}

you already know what to do with difficulty.

then put the code above inside the array like:

"difficulties": [
        {
                "sprite": "mod:filepath",
	        "name": "difficulty"
        }
],

or if you use the code using fnf's difficulty image:

"difficulties": [
       {
	       "sprite": "Friday Night Funkin':storymenu/difficulty",
	       "name": "difficulty"
       }
],

BernardoGP4504 avatar Sep 25 '22 19:09 BernardoGP4504

image

  1. I dont see "difficulties" in here (tried Ctrl+F)
  2. Why does Yoshi Engine save my .json like this?

NikRetaNCAM avatar Sep 29 '22 09:09 NikRetaNCAM

image

  1. I dont see "difficulties" in here (tried Ctrl+F)
  2. Why does Yoshi Engine save my .json like this?
  1. Then add it
  2. It's normal. You just wanna format the json to be normal (or enable automatic line break if using visual studio)

BernardoGP4504 avatar Sep 30 '22 01:09 BernardoGP4504