YesNoOk
avatar

How to make my character's attacks more powerful when he's low on health? (Read 361 times)

Started by Saohc, June 21, 2010, 10:18:59 pm
Share this topic:
How to make my character's attacks more powerful when he's low on health?
#1  June 21, 2010, 10:18:59 pm
  • ****
  • Working on MGS1 Snake's VR missions in MGS2
    • USA
My character, LucasX3 is nearing completion and before I release him..

I want to know how to make it where all of his available attacks are more powerful when he's in "Danger" mode without having to place a "AttackMulSet" in each area of code where the attacks are.

Also, how can I make it where his defense increase from 160 to 210 when he's in "Danger" Mode

Here's the code
[mcode]

;Add defense
[State -2, VarSet]
type = VarSet
trigger1 = var(55) = 1
v = 38    ;fv = 10
value = 1


[State -2, DefenceMulSet]
type = DefenceMulSet
trigger1 = var(38) = 1
value = 90
ignorehitpause = 1
[/mcode]



Would choosing me for the question thread be a
unique experience?  I can't really say.
Re: How to make my character's attacks more powerful when he's low on health?
#2  June 21, 2010, 10:40:13 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
You've placed the defencemulset in state -2. Why would you think the attackmulset is any different?


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: How to make my character's attacks more powerful when he's low on health?
#3  June 22, 2010, 06:12:24 pm
  • ****
  • Working on MGS1 Snake's VR missions in MGS2
    • USA
If I place it in State -2 will it affect all of his attacks?

Also what number do I need to add to the "value" in the DefenceMulSet in order for it to change his defence from 160 to maybe, 250?

Would choosing me for the question thread be a
unique experience?  I can't really say.
Re: How to make my character's attacks more powerful when he's low on health?
#4  June 22, 2010, 10:33:59 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Giving him defencemulset = 250 will make him wussy as hell.

You've put defencemulset in state -2 and it ALWAYS affects him, Why wouldn't it be the same for attackmulset.

TRY IT.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: How to make my character's attacks more powerful when he's low on health?
#5  June 22, 2010, 10:56:12 pm
  • ****
  • Working on MGS1 Snake's VR missions in MGS2
    • USA
Well what's a example of a good number of defense I should have the value set as?

Would choosing me for the question thread be a
unique experience?  I can't really say.
Re: How to make my character's attacks more powerful when he's low on health?
#6  June 23, 2010, 01:43:44 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Aside from it being buggy and only taking effect during a combo, defencemulset works backwards.

200 = half defence
0.5 = double defence.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.