CE touching moving conveyor belt doesn't work

Found a bug in R'n'D? Report it here!

Moderators: Flumminator, Zomis

Post Reply
User avatar
Jannik
Posts: 135
Joined: Fri Jan 27, 2006 2:55 pm
Location: Germany

CE touching moving conveyor belt doesn't work

Post by Jannik »

If you set a CE to change when touching , it won't change when the conveyor belt is moving.
Daniel H.
Posts: 535
Joined: Sun Apr 02, 2006 7:13 pm
Location: USA

Post by Daniel H. »

That is because the "moving conveyor belt" element is not the same element as the stopped conveyor belt element. The moving conveyor belt element is not available in the level editor.

The same is true of other elements.
i.e. CE touching invisible wall won't change when the lights are on, because the invisible wall is another element that is not available in the level editor, "invisible wall active."

I'm not sure whether or not this should be considered a "bug." It seems to me as if there should be something done about it, but I don't know what. :?: :?
The H. World levelset can be downloaded from http://www.bd-fans.com/RnD.html -- search The H. World on that page.
Zomis
Posts: 1502
Joined: Mon Jun 21, 2004 1:27 pm
Location: Sweden
Contact:

Post by Zomis »

As I see it, there's three possibilities here:
1. Include those runtime elements in the level editor
2. Do some coding to make the CEs change on those runtime elements as well when it's set to change on the non-runtime elements.
3. Ignore the problem.

I think I vote for number 2.
Daniel H.
Posts: 535
Joined: Sun Apr 02, 2006 7:13 pm
Location: USA

Post by Daniel H. »

Yes, I like number 2 the best, too. :)
Number 1 could confuse people.
The H. World levelset can be downloaded from http://www.bd-fans.com/RnD.html -- search The H. World on that page.
User avatar
Francesco
Posts: 577
Joined: Thu Dec 29, 2005 2:22 pm
Location: Sardinia (Italy)
Contact:

Post by Francesco »

I vote for option 2, seems the best solution.
Anyway, by the way, have fun!
Francesco
Daniel H.
Posts: 535
Joined: Sun Apr 02, 2006 7:13 pm
Location: USA

Post by Daniel H. »

It seems as though number 3 has been the chosen option :wink: (not intentionally, of course)

There is also a related conveyor belt bug: When a CE creates a conveyor belt, the conveyor belt will be stopped regardless of the conveyor belt switch position. There was a similar problem in 3.1.x with invisible walls being created while the light switch is on.

It seems like to fix every possible bug that follows this pattern and the pattern of this topic (condition [such as "touching"] with elements that are in "active" mode) would require several hard-coded workarounds...

To solve the original problem of this topic, this is just an idea:
Maybe R'n'D could have some built-in group elements: "all red conveyor belts (moving or not)", "all invisible steel walls ('active' [visible] or not)"
. . . but again, this would be another thing to confuse people.

Maybe these "built-in group elements" would be automatically used for change conditions-- for example, "touching red conveyor belt" would mean "touching red conveyor belt, moving or not" internally . . .

Which would be the same as option #2 . . .

(I hope this post helps somehow and isn't just a hard-to-understand post without meaning.)
The H. World levelset can be downloaded from http://www.bd-fans.com/RnD.html -- search The H. World on that page.
Post Reply