ポスト #1 · 2017-04-30 09:43:29pmにポスト 7.1年前
![]() | |
---|---|
![]() |
Member |
30 ポスト | |
Not Set | |
Reg. 2015-04-20 | |
![]() |
I've have plenty of time without posting here but my game is going to have a final update(wich you can donwload here: https://zenius-i-vanisher.com/v5.2/thread?threadid=9211 ) and I want to make a some special ending scene. I was wondering if it's possible to make a secuence similar to DDR 2nd Remix on PS One where you can actual play "Love is the power" while the credits are rolling. It is possible on SM5? What kind of screen I need to make in order to have something like that? o.o
ポスト #2 · 2017-04-30 11:50:53pmにポスト 7.1年前
![]() | |
---|---|
![]() |
Banned |
24 ポスト | |
![]() | |
Reg. 2017-02-05 | |
I'm not sure if it is possible, I mean, you could put in credits like for example in the final extra stage, you could put in playable credits kinda like from DDR X3 vs 2nd Mix with Love is the power Reborn.
ポスト #3 · 2017-05-01 12:43:35amにポスト 7.1年前
![]() | |
---|---|
![]() |
Member |
970 ポスト | |
![]() | |
Reg. 2012-03-20 | |
"ムーン ゴーシュス メヂィデーション" |
Not possible on 3.9 and variants. Not sure on SM5.
ポスト #4 · 2017-05-01 03:53:03amにポスト 7.1年前
![]() | |
---|---|
![]() |
Member |
332 ポスト | |
Not Set | |
Reg. 2012-04-30 | |
Assuming you have the song and its steps already, you could script the credits sequence as FGChanges or BGChanges using Lua. This would effectively be very similar to a "mods file" like TaroNuke or others make.
So, yes, it is possible, but will require a knowledge of Lua and StepMania's scripting interface.
So, yes, it is possible, but will require a knowledge of Lua and StepMania's scripting interface.
ポスト #5 · 2017-05-01 08:55:08pmにポスト 7.1年前
![]() | |
---|---|
![]() |
Member |
30 ポスト | |
Not Set | |
Reg. 2015-04-20 | |
![]() |
Thanks for your comments.
Yeah I want to use one specific song just for this secuence, but I guess it's kinda hard to make it works propertly, also, the fact that is variable depending on the style and difficulty you are playing, but maybe that would be too much to ask. It doesn't have to be an actual credits scene, just whatever that can be put after the evaluation summary screen, adding the gameplay part. Anyway, it would be nice to see some of these examples to have an idea of where to start.
Quote: dbk2
Assuming you have the song and its steps already, you could script the credits sequence as FGChanges or BGChanges using Lua. This would effectively be very similar to a "mods file" like TaroNuke or others make.
So, yes, it is possible, but will require a knowledge of Lua and StepMania's scripting interface.
So, yes, it is possible, but will require a knowledge of Lua and StepMania's scripting interface.
Yeah I want to use one specific song just for this secuence, but I guess it's kinda hard to make it works propertly, also, the fact that is variable depending on the style and difficulty you are playing, but maybe that would be too much to ask. It doesn't have to be an actual credits scene, just whatever that can be put after the evaluation summary screen, adding the gameplay part. Anyway, it would be nice to see some of these examples to have an idea of where to start.
ポスト #6 · 2017-05-02 02:07:02amにポスト 7.1年前
I put together a very simple example of a Credits sequence without any gameplay using ScreenCredits (which is already defined in the _fallback theme, so you shouldn't need to define the screen in your Metrics.ini).
YOUR_THEME/BGAnimations/ScreenCredits overlay.lua
https://gist.github.com/dguzek/c821a2d98a316755f68ac198dee0625d
This is very plain; there are no pictures or decorations, only a line of text for each person you want to give credit to. I wrote some comments explaining a little bit about what is going on, but you shouldn't need to change anything other than the people table.
For a more complex example, consider looking at the default theme's ScreenCredits. kyzentun was kind enough to leave some helpful comments there explaining what is going on.
YOUR_THEME/BGAnimations/ScreenCredits overlay.lua
https://gist.github.com/dguzek/c821a2d98a316755f68ac198dee0625d
This is very plain; there are no pictures or decorations, only a line of text for each person you want to give credit to. I wrote some comments explaining a little bit about what is going on, but you shouldn't need to change anything other than the people table.
For a more complex example, consider looking at the default theme's ScreenCredits. kyzentun was kind enough to leave some helpful comments there explaining what is going on.
ポスト #7 · 2017-05-08 05:24:13amにポスト 7.1年前
![]() | |
---|---|
![]() |
Member |
30 ポスト | |
Not Set | |
Reg. 2015-04-20 | |
![]() |
Thank you for that dbk2, but I'm just gonna make a video for the credits and put it on the background. For the gameplay part I don't think it's possible the way I see it so it would be just the video. Thanks for the answers anyway ![Smile](../emoticons/icon_smile.gif)
![Smile](../emoticons/icon_smile.gif)
ポスト #8 · 2017-05-16 03:06:42pmにポスト 7年前
![]() | |
---|---|
![]() |
Member |
335 ポスト | |
![]() | |
Reg. 2011-03-09 | |
The way I'd do it is:
1. Check if the player actually has the credits song available. If they don't, go to a backup version that doesn't include gameplay.
2. If the credits song is available, go to a special variant of ScreenGameplay that's set up the way you want it. You might have to fiddle with GAMESTATE stuff (maybe turn on temporary event mode?) to get it to work after the player doesn't have any more stages.
1. Check if the player actually has the credits song available. If they don't, go to a backup version that doesn't include gameplay.
2. If the credits song is available, go to a special variant of ScreenGameplay that's set up the way you want it. You might have to fiddle with GAMESTATE stuff (maybe turn on temporary event mode?) to get it to work after the player doesn't have any more stages.
ポスト #9 · 2017-05-19 01:24:38amにポスト 7年前
![]() | |
---|---|
![]() |
Member |
140 ポスト | |
Not Set | |
Reg. 2015-01-13 | |
"But enough talk! Have at you!" |
Last updated: 2017-05-19 01:26am
You can probably find what you're looking for in this for a credits sequence during gameplay.
Now about activating a song for the credits... Maybe force special stage somehow.
Now about activating a song for the credits... Maybe force special stage somehow.
ポスト #10 · 2017-05-20 04:41:13amにポスト 7年前
Quote: FlameyBoy
Check if the player actually has the credits song available. If they don't, go to a backup version that doesn't include gameplay.
2. If the credits song is available, go to a special variant of ScreenGameplay that's set up the way you want it. You might have to fiddle with GAMESTATE stuff (maybe turn on temporary event mode?) to get it to work after the player doesn't have any more stages.
2. If the credits song is available, go to a special variant of ScreenGameplay that's set up the way you want it. You might have to fiddle with GAMESTATE stuff (maybe turn on temporary event mode?) to get it to work after the player doesn't have any more stages.
What do you mean by having the credits song available? o.o
ZTS, thanks I'll check that file but what I'm saying is to put gameplay on the credits screen not using a selectable song to show the credits.
ポスト #11 · 2017-05-20 02:24:41pmにポスト 7年前
![]() | |
---|---|
![]() |
Member |
822 ポスト | |
Not Set | |
Reg. 2009-11-24 | |
Quote: SaikioM
What do you mean by having the credits song available? o.o
Do you need the song in the songs folder to set it via code and make it playable. I think you could add it as an unselectable song, to avoid the users to pick it from the song wheel.Quote: SaikioM
ZTS, thanks I'll check that file but what I'm saying is to put gameplay on the credits screen not using a selectable song to show the credits.
Yes, but to use a real gameplay field and not to code a lot of things to simulate it, you need to work with a selectable song, otherwise you will need to create a lua comparing the user input and every second of the screen, could be a solution too, but involves a lot of workI personally think that if you don't like to use the gameplay screen, you will have a lot of work to do, because you need to create a command listener to capture the user input, a way to "draw" the steps in the screen, also a way to check if the steps are "played" correctly, I haven't tried to do what you're proposing, but I think the best solution is what they have said, you just create a unselectable simfile with the song that you like, and in the evaluation screen checks if the player met the conditions to activate that ending screen, and just add another playable stage, and make a special screen with a fallback from the gameplay screen, removing the hud elements, leaving only the playfield. you could add the credits in an overlay et voilá.
Maybe I will try to do it later, but it seems to be not so difficult.
ポスト #12 · 2017-05-20 05:33:33pmにポスト 7年前
![]() | |
---|---|
![]() |
Member |
30 ポスト | |
Not Set | |
Reg. 2015-04-20 | |
![]() |
That's exactly what I want MadkaT, a special unselectable song that comes after the evaluation summary screen, the "credits" part will be a simple video in the background. So I need to create a special gameplay screen, the thing is I don't know how to choose that specific song, need a little help there ![Laughing Out Loud](../emoticons/icon_lol.gif)
![Laughing Out Loud](../emoticons/icon_lol.gif)
ポスト #13 · 2017-05-20 06:27:58pmにポスト 7年前
![]() | |
---|---|
![]() |
Moderator+ |
13,505 ポスト | |
![]() | |
Reg. 2006-10-20 | |
![]() ![]() | |
"Popular bisexual disaster" |
SM files have a SELECTABLE tag. My best guess is to have a file with a Selectable tag set to NO, then do some fudge work in the credits screen that selects the song.
ポスト #14 · 2017-05-20 08:28:10pmにポスト 7年前
![]() | |
---|---|
![]() |
Member |
822 ポスト | |
Not Set | |
Reg. 2009-11-24 | |
The simfiles have the tag to make it normally unselectable like Oni have said.
From other side... I've done it (Or at least something similar
)
![http://i.imgur.com/FrIzZmW.png](http://i.imgur.com/FrIzZmW.png)
What you need to do is the following:
1. Create this function in a lua file or append it to another lua file in the scripts folder:
function DecideEnding()
-- best final grade better than A: show the credits.
-- otherwise, show game over screen.
if Grade:Compare(STATSMAN:GetBestFinalGrade(), 'Grade_Tier04') <= 0 then
local newSong = SONGMAN:FindSong("Insane Techniques");
if newSong then
GAMESTATE
etCurrentSong(newSong);
--Add another stage to play
for player in ivalues(GAMESTATE:GetHumanPlayers()) do
GAMESTATE:AddStageToPlayer(player);
--Reset options to default
GAMESTATE:ResetPlayerOptions(player);
end
end
return "ScreenCreditMusic";
end;
return "ScreenGameOver"
end;
2. Define the ScreenCreditMusic in metrics a s a fallback of ScreenGameplay:
3. Define the function in the nextscreen of the evaluationsummary screento redirect the user:
4. Tune it to your liking and profit!
I've just pasted another credits that I have in the overlay layer of the screen, you could use some lua coding to check if the left player or the right player or both players have joined and reposition the actors or whatever you use to show the credits![Wink](../emoticons/icon_wink.gif)
From other side... I've done it (Or at least something similar
![Laughing Out Loud](../emoticons/icon_lol.gif)
![http://i.imgur.com/FrIzZmW.png](http://i.imgur.com/FrIzZmW.png)
What you need to do is the following:
1. Create this function in a lua file or append it to another lua file in the scripts folder:
function DecideEnding()
-- best final grade better than A: show the credits.
-- otherwise, show game over screen.
if Grade:Compare(STATSMAN:GetBestFinalGrade(), 'Grade_Tier04') <= 0 then
local newSong = SONGMAN:FindSong("Insane Techniques");
if newSong then
GAMESTATE
![Confused](../emoticons/icon_confused.gif)
--Add another stage to play
for player in ivalues(GAMESTATE:GetHumanPlayers()) do
GAMESTATE:AddStageToPlayer(player);
--Reset options to default
GAMESTATE:ResetPlayerOptions(player);
end
end
return "ScreenCreditMusic";
end;
return "ScreenGameOver"
end;
2. Define the ScreenCreditMusic in metrics a s a fallback of ScreenGameplay:
[ScreenCreditMusic]
Fallback="ScreenGameplay"
NextScreen="ScreenGameOver"
Fallback="ScreenGameplay"
NextScreen="ScreenGameOver"
3. Define the function in the nextscreen of the evaluationsummary screento redirect the user:
Quote
[ScreenEvaluationSummary]
NextScreen=DecideEnding()
NextScreen=DecideEnding()
4. Tune it to your liking and profit!
I've just pasted another credits that I have in the overlay layer of the screen, you could use some lua coding to check if the left player or the right player or both players have joined and reposition the actors or whatever you use to show the credits
![Wink](../emoticons/icon_wink.gif)
ポスト #15 · 2017-05-24 05:08:14amにポスト 7年前
Yeah I knew about the Selectable label on the .sm/scc files just never contemplate the idea of having the song on the Songs folder
Thank you so much for this example MadkaT, I'll do some testing and show the results here ![Smile](../emoticons/icon_smile.gif)
So I did my test, it goes to a new gameplay screen after summary but is showing the last song I played. I don't know if is something with the name of the song:
I tried to use the folder name, the path and the full song name and it's always the same![Sad](../emoticons/icon_sad.gif)
![Tongue](../emoticons/icon_razz.gif)
![Smile](../emoticons/icon_smile.gif)
So I did my test, it goes to a new gameplay screen after summary but is showing the last song I played. I don't know if is something with the name of the song:
Quote
if Grade:Compare(STATSMAN:GetBestFinalGrade(), 'Grade_Tier04') <= 0 then
local newSong = SONGMAN:FindSong("singing");
if newSong then
GAMESTATE
etCurrentSong(newSong);
local newSong = SONGMAN:FindSong("singing");
if newSong then
GAMESTATE
![Confused](../emoticons/icon_confused.gif)
I tried to use the folder name, the path and the full song name and it's always the same
![Sad](../emoticons/icon_sad.gif)