collapse

Author Topic: Need help coding new hyper move  (Read 646 times)

0 Members and 1 Guest are viewing this topic.

Offline Luis/Dshiznet

  • Infinity Regular
  • ****
  • Posts: 1277
  • Last Login:September 16, 2009, 04:58:10 PM
  • Aaron-sama
    • My myspace
    • Email
Need help coding new hyper move
« on: October 22, 2007, 10:19:33 PM »
Im trying to code a hyper move where x gets on the big robot thingy, and has a certain amount of time to hit you with its huge arms and walk around jump and such.

can some one help out by telling me how to start it off?

btw for those who dont know what the robot thingy is , this is what im talking about: (thats not actually the sprite im gonna use, but thats basically what im trying to do)



Offline Luis/Dshiznet

  • Infinity Regular
  • ****
  • Posts: 1277
  • Last Login:September 16, 2009, 04:58:10 PM
  • Aaron-sama
    • My myspace
    • Email
Re: Need help coding new hyper move
« Reply #1 on: October 22, 2007, 11:55:16 PM »
ok this is what i got so far:
[StateDef 7700]
type = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 7700

[State 0, ChangeAnim]
type = ChangeAnim
trigger1 = AnimElem = 7
value = 7800
elem = 1




[State 7700, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

7700= animation that x turns to the big robot thingy.
7800= standing aniamtion of the robot thingy.

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: Need help coding new hyper move
« Reply #2 on: October 23, 2007, 10:16:35 AM »
do you want to control the char??, or do you want that the char do a certain move??


sig made by shullbocka

Offline Luis/Dshiznet

  • Infinity Regular
  • ****
  • Posts: 1277
  • Last Login:September 16, 2009, 04:58:10 PM
  • Aaron-sama
    • My myspace
    • Email
Re: Need help coding new hyper move
« Reply #3 on: October 23, 2007, 02:44:15 PM »
do you want to control the char??, or do you want that the char do a certain move??
control

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: Need help coding new hyper move
« Reply #4 on: October 23, 2007, 05:50:35 PM »
You can set a variable, that triggers when you are at that statedef,   and then put a changeanim in every statedef that the char could use for example, the statedef 200 (low hit), that triggers when the var is activate, for the standing crouch and walking you could code it on the statedef , putting a trigger = stateno = 0 && var(#)=1


sig made by shullbocka

Offline Luis/Dshiznet

  • Infinity Regular
  • ****
  • Posts: 1277
  • Last Login:September 16, 2009, 04:58:10 PM
  • Aaron-sama
    • My myspace
    • Email
Re: Need help coding new hyper move
« Reply #5 on: October 23, 2007, 05:53:37 PM »
You can set a variable, that triggers when you are at that statedef,   and then put a changeanim in every statedef that the char could use for example, the statedef 200 (low hit), that triggers when the var is activate, for the standing crouch and walking you could code it on the statedef , putting a trigger = stateno = 0 && var(#)=1

dam thats alot of work tho.
but ill try my best
thanks man.

Offline Luis/Dshiznet

  • Infinity Regular
  • ****
  • Posts: 1277
  • Last Login:September 16, 2009, 04:58:10 PM
  • Aaron-sama
    • My myspace
    • Email
Re: Need help coding new hyper move
« Reply #6 on: October 23, 2007, 06:20:04 PM »
Yo fallen
can you help me out for a little
i cant quit get it to work, i dont know how to add a variable to it but i know how to do a change anim

so can you plz post me a code that can work for it, then i cant learn how to code it by using your code as an example.


7700=start it
78oo=standing
7900=walking
8000=light punch

hope you can help..

Offline xPreatorianx

  • Infinite Loyalist
  • *****
  • Posts: 2087
  • Last Login:February 08, 2023, 09:35:27 PM
  • I'm done you know where to find me. Click my sig.
    • Deviant-Generation
Re: Need help coding new hyper move
« Reply #7 on: October 23, 2007, 09:06:50 PM »
i do know you have to add a var it looks kinda like this
Code: [Select]
[State 2031, VarAdd]
type = VarAdd
trigger1 = (NumTarget > 0) && (MoveHit)
var(0) = 1
persistent = 0
ignorehitpause = 1

basically fill in the info for the correct var and info but the type is VarAdd and then the trigger is whatever you need it to be and then do the var(x)=1.  Atleast im pretty sure thats how it goes sorry if im wrong. im still trying to understand Vars myself. Also fallen is AFK till next week he said here is the quote he gave me via pm.
Quote
These week I cant help you, because I have exams, and I will not connect to internet, but next  week I will try to help you

Also this is probably obvious to you but the ignorehitpause i think is just if you are doing a trigger with MoveHit!
« Last Edit: October 23, 2007, 09:08:38 PM by xPreatorianx »

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: Need help coding new hyper move
« Reply #8 on: October 23, 2007, 11:48:23 PM »
i do know you have to add a var it looks kinda like this
Code: [Select]
[State 2031, VarAdd]
type = VarAdd
trigger1 = (NumTarget > 0) && (MoveHit)
var(0) = 1
persistent = 0
ignorehitpause = 1

basically fill in the info for the correct var and info but the type is VarAdd and then the trigger is whatever you need it to be and then do the var(x)=1.  Atleast im pretty sure thats how it goes sorry if im wrong. im still trying to understand Vars myself. Also fallen is AFK till next week he said here is the quote he gave me via pm.
Quote
These week I cant help you, because I have exams, and I will not connect to internet, but next  week I will try to help you
.

the var that xPreatorian, its for another thing, its whe  there is an opponent and you have hitted him, and yes I'm in examns, I only connect to check my mail

In the char that I'm making I'm using var for the armor, maybe It could help you, If you havent made the code I will send  it to you on saturday , I dont have my mugen things on my computer now :'(, I easily loose my attention on studying

« Last Edit: October 23, 2007, 11:57:25 PM by Fallen_Angel »


sig made by shullbocka

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: Need help coding new hyper move
« Reply #9 on: October 27, 2007, 12:12:21 AM »
I dont know if you still want to make it, but I will explain it,

you need to add these var to the statedef 7700 

[State 7700, 2]
type = VarSet
trigger1 = Animelem = 1
v = 5
value = 1

var(5) = 1  these its the var that you will have to add to the changeanim in the statedef

What these means its that when the char its in the statedef 7700 in the first anim,the var will activate , the purpose of the var its to identify when those the robot images should appear, you may need an statedef that returns the char to the normal sprites

I havent tried these but I think that you could make the changenani of the stand position in the statedef -3, using a changeanim that triggers in the stateno = 0


sig made by shullbocka

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

Golden Axe Returns by gokudo99
[Today at 03:59:31 AM]


D2TD VS Showcase Thread by D2TD
[November 17, 2024, 08:36:39 AM]


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]

* 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