I'm working in the latest version of Zelda Classic (2.50.1, I believe), using the Dance of Remembrance (Hybrid) tileset and if you haven't guessed by now; I'm trying to give my game a minecart (and failing miserably).
The latest script I found was by Mr. Z, courtesy of MoscowModder.(There is another more recent one, but I wasn't able to puzzle out how it works.) If anybody want's to look at those scripts for ideas, here are links to them.
Requested by Rastael- I don't understand this one enough to figure out if it would do what I want.
http://www.purezc.ne...art#entry855530
Requested by Mr. Z- This one doesn't seem to work right and I don't think it was ever finished.
http://www.purezc.ne...art#entry840195
I've tried a few versions of my own.
One attempt tried to give my character a special MIneCart item that replaces the raft when they step on the ffc, so while rafting you look like you're riding the Mine Cart. When I used this method, the game acted as if I had lost the raft altogether. (Though if I approached the dock with either the raft or Minecart item in my inventory and the ffc wasn't there, you went down the path just like normal.)
Another tried to make it when my character touched the MineCart ffc, it would follow him and overlay itself; while hitting another would turn those off and stop it from following him. Unfortunately, even when the ending ffc was not the same ffc number; the overlay, carryover and following effect didn't stop.
I'm just about out of ideas for this, except for the one I'm about to suggest. There are two scripts that I already have that I think could be combined to create an effective Mine Cart script.
The first is this Moving Platform script, created by Moosh.
The second is this script, which creates an ffc that follows link.
The moving platform script doesn't work very well when crossing to a new room, but the follow link script does. With the moving platform, you can set changers that will alter your direction or the id of the ffc that hits them, making the moving platform change direction and appearance.
There may be other methods which would do the same thing, but so far I haven't been able to puzzle any of them out. Another feature that both of these script lack is a way to make them stop at a certain point, like when you encounter a certain ComboType or ComboFlag. My thanks in advance to anyone who can provide me with some assistance!