Extended Intro & Outro functions (updated 2023/10/30)

Started by Foobs, October 22, 2022, 03:41:09 AM

Previous topic - Next topic

Foobs

This is a little project I've been working on for a couple of weeks. It's an easy to use module to change how intros and winposes look, because the defaults Ikemen inherited from mugen don't quite look like most commercial games. Among other things, this lets any and all of your characters:

- Walk, run, crouch and jump before the match starts.
- Mute the music and hide the lifebars during intros.
- Mute the music and hide the lifebars during kos.
- Override mugen's default slowdown on ko.
- Play special effect when you ko a character with a special and/or super move.
- Have the camera focus on the winner (or loser) when a round ends.

Here's some small clips showing what you can do with the system:





Download it here (click on "Source code (zip)" on the top release).


VictorCYBR

I'm not very familiar with Ikemen and modules, so I'm gonna ask...

Is it possible to make intros and winposes unskippable?

This is something that I've been wanting for years... :P (also unskippable versus screen)

Foobs

It is possible, there is a new scrtl specifically for it.

https://github.com/ikemen-engine/Ikemen-GO/wiki/State-controllers#roundnotskip

I'll probably add it as a function on the next update.

cristopeles

wow, how great to keep progressing by leaps and bounds thank you very much bro
si te gusta la musica deberias pasar ver mi canal de youtube tengo unas canciones de anime, jrock y de novelas de visuales espectaculares y no te las deberías perder ;3

Ganbare-Lucifer

I've just tested recently and even if I set the camera to the winner, the camera seems to focus on the loser :/
"Heroes are not applied on good people with powers, they apply on cops, firefighters, medics." ~Lucifer


Foobs

Could you be a bit more specific as to under which circumstances it's not working?

I tested the files from the github repository on a fresh install and both camera settings were working.

@[user id=77435]Nintendo DS[/user]:

I already implemented unskipabble intro and winpose settings. You can try them by downloading the main repository, I want to try a couple more things before the next "formal" release.

Ganbare-Lucifer

Quote from: Foobs on October 25, 2022, 04:55:43 AM
Could you be a bit more specific as to under which circumstances it's not working?

I tested the files from the github repository on a fresh install and both camera settings were working.

@[user id=77435]Nintendo DS[/user]:

I already implemented unskipabble intro and winpose settings. You can try them by downloading the main repository, I want to try a couple more things before the next "formal" release.

I configured it to 1, so the camera supposedly has to work to focus on the winner, but I saw it focusing on the loser instead.
"Heroes are not applied on good people with powers, they apply on cops, firefighters, medics." ~Lucifer


VictorCYBR

Quote from: Foobs on October 25, 2022, 04:55:43 AM

I'm not messing much with mugen/ikemen lately but I'll definitely test this, thanks for considering and implementing my idea. :lugoi2:

Foobs

You're welcome!

Quote from: Ganbare-Lucifer on October 25, 2022, 10:18:54 PM
I configured it to 1, so the camera supposedly has to work to focus on the winner, but I saw it focusing on the loser instead.

I don't really know what would be causing the issue, but on any case I added a few more failsafes in the most recent update.



Version 0.5 is out now, I added some check to make sure the ko bg works more or less the same regardless of slowdown. I also added an experimental sound feature, the Breakers' Revenge victory fanfare.



Ganbare-Lucifer

#9
Weird, I replayed again with other characters and now works fine.

Must be an issue involving the characters Riesz (Maybe due to her being a High-Resolution char) and Puyo Puyo-n Archan

But still, it's good to have a failsafe check before anything goes.

Here's a thing I would like to contribute: Maybe extend the options so you can put any victory jingle depending on the character? Of course, customizable for any character.

For example: if using Lucario, play a file like 'sound/victory/LucarioVictory.mp3' by just adding the char name and the path of the file.

Edit: Oh, now that it seems fixed, on High-Res Chars like Riesz the camera zooms too deep to the point you don't see them completely.

Also Victory Music feedback: The victory music plays twice and then there's silence until the victory music plays again when a winpose happens again, the silence doesn't happen if the stage has round x music. Would be better if there was an option to play victory jingles ONLY when a character wins twice.
"Heroes are not applied on good people with powers, they apply on cops, firefighters, medics." ~Lucifer


Foobs

Quote from: Ganbare-Lucifer on October 28, 2022, 12:06:53 AMEdit: Oh, now that it seems fixed, on High-Res Chars like Riesz the camera zooms too deep to the point you don't see them completely.
Easy enough to fix, I had not accounted for localcoord 640x480 and higher.

QuoteHere's a thing I would like to contribute: Maybe extend the options so you can put any victory jingle depending on the character? Of course, customizable for any character.

For example: if using Lucario, play a file like 'sound/victory/LucarioVictory.mp3' by just adding the char name and the path of the file.
The problem is that this kind of goes against my design philosphy of making stuff plug and play; if the end user already has to find a sound sample for every character he'd be better off copy pasting the code in the character itself.

QuoteAlso Victory Music feedback: The victory music plays twice and then there's silence until the victory music plays again when a winpose happens again, the silence doesn't happen if the stage has round x music.
This might be an engine issue. I'll need to llok deeper into this. Meanwhile...

QuoteWould be better if there was an option to play victory jingles ONLY when a character wins twice.
This actually turned out to be a workaround solution, so I'm keeping it that way for now.

These two issues are kind of major fuck ups, so I released version 0.5.1 just to fix them.

Foobs

New update.

I added some new options to control how much power you start each round with. Want to start each fight with full meter like in SFA3? go for broke!

Also, I moved all the victory music stuff to its repository, and also included a small script I hadn't shown before. It hides the powerbars for characters with in-built resource management, so they won't clash with your lifebars.



Check it here:

https://github.com/RealFoobs/Misc-Ikemen-scripts

Lasombra Demon

Nice! For the Hide Powerbars stuff, I thought you could use some Authornames as triggers, too. Warusaki comes to mind.
For downloads and questions, go to IKEMEÑ:  https://discord.gg/rweS5ZUek3

For donations go to https://ko-fi.com/lasombrademon

Foobs

I thought of that, but it would clash with with his non-cvs2 characters.

Lasombra Demon

Authorname + Character name, maybe? :P At least for Waru chars and maybe a couple more.
For downloads and questions, go to IKEMEÑ:  https://discord.gg/rweS5ZUek3

For donations go to https://ko-fi.com/lasombrademon

Foobs

Too annoying. Easier for the end user to copypaste 3 lines into the characters def than for me to add 20+ triggers for his works.

Foobs

Updated today.

No new features implemented, sorry, only a few bug fixes.

Ganbare-Lucifer

It's quite a long time.

But here's another bug report:

Just compatibility issues: Starting from 99.0 the victory screen music keeps playing, mixing with the other music like the menu screen, select screen, versus screen.
"Heroes are not applied on good people with powers, they apply on cops, firefighters, medics." ~Lucifer


Foobs

Updated again to celebrate the new ikemen version.

The most notable update is that you can enable prefight movement in the style of the versus series (or MB) now.





Quote from: Ganbare-Lucifer on October 22, 2023, 05:02:20 AM
It's quite a long time.

But here's another bug report:

Just compatibility issues: Starting from 99.0 the victory screen music keeps playing, mixing with the other music like the menu screen, select screen, versus screen.
I don't remember if we had this conversation on the discord server or something before, but iirc those were some temporary regressions on the nightly build. Please try 0.99.0.

Tanky Blobbit

I don't know what it is, but I tried with multiple characters and I'm not seeing them be able to move pre-fight. I have the setting turned on.