collapse

Author Topic: Full Character Control?  (Read 426 times)

0 Members and 4 Guests are viewing this topic.

Offline LameLikeMike

  • Initiate
  • **
  • Posts: 110
  • Last Login:June 13, 2011, 01:10:40 AM
Full Character Control?
« on: July 17, 2008, 12:00:45 AM »
Hey guys, I was wondering if anyone could help me cancel out the normal style of jump and make my characters jump only by pressing a button.

the reason for this is that I'm making a character set for my friends

and i hope to make the characters play similarly to X from the megaman x series

the button scheme i'm hoping for is something like

a=light attack
b=heavy attack
c=special attack
x=jump
y=dash

other problems:
1) I'm having trouble making a repeatable wall jump if anyone can help with that.
2) can you turn off the auto turn for individual characters? or is that only in the MUGEN config? i don't want the characters to be forced to face each other.
« Last Edit: July 17, 2008, 03:03:29 PM by LameLikeMike »



Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12476
  • Country: Brazil br
  • Last Login:November 11, 2024, 12:35:15 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: Button Controlled Jump
« Reply #1 on: July 17, 2008, 12:05:42 AM »
Its simple: you should overwrite the state 40, this is the start of the jump

you need to copy the STATEDEF 40 from the common'.cns that is on the DATA folder, them past on your character's .cns

After that, search for this:

Quote
[State 40, 6]
type = ChangeState
trigger1 = AnimTime = 0
value = 50
ctrl = 1

And change the trigger for something else, like:

[State 40, 6]
type = ChangeState
trigger1 = Command = "y"
value = 50
ctrl = 1

1) Explain better.
2) you wan to turn off the auto turn for EVERY second?

Do this:

Under the STATEDEF - 2, put

Quote
[State 0, AssertSpecial]
type = AssertSpecial
trigger1 = 1
flag = noautoturn
« Last Edit: July 17, 2008, 12:10:49 AM by O Ilusionista »

Offline LameLikeMike

  • Initiate
  • **
  • Posts: 110
  • Last Login:June 13, 2011, 01:10:40 AM
Re: Button Controlled Jump
« Reply #2 on: July 17, 2008, 03:23:52 AM »
Thanks Ilu your a life(or at least time) saver

i think that auto turn thing will work as well, i am hoping that i will be able to do moves while facing away from my opponent without having to put in mirrored sprites for every move.

Offline LameLikeMike

  • Initiate
  • **
  • Posts: 110
  • Last Login:June 13, 2011, 01:10:40 AM
Re: Button Controlled Jump
« Reply #3 on: July 17, 2008, 03:54:40 AM »
Hey Ilu, i did what you said with the jump state, but it made my character just fly up endlessly,
but i figured out that i needed something more in the cmd to make the jump work by the button press.

now my char jumps when i press 'y'
but  my character still jumps when i press: UP
do you know how to get rid of this?

and is there a way to keep control of the characters x position while in the air, for instance jumping straight up but then moving backwards on the way down to dodge a projectile
« Last Edit: July 17, 2008, 04:25:43 AM by LameLikeMike »

Offline Luis/Dshiznet

  • Infinity Regular
  • ****
  • Posts: 1277
  • Last Login:September 16, 2009, 04:58:10 PM
  • Aaron-sama
    • My myspace
    • Email
Re: Button Controlled Jump
« Reply #4 on: July 17, 2008, 04:25:39 AM »
Hey Ilu, i did what you said with the jump state, but it made my character just fly up endlessly,
but i figured out that i needed something more in the cmd to make the jump work by the button press.

now my char jumps when i press 'y'
but  my character still jumps when i press: UP
do you know how to get rid of this?

and is there a way to keep control of the characters x position while in the air

eh im really sleepy right now and the only thing that i can think of is adding a triggerall= command!=*u*

or just edit the cmd of /u

so sleepppyyy..

Offline LameLikeMike

  • Initiate
  • **
  • Posts: 110
  • Last Login:June 13, 2011, 01:10:40 AM
Full Character Control?
« Reply #5 on: July 17, 2008, 03:02:49 PM »
i now have autoturn off, but now need more help

1.  how do you make the player turn by pressing back instead of going to a walking back state

2. how can i let the character be controlled while in a jump state, for instance moving left and right while in mid air.

figured it out
« Last Edit: July 17, 2008, 08:41:27 PM by LameLikeMike »

Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

Barkley Shut Up and Jam! Stages by Vegaz by LightFlare
[November 12, 2024, 11:26:21 AM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[November 11, 2024, 12:35:24 PM]


Eternal Lament Stage 1.1 & 1.0 by O Ilusionista
[November 11, 2024, 12:34:54 PM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[November 11, 2024, 07:00:56 AM]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by ExShadow
[November 02, 2024, 04:54:41 AM]


Spooky House(1.1 Only/AIGS) by Vegaz by LightFlare
[October 31, 2024, 11:31:36 AM]


Rooftop Skyline(1.1 Only/AIGS) by Vegaz by LightFlare
[October 21, 2024, 12:13:37 PM]


Secluded Base(1.1 Only/AIGS) by Vegaz by LightFlare
[October 17, 2024, 01:21:06 PM]


Ultimate Balrog + stage by ELECTRO
[October 17, 2024, 05:40:31 AM]


Classic VS : Balrog by ELECTRO
[October 08, 2024, 04:35:53 PM]

* IMT Calendar

November 2024
Sun Mon Tue Wed Thu Fri Sat
1 2
3 4 5 6 7 8 9
10 11 12 13 14 [15] 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

SimplePortal 2.3.5 © 2008-2012, SimplePortal