Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I hide the opponent Notes? #28

Open
ZSolarDev opened this issue Apr 30, 2023 · 5 comments
Open

How can I hide the opponent Notes? #28

ZSolarDev opened this issue Apr 30, 2023 · 5 comments

Comments

@ZSolarDev
Copy link

I'm trying to hide the opponent notes in my modchart but i can't do setPropertyFromClass('ClientPrefs', 'opponentStrums', false), nor can i do noteTweenAlpha('Note1', 0, 0, 0.1, 'linear'). How can i hide the opponent notes?

@Slushi-Github
Copy link

use this:

startMod('alopo','StealthModifier','opponent',-1)

 ease(0, 0.1, 'Linear', [[
        1, alopo, 
    ]])

@EdwhakKB
Copy link

Well if you want the opponent notes alpha to 0 with the modchart editor and lua you need do this

if you have the ModchartEditorState enabled then you must enter it and follow this steps

inside the editor you'll find 4 labels

"editor, events, modifier, playfields"

go to modifier and select the "stealthModifier under the Modifier Class option"

add it a name where is "modifier Name" so you'll have the modifier working when you call it

after that select "opponent" in modifier type and click save modifier

imagen_2023-05-21_172434547

now go to events and follow this steps
find the beat you want to use and then click it and add this info
imagen_2023-05-21_172857506

if you follow this rules the oponent notes should be invisible like this

imagen_2023-05-21_172942710

now lua

you need create a lua and call the function "onCreatePost()"
and add this

startMod('Alpha','StealthModifier','opponent',-1)

 ease(0, 0.1, 'Linear', [[
        1, Alpha, 
    ]])

ease function make it do a ease lmao
the first 0 means the beat you want it applied, 0.1 means the time it should take to that, 'linear' the ease and [[ 1,alpha ]] makes the value go invisible

the closest number to 1 the less visible notes will be

you can change ease to set if you want like this

startMod('Alpha','StealthModifier','opponent',-1)

 set(0, [[
        1, Alpha, 
    ]])

it does the same but no time to do that, just instantly

have fun!

@ender69funk
Copy link

Well if you want the opponent notes alpha to 0 with the modchart editor and lua you need do this

if you have the ModchartEditorState enabled then you must enter it and follow this steps

inside the editor you'll find 4 labels

"editor, events, modifier, playfields"

go to modifier and select the "stealthModifier under the Modifier Class option"

add it a name where is "modifier Name" so you'll have the modifier working when you call it

after that select "opponent" in modifier type and click save modifier

imagen_2023-05-21_172434547

now go to events and follow this steps find the beat you want to use and then click it and add this info imagen_2023-05-21_172857506

if you follow this rules the oponent notes should be invisible like this

imagen_2023-05-21_172942710

now lua

you need create a lua and call the function "onCreatePost()" and add this

startMod('Alpha','StealthModifier','opponent',-1)

 ease(0, 0.1, 'Linear', [[
        1, Alpha, 
    ]])

ease function make it do a ease lmao the first 0 means the beat you want it applied, 0.1 means the time it should take to that, 'linear' the ease and [[ 1,alpha ]] makes the value go invisible

the closest number to 1 the less visible notes will be

you can change ease to set if you want like this

startMod('Alpha','StealthModifier','opponent',-1)

 set(0, [[
        1, Alpha, 
    ]])

it does the same but no time to do that, just instantly

have fun!

can you throw off the build of this editor?

@EdwhakKB
Copy link

well im still doing a personal fix but you can enable it in your own modcharting tools

@ender69funk
Copy link

thanks

well im still doing a personal fix but you can enable it in your own modcharting tools

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

No branches or pull requests

4 participants