mugen chars, rare characters
Mugen | CHAT | Need Help Adding A Mode To Char - Forum | Registration | Login
[New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Need Help Adding A Mode To Char
FDGod919Date: Saturday, 2012-06-09, 9:07 PM | Message # 1
Knight
Group: contributor
Messages: 113
Awards: 0
Reputation: 1
Reproofs: 0%
Status: Offline
I need to know how to add a mode to a char, like let's say I have all the sprite of naruto and sage naruto
And I don't know how to add a sage mode to activate and stuff.
Can anyone help me plzz, I'll +Rep for your help biggrin
Thank you


 
lol-samaDate: Saturday, 2012-06-09, 10:11 PM | Message # 2
Hero
Group: contributor
Messages: 399
Awards: 0
Reputation: 10
Reproofs: 0%
Status: Offline
you will set a variable in the trasform state,this will be your trasform mode var
[State 0, VarSet]
type = VarSet
trigger1 = 1
v = 0
value = 1

;now go to your stand state
[Statedef 0]
type = S
physics = S
sprpriority = 0

[State 0];normal mode stand
type = ChangeAnim
trigger1 = var(0) = 0 ;var(0)=0 is your normal mode var
value = "normal mode anim"

ok now this is the important part ,this mean that if your var(0)=1 then your stand animation will be different

[State 0]
type = ChangeAnim
trigger1 = var(0) = 1
value ="trasformed anim"

(use the same logic for all common moves such as walk damage jump.....
;----------------------------------------------------------------------
now for a attack:
1)if the move is the same
use this
[Statedef ***]
type = S
movetype= A
physics = S
juggle = 1
velset = 0,0
ctrl = 0
anim = ifelse(var(0)=1,"trasformed attack","normal attack") ;this means that if you are trasformed you will have the trasformed animation if not then you'll have normal one
;--------------------------------------------------
2)if the move are different
;make a new state
[statedef ***]
type = S
movetype= A
physics = S
juggle = 4
ctrl = 0
anim = *** ;trasformed attack animation

[State 10***, ChangeState]
type = ChangeState
trigger1 = animtime = 0
value = 0
ctrl = 1

then in the cmd
[State -1,*****]
type = ChangeState
value = *** ;your trasformed attack
triggerall = var(0)=1 ;add this so that the move works only if you are trasformed
triggerall = command = "***"
triggerall = command = "holddown"
trigger1 = statetype = *
trigger1 = ctrl




Message edited by lol-sama - Saturday, 2012-06-09, 10:12 PM
 
FDGod919Date: Sunday, 2012-06-10, 7:48 PM | Message # 3
Knight
Group: contributor
Messages: 113
Awards: 0
Reputation: 1
Reproofs: 0%
Status: Offline
Kinda confusing but I'll try my best

 
sgn_15Date: Monday, 2012-06-11, 8:39 AM | Message # 4
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
not all of that shit he posted is necessarily absolutely correct. the thing is, understand the concept, then you can take your time doing the transformation yourself

 
FDGod919Date: Monday, 2012-06-11, 9:52 AM | Message # 5
Knight
Group: contributor
Messages: 113
Awards: 0
Reputation: 1
Reproofs: 0%
Status: Offline
yeah well understanding the concept is the part I don't get, and yet lol-sama, gave me a bunch of codes that confuse me more, maybe I'll look if the doc folder can be any help

 
sgn_15Date: Monday, 2012-06-11, 10:05 AM | Message # 6
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
ok.

make or use a state from transforming. inside this state, you use a varset.
varset acts like a swich, you turn on the transformation by setting a variable to any value
variable cannot be used anywhere else by the char

add first all anims you need for transformation. 0 is stance, 10000 is transformed stance. all transformation is + 10000, even useless anim 10 and 12, add their + 10000 to avoid having problems later on

then you need to use common1.cns file

open it, then find all anim = #### or changeanims

you have to use var(#) = 0 for normal form
then var(#) = ### for transformed form

for all anims and changeanims

that is the concept

now, you might find some other state controllers using anim = ### as triggers, for them to work, you also need to add anim = #### + 10000

sample:
trigger1 = anim = 0 || anim = 10000

Added (2012-06-11, 10:05 AM)
---------------------------------------------
http://s8.zetaboards.com/One_Piece_MUGEN/topic/8341183/
http://s8.zetaboards.com/One_Piece_MUGEN/topic/8346241/
http://s8.zetaboards.com/One_Piece_MUGEN/topic/8350268/

read all of them

Added (2012-06-11, 10:05 AM)
---------------------------------------------
that covers the attacks as well


 
tora2Date: Monday, 2012-06-11, 1:34 PM | Message # 7
The Chosen One
Group: Blocked
Messages: 703
Awards: 3
Reputation: 7
Reproofs: 0%
Status: Offline
transformations like full on ones are really complicated in mugen, if you want to just change him to the mode for an attack then go back its easier but a full on transformation with new moveset is not easy.



Xeno: It's like putting the number one in my alphabet soup, it's criminal.
 
sgn_15Date: Monday, 2012-06-11, 4:27 PM | Message # 8
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
it is easy once you understand the concept. but a lot of additional work, yes. hell yes

 
  • Page 1 of 1
  • 1
Search:

Copyright MyCorp © 2024 Create a free website with uCoz