collapse

Author Topic: [Help] I just added a powercharge and its not working  (Read 380 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

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


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]


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