Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Do minecarts activate pressure plates when they move over them?  (Read 2081 times)

guitarxe

  • Bay Watcher
    • View Profile

The wiki says I can put pressure plates on top of tracks. If a minecart rolls over it, does it activate it?
Logged
Feeling down? Click Here!

Garath

  • Bay Watcher
  • Helping to deforest the world
    • View Profile
Re: Do minecarts activate pressure plates when they move over them?
« Reply #1 on: June 01, 2012, 02:30:20 am »

first: yes, they do, as was announced in several devlogs

the wiki on minecarts doesn't go out and say so, except in one line:

The capacity in a minecart affects whether a pressure plate triggers or not, based on the pressure plate's setting.
Logged
Quote from: Urist Imiknorris
Jam a door with its corpse and let all the goblins in. Hey, nobody said it had to be a weapon against your enemies.
Quote from: Frogwarrior
And then everyone melted.

rhesusmacabre

  • Bay Watcher
  • UNDEAD-CANNOT BE ATTACKED
    • View Profile
Re: Do minecarts activate pressure plates when they move over them?
« Reply #2 on: June 01, 2012, 02:43:09 am »

You can set pressure plates to react to minecarts on tracks and (presumably) nothing else.
Logged

guitarxe

  • Bay Watcher
    • View Profile
Re: Do minecarts activate pressure plates when they move over them?
« Reply #3 on: June 01, 2012, 08:15:34 am »

So I can have a minecart automatically open and close a door? Or lower and raise a bridge, just by rolling through a pressure plate?
Logged
Feeling down? Click Here!

rhesusmacabre

  • Bay Watcher
  • UNDEAD-CANNOT BE ATTACKED
    • View Profile
Re: Do minecarts activate pressure plates when they move over them?
« Reply #4 on: June 01, 2012, 01:57:01 pm »

Yes. This being DF, however, things are never that simple. The pressure plate will immediately send an "open" signal to a door or hatch, but there will be a ~100 tick delay before an "open" signal is sent to a floodgate or a "close" signal is sent to a bridge. The reverse signal will be sent after the plate is disengaged, with an additional 100 tick delay in each case. I think.
Logged

guitarxe

  • Bay Watcher
    • View Profile
Re: Do minecarts activate pressure plates when they move over them?
« Reply #5 on: June 01, 2012, 02:38:30 pm »

How long is 100 ticks? I know it will depend on my FPS... so how many tiles would a cart travel during that time?
Well actually I'll test that out myself.

You say that the door will then close after the pressure plate is released?

So something this simple is not going to really work?

Code: [Select]

==[]=BBB=[]==
B being the bridge and the [] being the pressure plate.

Logged
Feeling down? Click Here!

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: Do minecarts activate pressure plates when they move over them?
« Reply #6 on: June 01, 2012, 04:20:00 pm »

How long is 100 ticks? I know it will depend on my FPS... so how many tiles would a cart travel during that time?
Depends on the speed of the cart. The average dwarf travels 10 steps in 100 ticks, with more agile dwarves traveling more and less agile dwarves travelling less.
Logged
Quote from: PTTG
It would be brutally difficult and probably won't work. In other words, it's absolutely dwarven!
Cataclysm: Dark Days Ahead - A fun zombie survival rougelike that I'm dev-ing for.