Jump to content

Question

Posted

For example, how to make Samus change type of special she uses from Ice beam to Plasma beam to Wave beam to Nova beam to Power beam to Dark beam to Light beam to Anihimilator beam and back to Ice beam using taunt with it lasting for entire round and how to make certain special use ammo that is refilled by another special? I need answer before 10th of April.

Engage me. 1v1. No Missiles. Samus only. Norfair Depths.

4 answers to this question

Recommended Posts

  • 0
Posted

ooook. thats .... barely good.

 

alright.

 

Ok so you need to decide which var will mean and do what.

 

Var 10 = Weapon Changes

and each number added to it will be a different attack.

 

for instances.

 

Var(10) = 0 ; Off

Var(10) = 1 : Ice Beam

Var(10) = 2 : Plasma Beam

 

and so on...

 

Then on your taunt state, you basically use a varadd code.

[State 195, VarAdd]
type = VarAdd
trigger1 = !time
v = 10
value = 1

This basically add's 1 to variable 10, every time you enter the taunt state. which in turn would change your attack.

 

now in your command file your -1 state, which redirects your commands to states. your change state for that command (im gonna use Z)

 

Will look like the top, OR if you want to be efficient with your code, you can use the 2nd code below.

; First Method using lots of change states
;---------------------------------------------------------------------------
; Arm Cannon Ice
[State -1, Arm Cannon]
type = ChangeState
value = 1000
triggerall = var(10) = 1
triggerall = command = ""Z"
trigger1 = statetype != A
trigger1 = ctrl
;---------------------------------------------------------------------------
; Arm Cannon Plasma
[State -1, Arm Cannon]
type = ChangeState
value = 1010
triggerall = var(10) = 2
triggerall = command = ""Z"
trigger1 = statetype != A
trigger1 = ctrl
;---------------------------------------------------------------------------
; Arm Cannon Wave
[State -1, Arm Cannon]
type = ChangeState
value = 1020
triggerall = var(10) = 3
triggerall = command = ""Z"
trigger1 = statetype != A
trigger1 = ctrl

And So on.

 

I'll show you the other method later. I gtg for now.

- Characters -  / - Stages - / - Screenpacks - / - Lifebars - / - Fonts - / - Full Games - / - Templates -

 

  • 0
Posted

your asking alot.

 

how much do you know how to code before i even attempt to explain?

Well...i don`t know how to answer, so i will just rate myself 6/10. But i know nothing about var coding other than var random coding.

Engage me. 1v1. No Missiles. Samus only. Norfair Depths.

  • 0
Posted

 

Thanks, it works without any bugs for now. Now i need only to know about ammo for 3 separate states (Dark Beam, Light Beam and Missiles)...I will credit you anyway for this method.

Engage me. 1v1. No Missiles. Samus only. Norfair Depths.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...