Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Help: How to set available difficulties in story mode #327

Open
NikRetaNCAM opened this issue Sep 14, 2022 · 3 comments
Open

Help: How to set available difficulties in story mode #327

NikRetaNCAM opened this issue Sep 14, 2022 · 3 comments

Comments

@NikRetaNCAM
Copy link

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?

@BernardoGP4504
Copy link

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"
       }
],

@NikRetaNCAM
Copy link
Author

image

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

@BernardoGP4504
Copy link

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants