collapse

Author Topic: More Help  (Read 423 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

Classic VS : Athena by ELECTRO
[May 10, 2024, 02:44:09 PM]


Ballroom Hallway (1.1 Only/AIGS) by Vegaz by LightFlare
[May 09, 2024, 11:53:48 AM]


Neon Light Force Demo by kyoman
[May 08, 2024, 12:50:05 PM]


D2TD VS Showcase Thread by D2TD
[May 05, 2024, 10:08:50 AM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[April 21, 2024, 12:09:20 PM]


Ultimate E. Honda + stage by ELECTRO
[April 18, 2024, 09:47:24 PM]


Sunset Beach (1.1 Only/AIGS) by Vegaz by LightFlare
[April 16, 2024, 06:55:00 PM]


Wonder Twins 2.0 by brucewayne74, Shining and Skhsato123 by brucewayne74
[April 05, 2024, 06:07:48 PM]


X-Men Training Room (Bright & Dark) Stage 1.1 & 1.0 by MatreroG
[April 05, 2024, 10:55:29 AM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[April 01, 2024, 11:03:03 PM]

* IMT Calendar

May 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 31

SimplePortal 2.3.5 © 2008-2012, SimplePortal