collapse

Author Topic: [Help] Need help with this code of shun goku satsu  (Read 1055 times)

0 Members and 1 Guest are viewing this topic.

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
[Help] Need help with this code of shun goku satsu
« on: April 20, 2008, 10:03:15 PM »
Hey, Im having trouble with my shun goku satsu that Atice revamped for me. 1st problem is that when the character does the move the Bg fades into red then black and back again. Also the second player disappears then reappears. And also there is a clone produced when the movie is initiated. Here is the code hope you guys can fix all of these problems.


CNS:

Code: [Select]
;Shun Goku Satsu
[Statedef 3050]
type    = S
movetype= A
physics = N
juggle  = 6
velset = 0,0
anim = 4000
ctrl = 0
sprpriority = 2

[State 3020, SuperCharge]
type = Helper
trigger1 = Time = 0
name = "Super"
postype = P1
pos = 20,-90
ownpal = 1
stateno = 3200
id = 3200
supermovetime = 9999

[State 3050, FlameCharge]
type = explod
trigger1 = time = 0
anim = 6000
postype = p1
pos = 19,-86
supermovetime = 64
sprpriority = 3
ownpal = 1

[State 3050, RedBG]
type = bgpalfx
trigger1 = time = 0
add = 0,0,255
time = 160
sinadd = -255,-255,-255,240

[State 3050, Super A]
type = SuperPause
trigger1 = Time = 0
pos = -5, -55
anim = -1
sound = s7,0
poweradd = -3000
time = 64
darken = 0

[State 3050, Taunt]
type = Playsnd
trigger1 = time = 0
value = 40,3
volume = 255
channel = 1

[State 3050, Effect]
type = Playsnd
trigger1 = time = 2
value = 5,6
volume = 255

[State 3050, VelSet]
type = Velset
trigger1 = time = 0
X = ifelse(Var(7)=0,6,7.3)

[State 3050, Shadows]
type = Afterimage
trigger1 = Time = 0
time = 999
length = 30
PalBright = 0,0,0
PalContrast = 160,20,20
PalAdd      =   0, 0, 0
PalMul      =  0.9 ,0.9 ,0.9
FrameGap = 10
Trans = Add1

[State 3050, IGrabU]
type = HitDef
Trigger1 = Time = 0
attr = S, HA
hitflag = M
sparkno = -1
sprpriority = 1
p2facing = 1
p1stateno = 3102
p2stateno = 3103
guard.dist = 0
fall = 1

[State 3050, AfterImageCancel]
type = AfterImageTime
trigger1 = time = 57
time = 3

[State 3050, End]
type = ChangeState
trigger1 = time = 60
value = 0
ctrl = 1

;Shin Akuma2 State
[Statedef 3102]
type    = S
movetype= A
physics = N
juggle  = 6
velset = 0,0
anim = 4001
ctrl = 0
sprpriority = 5

[State 3102, Grab]
type = playsnd
trigger1 = time = 0
value = 0,8000
volume = 255
freqmul = 1.5

[State 3102, Voice]
type = playsnd
trigger1 = time = 25
value = 5,8
volume = 255
channel = 1

[State 3102, AfterImageCancel]
type = AfterImageTime
trigger1 = time = 0
time = 3

[State 3102 Blackout]
type = bgpalfx
trigger1 = time = 0
add = 0,0,0
time = 60
sinadd = -255,-255,-255,190

[State 3102, blackout]
type = envcolor
trigger1 = Time > 31 && time <= 135
time = 4
value = 0, 0, 0
under = 1

[State 3102 CharBlackout]
type = AssertSpecial
trigger1 = time > 200 && animelemtime(2) < 0
flag = Invisible
flag2 = noFG

[State 3102 CharBlackout]
type = palfx
trigger1 = time = 20
add = 0,0,0
time = 200
sinadd = -255,-255,-255,190

[State 3102, Bind 1]
type = TargetBind
trigger1 = time = 0
pos = 35, 0

[State 3102, Hitsound]
type = playsnd
trigger1 =time=50||time=55||time=60||time=65||time=70||time=75||time=80||time=90||time=95||time=100||time=105||time=110||time=115||time=120||time=125||time=130
value = 120,6
volume = 255
channel = ifelse(random > 500,2,3)

[State 3102, Rumble]
type  = envshake
trigger1 =time=50||time=55||time=60||time=65||time=70||time=75||time=80||time=90||time=95||time=100||time=105||time=110||time=115||time=120||time=125||time=130
freq  = 120
time  = 30
ampl  = -4

[State 3102, Hit]
type = targetlifeadd
trigger1 =time=50||time=55||time=60||time=65||time=70||time=75||time=80||time=90||time=95||time=100||time=105||time=110||time=115||time=120||time=125
value = -ceil(((target,lifemax)*0.47)/17)
kill = 0

[State 3102, Hitadd]
type = hitadd
trigger1 = time=50||time=55||time=60||time=65||time=70||time=75||time=80||time=90||time=95||time=100||time=105||time=110||time=115||time=120||time=125||time = 130
value = 1

[State 3102,Final]
type = targetlifeadd
trigger1 = time = 130
value = -160

[State 3102,hitspark1]
type = explod
trigger1 = time = 50
anim = 9011
postype = p2
pos = 30,-110
ownpal = 1
sprpriority = 5

[State 3102,hitspark2]
type = explod
trigger1 = time = 55
anim = 9011
postype = p2
pos = -20,-40
ownpal = 1
sprpriority = 5

[State 3102,hitspark3]
type = explod
trigger1 = time = 60
anim = 9011
postype = p2
pos = 25,-70
ownpal = 1
sprpriority = 5

[State 3102,hitspark4]
type = explod
trigger1 = time = 65
anim = 9011
postype = p2
pos = -25,-100
ownpal = 1
sprpriority = 5

[State 3102,hitspark5]
type = explod
trigger1 = time = 70
anim = 9011
postype = p2
pos = 15,-20
ownpal = 1
sprpriority = 5

[State 3102,hitspark6]
type = explod
trigger1 = time = 75
anim = 9011
postype = p2
pos = 70,-65
ownpal = 1
sprpriority = 5

[State 3102,hitspark7]
type = explod
trigger1 = time = 80
anim = 9011
postype = p2
pos = 100,-87
ownpal = 1
sprpriority = 5

[State 3102,hitspark8]
type = explod
trigger1 = time = 85
anim = 9011
postype = p2
pos = -30,-120
ownpal = 1
sprpriority = 5

[State 3102,hitspark9]
type = explod
trigger1 = time = 90
anim = 9011
postype = p2
pos = 50,-130
ownpal = 1
sprpriority = 5

[State 3102,hitspark10]
type = explod
trigger1 = time = 95
anim = 9011
postype = p2
pos = 55,-30
ownpal = 1
sprpriority = 5

[State 3102,hitspark11]
type = explod
trigger1 = time = 100
anim = 9011
postype = p2
pos = 2,-40
ownpal = 1
sprpriority = 5

[State 3102,hitspark12]
type = explod
trigger1 = time = 105
anim = 9011
postype = p2
pos = -60,-65
ownpal = 1
sprpriority = 5

[State 3102,hitspark13]
type = explod
trigger1 = time = 110
anim = 9011
postype = p2
pos = 42,-22
ownpal = 1
sprpriority = 5

[State 3102,hitspark14]
type = explod
trigger1 = time = 115
anim = 9011
postype = p2
pos = 10,-80
ownpal = 1
sprpriority = 5

[State 3102,hitspark15]
type = explod
trigger1 = time = 120
anim = 9011
postype = p2
pos = -20,-96
ownpal = 1
sprpriority = 5

[State 3102,hitspark16]
type = explod
trigger1 = time = 125
anim = 9011
postype = p2
pos = -45,-20
ownpal = 1
sprpriority = 5

[State 3102,hitspark17]
type = explod
trigger1 = time = 130
anim = 9011
postype = p2
pos = 0,-70
ownpal = 1
sprpriority = 5

[State 3102, EndWin]
type = ChangeState
trigger1 = time = 131 && target,life <= 0
value = 3110
ctrl = 1

[State 3102, End]
type = ChangeState
trigger1 = animtime = 0
value = 0
ctrl = 1

;Enemy State
[Statedef 3103]
type    = S
movetype= H
physics = N
juggle  = 6
velset = 0,0
ctrl = 0
sprpriority = -1

[State 3103,Blackout]
type = AssertSpecial
trigger1 = time > 40 && Time < ifelse(life > 0,135,131)
flag = Invisible

[State 3103, ChangeAnim]
type = changeanim2
trigger1 = life <= 0 && time = 131
value = 3103
elem = 2

[State 3103, CharBlackout]
type = palfx
trigger1 = time = 20
add = 0,0,0
time = 200
sinadd = -255,-255,-255,190

[State 3103, 1]
type = ChangeAnim2
Trigger1 = Time = 0
value = 3103

[State 3103, EndSurvive]
type = selfstate
trigger1 = time = 300 && life > 0
value = 5120
ctrl = 0

[State 3103, EndDead]
type = selfstate
trigger1 = time = 300 && life <= 0
value =5150
ctrl = 0

CMD:
Code: [Select]
;Shun Goku Satsu
[State -1, Shun Goku Satsu]
type = ChangeState
value = 3050
triggerall = var(59) = 0
triggerall = command = "sgs"
triggerall = statetype != A
trigger1 = power >= 3000

Thanks for all the help in advance if you need me to send you the char so u can further diagnose the problem dont hesitate to ask!



Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: [Help] Need help with this code of shun goku satsu
« Reply #1 on: April 21, 2008, 09:23:52 AM »
The clone its because you use a helper, and it never gets destroy so go to state 3200 and add a destroyself on the helper...or if you don't need it delete the helper on your code

for the background you need to edit all the bgpalfx.....

[State 3050, RedBG]
type = bgpalfx
trigger1 = time = 0 ; when it activates
add = 0,0,255 ;colors  in FF on the cns on the left there is a pallete , check the colors there
time = 160
sinadd = -255,-255,-255,240 ; related to color, it can make the colors to flash


The shun goku satsu its supposed that you cannot see both chars thats why it makes them both invisible....if you want to remove it delete the assert special....flag invisible


sig made by shullbocka

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: [Help] Need help with this code of shun goku satsu
« Reply #2 on: April 21, 2008, 10:47:18 AM »
Fallen its still not removing the clone and also there is no damage when the move is done. As well as the kanji wont dissappear. Im going to send you the char because i cant figure it out.


EDIT: also you will notice i changed the code. I had started off with the code I sent you in the char and then Atice helped me with the code that i posted. But i couldnt get it to work as good as my first one so i just changed it 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

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