collapse

Author Topic: More Help  (Read 444 times)

0 Members and 1 Guest are viewing this topic.

Offline A!

  • Novice Coder
  • Infinity Regular
  • ****
  • Posts: 1318
  • Country: United Kingdom gb
  • Last Login:August 03, 2019, 06:10:28 PM
  • Don't Hate If You Cant Create
More Help
« on: February 06, 2011, 06:04:57 AM »
Hey... (sigh)

Problem 1

I need help with another problem, ok im going to give an example... for example how do i code rush for megaman(not making megaman) but how do i code rush to follow him ect, i tried to look at the template, its good but i need a tutorial, i know i got make another cns for it.  Is there one on the internet(tutorial).

Problem 2

Im using the MvCEoH template and the intro's are never random it keeps doing the first intro, the coding is the same as who ever else used the template so i dont get why its not random for me.


« Last Edit: February 07, 2011, 03:16:34 PM by =AkY= »


A guy told me one time, "Don't let yourself get attached to anything you are not willing to walk out on in 30 seconds flat if you feel the heat around the corner."

Offline Acey

  • Infinity Administrator
  • *
  • Posts: 9579
  • Country: United States us
  • Last Login:December 05, 2022, 10:43:15 PM
  • "Victory means nothing, the fight is everything."
    • Infinity Wiki - Acey
    • Email
Re: More Help
« Reply #1 on: February 07, 2011, 06:27:31 PM »
1) Coding Rush

Rush is a "helper" in the character. So first you create a series of [statedef]s that have Rush's movements and attacks, programmed accordingly, then you create an sctrl in either your [statedef -2], [statedef 190], [statedef 5900] or all three that is type = helper whose purpose is to call the helper into action at the beginning of the battle.

2) Intro Radomization

It could be a variety of variable that it causing your intros to not randomize. Which statedef intro is being activated and what does the code look like that activates the second intro?

Offline A!

  • Novice Coder
  • Infinity Regular
  • ****
  • Posts: 1318
  • Country: United Kingdom gb
  • Last Login:August 03, 2019, 06:10:28 PM
  • Don't Hate If You Cant Create
Re: More Help
« Reply #2 on: February 08, 2011, 11:57:25 AM »
1) Coding Rush

Rush is a "helper" in the character. So first you create a series of [statedef]s that have Rush's movements and attacks, programmed accordingly, then you create an sctrl in either your [statedef -2], [statedef 190], [statedef 5900] or all three that is type = helper whose purpose is to call the helper into action at the beginning of the battle.

OMG! the rush part is actually working, i was missing the part that i had to add in the statedef -2, i still need to understand the coding but its working  :)

Quote
2) Intro Radomization

It could be a variety of variable that it causing your intros to not randomize. Which statedef intro is being activated and what does the code look like that activates the second intro?

As for the intro heres the coding

;Introductions

[Statedef 190]
type = S

[State 190, 1]
type = VarRandom
trigger1 = Time = 0
v = 1
range = 0,200

[State 190, 2]
type = ChangeState
trigger1 = Var(1) = [0,200]
value = 191

[State 190, 3]
type = ChangeState
trigger1 = Var(1) = [201,400]
value = 192

;---------------------------------------------------------------------------------------------
;Intro1
[Statedef 191]
type = S
movetype = I
physics = N
ctrl = 0
anim = 190
velset = 0,0
spriority = 0

[State 0, VarSet]
type = VarRandom
trigger1 = time =0
v = 1
range = 6,8

[State 0, AssertSpecial]
type = AssertSpecial
trigger1 = 1
flag = Intro

[State 190, ChangeState]
type = ChangeState
trigger1 = AnimTime = 0
value = 193

;---------------------------------------------------------------------------------------------
;Intro2
[Statedef 192]
type = S
movetype = I
physics = N
ctrl = 0
anim = 191
velset = 0,0
spriority = 0

[State 0, VarSet]
type = VarRandom
trigger1 = time =0
v = 1
range = 6,8

[State 0, AssertSpecial]
type = AssertSpecial
trigger1 = 1
flag = Intro

[State 190, ChangeState]
type = ChangeState
trigger1 = AnimTime = 0
value = 193

I want to make him more intro's also
A guy told me one time, "Don't let yourself get attached to anything you are not willing to walk out on in 30 seconds flat if you feel the heat around the corner."

Offline Acey

  • Infinity Administrator
  • *
  • Posts: 9579
  • Country: United States us
  • Last Login:December 05, 2022, 10:43:15 PM
  • "Victory means nothing, the fight is everything."
    • Infinity Wiki - Acey
    • Email
Re: More Help
« Reply #3 on: February 08, 2011, 05:08:00 PM »
Next question, what are your animation 190 and 191 in the air file, are they the same?

Also, you can delete this code from 191 and 192:

Code: [Select]
[State 0, VarSet]
type = VarRandom
trigger1 = time =0
v = 1
range = 6,8

Offline A!

  • Novice Coder
  • Infinity Regular
  • ****
  • Posts: 1318
  • Country: United Kingdom gb
  • Last Login:August 03, 2019, 06:10:28 PM
  • Don't Hate If You Cant Create
Re: More Help
« Reply #4 on: February 09, 2011, 11:21:07 AM »
Animation in the air file is 190(intro1) and 191(intro 2), and i deleted the varset
A guy told me one time, "Don't let yourself get attached to anything you are not willing to walk out on in 30 seconds flat if you feel the heat around the corner."

Offline Acey

  • Infinity Administrator
  • *
  • Posts: 9579
  • Country: United States us
  • Last Login:December 05, 2022, 10:43:15 PM
  • "Victory means nothing, the fight is everything."
    • Infinity Wiki - Acey
    • Email
Re: More Help
« Reply #5 on: February 09, 2011, 12:09:04 PM »
Go ahead and send over the char and I'll take a look, or if you're uncomfortable with that you can just post the AIR code for the two animations.

[begin action 191]
[begin action 192]

Offline Acey

  • Infinity Administrator
  • *
  • Posts: 9579
  • Country: United States us
  • Last Login:December 05, 2022, 10:43:15 PM
  • "Victory means nothing, the fight is everything."
    • Infinity Wiki - Acey
    • Email
Re: More Help
« Reply #6 on: February 09, 2011, 12:40:20 PM »
Found the two problems, and it was there in front of our eyes the whole time.

[State 190, 1]
type = VarRandom
trigger1 = Time = 0
v = 1
range = 0,400

[State 190, 2]
type = ChangeState
trigger1 = Var(1) = [0,200]
value = 191

[State 190, 3]
type = ChangeState
trigger1 = Var(1)= [201,400]
value = 192

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