The Mugen Multiverse
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Welcome!!! - Bienvenidos!!! - ( We hope you will get involved in the MMV Community which is dedicated to having fun with Mugen ) - Bienvenidos!!! - Welcome!!!
 
PortalHomeFAQMemberlistLatest imagesUsergroupsSearchRegisterComic WIP TrackerDownloadsLog inChat
Website Navigation Help
Translate the Website
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Latest topics
» Ultra Boy from DC Comics
2 in 1 character Emptyby yolomate Today at 5:55 pm

» Spider-man mugen pre-final (preview) version
2 in 1 character Emptyby Baelorn Today at 3:42 pm

» Bridge Cliff Stage
2 in 1 character Emptyby animaraz Today at 2:46 pm

» Skhsato123 Sprites
2 in 1 character Emptyby Raijjin Today at 6:42 am

Special Features at MMV




Chat on MMV w/ Discord

Video Content Creation Reference
Search
 
 

Display results as :
 
Rechercher Advanced Search

 

 2 in 1 character

Go down 
+3
Gladiacloud
LESSARD
Blade
7 posters
AuthorMessage
Blade

Blade


Posts : 512
Join date : 2012-11-07

2 in 1 character Empty
PostSubject: 2 in 1 character   2 in 1 character EmptyNovember 25th 2018, 7:05 am

Hello. I am working on dark phoenix update.
I wanted to make 2 in 1 character Phoenix and Dark Phoenix.
So whatever she can appear in a hyper combo or be selected with another button.
Whatever. I need help with coding. Someone only needs to guide me, because i never did 2 in 1 char
You can reply me here or contact me private. Thanks


Last edited by Blade on November 25th 2018, 9:31 am; edited 1 time in total
Back to top Go down
LESSARD

LESSARD


Posts : 2220
Join date : 2016-06-19
Age : 44
Location : In your wildest mugen Dreams

2 in 1 character Empty
PostSubject: Re: 2 in 1 character   2 in 1 character EmptyNovember 25th 2018, 7:29 am

I think you can copy the code from Brad and Zombie Brad by armin_iuf. Its the best option I can give you. Good Luck 2 in 1 character 670481599
Back to top Go down
Gladiacloud




Posts : 86
Join date : 2012-11-03

2 in 1 character Empty
PostSubject: Re: 2 in 1 character   2 in 1 character EmptyNovember 25th 2018, 8:31 am

Unfortunately I don't know how.
Back to top Go down
Angelus_Silverhead

Angelus_Silverhead


Posts : 1832
Join date : 2012-05-01
Age : 33
Location : Ukraine

2 in 1 character Empty
PostSubject: Re: 2 in 1 character   2 in 1 character EmptyNovember 25th 2018, 9:59 am

Perhaps you could make few different hypers and specials but later separate it, making work in different palettes (modes). For example, look how it works at Superman Beyond.


Last edited by Angelus_Silverhead on November 25th 2018, 2:57 pm; edited 1 time in total
Back to top Go down
Melter




Posts : 73
Join date : 2012-05-25

2 in 1 character Empty
PostSubject: Re: 2 in 1 character   2 in 1 character EmptyNovember 25th 2018, 12:14 pm

You can do something similar to Exile's Emma Frost, with her normal and her diamond mode. You can activate the differents modes with a hyper.
Back to top Go down
Blade

Blade


Posts : 512
Join date : 2012-11-07

2 in 1 character Empty
PostSubject: Re: 2 in 1 character   2 in 1 character EmptyNovember 25th 2018, 2:08 pm

Melter wrote:
You can do something similar to Exile's Emma Frost, with her normal and her diamond mode. You can activate the differents modes with a hyper.

yes that.
someone needs to guide me with codes how to do it
Back to top Go down
thatguy

thatguy


Posts : 1381
Join date : 2014-05-28
Age : 47
Location : Canada

2 in 1 character Empty
PostSubject: Re: 2 in 1 character   2 in 1 character EmptyNovember 25th 2018, 7:11 pm

There are a few different ways to implement it. Here I will cover the two most common.

The 2 most common:
1. By Palette
2. By Variable

Both require to you have the following:
1. Sprite set for both characters in the SFF
-need the sprites added that are different than the original character
2. Animations for both characters in the AIR
-need the animations added that are different than the original character
3. Code to differentiate the separate characters
-this is where you would use either palette or variable as a trigger
-any move that differs, would be coded twice (once for the original character and second for the second character using a variable or palette to trigger the change)

----------------------------------------------------

By Palette:
Pro:
Can choose a different character from the select screen
Con:
Can't change within the game


Parts of the code:

Example Trigger to differentiate:
trigger1 = PalNo = 5
 Returns true if the current palette number is 5.
trigger1 = PalNo != 5
 Returns true if the current palette number is NOT 5.


Here is a couple examples that use palette for reference:
Superman Beyond by Angelus_Silverhead
Superman by Hannibal, Kal Elvis, Seth Zankuten
Batman by Alucard and Magus

-----------------------------------------------

By Variable:
Pro:
Can change within the game
Con:
Can't choose a different character from the select screen
Need extra code to switch within game


Parts of the code:

Code to switch:
You will need a move to switch between your two characters in game. A power-up or transformation move that changes your variable

Example Trigger to differentiate:
trigger1 = Var(0) = -34
 Triggers if the value of variable 0 is -34.
trigger1 = Var(0) != -34
 Triggers if the value of variable 0 is not -34.


Here is a couple examples that use Variable for reference:
Shang Tsung by Omegapsycho
William Birkin by Armin_iuf
Back to top Go down
Satoshi




Posts : 9
Join date : 2019-02-09

2 in 1 character Empty
PostSubject: Re: 2 in 1 character   2 in 1 character EmptyMarch 6th 2019, 11:55 pm

Hey, could you explain how to change to a different stand in a different palette?
Back to top Go down
thatguy

thatguy


Posts : 1381
Join date : 2014-05-28
Age : 47
Location : Canada

2 in 1 character Empty
PostSubject: Re: 2 in 1 character   2 in 1 character EmptyMarch 7th 2019, 12:44 am

Satoshi wrote:
Hey, could you explain how to change to a different stand in a different palette?

First welcome to the forum. yes

Here is an example of the palette code I just mocked up for you.
This will change different stances between 2 palettes, and could be modified to do others as well.
I used palette number 5 for the example.

Code goes in common1.cns or character.cns file:
;---------------------------------------------------------------------------
; Stand
[Statedef 0]
type = S
physics = S
sprpriority = 0

[State 0, 1]
type = ChangeAnim
trigger1 = PalNo != 5 ;<------ Trigger when NOT palette number 5
trigger2 = Anim != 0 && Anim != 5
trigger3 = Anim = 5 && AnimTime = 0 ;Turn anim over
value = 0   ;<------ Normal Stance (Anim 0)

[State 0, 1]
type = ChangeAnim
trigger1 = PalNo = 5 ;<------ Trigger when palette number 5
trigger2 = Anim != 1 && Anim != 5
trigger3 = Anim = 5 && AnimTime = 0 ;Turn anim over
value = 1   ;<------ Second Stance (Anim 1)

[State 0, 2]
type = VelSet
trigger1 = Time = 0
y = 0

[State 0, 3] ;Stop moving if low velocity or 4 ticks pass
type = VelSet
trigger1 = abs(vel x) < Const(movement.stand.friction.threshold)
trigger2 = Time = 4
x = 0

[State 0, 4] ;Are you dead?
type = ChangeState
trigger1 = !alive
value = 5050
ctrl = 0

;---------------------------------------------------------------------------
Back to top Go down
Satoshi




Posts : 9
Join date : 2019-02-09

2 in 1 character Empty
PostSubject: Re: 2 in 1 character   2 in 1 character EmptyMarch 7th 2019, 12:55 am

I don't know how to respond directly here, but, thanks @thatguy, really appreciated
Back to top Go down
thatguy

thatguy


Posts : 1381
Join date : 2014-05-28
Age : 47
Location : Canada

2 in 1 character Empty
PostSubject: Re: 2 in 1 character   2 in 1 character EmptyMarch 7th 2019, 1:03 am

@satoshi works, or you can use the quote button on the other person's post

2 in 1 character Howto

Quote looks like this:
Satoshi wrote:
I don't know how to respond directly here, but, thanks @thatguy, really appreciated
Back to top Go down
Satoshi




Posts : 9
Join date : 2019-02-09

2 in 1 character Empty
PostSubject: Re: 2 in 1 character   2 in 1 character EmptyMarch 7th 2019, 1:08 am

thatguy wrote:
@satoshi works, or you can use the quote button on the other person's post

2 in 1 character Howto

Quote looks like this:
Satoshi wrote:
I don't know how to respond directly here, but, thanks @thatguy, really appreciated
oh ok, thanks.
Back to top Go down
Sponsored content





2 in 1 character Empty
PostSubject: Re: 2 in 1 character   2 in 1 character Empty

Back to top Go down
 
2 in 1 character
Back to top 
Page 1 of 1
 Similar topics
-
» Which mugen character can i use as a base to make this character?
» Choose Your Character Pick a Character that you want to make
» Looking for this character
» help who is this character
» The Name of a character

Permissions in this forum:You cannot reply to topics in this forum
The Mugen Multiverse :: Mugen Related :: Mugen Resources-
Jump to: