collapse

Author Topic: How to hide/lock characters?  (Read 4511 times)

0 Members and 1 Guest are viewing this topic.

Offline Maxilos

  • New Member
  • *
  • Posts: 1
  • Last Login:October 16, 2012, 07:31:05 PM
  • Hi! I'm new!!
    • Email
How to hide/lock characters?
« on: October 16, 2012, 07:31:05 PM »
Title says it all. I have some mini games and bosses so I just want to hide them so they can't be selected by players.



Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: How to hide/lock characters?
« Reply #1 on: October 17, 2012, 04:04:03 PM »
Assuming @ is a character and # is a blank space. To prevent a character from selection

@@@#
@@@#
###@

Set moveoveremptyboxes = 0 and you will not be able to access that last character. Place it off screen to hide it.

If you have randomselect anywhere they will still be available via that method.

Offline mulambo

  • Contributor
  • ****
  • Posts: 345
  • Country: Italy it
  • Last Login:July 01, 2023, 08:06:41 PM
  • Godsent Devil
    • Website
Re: How to hide/lock characters?
« Reply #2 on: May 14, 2017, 11:05:44 AM »
I tried your method Cyanide, but it didn't work, the bonus characters are still selectable even if their select box is offscreen (hidden). 

for example in select.def
Code: [Select]

char1, stages/stage1.def, order=2
char2, stages/stage2.def, order=3
char3, stages/stage3.def, order=4
char4, stages/stage4.def, order=5
char5, stages/stage5.def, order=7
char6, stages/stage6.def, order=8
char7, stages/stage7.def, order=9
char8, stages/stage8.def, order=10
bonus1, stages/bonusstage1.def, order=1
bonus2, stages/bonusstage2.def, order=6 

The roster is set as 1 single column, with different rows (8 selectable character + 2 bonus stages). 
The 2 bonuses are hidden (offscreen), but they're selectable. How do I make them unselectable/locked ?
« Last Edit: May 14, 2017, 11:12:27 AM by mulambo »

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: How to hide/lock characters?
« Reply #3 on: May 15, 2017, 02:28:43 AM »
Single column isn't enough. You need 2 columns

@#
@#
@#
@#
@#
@#
@#
@#
#@
#@

There is no way to access those last 2 characters. Pressing up will not skip you to them and there is no way to get left/right to them. As long as moveoveremptyboxes = 0 you cannot select them. Or was it meant to be 1.... pretty sure it's 0. 0 means you can't put the cursor on them.

Offline mulambo

  • Contributor
  • ****
  • Posts: 345
  • Country: Italy it
  • Last Login:July 01, 2023, 08:06:41 PM
  • Godsent Devil
    • Website
Re: How to hide/lock characters?
« Reply #4 on: May 15, 2017, 12:39:13 PM »
Tried with 2 columns, messed it all up. Still tried to organize the roster with 2 columns (but appearing as one): bonuses were unselectable, but they don't show at arcade (blank opponent in vs screen, then mugen quits).
In system.def settings are "moveoveremptyboxes = 0  ,showemptyboxes = 0 , wrapping = 0  "

Still don't get how to properly use that "@#", "#@". Sorry for asking, I must be really dumb, but I need a proper example both for select.def and system.def. :(

As for now, the select.def is:
Code: [Select]
jannaro, stages/12.def, order=3
mistermister, stages/heliport.def, order=2
abdul, stages/ogrem0.def, order=4
culo, stages/roof.def, order=5
osas, stages/lawm0.def, order=6
osas, stages/lawm0.def, order=8
osas, stages/lawm0.def, order=9
osas, stages/lawm0.def, order=10
@#
oildrumbonus, stages/hangar.def, order=1
car, stages/hangar.def, order=7

...
arcade.maxmatches =1,2,3,4,5,6,7,8,9,10

The bonus chars are offscreen, but the cursor just skips the empty box "@#" and is able to select both. I've set a "Lifeset suicide" in [State-2] of those chars in case there were facing each other (first stage is car bonus stage)... but it would be really better to avoid this case as the player can watch the match ending in a tie.
« Last Edit: May 15, 2017, 12:45:26 PM by mulambo »

Offline mulambo

  • Contributor
  • ****
  • Posts: 345
  • Country: Italy it
  • Last Login:July 01, 2023, 08:06:41 PM
  • Godsent Devil
    • Website
Re: How to hide/lock characters?
« Reply #5 on: May 15, 2017, 07:39:10 PM »
nevermind, it worked. I had to figure it out myself step by step adding a line/row/column until I got it working.

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12476
  • Country: Brazil br
  • Last Login:November 11, 2024, 12:35:15 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: How to hide/lock characters?
« Reply #6 on: May 15, 2017, 11:50:28 PM »
Just to clarify: if you use a randomselect, the engine will STILL be able to select that character.

Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: How to hide/lock characters?
« Reply #7 on: May 16, 2017, 02:05:02 AM »
Gotta remember a rubbish name in the select def means no character.

Ryu
blank
honda
blank

That's character on the left and nothing on the right. I see you've worked it out, but that's the logic.

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