Post #41 · Posted at 2019-09-19 01:13:55am 4.6 years ago
Inorizushi | |
---|---|
Member | |
487 Posts | |
Not Set | |
Reg. 2012-10-25 | |
"huhbluh" |
Quote: chaoseater1034
Quote: kralde
Can you add the hold to options menú please? Cant use this theme on a 3 button cabinet
Pd: a name entre screen would be awesome todo
Thanks!!
I want, but I don't know how xDPd: a name entre screen would be awesome todo
Thanks!!
I won't give exact code but I will tell you the process at the very least.
-make an input handler in ScreenSelectMusic decorations/underlay/overlay
-set input redirected
-add in commands to move the music wheel
-add in handling for each type of wheel item when start is pressed while selected
-check if start is being held and add screenplayeroptions on top if true; else, continue to stage info
Post #42 · Posted at 2019-09-19 04:06:47am 4.6 years ago
- add CodeNames and give them mapped keys in your theme's metric.ini/ScreenSelectMusic. CodeNames are HoldStart, ReleaseStart and SortMenu. You should turn on Dedicated Buttons in game settings and map menu key buttons to make this work.
- make ScreenSelectMusic decorations\code messages.lua file. Add an actor with it inside default.lua.
- inside code messages.lua, add a new actor. Make some conditional statements under CodeMessageCommand function:
When HoldStart is called, get current time and assign it to start time variable (this will be used for ReleaseStart later). If song is highlighted, sleep time 0.2 then queuecommand to "GoToPlayerOptions"... otherwise, open/close current section. Inside GoToPlayerOptionsCommand function, add new screen on top to ScreenPlayerOptions.
When ReleaseStart is called, get current time and assign it to current time variable. Assign a delay variable (current minus start time). If song is highlighted, and if delay is less than 0.2 second, set input redirect to true* then call TopScreen's "BeginFadingOut" (to go to Stage Info screen)
When SortMenu is called, add new screen on top to ScreenSortMenu (ScreenOptions class). Under ScreenSortMenu decorations\default.lua, add an actor. Under OffCommand function, set input redirect to true** , then broadcast ChangeSort.
Under ChangeSortMessageCommand function, sleep 0.5 then queuecommand to SortMenuOff. Under SortMenuOffCommand function, set input redirect to false** then call musicwheel's change sort using the env variable you got from Sort Menu option line function.
Edit: Under ScreenPlayerOptions decorations\default.ini , add an actor. Under OffCommand function, broadcast PlayerOptionsExit (to be used later for ScreenSelectMusic). Then back to ScreenSelectMusic decorations\code messages.lua, at the new actor you created before, under PlayerOptionsExitMessageCommand function, sleep 0.5 and then queuecommand to MusicSelectOff. Under MusicSelectOffCommand, call TopScreen's StartTransitioning->BeginFadingOut.
* - this will fix the crash when you press and/or hold the Start button again during tween off. You need to set input redirect to false in ScreenStageInformation to return inputs to normal.
** - this will fix the crash while holding start from tween off until you return to previous screen (music select).
I'm giving this idea for you to work yourself and please don't ask how to do it via pm. Good luck.
- make ScreenSelectMusic decorations\code messages.lua file. Add an actor with it inside default.lua.
- inside code messages.lua, add a new actor. Make some conditional statements under CodeMessageCommand function:
When HoldStart is called, get current time and assign it to start time variable (this will be used for ReleaseStart later). If song is highlighted, sleep time 0.2 then queuecommand to "GoToPlayerOptions"... otherwise, open/close current section. Inside GoToPlayerOptionsCommand function, add new screen on top to ScreenPlayerOptions.
When ReleaseStart is called, get current time and assign it to current time variable. Assign a delay variable (current minus start time). If song is highlighted, and if delay is less than 0.2 second, set input redirect to true* then call TopScreen's "BeginFadingOut" (to go to Stage Info screen)
When SortMenu is called, add new screen on top to ScreenSortMenu (ScreenOptions class). Under ScreenSortMenu decorations\default.lua, add an actor. Under OffCommand function, set input redirect to true** , then broadcast ChangeSort.
Under ChangeSortMessageCommand function, sleep 0.5 then queuecommand to SortMenuOff. Under SortMenuOffCommand function, set input redirect to false** then call musicwheel's change sort using the env variable you got from Sort Menu option line function.
Edit: Under ScreenPlayerOptions decorations\default.ini , add an actor. Under OffCommand function, broadcast PlayerOptionsExit (to be used later for ScreenSelectMusic). Then back to ScreenSelectMusic decorations\code messages.lua, at the new actor you created before, under PlayerOptionsExitMessageCommand function, sleep 0.5 and then queuecommand to MusicSelectOff. Under MusicSelectOffCommand, call TopScreen's StartTransitioning->BeginFadingOut.
* - this will fix the crash when you press and/or hold the Start button again during tween off. You need to set input redirect to false in ScreenStageInformation to return inputs to normal.
** - this will fix the crash while holding start from tween off until you return to previous screen (music select).
I'm giving this idea for you to work yourself and please don't ask how to do it via pm. Good luck.
Post #43 · Posted at 2019-09-19 04:34:53am 4.6 years ago
NekoNekoMata | |
---|---|
Member | |
130 Posts | |
Not Set | |
Reg. 2017-02-12 | |
Anyone know to to make the player options go to the StageInformation when pressing ok?
I press the "/" key button when using options to.
I press the "/" key button when using options to.
Post #44 · Posted at 2019-09-19 05:28:52am 4.6 years ago
razorblade | |
---|---|
Member | |
1,099 Posts | |
Not Set | |
Reg. 2011-03-01 | |
You can't make player options to go directly to stage info because you need to remove the bottom screens first (music select). You need to go to bottom screen before transitioning to stage info (via BeginFadingOut). See my edited paragraph above.
Post #45 · Posted at 2019-09-19 05:45:47am 4.6 years ago
NekoNekoMata | |
---|---|
Member | |
130 Posts | |
Not Set | |
Reg. 2017-02-12 | |
Quote: razorblade
You can't make player options to go directly to stage info because you need to remove the bottom screens first (music select). You need to go to bottom screen before transitioning to stage info (via BeginFadingOut). See my edited paragraph above.
Off topic but would you know how to make the song previews fade out when selecting a song?
Post #46 · Posted at 2019-09-19 07:07:35am 4.6 years ago
Metric.ini -> ScreenSelectMusic -> SampleMusicPreviewFadeOut, change the value in seconds.
Post #47 · Posted at 2019-09-19 07:27:15am 4.6 years ago
NekoNekoMata | |
---|---|
Member | |
130 Posts | |
Not Set | |
Reg. 2017-02-12 | |
Quote: razorblade
Metric.ini -> ScreenSelectMusic -> SampleMusicPreviewFadeOut, change the value in seconds.
Hmm, didn't work..?
Post #48 · Posted at 2019-09-19 09:28:16am 4.6 years ago
razorblade | |
---|---|
Member | |
1,099 Posts | |
Not Set | |
Reg. 2011-03-01 | |
Correction: SampleMusicFadeOutSeconds
Post #49 · Posted at 2019-09-19 07:03:40pm 4.6 years ago
NekoNekoMata | |
---|---|
Member | |
130 Posts | |
Not Set | |
Reg. 2017-02-12 | |
Quote: razorblade
Correction: SampleMusicFadeOutSeconds
Oh no I meant when yoo select a song in the music wheel the song sample fades out
when you select a different song like this:
Post #50 · Posted at 2019-09-19 07:22:17pm 4.6 years ago
It is impossible because there is no command for sound actor's fade in/out when SM broadcasts "CurrentSongChanged" (or any broadcast messages in general). The fade in/out are only tied to SOUND:PlayOnce parameters.
Post #51 · Posted at 2019-09-19 07:55:26pm 4.6 years ago
NekoNekoMata | |
---|---|
Member | |
130 Posts | |
Not Set | |
Reg. 2017-02-12 | |
[quote=razorblade]It is impossible because there is no command for sound actor's fade in/out when SM broadcasts "CurrentSongChanged" (or any broadcast messages in general). The fade in/out are only tied to SOUNDlayOnce parameters.[/quote
There's no possible way to do it at all? That kinda blows
I could make the preview play faster by making the music wheel speed to 0.01 , but I want the song wheel to look smooth instead of looking choppy...
There's no possible way to do it at all? That kinda blows
I could make the preview play faster by making the music wheel speed to 0.01 , but I want the song wheel to look smooth instead of looking choppy...
Post #52 · Posted at 2019-09-21 01:22:58am 4.6 years ago
chaoseater1034 | |
---|---|
Member | |
53 Posts | |
Reg. 2019-01-27 | |
".:larga vida al ~choko~:." |
Woah... Thanks!
Post #53 · Posted at 2020-06-25 03:44:54am 3.8 years ago
random movies link ?
random movies link ?
random movies link ?
Post #54 · Posted at 2021-01-15 01:50:03pm 3.2 years ago
chaoseater1034 | |
---|---|
Member | |
53 Posts | |
Reg. 2019-01-27 | |
".:larga vida al ~choko~:." |
I want to say goodbye to this theme for a long time, I have forgotten the lua tricks and knowledge, if somebody gas bugs or feels like the theme is broken, just search for another one. I'm so sorry to say this but I don't know if I will update this shit, probably I'll do a reboot, but I don't know. Anyways, have a good day and be happy, I love you! 😊💜