YesNoOk
avatar

A Complete Groove Select Tutorial (Read 4061 times)

Started by K.O.D, August 30, 2007, 09:17:34 am
Share this topic:
A Complete Groove Select Tutorial
#1  August 30, 2007, 09:17:34 am
  • ******
  • what a shame
    • Iran
A simple groove system,NOT BASED OFF WARUSAKI3's,so that people can create their own groove system and stop them from ripping of warusaki's.
I had to create my own groove system since i did not want to rip off warusaki's for my own Terry bogard.

You should have much knowledge of coding to learn all this,this isn't going to be just copy-paste.

The grooves will be SNK,CAPCOM and EX.

First make sure that you have set the IntPersistIndex according to the no.40 which i will be using for this tutorial,so that it does not reset between the rounds.
Quote
IntPersistIndex = 40

Let's start with the invisible helper at the intro of the round (i've put comments to help you code) :

Quote
;Groove Selector
[state -2, Helper]
type = Helper
trigger1 = time = 0
trigger1 = roundstate = 0 ;Intro
trigger1 = roundsexisted <= 0 ;First round only
ID = 900 ;ID
stateno = 900 ;State No of the groove which i will explain later
postype = p1
pos = 0,0 ;DO NOT CHANGE THIS,its just an invisible helper
name = "Groove Selector" ;Name of the invis helper
ontop = 1
bindtime = -1

You can just copy paste the code above and change the stateno to the helper that i will now teach you to code.

Quote
;-------------------------------------------------------------------------------
;Selector

;Here is a example invisible helper which will display the SNK groove.

;SNK
[Statedef 900]
ctrl = 1
anim = 899 ;This Anim SHOULD BE BLANK
velset = 0,0

;This is to set the variable for the groove in which you are in (used for setting certain moves/skills/tech's to a certain groove)

[State 900, VarSet]
type = ParentVarSet
trigger1 = Time = 0
var(40) = 1 ;The main variable which will be set to 1,1 is the SNK groove.

;Here is the main groove anim
[State 900, Explod]
type = Explod
trigger1 = Time = 0
Anim = 900 ;Choose the anim for the groove (see below image to know what to set it to)
pos = Ifelse(Teamside = 1,-50, 50),0 ;The position of the groove,change it according to where you want to put it)
postype = p1
ownpal = 1
bindtime = -1
pausemovetime = -1
supermove = 1
facing = Ifelse(Teamside = 1,1,-1)
ontop = 1
ID = 900

;The Explod anim should be like this (right click,view image):


;The sound that play's when you select the groove
[State 900, PlaySnd]
type = PlaySnd
trigger1 = roundstate > 1
trigger2 = parent,command = "a" || parent,command = "b" || parent,command = "c" || parent,command = "x" || parent,command = "y" || parent,command = "z"
value = 100,0
volume = 255

;The sound that play's when you change the grooves.
[State 900, PlaySnd]
type = PlaySnd
trigger1 = time = 0
value = 100,1
volume = 255
channel = 6

;This is the second groove's explod remover (Capcom)
[State 900, RemoveExplod]
type = RemoveExplod
trigger1 = time = 0
ID = 901

;This is the third groove's explod remover (EX)
[State 900, RemoveExplod]
type = RemoveExplod
trigger1 = time = 0
ID = 902

;This will remove this explod when the groove is selected
[State 900, RemoveExplod]
type = RemoveExplod
trigger1 = roundstate > 1
trigger2 = parent,command = "a" || parent,command = "b" || parent,command = "c" || parent,command = "x" || parent,command = "y" || parent,command = "z"
ID = 900

;This will change the groove to Capcom
[State 900, ChangeState]
type = ChangeState
trigger1 = parent,command = "fwd"
trigger1 = time > 10
value = 901

;This will change the groove to EX
[State 900, ChangeState]
type = ChangeState
trigger1 = parent,command = "back"
trigger1 = time > 10
value = 902

;This will destroy this invisible helper when the groove is selected
[State 900, DestroySelf]
type = DestroySelf
trigger1 = roundstate > 1
trigger2 = parent,command = "a" || parent,command = "b" || parent,command = "c" || parent,command = "x" || parent,command = "y" || parent,command = "z"


Repeat this process by coding two more invisible helpers with the explods of Capcom and EX,and change the remove explods and changestates.

I won't post other tutorials such as adding bars and such since i don't have the patience to write a tutorial on that nor do i like coding extra bars.

Add stuff like arrows and such by adding their explods and removing them as the same process as removing the grooves.

This will be the final result (preview of my terry bogard's EX groove) :



There you go,a complete groove system tutorial.
Last Edit: August 31, 2007, 07:08:41 am by K.O.D
Re: A Complete Groove Select Tutorial
#2  September 25, 2007, 04:23:28 pm
  • *****
  • corner push pusher
....This may be a stupid question but, is this groove select code suppose to sync with the supers bar of a user's screenpack's choosing?

I'd be nice if you COULD eventually post a tutorial on adding the lifebars.
Re: A Complete Groove Select Tutorial
#3  September 26, 2007, 07:51:27 am
  • ******
  • what a shame
    • Iran
I will post a tutorial on extra super bars since i just finished coding them for my own wip.

I will post it in 1-2 days since i have to finish optimizing/cleaning it and also typing proper instructions for it.
Re: A Complete Groove Select Tutorial
#4  September 26, 2007, 05:34:48 pm
  • *****
  • corner push pusher
Fair enough  :) Take your time dude. 

:::back to fixing 2987593 bugs in evil lucky:::