collapse

Author Topic: Major Questions.  (Read 1011 times)

0 Members and 2 Guests are viewing this topic.

Offline AensleigheR

  • Initiate
  • **
  • Posts: 24
  • Last Login:February 11, 2019, 11:48:30 PM
  • ShakeDownMixer!
    • Email
Major Questions.
« on: April 21, 2017, 02:00:58 AM »
So I am 85% close to completing my re-coded character. But I am still missing a few MAJOR things.
Instead of posting one question at a time I've decided to post them all here hoping that I would get professional help from you guys.  :-SS
I also hope that this would not defy any of the rules in the forum.  :rules:

Anyhow, here are the things I need to get coded;

1. How to make a move available ONLY when the opponent is hit with a 'key' move?
- An example of this would be Omega Red's Death Coil, wherein he grapples his enemy with his metallic tentacle and then stays that way for a short duration, giving us an ample amount of time to input an additional command. As we all know, after the Death Coil, we can command him to use Energy Drain and/or slam the enemy on the other side of the screen. I wish to emulate this type of command for the character I am working on, wherein he commands a helper to hold the enemy in place, and then you can input a command for the helper to attack some more. He will let go of the enemy soon after otherwise.
PS : I am already able to code the 'hold' stuff, I just need the additional command codes.

2. How to power-up a certain special move?
- So my character has this move wherein he recharges his fists, this move should power-up ONLY his Raging Palm special move, the power-up effect would then wear off once Raging Palm attack used. I would also like him to have the glowing effect, kind of like how Juggernaut glows when he does his power up move.

3. Two (2) random HitDefs, One (1) Attack
- The character I am working on has a defective explosive glove which sometimes causes an enemy to burn when hit by his SMP. MG MURROW was able to help me with this code (Thanks again, bro!), as it enabled me to have 2 hitdefs for the character;

>HitDef1 - which causes the enemy to palette swap to red/orange signifying being burnt
>HitDef2 - which is just a regular get hit state

However, I would also like the enemy to have an explosion explod, as well as an explosion sound ONLY when HitDef1 is triggered. This is the code I have done so far;
--------------------------------------------------------------------------------------------------------------------------------------------
[State 210]
type = VarRandom
trigger1 = !time
v = 3
range = 0,1

[State 210, 0]               <-- This causes the enemy to explode, burn, and change palette colors
type = HitDef                       
trigger1 = Time = 0             
trigger1 = Var(3)=0             
attr = S, NA
animtype  = Medium
damage    = 40,0
guardflag = MA
hitflag = MAF
pausetime = 10,8
sparkno = s7003
sparkxy=-10, -55;var(43):=-10,var(44):=-55
hitsound   = S0,7
guardsound = S0,10
guard.sparkno = s7004
guard.slidetime = 13
guard.hittime = 13
guard.ctrltime = 15
guard.velocity = -5
air.type = High
ground.type = High
ground.slidetime = 25
ground.hittime = 25
ground.velocity = -5, -7
ground.cornerpush.veloff=0
air.velocity = -3, -4
p2stateno=429
palfx.time = 60
palfx.color = 0
palfx.add = 100,0,-180
palfx.sinadd = 40,20,20,15

[State 210, 1]               <--- This is the normal hitdef.
type = HitDef
trigger1 = Time = 0
trigger1 = Var(3)=1
attr = S, NA
animtype  = Medium
damage    = 35,0
guardflag = MA
hitflag = MAF
pausetime = 10,8
sparkno = s7003
sparkxy=-10, -55;var(43):=-10,var(44):=-55
hitsound   = S0,7
guardsound = S0,10
guard.sparkno = s7004
guard.slidetime = 13
guard.hittime = 13
guard.ctrltime = 15
guard.velocity = -5
air.type = High
ground.type = High
ground.slidetime = 25
ground.hittime = 25
ground.velocity = -5, -7
ground.cornerpush.veloff=0
air.velocity = -3, -4
p2stateno=429
--------------------------------------------------------------------------------------------------------------------------------------------
The questions end here.

I know this is a little bit ambitious but I know you guys can help me out with this. I have tried to do research regarding these things but I was not able to materialize them properly--not without help from you guys. I am really really close to completion and am really looking forward to my character being whole. I would greatly appreciate any help. I know I can do this!  :Terry Thanks in advance, team!
« Last Edit: April 21, 2017, 02:08:04 AM by AensleigheR »



Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Major Questions.
« Reply #1 on: April 21, 2017, 05:39:08 AM »
1: Assuming they're in a custom state when held you can trigger the second effect to occur if p2stateno = custom state value. Alternatively you can give the hitdef an ID and trigger with Numtarget(ID) for the additional effects

2: Set a variable to 1. While that variable is active you assign palfx to your character via state -2. Set the variable back to 0 when he uses raging palm.

3: I just answered this in your other thread.

Offline AensleigheR

  • Initiate
  • **
  • Posts: 24
  • Last Login:February 11, 2019, 11:48:30 PM
  • ShakeDownMixer!
    • Email
Re: Major Questions.
« Reply #2 on: April 22, 2017, 05:26:59 AM »
Thanks, Cyanide! You're the best!  :Terry

- But can you give me an example of your answer for my 1st question? I am able to allow my character do an animation ONLY when his helper catches the enemy in place. However, I can't seem to make the helper damage the enemy some more. Please?  Gomen ne

- I haven't tried number 2 yet, but your explanation makes it sound so easy to do! How about the power-up move btw bro?  Can you help me out with that as well? :-SS

- Question 3 has already been taken care of! Thank you, Cyanide! I am 90% complete!  :Terry  :Terry  :Terry


Offline AensleigheR

  • Initiate
  • **
  • Posts: 24
  • Last Login:February 11, 2019, 11:48:30 PM
  • ShakeDownMixer!
    • Email
Re: Major Questions.
« Reply #3 on: April 22, 2017, 07:27:03 AM »
 :o UPDATE! As of today, at 7:27pm
I finally managed to code the "hidden move" stuff!  :Terry :o
ALMOST THEEEEEERE!!!!  :o

THANK YOU CYANIDE!  ^^(PM)^

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Major Questions.
« Reply #4 on: April 23, 2017, 12:17:19 AM »
If the helper is doing the damaging you have 2 things you can do.
The root, which is your character can tell if the helper has a target

trigger1 = numhelper(whatever) = 1
trigger1 = helper(whatever), numtarget
trigger1 = helper(whatever), movehit

Once that is done the root can do what he likes for animations. To cause additional damage use Lifeadd within the helper and whatever triggers are needed. You will need to redirect back to the parent if you are doing anything fancy. For eg trigger1 = parent, anim = 2000

The powerup is simple. Based on juggy, you do the command for "Power Up" In the state he goes to you set a variable. Then he leaves the state. That variable is now the fact that you have powered up. Use it for whatever you like. Different effects, palFX, higher damage. Just remember that you have to change it to NOT one, when you aren't using it as the 1 value should be considered on, while 0, or anything else is Off.

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

D2TD VS Showcase Thread by D2TD
[November 24, 2024, 09:12:03 AM]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by LightFlare
[November 21, 2024, 09:44:09 PM]


Terrordrome: Rise of the Boogeymen Extended Version ( jeepers creepers) version by leonardo
[November 19, 2024, 10:22:47 PM]


Hill of the Nameless(1.1 Only) by Vegaz by LightFlare
[November 19, 2024, 10:50:39 AM]


Golden Axe Returns by gokudo99
[November 19, 2024, 03:59:31 AM]


Barkley Shut Up and Jam! Stages by Vegaz by LightFlare
[November 12, 2024, 11:26:21 AM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[November 11, 2024, 12:35:24 PM]


Eternal Lament Stage 1.1 & 1.0 by O Ilusionista
[November 11, 2024, 12:34:54 PM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[November 11, 2024, 07:00:56 AM]


Spooky House(1.1 Only/AIGS) by Vegaz by LightFlare
[October 31, 2024, 11:31:36 AM]

* IMT Calendar

November 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