Minecart Engine
This project is now inactive but the idea is alive.
Click here to see Robingrether's project: "Minecraft Train Simulator" Released as "Release"
(I would say it is a very advanced beta. In practice, still better than my plugin)
Click here to see shutara's project: "TrainZ" Yet in planning stage
=================================================
Description
This complementary plugin for bergerkiller's Traincarts will add the possibility of create electric and lava/coal locomotives, with realistic features like
- Panel with LED speedometer, LCD display, and the console.
- Electrified railway systems, with needing of substations, and settings like voltage and substation power capacity.
- Sounds of the brake air system, control lever and the engine.
- Realistic effects like exploding the transformer when trying to destroy it while turned on
Permissions
MinecartEngine.usage - For use the locomotive.
MinecartEngine.create - For create the infraestructure, or the locomotives.
Commands
Locomotive Usage Commands:
General controling:
/control start - start the low voltage systems (battery supplied if high voltage system is turned off).
/control stop - stop the low voltage systems.
/control engine - start/stop the diesel/lava/coal generator of the diesel/lava/coal train, supplying high voltage energy for the traction system works.
/control panto - raises/lowers the pantograph, supplying high voltage energy for the traction system works.
Direction Lever:
/df - Set direction lever to "forward".
/dn - Set direction lever to "neutral".
/db - Set direction lever to "backward".
Traction Lever:
/p4 - Full power.
/p3 - 75% of power.
/p2 - 50% of power.
/p1 - 25% of power.
/neutral - Set traction lever to "neutral".
/b1 - 25% of brake.
/b2 - 50% of brake.
/b3 - 75% of brake.
/b4 - Full brake.
Locomotive and Infrastructure Creating Commands:
Locomotive creating commands:
/loco create lava/coal/diesel - Creates a locomotive that runs by lava or coal inserted in a chest minecart.
/loco create electric <voltage> - Creates a electric locomotive, that runs by the electricity supplied by overhead lines in all the track.
Infraestructure creating commands:
/substation create <name> <voltage> <power> - Creates a electric substation that supply all the overhead lines connected with the iron block that the wizard will ask to you place
Instalation
Place "TrainCarts.jar" and "BKCommonLib v1.24.jar" in the plugins folder, also the "MinecartEngine.jar".
Pages
When will the update come out?
what about a link to the Dev builds? :)
please update 1.5.1
An update to 1.5 would be awesome, man!
please update 1.4.7, please!
Update 1.4.7, please !
I would really love to see an update for this!
You have an electric train supplied by overhead lines, but how about rail supplied trains like the L train in Chicago. This should be something you should add. Great plugin keep up the good work.
@TheMasterWolf
Link Removed: http://www.mediafire.com/?5j8b8fv8aadxo2a
Exist it in version 1.2.5, please?
@Doompants409
So... Yes, i am developing this. But i need to confess that i am a procrastinator... and 99,9% of my projects has emotion as fuel. In the last 2 weeks I do not opened eclipse any time. To help, i still had a urinary infection, with 39o fever and more... In the last 3 days my conscience start to get heavy, then i opened eclipse, and now I am programming.
The version I am developing now (as I said earlier, i am rewriting the entire code) is full of try catch so it is monkey ready. I already make all the monkey tests (/rollingstock uhhhhhh uhhhhh asdfasdfasd asfdasdffasd) and it works, so, when i release the beta I expect to stop the "An internal error occurred while attempting to perform this command" comments. This also is a bit different. The concept is the same, you control a locomotive by inside it, but now I start to code from three pillars of railway infraestructure. (in my plugin)
Is of it that consists the Rail Yard.
In the Create Area you create the wagons, coaches and locomotives, imagine that as the rolling stock plant.
The maintenance area is where you fix your loco, the idea (not coded) is to have in the locomotive a odometer and a trip meter, when the trip meter reaches a value (lets say, 10000 blocks), is time to go to the maintenance area, and run the command to fix it, the locomotive will have the "health" regenerated and the trip meter will go to 0. If you not do it, the loco will fail in a random area (and remember that murphy acts on the random things, so, it will be next to a creeper).
The Refuel Area is for refuel the locomotive. park the locomotive above the refuel area and push the lever, the storage minecart will be filled with the content of a array of chests next to the lever (You set it when you create the area).
In the last 3 days i had coded the rolling stock create thing. You go next of the create area, run /rollingstock create locomotive *type* *formation* and will spawn above the block that set the create area.
"cabin engine fuel engine cabin" - It is that locomotive
You can create a Diesel Multiple Unit also:
"cabin engine fuel passenger passenger passenger passenger passenger fuel engine cabin"
You can create a long steam engine:
"engine engine engine engine engine cabin fuel fuel fuel"
Can create a rail yard electric locomotive to pull the coaches and wagons to it's parking place.
"engine cabin engine"
Or a electric boxcab
"cabin engine cabin"
Now you create the locomotive by commands, the cabin don't need to be located in the extremes, it is a world of possibilities. Also, don't will be a limit of members of a locomotive, the limit will be seted by the config file, and it stores in a int var, so, you can have a really long locomotive (y)
@claudeSpeedIII
Oh, I know it is Alpha, but I thought maybe I was doing something wrong.
That said, do you have any plans to build on this mod in the future? I know projects like this take a lot of time (that not everyone has), but I have to say that this idea is great for Minecraft. It is much more entertaining to drive your own train than to get in an automated system.
Hoping you plan to develop it further, but if not, it was a cool idea. :D
Let's just hope that once bukkit for Minecraft 1.4.2 comes out... you completely re-design this plugin. The plugin is right now confusing me, not giving me any errors but I am having trouble setting it up (please don't explain it to me, I will be fine), just try to make it simpler in any way possible. I also want, if possible, freedom to build the train any way you want, with however many Minecarts you choose. Remember, I know this plugin is in Alpha, these are just some suggestions for future updates. Thank you for listening!
@Doompants409
Apparently you are using my plugin as it were in the final release...
When I publish it here, the reason was to people see the concept of the plugin, not for use in a game. It is for test purpose. The plugin is impracticable in the current state (so much so that you can see that the plugin is marked as alpha).
So, no, in the current state, is not possible to do it. ._.
Curious - is there a way to differentiate whether a map acts as a normal map, or as a dashboard for the engine? I have one map, and 8 dashboards. I only need one!
Thanks. Can't wait to see you refine this mod. it's fun so far.
@Skrieger
The command must be runned inside a locomotive, like this:
And it does not have resistance against errors, because I have not used any try/catch in the commands, so, if you mismatched a comma, it will generate a stack trace in the console of the server (send me this stacktrace, i will say what is wrong) and will said in Minecraft "An internal error occurred while attempting to perform this command"
Anyway, i am writing a new code, I only make this plugin avaiable here (as a alpha) for the people see what i want to do, but in the first beta it will be very different of the actual (commands and features).
Hallo,
i have the Problem that everytime when i use an Command like /loco i get this "An internal error occurred while attempting to perform this command" so i dont know why i get it.
This are the other Plugins that i installed on my Server: WorldEdit Traincarts Sewers MyHome Multiworlds LWC Essentials EssentialsSpawn EssentialsChat BKCommonLib
p.s: Sry for my Bad English im from Germany
@bergerkiller
Wow, i am glad by you have liked my plugin.
I have't used any method of BKCommonLib, so, I think that you can change it the manner you want...
I say that you need place the BKCommonLib on the plugins folder, 'cause it comes with TrainCarts, so, I thinked that Traincarts needs it for works.
@ClaudeSpeedIII I love it (someone linked me to here), I knew electricity based stuff was possible, just never thought of implementing anything. Glad someone did :) Really like the use of the iron fences as power lines, didn't know it would look this good.
Do be aware that the next BKCommonLib version (1.26) will be quite different (new package paths for one), so if you used it in this project as a dependency, I have this page:
http://dev.bukkit.org/server-mods/bkcommonlib/
You can get the download already, still fixing up my other plugins to support it though. Latest TrainCarts is also available (it's in the comments on the page)
@Hydragon1
Wow, i see it... Is not a station, where the passengers wait for the train, is a electric substation... Is a plant with a transformer that convert the high voltage energy from the public electric system to a little one, something between 600V DC (in a metro or suburban system) to 25000V AC (in a TGV line or something like that)
The higher the voltage, higher can be the distance between a substation and another. You have a line with 3000 blocks of length, and a substation working at 3000V in the middle, you have a train made for work in 3000V lines. the idea is that in the catenary (overhead line) in the middle, you have 3000V, but in the block 2000, you have something like 2900, in block 2500 you have 2800V and in block 3000, you have 2700V, and is obvious that the train that was made for work in 3000V, do not will work well in 2700V line...
Run "/substation create some_name_here 3000 15000" It probably will work, the 15000 is the power capacity, let's say you have 14 trains of two minecart with furnaces running in the line (one minecart with furnace is 500hp), when you put the 15 one, the lever will disable the substation per safety reasons, all the trains in the line will stop, and you will need to go to the subtation plant and turn on it again
See it?
@ClaudeSpeedIII
ok tkx but in the /help MinecraftEngine will be a /station so i have it from that