mugen chars, rare characters
Mugen | CHAT | Transformations? easier way? - Forum | Registration | Login
[New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Transformations? easier way?
tosinDate: Friday, 2012-04-20, 3:31 AM | Message # 1
Adult
Group: Users
Messages: 41
Awards: 0
Reputation: 0
Reproofs: 0%
Status: Offline
Ok 3 things:

1) Hello im kinda new here been a member for a few years but this is my first post

2) Is there a easier way to transform a character other than adding each part to the commons file? (like cliffs code for kabutomaru transformation)

3) How would I code an attack like this :

character (from naruto) takes a scroll and unrole it then hundreds of kunai are sent straight to the enemy


 
sgn_15Date: Friday, 2012-04-20, 4:02 AM | Message # 2
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
Quote (tosin)
2) Is there a easier way to transform a character other than adding each part to the commons file? (like cliffs code for kabutomaru transformation)

it is really coded like that

Quote (tosin)
3) How would I code an attack like this :

character (from naruto) takes a scroll and unrole it then hundreds of kunai are sent straight to the enemy

well you can code the scroll as explod or helper
the kunais are helpers, since you said there are hundreds of them, you need to use a continuously functioning trigger in a single (or at least just a few) helper state contollers


 
tosinDate: Friday, 2012-04-20, 4:14 AM | Message # 3
Adult
Group: Users
Messages: 41
Awards: 0
Reputation: 0
Reproofs: 0%
Status: Offline
2) I think so unless ive been reading wrong I hope someone can better explain it to me.

3) Is the scroll in the same state?


 
sgn_15Date: Friday, 2012-04-20, 4:22 AM | Message # 4
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
if you have time to spend, read all these threads. i answered and explained it there already

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/

Quote (tosin)
3) Is the scroll in the same state?

if the scroll is coded as a helper, it has its own state. every distinct helper has its own state. if you meant the kunais to come out from the scroll, then just code the scroll as helper, then the scroll helper will call the kunais using a continuous trigger


 
tosinDate: Friday, 2012-04-20, 6:44 AM | Message # 5
Adult
Group: Users
Messages: 41
Awards: 0
Reputation: 0
Reproofs: 0%
Status: Offline
Ive been going through the files and have a question. Other than the basic walk, run, hit etc. do I have to add the transform states to basic attacks too even if they are different than the base state? Also could you show me a code for the kunai do I have to have each one as a helper or can they be all together as one helper?

 
sgn_15Date: Friday, 2012-04-20, 7:33 AM | Message # 6
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
were you able to access that site i gave you and read those threads?

you need to modify all states in common1.cns. it contains states for basic movements, guard, damage poses

i can give you the common1.cns i have modified myself (only for 1 transformation) if you want

for kunai problem,

put this in your state (player's state)

[State 0, Helper]
type = Helper
trigger1 = time =0
helpertype = normal ;player
name = "scroll"
ID = 201 ;<----------just for example
stateno = 201 ;<----------just for example
pos = 0,0
postype = p1 ;p2,front,back,left,right
facing = 1
keyctrl = 0
ownpal = 1

then make a new state for the scroll helper

;---------------------------------------------------------------------------
; scroll
[Statedef 201]
type = S
movetype= A
physics = N
juggle = 0
poweradd= 0
ctrl = 0
velset = 0,0
anim = 201

[State 0, Helper]
type = Helper
trigger1 = time%5 = 0 :<---------this will call kunais every 5 ticks of the time that the scroll helper is existing
helpertype = normal ;player
name = "kunai"
ID = 202 ;<----------just for example
stateno = 202 ;<----------just for example
pos = 0,0
postype = p1 ;p2,front,back,left,right
facing = 1
keyctrl = 0
ownpal = 1

[State 0, Destroyself]
type = Destroyself
trigger1 = Animtime = 0

;---------------------------------------------------------------------------
; kunai
[Statedef 202]
type = S
movetype= A
physics = N
juggle = 0
poweradd= 0
ctrl = 0
velset = 0,0
anim = 202

[State 0, VelSet]
type = VelSet
trigger1 = 1
x = 010
y = 0

;PUT HITDEF HERE (kunai is for attacking, so you need hitdef here in cns and red clsn box on anim)

[State 0, Destroyself]
type = Destroyself
trigger1 = movecontact :<------contacts the enemy, both guarded or hit
trigger2 = screenpos X != [0,320] ;<--------------this means you will destroyself the kunai when it reaches outside the mugen screen. this is for the scenario that the kunai was dodged (not hit, not blocked)


 
tosinDate: Friday, 2012-04-20, 8:44 PM | Message # 7
Adult
Group: Users
Messages: 41
Awards: 0
Reputation: 0
Reproofs: 0%
Status: Offline
The kunai keep attacking and won't stop. How do I end them? the scroll after a certain amount of time or after a certain amount of kunai? Also one of the characters I am working on already has two transformations and transform to the first form by pressing down and pause then while in the first form they can transform again into the second form by pressing down and pause. How do I add in my new 3rd form?

 
sgn_15Date: Saturday, 2012-04-21, 9:19 AM | Message # 8
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
for the codes i gave so far, kunais will be called as long as the scroll is existing and within every 5 ticks that the scroll is existing in the game. either you adjust the time of the scroll (since its destroyself trigger is animtime = 0) or adjust the trigger of the kunais helper state controller

Quote (tosin)
Also one of the characters I am working on already has two transformations and transform to the first form by pressing down and pause then while in the first form they can transform again into the second form by pressing down and pause. How do I add in my new 3rd form?

were you able to access the site and the threads i gave you? those were already the explanations for transformation. you have to edit the .air file thorougly, then work on the common1.cns, then before you work on cmd and cns for moves/attacks in new form. also, make the transformation to 3rd form to be possible only when the char is already in 2nd form (like you said) by adding a trigger in the cmd

Added (2012-04-21, 9:19 AM)
---------------------------------------------
i assume you are editing a char... you also need to know the variable being used for transformation... and its value for it.


 
  • Page 1 of 1
  • 1
Search:

Copyright MyCorp © 2024 Create a free website with uCoz