YesNoOk
avatar

V-Ism activation...a la Aggressors of Dark Combat Style (more questions!) (Read 4672 times)

Started by #Shaun, September 26, 2007, 05:47:46 pm
Share this topic:
V-Ism activation...a la Aggressors of Dark Combat Style (more questions!)
#1  September 26, 2007, 05:47:46 pm
  • *****
  • corner push pusher
Yeah....well, I guess it's a v-ism. Anyway Mr.S/Misamu K Young creations (G-Mantle, Joe of Aggressors of Dark Combat, Gai, Michael Max, etc etc) have an option of enabling their fighters to perform a barrage of infinite attacks on the opponent (casting a blue tint) for a limited amount of time.  When time's up, the opponent goes back to normal.

I'd like to contact Misamu thru email but can't (don't have the email addr).  Anybody got an idea?

Re: V-Ism activation...a la Aggressors of Dark Combat Style (more questions!)
#2  September 26, 2007, 06:53:30 pm
  • ******
  • [E]
    • Mexico
why would you need to contact misamu for anyway ?
Re: V-Ism activation...a la Aggressors of Dark Combat Style (more questions!)
#3  September 26, 2007, 07:20:11 pm
  • *****
  • corner push pusher
I guess it only makes sense to ask the author how he/she did what he/she did (that's how I got help from Sander71113).

I would post a snippet of the code from one of his fighters but its all one big CNS. I'm not sure what part of the CNS does what I'm asking about.
Last Edit: September 26, 2007, 07:23:23 pm by #Shaun
Re: V-Ism activation...a la Aggressors of Dark Combat Style (more questions!)
#4  September 26, 2007, 07:23:12 pm
  • ******
  • what a shame
    • Iran
The V-Ism code is in the code snippets archive.
Re: V-Ism activation...a la Aggressors of Dark Combat Style (more questions!)
#5  September 26, 2007, 07:23:26 pm
  • *****
  • You know it!
    • viewtiful9.blog124.fc2.com/
Check Code snippet(or w/e) topic.
WOO! WOO! WOO!
PSN / XBLA - ViewtifulSuxx
Re: V-Ism activation...a la Aggressors of Dark Combat Style (more questions!)
#6  September 26, 2007, 07:31:56 pm
  • *****
  • corner push pusher
Yeah, I found it. Thanks! 

I guess I shoulda searched a bit more of the site.  I guess this topic can be locked now
Re: V-Ism activation...a la Aggressors of Dark Combat Style (more questions!)
#7  September 26, 2007, 07:34:36 pm
  • ******
  • [E]
    • Mexico
oh, but anybody can code that and it is easier than looking at someone else's code, especially if said person speaks a completely different language, chinesse in their case.

so, what part of the power up is what you need ?


;
;   
;Power Up               1300
;

[Statedef 1300]
Type          = S
MoveType      = I
Physics       = S
Ctrl          = 0
PowerAdd       = 0
Juggle        = 10
FaceP2          = 1
HitDefPersist       = 0
MoveHitPersist       = 0
HitCountPersist    = 0
SprPriority       = 2

[State Stop ]
Type       = VelSet
trigger1    = !time && Prevstateno != 1370
X          = 0
Y          = 0
[State Anim ]
Type       = ChangeAnim
trigger1   = !time && Prevstateno != 1370
Value          = StateNo

[State power up]
type      = varSet
trigger1   = Animtime = 0
IgnoreHitPause      = 1
var(19)         = 901
;1 means that she is powered up, 1200/2 = 600 ticks, since it will count down by 2

[State Decrease Power ]
Type       = PowerAdd
Trigger1    = !time && Prevstateno != 1370
Value          = -1000

[State FX]
Type       = Explod
Trigger1    = !time
Anim          = f130
ID          = 130
Pos          = 0,0
PosType       = p1
Facing          = 1
VFacing       = 1
BindTime       = -1
Vel          = 0,0
Accel          = 0,0
Random          = 0,0
RemoveTime       = 16
SuperMoveTime       = 0
PauseTime       = 65536
scale          = 1,1
SprPriority       = 3
ontop          = 0
shadow          = 0,0,0
ownpal          = 1
removeonhit       = 1

[State Return]
Type       = ChangeState
Trigger1    = AnimTime = 0
Value          = 0
Ctrl          = 1


that is an example of a power up state, though one might skip the state, or maybe enter the state whitout it playing an anim, ala kof 2002.

;
;
;   power up management
;


[State count]
type      = varSet
trigger1   = var(19)&1
IgnoreHitPause      = 1
var(19)         = var(19)-2
;1 means that she is powered up, 1200/2 = 600 ticks, since it will count down by 2

[State power off]
type      = varSet
trigger1   = var(19)=1
var(19)         = 0
IgnoreHitPause      = 1

[State FX ]
Type       = PalFX
trigger1    = var(19) && !(var(19)%15)
time       = 15
add      = 64,16,16
mul      = 256,256,256
sinadd       = -100,-100,-100, 15
invertall   = 0
color      = 256
IgnoreHitPause      = 1


this goes in the st-2, and it decreases the power up var, as well as giving it a palfx, you can make a scaled explod, or toher types of effects depending on how you want to signal that you are powered up.

;
;
;   Special to Special cancel bonuses
;

[State Decrease Power ]
Type       = PowerAdd
Trigger1    = !var(19) && time=1 && (Prevstateno = [2000,4999]) && (stateno = [2000,4999]) && (Prevstateno/50 != stateno/50)
Value          = -1000

[State count]
type      = varSet
trigger1   = var(19)&1 && time=1 && (Prevstateno = [2000,4999]) && (stateno = [2000,4999]) && (Prevstateno/50 != stateno/50)
IgnoreHitPause      = 1
var(19)         = ifelse(var(19)>120,var(19)-120,0)


this is an example of an advantage you get hwile powered up, if var(19)&1 triggers true instead of having power taken from you, you get "power up time" taken.


feel free to ask any questions about that powewr up code, or how you would implement other powered up effect, as i won't post my cmd, for i use a non standar way of coding it.
Re: V-Ism activation...a la Aggressors of Dark Combat Style (more questions!)
#8  September 26, 2007, 07:50:38 pm
  • *****
  • corner push pusher
I guess today will be the day I understand variables.  There's just no gettin' around it I see.  Again, thanks R[E]ika!
Re: V-Ism activation...a la Aggressors of Dark Combat Style (more questions!)
#9  September 26, 2007, 07:59:28 pm
  • ******
  • [E]
    • Mexico
i am pretty sure there are tutorials on this forum explaining variables, though i do not remember if it is the math for challenged people, or david gee's one.
Re: V-Ism activation...a la Aggressors of Dark Combat Style (more questions!)
#10  September 27, 2007, 04:16:02 pm
  • *****
  • corner push pusher
....ya know, the code snippet archive seems kinda outdated for some things  ??? Then again, maybe I'm just not understanding what I need in full yet.

I know there's a tutorial about variables at mugen-infantry.  That's what I'm reading up on.