Locking a level to one character

Having a problem with SMBX? Need assistance with a tool or with the site? Ask your questions here.
Yey
Cheep-Cheep
Cheep-Cheep
Posts: 11
Joined: Mon May 29, 2017 12:28 pm
Chat Username: .

Locking a level to one character

Postby Yey » Sun Jan 14, 2018 9:49 am

So, I have Link set as as the only playable character in my episode (by locking every character but him in the world map), but if it's possible, I'm looking to make Mario playable in one level. Is there any possible way I can, y'know, make it so the game forces you to play as one individual character for only one level?

User avatar
Taycamgame
Level Reviewer
Level Reviewer
Posts: 741
Joined: Mon Jun 19, 2017 11:35 am
Current Project: Mario's Kingdom Adventure 2: Search for the Stars! This will be better than the first, unreleased ga
Chat Username: Taycamgame
Contact:

Re: Locking a level to one character

Postby Taycamgame » Sun Jan 14, 2018 9:50 am

What version of SMBX?
Check out my Episodes:
ImageImage
Check out the projects i support:
Spoiler: show
ImageImage
Image

Quotes: show
xDestroy wrote:
Wellington Games wrote:Taycamgame, I know how to take screenshots in the SMBX.


OlieGamerTV
Blooper
Blooper
Posts: 181
Joined: Sun Nov 26, 2017 7:23 am
Chat Username: MarioboyFan602

Re: Locking a level to one character

Postby OlieGamerTV » Sun Jan 14, 2018 9:54 am

i guess you could force players to hit a Character switch block at the start of the level, so they cannot progress unless they hit the Character Switch block, to change them to mario for that level and then make them turn back into link at the end of the level

User avatar
PixelPest
Level Reviewer
Level Reviewer
Posts: 5929
Joined: Sun Jul 12, 2015 5:38 pm
Current Project: Boom Boom Evolution
Location: Canada, Eh?
Chat Username: Pix le Pest
Contact:

Re: Locking a level to one character

Postby PixelPest » Sun Jan 14, 2018 10:41 am

As OlieGameTV said, you can place the player start position inside a rectangle of player blocks with a player switch block. The player blocks will disappear when you hit the corresponding player switch block and will only allow a certain character to pass through. If using SMBX2, you can also create a lunadll.lua file in your level's custom graphics folder and in it type:

Code: Select all

function onStart()
    player.character = CHARACTER_MARIO;
end


This is just a simple piece of code for a player filter that you can use in SMBX2 to make the player Mario at the beginning of the level

OlieGamerTV
Blooper
Blooper
Posts: 181
Joined: Sun Nov 26, 2017 7:23 am
Chat Username: MarioboyFan602

Re: Locking a level to one character

Postby OlieGamerTV » Sun Jan 14, 2018 11:28 am

Image
Image
Image
i mean a system like this, trapped in a box at the top or middle of the screen, and you can't progress, until you jump into the Mario Character switch block, it should work even when you have only one character allowed, but someone will have to test that

User avatar
Westretroman
Ripper II
Ripper II
Posts: 372
Joined: Tue Mar 29, 2016 6:50 pm

Re: Locking a level to one character

Postby Westretroman » Sun Jan 14, 2018 11:45 am

OlieGamerTV wrote:Image
Image
Image
i mean a system like this, trapped in a box at the top or middle of the screen, and you can't progress, until you jump into the Mario Character switch block, it should work even when you have only one character allowed, but someone will have to test that

I don't think this method is needed since Lunalua does it quicker, but do what you want.
"Que pasa?"

OlieGamerTV
Blooper
Blooper
Posts: 181
Joined: Sun Nov 26, 2017 7:23 am
Chat Username: MarioboyFan602

Re: Locking a level to one character

Postby OlieGamerTV » Sun Jan 14, 2018 11:47 am

Westretroman wrote:
OlieGamerTV wrote:Image
Image
Image
i mean a system like this, trapped in a box at the top or middle of the screen, and you can't progress, until you jump into the Mario Character switch block, it should work even when you have only one character allowed, but someone will have to test that

I don't think this method is needed since Lunalua does it quicker, but do what you want.

its still nice to note this method, just in case

Yey
Cheep-Cheep
Cheep-Cheep
Posts: 11
Joined: Mon May 29, 2017 12:28 pm
Chat Username: .

Re: Locking a level to one character

Postby Yey » Sun Jan 14, 2018 5:22 pm

Taycamgame wrote:What version of SMBX?


SMBX 2.0.

And also, thanks for the suggestions, everyone! I'll try 'em later tonight.

User avatar
8lue Storm
Swooper
Swooper
Posts: 108
Joined: Thu Jan 18, 2018 9:53 am
Current Project: SUPER SECRET PROJECT! (Shh!)
Location: Brazil
Chat Username: 8luestorm

Re: Locking a level to one character

Postby 8lue Storm » Thu Jan 18, 2018 10:05 am

Also, if you don't want the barrier to be cheated through, make the blockade of mario blocks under the player, just like OlieGamerTV. Because if someone is smart enough, they can cheat through the blockade if it's placed veritcally...
Correct me if I'm wrong, please. I am new to this website, but I know SMBX very well (I guess).
Check out my project!
Image
Lovely image by ADMAndrew!

OlieGamerTV
Blooper
Blooper
Posts: 181
Joined: Sun Nov 26, 2017 7:23 am
Chat Username: MarioboyFan602

Re: Locking a level to one character

Postby OlieGamerTV » Thu Jan 18, 2018 12:15 pm

8lue Storm wrote:Also, if you don't want the barrier to be cheated through, make the blockade of mario blocks under the player, just like OlieGamerTV. Because if someone is smart enough, they can cheat through the blockade if it's placed veritcally...

seriously? how can someone cheat through it if its placed vertically?

User avatar
PixelPest
Level Reviewer
Level Reviewer
Posts: 5929
Joined: Sun Jul 12, 2015 5:38 pm
Current Project: Boom Boom Evolution
Location: Canada, Eh?
Chat Username: Pix le Pest
Contact:

Re: Locking a level to one character

Postby PixelPest » Thu Jan 18, 2018 1:36 pm

OlieGamerTV wrote:
8lue Storm wrote:Also, if you don't want the barrier to be cheated through, make the blockade of mario blocks under the player, just like OlieGamerTV. Because if someone is smart enough, they can cheat through the blockade if it's placed veritcally...

seriously? how can someone cheat through it if its placed vertically?

The "shadowstar" cheat. However, there's no need to compensate for cheats

OlieGamerTV
Blooper
Blooper
Posts: 181
Joined: Sun Nov 26, 2017 7:23 am
Chat Username: MarioboyFan602

Re: Locking a level to one character

Postby OlieGamerTV » Thu Jan 18, 2018 3:56 pm

PixelPest wrote:
OlieGamerTV wrote:
8lue Storm wrote:Also, if you don't want the barrier to be cheated through, make the blockade of mario blocks under the player, just like OlieGamerTV. Because if someone is smart enough, they can cheat through the blockade if it's placed veritcally...

seriously? how can someone cheat through it if its placed vertically?

The "shadowstar" cheat. However, there's no need to compensate for cheats

ah, right, forgot about that cheat, The "Shadow Star Image" Cheat makes the game extremely easy, its cool, but it does make it hard for players using that cheat, if the background is completely black

User avatar
8lue Storm
Swooper
Swooper
Posts: 108
Joined: Thu Jan 18, 2018 9:53 am
Current Project: SUPER SECRET PROJECT! (Shh!)
Location: Brazil
Chat Username: 8luestorm

Re: Locking a level to one character

Postby 8lue Storm » Thu Jan 18, 2018 4:08 pm

PixelPest wrote:
OlieGamerTV wrote:
8lue Storm wrote:Also, if you don't want the barrier to be cheated through, make the blockade of mario blocks under the player, just like OlieGamerTV. Because if someone is smart enough, they can cheat through the blockade if it's placed veritcally...

seriously? how can someone cheat through it if its placed vertically?

The "shadowstar" cheat. However, there's no need to compensate for cheats

Usually, if I want to block something off the player at all costs until he/she can unlock it, I make a cheat-proof barrier, which, in my opinion, makes the player have the gameplay the creator wanted...
Correct me if I'm wrong, please. I am new to this website, but I know SMBX very well (I guess).
Check out my project!
Image
Lovely image by ADMAndrew!

OlieGamerTV
Blooper
Blooper
Posts: 181
Joined: Sun Nov 26, 2017 7:23 am
Chat Username: MarioboyFan602

Re: Locking a level to one character

Postby OlieGamerTV » Thu Jan 18, 2018 6:01 pm

8lue Storm wrote:
PixelPest wrote:
OlieGamerTV wrote:seriously? how can someone cheat through it if its placed vertically?

The "shadowstar" cheat. However, there's no need to compensate for cheats

Usually, if I want to block something off the player at all costs until he/she can unlock it, I make a cheat-proof barrier, which, in my opinion, makes the player have the gameplay the creator wanted...

instant kill blocks in 2.0? yes, thats a thing, would you be able to go through that with shadowstar?

User avatar
8lue Storm
Swooper
Swooper
Posts: 108
Joined: Thu Jan 18, 2018 9:53 am
Current Project: SUPER SECRET PROJECT! (Shh!)
Location: Brazil
Chat Username: 8luestorm

Re: Locking a level to one character

Postby 8lue Storm » Thu Jan 18, 2018 6:09 pm

OlieGamerTV wrote:
8lue Storm wrote:
PixelPest wrote:The "shadowstar" cheat. However, there's no need to compensate for cheats

Usually, if I want to block something off the player at all costs until he/she can unlock it, I make a cheat-proof barrier, which, in my opinion, makes the player have the gameplay the creator wanted...

instant kill blocks in 2.0? yes, thats a thing, would you be able to go through that with shadowstar?

Man! I have never thought of this before!
But i think donthurtme and shadowstar could make it through. However, I don't understand what you mean by "Instant kill blocks", are they like, lava blocks or such? (I use 1.3.0.1 sorry).
Correct me if I'm wrong, please. I am new to this website, but I know SMBX very well (I guess).
Check out my project!
Image
Lovely image by ADMAndrew!

User avatar
bossedit8
Toad
Toad
Posts: 6816
Joined: Fri Dec 20, 2013 12:35 pm
Current Project: Airship Attack 2
Location: Germany (Deutschland)
Chat Username: <3 bossedit8 <3
Contact:

Re: Locking a level to one character

Postby bossedit8 » Thu Jan 18, 2018 6:44 pm

Killer blocks are basically blocks that will kill the player but not the enemies... it's basically lava but more deadly for the player rather than the enemies.

OlieGamerTV
Blooper
Blooper
Posts: 181
Joined: Sun Nov 26, 2017 7:23 am
Chat Username: MarioboyFan602

Re: Locking a level to one character

Postby OlieGamerTV » Thu Jan 18, 2018 7:02 pm

8lue Storm wrote:
OlieGamerTV wrote:
8lue Storm wrote:Usually, if I want to block something off the player at all costs until he/she can unlock it, I make a cheat-proof barrier, which, in my opinion, makes the player have the gameplay the creator wanted...

instant kill blocks in 2.0? yes, thats a thing, would you be able to go through that with shadowstar?

Man! I have never thought of this before!
But i think donthurtme and shadowstar could make it through. However, I don't understand what you mean by "Instant kill blocks", are they like, lava blocks or such? (I use 1.3.0.1 sorry).

Image
i mean those things i placed around the spawn box, i tried doing shadowstar and donthurtme, but the Instant Kill Block sticks to its name, and kills the player even with donthurtme on also, im pretty sure that these "Instant Kill Blocks" are only in 2.0, not 1.3.0.1, so im guessing thats why you dont know them well

User avatar
PixelPest
Level Reviewer
Level Reviewer
Posts: 5929
Joined: Sun Jul 12, 2015 5:38 pm
Current Project: Boom Boom Evolution
Location: Canada, Eh?
Chat Username: Pix le Pest
Contact:

Re: Locking a level to one character

Postby PixelPest » Thu Jan 18, 2018 9:58 pm

Do you realize how ugly that is and when you could just use either a better setup or a player filter via LunaLua? As I mentioned previously, there's no need to compensate for cheating

User avatar
The0x539
Koopa Shell
Koopa Shell
Posts: 676
Joined: Fri Jan 22, 2016 8:02 pm
Current Project: SMBX2

Re: Locking a level to one character

Postby The0x539 » Fri Jan 19, 2018 2:25 am

OlieGamerTV wrote:
PixelPest wrote:
OlieGamerTV wrote:seriously? how can someone cheat through it if its placed vertically?

The "shadowstar" cheat. However, there's no need to compensate for cheats

ah, right, forgot about that cheat, The "Shadow Star Image" Cheat makes the game extremely easy, its cool, but it does make it hard for players using that cheat, if the background is completely black

Beta 4 has "getdown" which teleports you a couple blocks down, and "noclip" which lets you just move freely in any direction with no gravity or collision. Don't bother, the player can just edit the level anyway.
quotes: show
Enjl wrote:people in my high school struggled with vectors and i was like "what how it's literally an arrow"
rockythechao wrote:so much evil genius is wasted on the free-to-play game industry these days
come on, activision execs, when are you guys going to get yourselves real villain jobs? buy yourselves a volcano lair with lava sharks or something
Like, just ask yourselves this: What Would Sauron Do?
TheKidCodee wrote:Yes. And i know what system 32 is. What java is, htmi.
Hoeloe wrote:I've designed better languages in my sleep
Wohlstand wrote:please, enable your brain
Enjl wrote:that's like using a chainsaw instead of a butter knife to spread butter on your bread
in the sense that the chainsaw will severely literally cut into your performance
Ryaa wrote:aero you should eat some french friends
Ryaa wrote:I honestly think people don't use 2.0 because it requires thinking lmao

OlieGamerTV
Blooper
Blooper
Posts: 181
Joined: Sun Nov 26, 2017 7:23 am
Chat Username: MarioboyFan602

Re: Locking a level to one character

Postby OlieGamerTV » Fri Jan 19, 2018 8:32 am

The0x539 wrote:
OlieGamerTV wrote:
PixelPest wrote:The "shadowstar" cheat. However, there's no need to compensate for cheats

ah, right, forgot about that cheat, The "Shadow Star Image" Cheat makes the game extremely easy, its cool, but it does make it hard for players using that cheat, if the background is completely black

Beta 4 has "getdown" which teleports you a couple blocks down, and "noclip" which lets you just move freely in any direction with no gravity or collision. Don't bother, the player can just edit the level anyway.

im sure that not even "noclip" would survive the Instant kill blocks


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 4 guests