collapse

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

0 Members and 1 Guest 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: 1872
  • Country: Australia au
  • Last Login:May 17, 2024, 07:55:01 AM
  • "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: 12463
  • Country: Brazil br
  • Last Login:May 18, 2024, 11:29:37 PM
  • 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: 1872
  • Country: Australia au
  • Last Login:May 17, 2024, 07:55:01 AM
  • "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

Street Fighter 1 Ultimate Ryu by ELECTRO
[May 22, 2024, 03:58:25 PM]


China Town (Revenge of Shinobi) by Lord_Enemil
[May 22, 2024, 03:02:10 PM]


Neon Light Force Demo by Uche_of_IMT
[May 22, 2024, 10:21:37 AM]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by Uche_of_IMT
[May 21, 2024, 11:50:20 PM]


The Spider release + Spider-Man game by kobun
[May 21, 2024, 02:05:24 AM]


Let's all try it together! Yazawanainn gose breakdancing in MUGEN! by GTFoxN6Y
[May 18, 2024, 05:00:14 PM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[May 18, 2024, 11:17:34 AM]


Classic VS : Athena by ELECTRO
[May 15, 2024, 01:25:51 PM]


D2TD VS Showcase Thread by D2TD
[May 12, 2024, 10:20:11 AM]


Ballroom Hallway (1.1 Only/AIGS) by Vegaz by LightFlare
[May 09, 2024, 11:53:48 AM]

* IMT Calendar

May 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 31

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