//variables init:
public ModelRenderer box;
public ModelRenderer box0;
public ModelRenderer box1;
public ModelRenderer box10;
public ModelRenderer box11;
public ModelRenderer box12;
public ModelRenderer box2;
public ModelRenderer box3;
public ModelRenderer box4;
public ModelRenderer box5;
public ModelRenderer box6;
public ModelRenderer box7;
public ModelRenderer box8;
public ModelRenderer box9;
public ModelRenderer train;
public ModelRenderer train0;
public ModelRenderer train1;
public ModelRenderer train2;
public ModelRenderer train3;
//constructor:
box = new ModelRenderer(0, -19);
box.addBox(0F, 0F, 0F, 16, 4, 5);
box.setPosition(-8F, 7F, -9F);
box0 = new ModelRenderer(82, 59);
box0.addBox(0F, 0F, 0F, 16, 3, 15);
box0.setPosition(-8F, 4F, 2F);
box1 = new ModelRenderer(-112, -12);
box1.addBox(0F, 0F, 0F, 2, 4, 16);
box1.setPosition(5F, 0F, -5F);
box10 = new ModelRenderer(17, 61);
box10.addBox(0F, 0F, 0F, 16, 3, 15);
box10.setPosition(-8F, 19F, 0F);
box11 = new ModelRenderer(-61, 13);
box11.addBox(0F, 0F, 0F, 8, 5, 20);
box11.setPosition(-4F, 1F, 3F);
box12 = new ModelRenderer(62, -10);
box12.addBox(0F, 0F, 0F, 8, 5, 20);
box12.setPosition(-4F, 1F, -17F);
box2 = new ModelRenderer(0, 2);
box2.addBox(0F, 0F, 0F, 16, 3, 18);
box2.setPosition(-8F, 4F, 17F);
box3 = new ModelRenderer(-8, 32);
box3.addBox(0F, 0F, 0F, 16, 4, 20);
box3.setPosition(-8F, 1F, -20F);
box3.rotateAngleX = 0.19198621771937624F;
box4 = new ModelRenderer(-36, -40);
box4.addBox(0F, 0F, 0F, 2, 4, 16);
box4.setPosition(5F, 0F, 18F);
box5 = new ModelRenderer(-69, -25);
box5.addBox(0F, 0F, 0F, 2, 4, 16);
box5.setPosition(-7F, 0F, 18F);
box6 = new ModelRenderer(-80, 1);
box6.addBox(0F, 0F, 0F, 2, 7, 15);
box6.setPosition(-8F, 7F, -1F);
box7 = new ModelRenderer(11, -45);
box7.addBox(0F, 0F, 0F, 2, 7, 15);
box7.setPosition(6F, 7F, -1F);
box8 = new ModelRenderer(-33, -15);
box8.addBox(0F, 0F, 0F, 2, 4, 10);
box8.setPosition(-8F, 11F, -2F);
box8.rotateAngleX = 0.9250245035569946F;
box9 = new ModelRenderer(-36, 42);
box9.addBox(0F, 0F, 0F, 2, 4, 10);
box9.setPosition(6F, 11F, -2F);
box9.rotateAngleX = 0.9250245035569946F;
train = new ModelRenderer(-51, 59);
train.addBox(0F, 0F, 0F, 16, 3, 15);
train.setPosition(-8F, 4F, -13F);
train0 = new ModelRenderer(-8, 32);
train0.addBox(0F, 0F, 0F, 16, 4, 20);
train0.setPosition(-8F, 1F, -20F);
train0.rotateAngleX = 0.4886921905584123F;
train1 = new ModelRenderer(50, -23);
train1.addBox(0F, 0F, 0F, 16, 7, 3);
train1.setPosition(-8F, 7F, -4F);
train2 = new ModelRenderer(-81, 41);
train2.addBox(0F, 0F, 0F, 2, 4, 16);
train2.setPosition(-7F, 0F, -5F);
train3 = new ModelRenderer(54, 20);
train3.addBox(0F, 0F, 0F, 16, 16, 21);
train3.setPosition(-8F, 6F, 14F);
//render:
box.render(f5);
box0.render(f5);
box1.render(f5);
box10.render(f5);
box11.render(f5);
box12.render(f5);
box2.render(f5);
box3.render(f5);
box4.render(f5);
box5.render(f5);
box6.render(f5);
box7.render(f5);
box8.render(f5);
box9.render(f5);
train.render(f5);
train0.render(f5);
train1.render(f5);
train2.render(f5);
train3.render(f5);
That should be it...
Edit2: I'd give you the texture but it doesn't look very nice at all, or work very well. The background is the same color as the train, so it's difficult to align the UVs as well. Sorry about that.
I love the Tram! It works great, and is not clumsy! Can you please expand a bit more on the zepplins idea. Maybe you can make bomber zepplins which are a bit bigger and when you put tnt into their inventory they drop it whenever you click someting!
ok i have a great idea but im not sure u can do this of first in all the trains gui u should and a place were u but sand blocks the reason y is trains when they go up hills they use sand for friction it would look something like this
sand
fire
coal
next is instead of using just coal to run it u should make it were coal boils a bucket of water to run the steam locomotives
water
bucket
fire
coal
and lastly u should make it were all the locomotives(steam) use oil to burn
oil
fire
coal
hope u like the idea and keep working on the trains and can u make the collision boxes for all the trains bigger
okay, the oil sands generation NEEDS to be fixed, no offense or anything, but at the rate these trains burn fuel, I really can't use it all. awesome mod though, best I've seen since planes! And do the cars connect, I REALLY want that to work. thanks SO much for the EPIC mod!!!!!
Rollback Post to RevisionRollBack
BF109Pilot: doing his best to help others in need (and I've heard say that I'm not the best in the biz)
The mod looks great, is great and I have a couple problems... well, more of only one problem.
When i complete the trains or tram i click it with the coal or diesel or redstone powder stuff,
it dosen't start the engine or take the stuff.
P.S. do the trains and carts connect together or does the engine push the carts?
The mod looks great, is great and I have a couple problems... well, more of only one problem.
When i complete the trains or tram i click it with the coal or diesel or redstone powder stuff,
it dosen't start the engine or take the stuff.
P.S. do the trains and carts connect together or does the engine push the carts?
Read instructions and you will understand how it works now...
PLEASE REPORT BUGS THAT AREN'T ALREADY IN THE KNOW BUGS LOG. IF YOU GET CRASHES, PLEASE GIVE US A CRASH LOG OR WE CAN'T HELP YOU [/color]
[color=#BF0000]Booster tracks are working with my carts, detectors should also be working now[/color]
Change log:
v1.03
--New carts:
+ Wood transport
+ Tank car
+ New passenger cart
+ Caboose
+ Grain Hopper
--New locomotives:
+ Big Steam Locomotive, design by Pishowr
+ Diesel GP-40, Alaska Railroad, texture by Spacek531
+ Diesel GP-7, design and texture by Spacek531
+ Electric Tram, redstone powered
+New model for the tracks builder
--Item:
+ Pistons
+ Cylinder
+ Camshaft
+ Diesel engine
+ Electric motor
-- Block:
+ Distillation tower, put petrol/Oil sands in it and you will get diesel
(recipe is like a furnace but with steel instead of cobblestone)
+ Gui for the locomotives
+ New ores, Petrol and Oil sands (must be activated in the config file)
+ Oil sands can be found between layers: 50 to 67
+ Petrol can be found between layers: 20 to 41
+ Tracks builder spawn only "interesting" stuff
+ You can choose if you want to enable the Zeppelin or not
+ You can choose the textures in config file (You don't need to download and add them in the train_textures folder)'
-- Key Controls:
+ W,S for the locomotives
+ Zeppelin: Y = up, X = Down, C= stay at that altitude
+ Press R when you are in the locomotive/zeppelin and it will show a gui
(put coal in it for the Steam locomotives and the Zeppelin, diesel for the diesel locomotives)
What is this?
This mod adds new carts models, 3 new steam locomotive, 2 diesel locomotives and an electric Tram Yahoo!
And most awesome: You can sit in the locomotives!
The new Steam locomotive
The Small steam locomotive by Spacek531
Big steam locomotive
Two diesel loco
Electric Tram, powered by redstone (so put redstone dust instead of coal to power it...)
[color="#FF0000"]
Get in the locomotives and then press R to open gui
You control the locomotives with the W,S keys[/color]
Download SDK's ModLoaderMp for the client ModLoaderMp
[color=#FF0000]For the time being, Flan is responsible for updating ModLoaderMp, so download it HERE and take the CLIENT VERSION[/color]
Then open your minecraft.jar and add all modloader's files into your minecraft.jar THEN add all ModLoaderMp files into the minecraft.jar
Repeat the operation with the Train_mod you just downloaded (unzip and add everything that's inside the folder to your minecraft.jar EXCEPT the TrainConfig.txt)
[color=#FF0000]You must follow that sequence or it won't work[/color]
Delete The META-INF folder!!!
Close your minecraft.jar.
TrainConfig.txt is the config file. Place it in the .minecraft folder.
You can override the standard IDs with those specified in the file. Take note that Modifying the ID values causes your own "version" of the mod to become unique modified, meaning savefiles created with a special ID configuration can only be loaded with that special ID configuration. Loading your world with another configuration will cause Minecraft to crash. So you must know what you are doing when you touch it...
Run the game and it should work!
SERVER:
[color=#FF0000]First BACKUP YOUR WORLD!![/color]
[color=#FF0000]And start on an fresh minecraft_server.jar[/color]
Then download SDK's ModLoaderMp ServerModLoaderMp Server
[color=#FF0000]For the time being, Flan is responsible for updating ModLoaderMp Server, so download it HERE and take the SERVER VERSION[/color]
[color=#FF0000]THEN[/color] and you MUST follow that sequence you can add the train_mod_server files in the minecraft_server.jar DON'T delete the META-INF folder
The recipes:
So for building a strong steam locomotive we will need something strong, like steel.
And to make steel we will need Graphite and iron, so here is how we get Graphite
Coal dust
Graphite (use clay instead of obsidian)
Now mixing Graphite and Iron will give you steel dust, which you can smelt!
Steel dust
Steel ingots
Now we have our strong material, lets built something with it!
Wheels
Steel frame
Steel cab
Steel chimney
Boiler
Firebox
Steam locomotive
Small steam locomotive
Freight car
Passenger car
Wood transport
Caboose
Big Steam locomotive
Tank car
Grain Hopper
New passenger cart
Cylinder
Piston
Camshaft
Diesel engine
GP-7
GP-40
Electric motor
Tram
Put redstone instead of coal in the gui
The diesels locomotives needs diesel to run (what a surprise^^) [color="#FF0000"]To add petrol and oil sands to the world generation you need to change: addOil=true
in the config file[/color]
new ores can be found:
- between layers: 50 to 67 for Oil sands
- between layers: 20 to 41 for petrol
The you must must "cook" the petrol/oil sand in a distillation tower (recipe is like a furnace but with steel instead of cobblestone
You will get diesel.
There is one secret recipe for tracks builder
Clues:
a) it builds tracks
:cool.gif: You have to click on it with iron ingots to start it
c) Recipe is pretty much the same as the locomotive one
d) you can't get in it
e) needs less wheels
It should be easy to guess now!
Put coal and iron ingots in the tracks builder's gui, like so:
Now because steel is so hard, we can make more tracks with only six steel ingots! Yahoo!
Steam locomotive, passenger car and freight car require three blocks large to move, because they are larger than normal minecarts.
Like so: [] []
( as tracks and [] as empty blocks)
[color="#000000"]Zeppelin[/color]
New item: a Zeppelin!
texture done by mauwer
Recipes for the Zeppelin
Now to make this you need:
Balloon:
Propellers:
Steam engine:
[color="#FF0000"]Get in the Zeppelin by clicking on it, the press R to show gui
Put coal in it.
Controls: Y = up, X = Down, C= stay at that altitude[/color]
It moves like a boat. [color=#FF0000]Do not get out of it while flying!
And do not disconnect while flying![/color]
Or I won't be responsible for your death half way around the map...
[color="#0000FF"]Have a nice travel with Spitfire4466's company ![/color]
Alternative skins for the steam locomotive by Spacek531
TO INSTALL: Go in the TrainConfig.txt and set: locoSkin=blue
TO INSTALL: Go in the TrainConfig.txt and set: locoSkin=yellow
TO INSTALL: Go in the TrainConfig.txt and set: locoSkin=green
Alternative skins for the small steam locomotive by spartacuscat
TO INSTALL: Go in the TrainConfig.txt and set: SmallLocoSkin=red
Alternative skins for the small steam locomotive by Spacek531
TO INSTALL: Go in the TrainConfig.txt and set: SmallLocoSkin=green
TO INSTALL: Go in the TrainConfig.txt and set: SmallLocoSkin=yellow
Known bugs:
- For some reason Steam locomotive cannot push normal minecarts
- Passengers car and freight car will sometime get stuck in one another and run by themself
- Not really a bug, but the secret recipe thing will sometime get stuck by its own ejected blocks ( so just pick them up)
- When you push carts with the locomotives (except the Steam locomotive) you just can't break...
- Cars will sometime have problems with turns (getting stuck)
- Hope that's all...
To do list
- Try to pull carts instead of pushing (can't promise a succes)
Please leave feedback, and comments!
Also it’s my first mod ever, so be nice
(I'm at university so I wont be often here to answer you)
[color=#FF0000]Thanks a lot to mauwer, Spacek531 and spartacuscat for their texturing talents![/color]
TERMS AND CONDITIONS
0. USED TERMS
MOD - modification, plugin, a piece of software that interfaces with the Minecraft client to extend, add, change or remove original capabilities.
MOJANG - Mojang AB
OWNER - Spitfire4466, Original author(s) of the MOD. Under the copyright terms accepted when purchasing Minecraft (http://www.minecraft.net/copyright.jsp) the OWNER has full rights over their MOD despite use of MOJANG code.
USER - End user of the mod, person installing the mod.
1. LIABILITY
THIS MOD IS PROVIDED 'AS IS' WITH NO WARRANTIES, IMPLIED OR OTHERWISE. THE OWNER OF THIS MOD TAKES NO RESPONSIBILITY FOR ANY DAMAGES INCURRED FROM THE USE OF THIS MOD. THIS MOD ALTERS FUNDAMENTAL PARTS OF THE MINECRAFT GAME, PARTS OF MINECRAFT MAY NOT WORK WITH THIS MOD INSTALLED. ALL DAMAGES CAUSED FROM THE USE OR MISUSE OF THIS MOD FALL ON THE USER.
2. USE
Use of this MOD to be installed, manually or automatically, is given to the USER without restriction.
3. REDISTRIBUTION
This MOD may only be distributed where uploaded, mirrored, or otherwise linked to by the OWNER solely. All mirrors of this mod must have advance written permission from the OWNER. ANY attempts to make money off of this MOD (selling, selling modified versions, adfly, sharecash, etc.) are STRICTLY FORBIDDEN, and the OWNER may claim damages or take other action to rectify the situation.
4. DERIVATIVE WORKS/MODIFICATION
This mod is provided freely and may be decompiled and modified for private use, either with a decompiler or a bytecode editor. Public distribution of modified versions of this MOD require advance written permission of the OWNER and may be subject to certain terms.
Are you going to change the generation of oil sands? It's really over the top, I can't use that much! And do you plan to make the carts connect? I REALLY want that!
Rollback Post to RevisionRollBack
BF109Pilot: doing his best to help others in need (and I've heard say that I'm not the best in the biz)
just started the 1.03 mod. Had some issues at first, but worked it out. As is, the id's collide with the piston mod. After I've changed the id's for the new stuff (id 99-110) to 169-180 (in TrainConfig.txt) I could start minecraft without problems and load my saved game.
Since I'm running now piston_mod, Zan's minimap, More_Stackables, MoreStairs and Millenaire (all in newest version) I can verify Train_and_Zeppelin is compatible with them after the changing of the id's (you might want to change them in the first place, but on the other hand, I have no idea if I've just occupied some other mods id's, still, piston is mighty prominent imho :smile.gif: )
After loading the game, I've jumped in the ready Zeppelin and pushed 'R' only to crash the game... I have no idea what's happening, since the crash screen is not visible (with the above problem I had made a screenshot in the fraction of a second the crash screen had been visible, but now there is just no crash screen visible, sorry ....)
Anyway, after restarting and loading the game again, I've right clicked the Zeppelin with coal to fill it (good thing that one is still working :biggrin.gif:) and could start to move about with yxc and asdw, looks like this is working fine on Mac OS X Snowleopard...
Ok thanks for your comments, will take a look at other mods Items ID's :cool.gif:
Crashes happen sometimes when opening gui's, out of bounds exception, don't know why...
---
Edit.: p.s.:
das fällt mir jetzt erst auf :biggrin.gif: ein Hallo in die Schweiz, wäre das Krokodil nicht prädestiniert für dieses mod? :biggrin.gif:
Ok
Photography website: www.srphoto.ch Twitter: @Spitfire4466
Electric Tram, powered by redstone
Photography website: www.srphoto.ch Twitter: @Spitfire4466
P.S. This mod is incompatable with Naturecraft V. 1.141
Electric motor
Tram
Photography website: www.srphoto.ch Twitter: @Spitfire4466
Keep up the great work!
Edit: I'm a noob, didn't read your reply.
That should be it...
Edit2: I'd give you the texture but it doesn't look very nice at all, or work very well. The background is the same color as the train, so it's difficult to align the UVs as well. Sorry about that.
I preemptively apologize for my sarcasm.
sand
fire
coal
next is instead of using just coal to run it u should make it were coal boils a bucket of water to run the steam locomotives
water
bucket
fire
coal
and lastly u should make it were all the locomotives(steam) use oil to burn
oil
fire
coal
hope u like the idea and keep working on the trains and can u make the collision boxes for all the trains bigger
Ok well whats your YouTube name or channel
When i complete the trains or tram i click it with the coal or diesel or redstone powder stuff,
it dosen't start the engine or take the stuff.
P.S. do the trains and carts connect together or does the engine push the carts?
Read instructions and you will understand how it works now...
No carts connections
Photography website: www.srphoto.ch Twitter: @Spitfire4466
Ich seg nur: Hopp schwitz :biggrin.gif:
Nice mod.!
:smile.gif:
Photography website: www.srphoto.ch Twitter: @Spitfire4466
Ok done
Photography website: www.srphoto.ch Twitter: @Spitfire4466
Ok thanks for your comments, will take a look at other mods Items ID's :cool.gif:
Crashes happen sometimes when opening gui's, out of bounds exception, don't know why...
Hahaha natürlich :smile.gif:
Photography website: www.srphoto.ch Twitter: @Spitfire4466