collapse

Author Topic: zoom code help  (Read 548 times)

0 Members and 1 Guest are viewing this topic.

Offline 2dgameplay

  • Forum Member
  • ***
  • Posts: 230
  • Last Login:December 14, 2009, 01:42:35 PM
  • mugen creater n training
    • Email
zoom code help
« on: April 14, 2008, 02:24:42 PM »
i found a code on a site but  i cant get it to Work

this part is n my hyper move
Code: [Select]
[State 3000, zoom]
type = Helper
trigger1 = AnimElem = 1 && NumHelper(7000) = 0
helpertype = normal
name = "Zoom Effect"
ID = 7000
pos = 0,0
stateno = 7000
ownpal = 1
supermovetime = 40

this part n my Helper.Cns
Code: [Select]
; Zoom Effect - Helper Effect

[Statedef 7000]
type = S
velset = 0,0
anim = 9999
ctrl = 0
sprpriority = 7

[State 7000, 1]
type = Explod
triggerall = NumExplod(7000) = 0
trigger1 = time = 0
anim = (root, anim+20000)
ID = 7000
pos = 0,0
removetime = 80
scale = .01*(var(1)),.01*(var(1))
sprpriority = 7
removeongethit = 1
ownpal = 0
supermove = 1

[State 7000, 2]
type = ModifyExplod
trigger1 = time > 0
ID = 7000
scale = .01*(var(1)),.01*(var(1))
removetime = 80
supermove = 1

[State 7000, 3]
type = Varset
trigger1 = time = 0
v =  1
value = 100
supermove = 1

[State 7000, Aumentando...]
type = VarAdd
trigger1 = Var(1) < 150
trigger1 = var(2) < 20
v =  1
value = 5
supermove = 1

[State 7000, Estou em 150. Esperar 10 ticks]
type = VarAdd
trigger1 = Var(1) = 150
trigger1 = var(2) < 20
v =  2
value = 1
supermove = 1

[State 7000, Esperei 10 ticks, diminuindo...]
Type = VarAdd
trigger1 = var(2) = 20
trigger1 = var(1) > 100
v = 1
value = -5

[State 7000, 6]
type = RemoveExplod
trigger1 = time = 80
ID = 7000
supermove = 1

[State 0, Listras1]
type = Explod
trigger1 = GameTime%3=1
anim = f8712
ID = 8712
pos = 0,160
postype = back
vel = 6,0
accel = 1,0
random = 0,120
removetime = -2
supermove = 9999999
pausemovetime = 999999
under = 1
ownpal = 1
removeongethit = 1

[State 0, Listras2]
type = Explod
trigger1 = GameTime%3=1
anim = f8712
ID = 8712
pos = 0,120
postype = back
vel = 4,0
accel = 2,0
random = 0,160
removetime = -2
scale = 2,1
supermove = 9999999
pausemovetime = 999999
ontop = 1
ownpal = 1
removeongethit = 1

[State 0, ]
type = PalFx
trigger1 = Time = [0,12]
Time = 1
add = 256 - Time * 24, 256 - Time * 24, 256 - Time * 24
mul = 256, 256, 256

;==============================  codigo do Kurai chaito :)

[State 951, Carregamento - EnvShake]
type = envshake
trigger1 = !Time
time = 46
freq = 60
ampl = IfElse(Random<=500,-3,3)

[State 1150, Carregamento - Asas]
type = Explod
trigger1 = Var(0) < 3 && !Time
sprpriority = 2
anim = f5319
ID = 5319
pos = -1,-34
ownpal = 1
ignorehitpause = 1
supermove = 1
pausemovetime = 46
supermovetime = 46
removetime = 46
bindtime = -1

[State 1150, Carregamento - Asas]
type = null;Explod
trigger1 = Var(0) < 3 && !Time
sprpriority = 2
anim = f5999
ID = 5999
pos = -1,-34
ownpal = 1
ignorehitpause = 1
supermove = 1
pausemovetime = 46
supermovetime = 46
removetime = 46
bindtime = -1
ontop = 1

;======================================================

[State 0, vento em volta]
type = Explod
triggerall = root, pos Y = 0
trigger1 = AnimElem = 1,=40
anim = f5999
ID = 5999
pos = 2,-30
postype = p1
ownpal = 1
ignorehitpause = 1
supermove = 1
pausemovetime = 46
supermovetime = 46
removetime = -2
bindtime = -1
ontop = 1

[State 7000, 7]
type = DestroySelf
trigger1 = time = 80
supermove = 1



Offline Alexziq

  • Infinite Loyalist
  • *****
  • Posts: 2624
  • Last Login:November 10, 2017, 01:10:16 PM
    • Email
Re: zoom code help
« Reply #1 on: April 14, 2008, 04:08:38 PM »
Why not try it like this, and put it in the helperstates code. the only thing is I dont see a code that represents the size of the zoom

[State 7000, zoom]
type = Helper
trigger1 = AnimElem = 1
helpertype = normal
name = "Zoom Effect"
ID = 7000
pos = 0,0
ownpal = 1
removetime= 40

Offline Alexziq

  • Infinite Loyalist
  • *****
  • Posts: 2624
  • Last Login:November 10, 2017, 01:10:16 PM
    • Email
Re: zoom code help
« Reply #2 on: April 14, 2008, 04:14:44 PM »
Now I see it, this seems like its older code. Hmmmn

It should really work, there must be an AnimElm, or a state# thats out of place. This is one someone might have to look at. Looks like 3D Doomsdays finisher code.
« Last Edit: April 14, 2008, 04:21:51 PM by ALEXZIQ »

Offline 2dgameplay

  • Forum Member
  • ***
  • Posts: 230
  • Last Login:December 14, 2009, 01:42:35 PM
  • mugen creater n training
    • Email
Re: zoom code help
« Reply #3 on: April 14, 2008, 05:26:29 PM »
Why not try it like this, and put it in the helperstates code. the only thing is I dont see a code that represents the size of the zoom

[State 7000, zoom]
type = Helper
trigger1 = AnimElem = 1
helpertype = normal
name = "Zoom Effect"
ID = 7000
pos = 0,0
ownpal = 1
removetime= 40

hmm that makes a clone thank tho

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: zoom code help
« Reply #4 on: April 15, 2008, 09:17:07 AM »


sig made by shullbocka

Offline 2dgameplay

  • Forum Member
  • ***
  • Posts: 230
  • Last Login:December 14, 2009, 01:42:35 PM
  • mugen creater n training
    • Email
Re: zoom code help
« Reply #5 on: April 15, 2008, 05:35:03 PM »
i found out how code  this is :o

fallon how about i seen u the char
i got it from hmm


its dirrernt that that

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

* IMT Calendar

April 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