collapse

Author Topic: Two doubts (Simul Mode & Custom Gauges, Boss Mode)  (Read 924 times)

0 Members and 1 Guest are viewing this topic.

Offline BOMBAZOOKA

  • New Member
  • *
  • Posts: 3
  • Country: Brazil br
  • Last Login:October 19, 2014, 11:18:29 PM
  • Hi! I'm new!!
Two doubts (Simul Mode & Custom Gauges, Boss Mode)
« on: October 14, 2014, 12:06:47 AM »
OK, noob questions, but here they go.

1) My character has a gauge of its own that works parallel to the Life/Power gauges. And, in Simul mode, I want it so that, when either team has 2 of this same character, each one has its own of such gauge shown onscreen. While I sort of managed to do this succesfully, it only works correctly in Simul; in Single or Team, MUGEN keeps trying to find the player's partner/P3, causing a debug flood. I can't seem to find a trigger to proper reckon the player's partner existing.

The code I'm currently using is this (it uses explods only, posted on the -2):

(click to show/hide)

2) I'm trying to implement a Boss Mode to this same character, changing a few Specials/Supers and a few tweaks. While I can (and will for now) use just one var on -2 to select from Normal Mode (0) to Boss Mode (1), my real plan is to make something like: Normal (0)/Player = Boss, CPU = Normal (1)/Player = Normal, CPU = Boss (2)/Boss (3). But I can't imagine triggers to detect if the character is being played by the CPU or not. Any tip on this?

Thanks in advance for the answers.



Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Two doubts (Simul Mode & Custom Gauges, Boss Mode)
« Reply #1 on: October 14, 2014, 02:35:25 AM »
For your first one, you'll want more than one explod and to make use of

trigger1 = numpartner = 1

or

trigger1 = numpartner = 0

To work out if you have a partner or not.

For the second one. PLEASE tell me you are using mugen 1.0 or 1.1. If you are it's as simple as

trigger1 = ailevel > 0

Where ailevel actually looks at the mugen difficulty set. The above is a global on/off switch. You can be more granular and have the horrible modes come in at harder difficulties like ailevel = 6

Offline BOMBAZOOKA

  • New Member
  • *
  • Posts: 3
  • Country: Brazil br
  • Last Login:October 19, 2014, 11:18:29 PM
  • Hi! I'm new!!
Re: Two doubts (Simul Mode & Custom Gauges, Boss Mode)
« Reply #2 on: October 15, 2014, 07:51:45 PM »
For the 1st one, unhappily, it didn't solve the debug flood. I tried to make a var (var(53)) that turns 1 when numpartner = 1...

(click to show/hide)

...and then give the explods the following pos:

(click to show/hide)


Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Two doubts (Simul Mode & Custom Gauges, Boss Mode)
« Reply #3 on: October 16, 2014, 01:36:12 AM »
I would have liked to have seen the debug flood.

At a guess though, it's this
ID >= partner, ID

You're using a redirect without the numpartner trigger. Include this in the varset itself and remove it from the ifelse line.

Offline BOMBAZOOKA

  • New Member
  • *
  • Posts: 3
  • Country: Brazil br
  • Last Login:October 19, 2014, 11:18:29 PM
  • Hi! I'm new!!
Re: Two doubts (Simul Mode & Custom Gauges, Boss Mode)
« Reply #4 on: October 19, 2014, 11:18:08 PM »
Your guess thought worked, the debug flood disappeared. Thank you.

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]

No calendar events were found.
SimplePortal 2.3.5 © 2008-2012, SimplePortal