collapse

Author Topic: How to make a helper show in front of another helper  (Read 989 times)

0 Members and 1 Guest are viewing this topic.

Offline Alexziq

  • Infinite Loyalist
  • *****
  • Posts: 2624
  • Last Login:November 10, 2017, 01:10:16 PM
    • Email
How to make a helper show in front of another helper
« on: July 01, 2008, 09:17:11 AM »
Okay so I have a helper that jumps out, but triggers a 2nd helper animation. Whats happening is the 2nd helper is showing up behind the 1st helper, and I want the opposite effect. I want the 2nd helper to be in the front, and helper #1 to be behind it.

What am I missing?



Offline Laxxe23

  • Forum Member
  • ***
  • Posts: 233
  • Last Login:September 06, 2021, 03:10:10 PM
Re: How to make a helper show in front of another helper
« Reply #1 on: July 01, 2008, 09:40:42 AM »
sprpriority or something along those lines

Offline Alexziq

  • Infinite Loyalist
  • *****
  • Posts: 2624
  • Last Login:November 10, 2017, 01:10:16 PM
    • Email
Re: How to make a helper show in front of another helper
« Reply #2 on: July 01, 2008, 09:46:41 AM »
Yeah I know thats a factor, but no matter how I adjust it doesnt make a differance. Could anybody share an example of how it should be set up in the superiority? keeping in mind they should both be in front of p1

Offline ClubSyN-X-TReME

  • Character and Interactive Stage Specialist
  • Club Syndicate Admin
  • *
  • Posts: 1641
  • Last Login:July 28, 2014, 06:54:54 AM
    • Club SyN -X-treme
Re: How to make a helper show in front of another helper
« Reply #3 on: July 01, 2008, 09:54:27 AM »
Post an image of whats going on because I don't fully understand your current problem.

That would help me to understand better.

Offline The Great Matsutzu

  • Global Moderator (out of the office)
  • *****
  • Posts: 559
  • Last Login:April 17, 2009, 10:03:33 AM
Re: How to make a helper show in front of another helper
« Reply #4 on: July 01, 2008, 01:15:45 PM »
I've delt with this. What I did was use sprpriority 2 for the first helper, sprpriority 3 for the second I believe. Now, I might be remembering what I did wrong, so if it doesn't work, let me know and I'll recheck what I did with my Giro-san char (don't have my flash drive w/ me atm).


Offline Alexziq

  • Infinite Loyalist
  • *****
  • Posts: 2624
  • Last Login:November 10, 2017, 01:10:16 PM
    • Email
Re: How to make a helper show in front of another helper
« Reply #5 on: July 01, 2008, 01:37:58 PM »
I'll try it after work, Im not sure if I tried it with a 2, then 3, so this might work.

Offline El Chupacabras

  • Forum Member
  • ***
  • Posts: 315
  • Last Login:June 11, 2010, 04:34:36 PM
Re: How to make a helper show in front of another helper
« Reply #6 on: July 01, 2008, 04:16:06 PM »
Just use a sprpriority that's higher than the first helper. Valid priority levels are -5 to 5.

Offline Alexziq

  • Infinite Loyalist
  • *****
  • Posts: 2624
  • Last Login:November 10, 2017, 01:10:16 PM
    • Email
Re: How to make a helper show in front of another helper
« Reply #7 on: July 01, 2008, 04:44:20 PM »
Just use a sprpriority that's higher than the first helper. Valid priority levels are -5 to 5.

See that doesnt seem to work for some reason, unless Im missing something.

I wonder if its because its a strikers helper?

Offline The Great Matsutzu

  • Global Moderator (out of the office)
  • *****
  • Posts: 559
  • Last Login:April 17, 2009, 10:03:33 AM
Re: How to make a helper show in front of another helper
« Reply #8 on: July 01, 2008, 08:45:00 PM »
It's strange.. my helpers were all strikers...

The character I'm referring to is Giro. He calls out Zack and Beach at the same time, and it worked perfectly there:

These were the call helper scrtls:

[State 2100, Helper]
type = Helper
trigger1 = time= 0
helpertype = normal ;player
name = "Zack"
ID = 3
stateno = 2002
pos = 0,0
postype = back    ;p2,front,back,left,right
facing = 1
keyctrl = 0
ownpal = 0
ground.type = High
ground.slidetime = 12
ground.hittime  = 15
ground.velocity = -5.5
air.velocity = -2.5,-4

[State 2100, Helper]
type = Helper
trigger1 = time= 0
helpertype = normal ;player
name = "Beach"
ID = 4
stateno = 2001
pos = -80,0
postype = back    ;p2,front,back,left,right
facing = 1
keyctrl = 0
ownpal = 0
ground.type = High
ground.slidetime = 12
ground.hittime  = 15
ground.velocity = -5.5
air.velocity = -2.5,-4


And these were from both of their indiviual statdefs:

[StateDef 2002] ; Zack Runs
type = S
movetype= A
physics = S
juggle  = 1
ctrl = 0
anim = 2002
poweradd = 20
sprpriority = 2
velset = 0, 0

[StateDef 2001] ; Beach Runs
type = S
movetype= A
physics = S
juggle  = 1
ctrl = 0
anim = 2001
poweradd = 20
sprpriority = 3
velset = 0, 0

Zack's sprpriority was 2, while Beach's was 3. Both strikers had their helper scrls in the same Giro parent statedef. The only difference was that Beach had a further back start position than Zack in the helper strls.
« Last Edit: July 01, 2008, 09:30:16 PM by The Great Matsutzu »


Offline Alexziq

  • Infinite Loyalist
  • *****
  • Posts: 2624
  • Last Login:November 10, 2017, 01:10:16 PM
    • Email
Re: How to make a helper show in front of another helper
« Reply #9 on: July 01, 2008, 11:09:21 PM »
Heres what I have

[state 8999, PLANT]
type = helper
trigger1 = AnimElem = 4
helpertype = Normal
name = "IVY PLANT"
id = 89989
postype = P1
size.xscale = 1.5
size.yscale = 1.5
stateno = 89989
ownpal = 1
facing = 1
sprpriority = 2
bindtime = -1



[State 8999, 1]
type = Helper
trigger1 = Time = 0
trigger1 = facing = -1
trigger1 = numhelper(8999) = 0
helpertype = normal
name = "IVY"
id = 8999
postype = right
facing = -1
sprpriority = 3
pos = 0,0
stateno = 8998
keyctrl = 0
ownpal = 1

The plant should show on top, but it doesnt  :-??

Offline Luis/Dshiznet

  • Infinity Regular
  • ****
  • Posts: 1277
  • Last Login:September 16, 2009, 04:58:10 PM
  • Aaron-sama
    • My myspace
    • Email
Re: How to make a helper show in front of another helper
« Reply #10 on: July 01, 2008, 11:15:38 PM »
make ivys sprpriority 2, and the plants 3 dude.

Offline Alexziq

  • Infinite Loyalist
  • *****
  • Posts: 2624
  • Last Login:November 10, 2017, 01:10:16 PM
    • Email
Re: How to make a helper show in front of another helper
« Reply #11 on: July 01, 2008, 11:20:52 PM »
make ivys sprpriority 2, and the plants 3 dude.

No change  :-??

Offline Alexziq

  • Infinite Loyalist
  • *****
  • Posts: 2624
  • Last Login:November 10, 2017, 01:10:16 PM
    • Email
Re: How to make a helper show in front of another helper
« Reply #12 on: July 02, 2008, 12:05:59 AM »
Ah I found the problem, I forgot I had used this same code for another character, and added this added state

[State 8998, 3]
type = SprPriority
trigger1 = Time = 0
value = -5

It was interfering with the other sprprioritys

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: How to make a helper show in front of another helper
« Reply #13 on: July 02, 2008, 01:26:15 AM »
Congrats, I hate it when it turns out to be double code.

*pats on back*

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 15, 2024, 01:25:51 PM]


D2TD VS Showcase Thread by D2TD
[May 12, 2024, 10:20:11 AM]


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]


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