collapse

Author Topic: [Help] I just added a powercharge and its not working  (Read 394 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] I just added a powercharge and its not working
« on: February 15, 2008, 02:30:26 PM »
Hey guys i just added a powercharge to my shin lv 2 akuma, and its not working correctly it gives a clone and the clone does the powercharge but there are no special effects which i have added. Im using POTS power charge code.


Here is the code :
Code: [Select]
;==========<POWER CHARGE>==========
[Statedef 740]
type=S
physics=S
movetype=I
anim=740
ctrl=0
velset=0,0

[State 740, power]
type=poweradd
triggerall=anim=740&&power<powermax
trigger1=var(59)<=0&&(command="hold_b"&&command="hold_y")
trigger2=var(59)>=1
value=2+(time/10)

[State 740, snd]
type=playsnd
trigger1=!time
value=3,2
channel=0

[State 740, shake]
type=envshake
trigger1=anim=740&&!(time%4)
time=4
freq=80
ampl=2

[State 740, flash]
type=palfx
trigger1=anim=740&&!(time%12)
add=80,20,0
sinadd=80,20,0,12
time=12
[State 740, flash]
type=palfx
trigger1=anim=741
add=0,0,0
time=1
persistent=0

[State 740, fx]
type=helper
trigger1=anim=740&&!numhelper(7240)
helpertype=normal
stateno=7240
ID=7240
name="Power Charge"
postype=p1
ownpal=1
persistent=0

[State 740, aura]
type=helper
trigger1=anim=740&&animelemtime(5)>=0&&!numhelper(6000)
helpertype=normal
stateno=6000
ID=6000
postype=p1
ownpal=1

[State 740, anim]
type=changeanim
triggerall=anim=740&&animelemtime(2)>=0
trigger1=var(59)<=0&&(command!="hold_b"||command!="hold_y")
trigger2=power>=powermax||roundstate!=2
trigger3=var(59)>=1&&(inguarddist||p2movetype=A||p2dist x<160)
value=741

[State 740, stopsnd]
type=stopsnd
trigger1=anim=741
channel=0
persistent=0

[State 740, snd]
type=playsnd
trigger1=anim=741&&power>=powermax
value=4,15
channel=0
persistent=0

[State 740, end]
type=changestate
trigger1=anim=741&&!animtime
value=0
ctrl=1


EDIT: the aura around the feet is 7240 and the aura for the whole body is 6000 and the anim to recover is 741 so what am i doing wrong and do i need to add it to common.cns

EDIT2: because right now its just in my basic.cns with the taunt intro and win. So i need help let me know if i need to send the char to anyone to help me out because ive already got it rared up!

EDIT 3 : lol figured it out i forgot to add a seperate state file with the helpers in it. So i got it.
« Last Edit: February 15, 2008, 03:36:23 PM by xPreatorianx »



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

thunderstrike eric masterson by wacky thaxie
[September 26, 2024, 06:09:19 PM]


Classic VS : Balrog by ELECTRO
[September 25, 2024, 11:44:58 PM]


Justice League Seattle Stage by Vegaz by LightFlare
[September 23, 2024, 12:14:06 PM]


Ancient Gears Stage 1.1 & 1.0 by MatreroG
[September 20, 2024, 11:59:18 AM]


Justice League Metropolis Stage by Vegaz by LightFlare
[September 16, 2024, 11:57:49 AM]


Ultimate Mai Shiranui (FF2 & FF3) by nickfurry
[September 15, 2024, 02:27:53 AM]


Justice League Gotham Stage by Vegaz by LightFlare
[September 11, 2024, 09:41:42 AM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[September 07, 2024, 03:06:46 AM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[September 06, 2024, 01:27:09 PM]


Justice League Flash Stage by Vegaz by LightFlare
[September 03, 2024, 10:30:40 AM]

* IMT Calendar

September 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