collapse

Author Topic: Force a character to start in 12P mode  (Read 2928 times)

0 Members and 3 Guests are viewing this topic.

Offline Don Ravioli

  • New Member
  • *
  • Posts: 8
  • Country: France fr
  • Last Login:May 18, 2016, 10:23:25 AM
  • Hi! I'm new!!
Force a character to start in 12P mode
« on: January 18, 2014, 03:07:13 PM »
So I'm trying to make it so that pikapon's Tewi (which I edited with help from Cyanide , thanks again) starts in 12P mode, whatever the buttons used to select her, for CPU opponent purpose (Saltybet. I feel like unleashing demons.  :cool )  Can someone point me to what I need to do ?

Long story short, I tried changing the states used for this modes to regular palettes, only to get a ton of errors.

http://www.mediafire.com/download/pggrm6x85dp9usx/tei.rar The character is here, if someone wants to take a look.

Awaiting responses eagerly !



Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Force a character to start in 12P mode
« Reply #1 on: January 19, 2014, 04:18:09 AM »
Is this a 1.0 based character? Does it say Mugenversion = 1.0 in the .def file?

You have the bit that set her off in the 12th palette, i assume that's still in place. Find that and add a new trigger that checks AI level

trigger = AILevel > 0
Dunno what number trigger you need. If it's 1 already, you need 2, if there is already a 2, add 3, etc.

Offline Don Ravioli

  • New Member
  • *
  • Posts: 8
  • Country: France fr
  • Last Login:May 18, 2016, 10:23:25 AM
  • Hi! I'm new!!
Re: Force a character to start in 12P mode
« Reply #2 on: January 19, 2014, 07:32:41 AM »
According to her def, she isn't made for 1.0. But her version date states otherwise :

versiondate = 04.27,2013
mugenversion = 12,27,2007

So that's weird. Is there a specific kind of bit I have to look for ?

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Force a character to start in 12P mode
« Reply #3 on: January 19, 2014, 04:28:13 PM »
Just change it and see if the character behaves itself. The version date defines what triggers/sctrls the character can use. If it says 1.0, it'll make use of the new features (not sff, but the other stuff) if it says anything else, mugen treats it as a winmugen character. As such the new stuff doesn't work.

AIlevel is the BEST trigger to make use of if you wish to detect CPU control. And that only works in 1.0 and up.

Offline Don Ravioli

  • New Member
  • *
  • Posts: 8
  • Country: France fr
  • Last Login:May 18, 2016, 10:23:25 AM
  • Hi! I'm new!!
Re: Force a character to start in 12P mode
« Reply #4 on: January 20, 2014, 05:19:25 AM »
OK, I think I get it, but her states are... numerous to say the least, and I don't see which one is the 12P mode trigger. There is a a LOT of palette related triggers actually. Is there any blatant hints about those ?

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Force a character to start in 12P mode
« Reply #5 on: January 21, 2014, 02:45:04 AM »
12th palette is palno = 12

I am surprised a variable is not in use to activate all of these. You could change things so anywhere it says

palno = 12 it becomes (palno = 12 || ailevel > 0)

But by the sounds of it, you may have a bit of work in front of you.

Offline Arkady

  • IMT Content Architect
  • *
  • Posts: 1875
  • Country: Australia au
  • Last Login:June 24, 2024, 06:19:09 PM
  • "Create the Un-Creatable"
Re: Force a character to start in 12P mode
« Reply #6 on: January 21, 2014, 06:00:57 AM »
Wouldn't it just be easier to save that particular 12.act, and rename it 1.act and vice versa? I suppose it depends on how you want the character to look like

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12470
  • Country: Brazil br
  • Last Login:June 18, 2024, 10:10:26 AM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: Force a character to start in 12P mode
« Reply #7 on: January 21, 2014, 06:40:45 AM »
no, because it doesn't trigger with the name, but with which slot the palette is.

Offline Arkady

  • IMT Content Architect
  • *
  • Posts: 1875
  • Country: Australia au
  • Last Login:June 24, 2024, 06:19:09 PM
  • "Create the Un-Creatable"
Re: Force a character to start in 12P mode
« Reply #8 on: January 21, 2014, 09:16:46 AM »
Oh I see, he wants the 12.act to act as is does in its slot, but be the default



 :-?? That could be something that you would probably need to rename everything that states palno = 12 , but remove the "2" on the end, then do what said before and swap the .acts
but you might have to add "2" to anything that states palno=1
basically change 12 into 1 and reroute 1 into 12

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Force a character to start in 12P mode
« Reply #9 on: January 22, 2014, 03:06:24 AM »
There isn't any .act files involved at all. Any of them could be "12" in the list and the code won't care. It's looking at whether you pressed start+button. Not which act you loaded. As such he needs to change things so when the character is under AI control it's always doing the stuff it does in pal 12.

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

Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by Diek Stiekem
[Today at 10:25:34 AM]


Golden Axe Returns by striderhiryu201
[June 23, 2024, 04:15:50 PM]


Virtual Bart Science Fair by Rage
[June 21, 2024, 01:25:51 PM]


Turn Battle - Mega Man Robot Master Mayhem by O Ilusionista
[June 18, 2024, 10:11:08 AM]


Classic VS : Cheng / Athena by O Ilusionista
[June 18, 2024, 10:10:26 AM]


Downtown Nekketsu Monogatari Stage Pack by Vegaz by LightFlare
[June 17, 2024, 02:30:12 PM]


Street Fighter Spec Ops 2021 by O Ilusionista
[June 08, 2024, 01:36:06 PM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[June 06, 2024, 07:34:10 PM]


Kirby the Dream Battle by O Ilusionista
[June 06, 2024, 01:04:12 PM]


Neo Geo Pocket by malevka2
[June 05, 2024, 10:53:57 AM]

* IMT Calendar

June 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