YesNoOk
avatar

POTS styled Custom combo (Read 368 times)

Started by Mr.Karate JKA, September 23, 2011, 06:55:38 am
Share this topic:
POTS styled Custom combo
#1  September 23, 2011, 06:55:38 am
  • ***
  • Karate ni senshi nashi
    • Brazil
    • www.youtube.com/user/karate867
How can i do it??? I used the codes of POTS Shin Gouki and it works but the char cant conect the moves (example: Hp,HP,MP,MK,HK, etc).I need help with this!
Re: POTS styled Custom combo
#2  September 23, 2011, 07:02:05 am
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/
You have to change hit velocities; damage; juggle points; changestates in the command; damage dampening. You need to use a variable to determine the time, prevent certain supers from activating.

It's a complicated system that you can't accomplish by just copy-pasting a damn code. You need to actually know what you're doing.
Re: POTS styled Custom combo
#3  September 24, 2011, 03:20:55 am
  • ***
  • Karate ni senshi nashi
    • Brazil
    • www.youtube.com/user/karate867
You have to change hit velocities; damage; juggle points; changestates in the command; damage dampening. You need to use a variable to determine the time, prevent certain supers from activating.

It's a complicated system that you can't accomplish by just copy-pasting a damn code. You need to actually know what you're doing.

can i post my codes here?
Re: POTS styled Custom combo
#4  September 24, 2011, 07:32:58 am
  • ****
  • Bark! Bark! Bark!
    • Philippines
yep you can post your codes here
Re: POTS styled Custom combo
#5  September 28, 2011, 12:45:41 am
  • ***
  • Karate ni senshi nashi
    • Brazil
    • www.youtube.com/user/karate867
Thanks guys! Well, sorry about the long time to answer ( I`m very busy with my college exams and my job! ). So, here ya go. I`ll show my codes. I dont know why they doesn`t work and I´d glad if you can help me!!!

in CNS:

[Statedef 760]
type=U
physics=U
movetype=A
anim=760+(statetype=A)
ctrl=(statetype=A)
poweradd=0
velset=ifelse((statetype=S),0,vel x),ifelse((statetype=S),0,vel y)

[State 760, superchargehelper]
type=helper
trigger1 = anim = 761
trigger1= !time
helpertype=normal
stateno=8300
ID=8300
postype=p1
pos=5-(anim=761)*3,-87+(anim=761)*12
ownpal=1
persistent=0
supermovetime=9999

[State 760, superchargehelper]
type=helper
trigger1 = anim = 760
trigger1= !time
helpertype=normal
stateno=8300
ID=8300
postype=p1
pos=25,-55
ownpal=1
persistent=0
supermovetime=9999

[State 760, superchargepause]
type=superpause
trigger1= !time
time=30
anim=-1
sound=s4000,7
darken=0
movetime=30*(anim=760)

[State 760, var]
type=varset
trigger1= anim=760 && time=30
trigger2= anim=761 && time=1
var(20)= power;300

[State 760, nhb]
type=nothitby
trigger1= (anim=[760,761])
time=8
value=SCA

[State 760, image]
type=afterimage
trigger1= anim=760 && time=1
trigger2= anim=761 && time=1
time=10
timegap=1
framegap=10
length=21
palbright=0,0,0
palcontrast=10,120,150
palpostbright=0,0,0
paladd=0,0,0
palmul=.75,.75,.75
trans=add1

[State 760, end]
type=changeanim
trigger1= anim=761 && !animtime
value=ifelse(vel x>0,45,44)
elem=2+(!vel x)*2
persistent=0

[State 760, sts]
type=statetypeset
trigger1= anim=42 || anim=43
statetype=A
physics=A

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

;-------------------------------------------------------------------
;efecto custom combo
[Statedef 8300]
type=A
velset=0,0
anim=9741
sprpriority=5

[State 8400, bgpalfx]
type=bgpalfx
trigger1= !time
time=35
add=-255,-128,-128
sinadd=255,128,128,140

[State 8500, assert]
type=assertspecial
trigger1=1
flag=noshadow

[State 8500, time]
type=varset
trigger1=!time
var(50)=30

[State 8400, fx]
type=explod
trigger1= time = 0
anim=8304
ID=8304
sprpriority=6
postype=p1
removetime=20
supermovetime=-1

[State 8400, scale]
type=modifyexplod
trigger1= numexplod(8304)
ID=8304
scale=.02*time,.02*time

[State 8400, scale]
type=modifyexplod
trigger1= numexplod(8304) && time>=15
ID=8304
scale=.02*time,.02*time
trans=addalpha
alpha=ceil(256-(51.2*(time-15))),256

[State 8500, circle]
type=explod
trigger1=time = 15
anim=8301
ID=8301
sprpriority=5
postype=p1
supermovetime=-1

[State 8500, scale]
type=modifyexplod
trigger1=numexplod(8301)
ID=8301
scale=.2+(.05*(time-15)),.2+(.05*(time-15))
trans=addalpha
alpha=ceil(256-20*(time-15)),256

[State 8500, circle]
type=explod
trigger1=time = 0
anim=8303
ID=8300
sprpriority=5
postype=p1
supermovetime=-1
pos = -60,0
vel = 5,0
facing = 1

[State 8500, circle]
type=explod
trigger1=time = 0
anim=8303
ID=8300
sprpriority=5
postype=p1
supermovetime=-1
pos = 60,0
vel = -5,0
facing = -1

[State 8500, circle]
type=explod
trigger1=time = 0
anim=8300
ID=8300
sprpriority=5
postype=p1
supermovetime=-1
pos = -50,-50
vel = 5,5

[State 8500, circle]
type=explod
trigger1=time = 0
anim=8302
ID=8300
sprpriority=5
postype=p1
supermovetime=-1
pos = 0,-50
vel = 0,5
facing = 1

[State 8500, circle]
type=explod
trigger1=time = 0
anim=8302
ID=8300
sprpriority=5
postype=p1
supermovetime=-1
pos = 0,50
vel = 0,-5
vfacing = -1

[State 8500, circle]
type=explod
trigger1=time = 0
anim=8300
ID=8300
sprpriority=5
postype=p1
supermovetime=-1
pos = 50,-50
vel = -5,5
facing = -1

[State 8500, circle]
type=explod
trigger1=time = 0
anim=8300
ID=8300
sprpriority=5
postype=p1
supermovetime=-1
pos = -50,50
vel = 5,-5
vfacing = -1

[State 8500, circle]
type=explod
trigger1=time = 0
anim=8300
ID=8300
sprpriority=5
postype=p1
supermovetime=-1
pos = 50,50
vel = -5,-5
facing = -1
vfacing = -1

[State 8500, scale]
type=modifyexplod
trigger1=numexplod(8300)
ID=8300
scale=1-(.05*time),1-(.05*time)
trans=addalpha
alpha=256,256

[State 8500, safety]
type=removeexplod
trigger1=time>=16
id = 8300

[State 8500, safety]
type=removeexplod
trigger1=time>=(var(50))
id = 8301

[State 8500, end]
type=destroyself
trigger1=time>=(var(50))

In statedef -2:

;-----------------------------------original combo--------------------
[State -2, Original Combo End]
type=varset
trigger1= var(20)<0
trigger2= movetype=H
trigger3= roundstate!=2
trigger4= (power <= 0) && (stateno != [3000,3999])
;trigger5= stateno = [3000,3999]
var(20)=0
ignorehitpause=1

[State -2, Original Combo Time]
type=varadd
trigger1= var(20)>0
var(20)=-1
ignorehitpause=1

[State -2, Free Juggling]
type=assertspecial
trigger1= var(15)<0 ;|| numtarget(1010) || numtarget(1120)
trigger2= roundstate!=2
flag=nojugglecheck
ignorehitpause=1

[State -2, Original Combo Guard]
type=assertspecial
trigger1= var(20)>0
flag= nostandguard
flag2=nocrouchguard
flag3=noairguard
ignorehitpause=1

[State -2, Original Combo PalFX]
type=palfx
trigger1= var(20)>60
time=2
add=32+ceil(sin(var(20)/16.0*pi)*32),32+ceil(sin(var(20)/16.0*pi)*32),32+ceil(sin(var(20)/16.0*pi)*32)
ignorehitpause=1

[State -2, Original Combo PalFX]
type=palfx
trigger1= var(20)=[1,60]
time=2
add=64+ceil(sin(var(20)/8.0*pi)*64),64+ceil(sin(var(20)/8.0*pi)*64),64+ceil(sin(var(20)/8.0*pi)*64)
ignorehitpause=1

[State -2, PowerAdd]
type = PowerAdd
trigger1 = var(20) > 0
value = ifelse((movetype = A),-13,-10)
ignorehitpause = 1
;persistent =

In CMD:

[State -1, Original Combo]
type=changestate
value=760
triggerall=var(20)<=0
trigger1=  command = "c" && command = "z"
trigger1= roundstate=2 && power>=1000 && !var(20)
trigger1= ctrl
Re: POTS styled Custom combo
#6  September 28, 2011, 08:46:21 am
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/
Did you not read my post?