collapse

Author Topic: Adjusting fireball height...  (Read 609 times)

0 Members and 1 Guest are viewing this topic.

Offline Raver03x

  • Initiate
  • **
  • Posts: 67
  • Last Login:December 14, 2011, 10:43:12 PM
  • Friend... you never stood a chance.
    • Email
Adjusting fireball height...
« on: August 31, 2008, 10:37:28 PM »
Hello all,

I could only find this broli from DBZ HD by necromancer. He is a lot shorter than my other DB characters so i increased X and Y form 1 to 1.3. He looks crappy but it's the only one out there. How can i adjust the fireball effect a bit higher? here's an image:



Thanks in advance!



Offline El Chupacabras

  • Forum Member
  • ***
  • Posts: 315
  • Last Login:June 11, 2010, 04:34:36 PM
Re: Adjusting fireball height...
« Reply #1 on: August 31, 2008, 10:46:22 PM »
In the projectile's statedef, depending on whether they used projectile or helper method, it would be offset or pos with respect to postype.

Offline Raver03x

  • Initiate
  • **
  • Posts: 67
  • Last Login:December 14, 2011, 10:43:12 PM
  • Friend... you never stood a chance.
    • Email
Re: Adjusting fireball height...
« Reply #2 on: August 31, 2008, 11:07:47 PM »
In the projectile's statedef, depending on whether they used projectile or helper method, it would be offset or pos with respect to postype.
Well, i'll paste what i found here and if it'snot to much trouble just point the way:

[State 1005:   Projectile]
type         = Projectile
trigger1      = (AnimElem = 3, = 0) && (P2Dist X > 100)
projid      = 9650
projanim      = 9650
projhitanim      = 9320
projremanim      = 9320
projcancelanim   = 9320
projscale      = 1,1
projremove      = 1
projremovetime   = 200
velocity      = 25,(IfElse((Command = "holdup"),-25,IfElse(((Command = "holddown") && (Var(20) = 1)),25,0)))
remvelocity      = 0,0
accel         = 0,0
velmul      = 1.1,1
projhits      = 1
projmisstime   = 0
projpriority   = 100
projsprpriority   = 3
projedgebound   = 1000
projstagebound   = 1000
projheightbound   = -1000,1
offset      = 38,-74
postype      = p1
projshadow      = 0,0,0
supermovetime   = 0
pausemovetime   = 0
afterimage.time   = 10
afterimage.timegap = 1
afterimage.framegap = 2
afterimage.length = 10
afterimage.paladd = 75, 75, 75
afterimage.palmul = .50, .50, .50
afterimage.palcontrast = 75, 75, 75
afterimage.trans    = add
;------------------
attr         = S, SP
hitflag      = MAFDP
guardflag      = M
animtype      = Hard
priority      = 7, Hit
damage       = 100,25
pausetime      = 0,20
guard.pausetime   = 0,10
sparkno      = -1
guard.sparkno   = -1
sparkxy      = 0,0
hitsound      = S1,5
guardsound      = S1,5
ground.type      = High
air.type      = Trip
ground.slidetime   = 18
ground.hittime   = 18
air.hittime      = 18
ground.velocity   = -15
guard.velocity   = -10
air.velocity   = -15,-8
airguard.velocity   = -15,-8
ground.cornerpush.veloff = 0
air.fall      = 1
fall.recover   = 0
down.velocity   = -15,-6
down.bounce      = 1
id         = 9650
getpower      = 25
givepower      = 25
palfx.time      = 20
palfx.mul      = 256,256,256
palfx.add      = 150,150,150
palfx.sinadd   = 100,100,100,25
envshake.time    = 20
envshake.freq    = 120
envshake.ampl    = -8

[State 1005:   Projectile]
type         = Projectile
trigger1      = (AnimElem = 3, = 0) && (P2Dist X <= 100)
projid      = 9650
projanim      = 9650
projhitanim      = 9320
projremanim      = 9320
projcancelanim   = 9320
projscale      = 1,1
projremove      = 1
projremovetime   = 200
velocity      = 25,(IfElse((Command = "holdup"),-25,IfElse(((Command = "holddown") && (Var(20) = 1)),25,0)))
remvelocity      = 0,0
accel         = 0,0
velmul      = 1.1,1
projhits      = 1
projmisstime   = 0
projpriority   = 100
projsprpriority   = 3
projedgebound   = 1000
projstagebound   = 1000
projheightbound   = -1000,1
offset      = 38,-74
postype      = p1
projshadow      = 0,0,0
supermovetime   = 0
pausemovetime   = 0
afterimage.time   = 10
afterimage.timegap = 1
afterimage.framegap = 2
afterimage.length = 10
afterimage.paladd = 75, 75, 75
afterimage.palmul = .50, .50, .50
afterimage.palcontrast = 75, 75, 75
afterimage.trans    = add
;------------------
attr         = S, SP
hitflag      = MAFDP
guardflag      = M
animtype      = Hard
priority      = 7, Hit
damage       = 100,25
pausetime      = 0,20
guard.pausetime   = 0,10
sparkno      = -1
guard.sparkno   = -1
sparkxy      = 0,0
hitsound      = S1,5
guardsound      = S1,5
ground.type      = High
air.type      = Trip
ground.slidetime   = 18
ground.hittime   = 18
air.hittime      = 18
ground.velocity   = -15,-8
guard.velocity   = -10
air.velocity   = -15,-8
airguard.velocity   = -15,-8
ground.cornerpush.veloff = 0
fall.recover   = 0
down.velocity   = -15,-6
down.bounce      = 1
fall         = 1
id         = 9650
getpower      = 25
givepower      = 25
palfx.time      = 20
palfx.mul      = 256,256,256
palfx.add      = 150,150,150
palfx.sinadd   = 100,100,100,25
envshake.time    = 20
envshake.freq    = 120
envshake.ampl    = -8

[State 1005:   Helper]
type          = Helper
triggerall      = (MoveHit) && (AnimElem = 2, < 0)
trigger1      = ((GameTime%25) = 0) || ((Command = "x") ^^ (Command = "y") ^^ (Command = "z"))
helpertype       = Normal
name          = "Disperse Effect"
id          = 9820
pos          = Floor((P2Dist X)-(Var(6))),(Var(7))
postype       = p1
stateno       = 9820
keyctrl      = 0
ownpal      = 1
ignorehitpause   = 1

[State 1005:   Helper]
type         = Helper
triggerall      = (PrevStateNo != 8030)
trigger1      = (AnimElem = 1, = 10) || (AnimElem = 1, = 30)
helpertype      = Normal
name         = "Kikou Ha Effect"
id         = 9900
pos         = 38,-74
postype      = p1
facing      = 1
stateno      = 9900
keyctrl      = 0
ownpal      = 1
supermovetime   = 0
pausemovetime   = 0
size.xscale      = (IfElse((Var(5) = 3),1,0.75))
size.yscale      = (IfElse((Var(5) = 3),1,0.75))

[State 1005:    ChangeState]
type         = ChangeState
trigger1      = (!AnimTime)
value         = IfElse(Pos Y >= 0,0,8021)
ctrl         = 1

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: Adjusting fireball height...
« Reply #3 on: August 31, 2008, 11:10:02 PM »
modify these value  offset      = 38,-74


sig made by shullbocka

Offline Raver03x

  • Initiate
  • **
  • Posts: 67
  • Last Login:December 14, 2011, 10:43:12 PM
  • Friend... you never stood a chance.
    • Email
Re: Adjusting fireball height...
« Reply #4 on: August 31, 2008, 11:41:33 PM »
I did, but nothing happened... do i have to modify everywhere it says offset =38,-74?

Offline aPoCaLyPsE

  • :+:Simply Twist'D:+:
  • IMT Content Architect
  • *
  • Posts: 1022
  • Last Login:January 30, 2018, 06:11:39 PM
  • ...I spit blood before I speak...
    • -"aPoCaLyPsE's Bio... Enter with Caution..."
    • Email
Re: Adjusting fireball height...
« Reply #5 on: August 31, 2008, 11:47:06 PM »
I did, but nothing happened... do i have to modify every where it says offset =38,-74?

Yeh, in both projectile defs...

Quote
[State 1005:   Projectile]
type         = Projectile
trigger1      = (AnimElem = 3, = 0) && (P2Dist X <= 100)
projid      = 9650
projanim      = 9650
projhitanim      = 9320
projremanim      = 9320
projcancelanim   = 9320
projscale      = 1,1
projremove      = 1
projremovetime   = 200
velocity      = 25,(IfElse((Command = "holdup"),-25,IfElse(((Command = "holddown") && (Var(20) = 1)),25,0)))
remvelocity      = 0,0
accel         = 0,0
velmul      = 1.1,1
projhits      = 1
projmisstime   = 0
projpriority   = 100
projsprpriority   = 3
projedgebound   = 1000
projstagebound   = 1000
projheightbound   = -1000,1
offset      = 38,-74 <-------------------- if you want to adjust the proj higher, change the "-74" to a number lower then; as in "-85, -125, -150"


Change for both proj settings. And depending on what states these helpers are and lead to...

Quote

[State 1005:   Helper]
type          = Helper
triggerall      = (MoveHit) && (AnimElem = 2, < 0)
trigger1      = ((GameTime%25) = 0) || ((Command = "x") ^^ (Command = "y") ^^ (Command = "z"))
helpertype       = Normal
name          = "Disperse Effect"
id          = 9820
pos          = Floor((P2Dist X)-(Var(6))),(Var(7))
postype       = p1
stateno       = 9820
keyctrl      = 0
ownpal      = 1
ignorehitpause   = 1

[State 1005:   Helper]
type         = Helper
triggerall      = (PrevStateNo != 8030)
trigger1      = (AnimElem = 1, = 10) || (AnimElem = 1, = 30)
helpertype      = Normal
name         = "Kikou Ha Effect"
id         = 9900
pos         = 38,-74
postype      = p1
facing      = 1
stateno      = 9900
keyctrl      = 0
ownpal      = 1
supermovetime   = 0
pausemovetime   = 0
size.xscale      = (IfElse((Var(5) = 3),1,0.75))
size.yscale      = (IfElse((Var(5) = 3),1,0.75))

[State 1005:    ChangeState]
type         = ChangeState
trigger1      = (!AnimTime)
value         = IfElse(Pos Y >= 0,0,8021)
ctrl         = 1

...they may also need adjusting in the offset of pos x,y.

-"aPoC."



Offline Raver03x

  • Initiate
  • **
  • Posts: 67
  • Last Login:December 14, 2011, 10:43:12 PM
  • Friend... you never stood a chance.
    • Email
Re: Adjusting fireball height...
« Reply #6 on: August 31, 2008, 11:59:23 PM »
I did, but nothing happened... do i have to modify every where it says offset =38,-74?

Yeh, in both projectile defs...

Quote
[State 1005:   Projectile]
type         = Projectile
trigger1      = (AnimElem = 3, = 0) && (P2Dist X <= 100)
projid      = 9650
projanim      = 9650
projhitanim      = 9320
projremanim      = 9320
projcancelanim   = 9320
projscale      = 1,1
projremove      = 1
projremovetime   = 200
velocity      = 25,(IfElse((Command = "holdup"),-25,IfElse(((Command = "holddown") && (Var(20) = 1)),25,0)))
remvelocity      = 0,0
accel         = 0,0
velmul      = 1.1,1
projhits      = 1
projmisstime   = 0
projpriority   = 100
projsprpriority   = 3
projedgebound   = 1000
projstagebound   = 1000
projheightbound   = -1000,1
offset      = 38,-74 <-------------------- if you want to adjust the proj higher, change the "-74" to a number lower then; as in "-85, -125, -150"


Change for both proj settings. And depending on what states these helpers are and lead to...

Quote

[State 1005:   Helper]
type          = Helper
triggerall      = (MoveHit) && (AnimElem = 2, < 0)
trigger1      = ((GameTime%25) = 0) || ((Command = "x") ^^ (Command = "y") ^^ (Command = "z"))
helpertype       = Normal
name          = "Disperse Effect"
id          = 9820
pos          = Floor((P2Dist X)-(Var(6))),(Var(7))
postype       = p1
stateno       = 9820
keyctrl      = 0
ownpal      = 1
ignorehitpause   = 1

[State 1005:   Helper]
type         = Helper
triggerall      = (PrevStateNo != 8030)
trigger1      = (AnimElem = 1, = 10) || (AnimElem = 1, = 30)
helpertype      = Normal
name         = "Kikou Ha Effect"
id         = 9900
pos         = 38,-74
postype      = p1
facing      = 1
stateno      = 9900
keyctrl      = 0
ownpal      = 1
supermovetime   = 0
pausemovetime   = 0
size.xscale      = (IfElse((Var(5) = 3),1,0.75))
size.yscale      = (IfElse((Var(5) = 3),1,0.75))

[State 1005:    ChangeState]
type         = ChangeState
trigger1      = (!AnimTime)
value         = IfElse(Pos Y >= 0,0,8021)
ctrl         = 1

...they may also need adjusting in the offset of pos x,y.

-"aPoC."

I did as instructed, but another fireball from a special move comes higher... not the fireball... :-??  **sigh** it's time for someone to make a better broli, honoring those of choujin and similar...  =P~
« Last Edit: September 01, 2008, 12:09:14 AM by Raver03x »

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

[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[June 03, 2024, 03:18:12 PM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[June 03, 2024, 03:13:51 PM]


Mega Man & Bass - Dynamo Man by Sir Rousseau by O Ilusionista
[June 03, 2024, 03:09:50 PM]


D2TD VS Showcase Thread by D2TD
[May 31, 2024, 11:44:23 AM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[May 26, 2024, 07:39:11 PM]


TMNT Hong Kong Stage for 1.0 & 1.1 Re-Release by LightFlare
[May 24, 2024, 01:44:07 PM]


Captain Commando Stage Pack by Vegaz by LightFlare
[May 24, 2024, 09:20:05 AM]


Street Fighter 1 Ultimate Ryu by ELECTRO
[May 22, 2024, 03:58:25 PM]


China Town (Revenge of Shinobi) by Lord_Enemil
[May 22, 2024, 03:02:10 PM]


Neon Light Force Demo by Uche_of_IMT
[May 22, 2024, 10:21:37 AM]

* IMT Calendar

June 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