Indestructible Exit

All about creating levels and level sets, custom elements and custom artwork.

Moderators: Flumminator, Zomis

Post Reply
User avatar
RTADash
Posts: 180
Joined: Sun May 27, 2007 11:33 am
Location: USA (Ohio)

Indestructible Exit

Post by RTADash »

Can anyone help me make an indestructible exit, It would be very handy for these NES-BD levels I'm working on. Thanks in advance.
Those who can't learn will teach; those who can't teach will learn.
User avatar
Alan
Posts: 661
Joined: Fri Jun 18, 2004 7:48 pm

Post by Alan »

Isn't there a new type of exit in 3.2.4? Steel exit or something?

If not, the quick and dirty way is to place a real exit in your level (but unreachable). Next make an indestructable CE and in its change page:- Turn into an open exit "on creation of" an open exit.....this should work.

If you need the open exit to be indestructable too, then make the above CE turn into another indestructable CE and make this one exit the player when entered.
Zomis
Posts: 1502
Joined: Mon Jun 21, 2004 1:27 pm
Location: Sweden
Contact:

Post by Zomis »

Hmm... I must say that Alan's solution above sounds strange... or I'm just dizzy.

Anyways, I would describe the approach like this:
Go to the properties of a CE
Make it indestructible (on the "Config 1" page)
On the CE Change page, use "Entered by player" and on the bottom, use the [Player Actions] Exit Player and select "Trigger" as the player to the right.
Then place the CE where you'd like it.
User avatar
Alan
Posts: 661
Joined: Fri Jun 18, 2004 7:48 pm

Post by Alan »

Yes, but how would your exit open? You'd need to update a counter every time you collected an emerald etc.

It's much easier to let the RND exit do all the work for you then take over at the end.
User avatar
RTADash
Posts: 180
Joined: Sun May 27, 2007 11:33 am
Location: USA (Ohio)

Post by RTADash »

I think I know what to do now - it's kind of a mix of the 2 solutions with a variation. I'll Have the closed exit CE turn into the open one when it's CE value reaches 0. The value will decrease 1 for every BD diamond collected and that value will just vary from level to level. The open exit CE will just exit the player when he walks into it. Thanks guys! :D

I'll just have to remember to check the "indestructible" box each time I copy the elements, because it doesn't seem to remember that property when you paste a CE.

[Addition] ...and it worked! Now I've got to get the music working, check my other new thread.
Those who can't learn will teach; those who can't teach will learn.
User avatar
Holger
Site Admin
Posts: 4081
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Post by Holger »

> If not, the quick and dirty way is to place a real exit in your level (but
> unreachable). Next make an indestructable CE and in its change page:-
> Turn into an open exit "on creation of" an open exit.....this should work.

Clever solution indeed! :-)
User avatar
RTADash
Posts: 180
Joined: Sun May 27, 2007 11:33 am
Location: USA (Ohio)

Post by RTADash »

I decided to have my first CE (closed exit CE) just turn into a regular exit when the proper number of BD diamonds are collected. It's kind of cool to have the open exit be destructible as a little surprise. It's a little different than the original NES boulderdash, but in that game the B-flies and F-flies can't dodge rocks at all; so there will be some differences, of course.
Those who can't learn will teach; those who can't teach will learn.
User avatar
RTADash
Posts: 180
Joined: Sun May 27, 2007 11:33 am
Location: USA (Ohio)

Post by RTADash »

Oh, and I'll upload these on the FA when I'm done, of course. :)
Those who can't learn will teach; those who can't teach will learn.
User avatar
Holger
Site Admin
Posts: 4081
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Post by Holger »

> Isn't there a new type of exit in 3.2.4? Steel exit or something?

It's available in the new 3.2.4 now! :-)
Post Reply