Author Topic: Train Mod  (Read 3803 times)

OK, this may have been posted before, but we only have that steam train from V8 that we could use. Also, I am not sure about Kalphiters train, since it is too hard to turn, and he says something that you have to be admin to turn it?

Anyway, first we need track baseplates, this is gonna be easy since GSFghost's NYC map has a railway, we could use that texture.

The trains have to stay on the track, like they turn automaticly on a curve.

Trains, coaches, freight and level/railway crossings can be downloaded for this, what I mean is that for example the Parasite was made for Rotondo's Zombie Mod, same thing here.

Now, for level crossings, this is gonna have to be something JVS'ey, when a train is approching the barriers go down and the lights flash.

Here are the level crossings that are ideal:

British Double Track Level Crossing (full barriers)


British Double Track Level Crossing (half barriers)


Do the same thing for single track level crossings.

American Level Crossing


So that's the level crossings, these are to be animated. When a train approches, the barriers go down, the lights start to flash, and when the train passes, barriers come back up and lights stop flashing. Don't forget to add sounds.

So that's all for now, but don't just spend your time looking at pictures. This isn't just about level crossings, this is about a train mod. If I forgot anything, please tell me, and I will put it in.

And the last word on this thread, discuss, and don't just talk about level crossings.
« Last Edit: November 18, 2009, 02:26:40 AM by GreenBH »

Nobody has even made a good working train yet, let alone automated level crossings.

Kalphiter says that only admin can turn his train. That's unfair. Also, I am going to look for that steam train I saw on V8.


We really needed a huge picture of a train to see just the barriers?

We really needed a huge picture of a train to see just the barriers?

Sorry, can't change the size.

Yes, I have posted a topic about this b4 I do believe it's doable Just need some one to take the jump and get started.

Kalphiter says that only admin can turn his train. That's unfair. Also, I am going to look for that steam train I saw on V8.
You're an idiot. It can turn with /aligntrain.

I don't think track bricks are possible, but the train might.

I am going to look for that steam train I saw on V8.
What?
Quote from: GreenBH's Profile
Date Registered: September 13, 2009
I started in v9...
Quote from: My Profile
Date Registered: August 25, 2008


but not that stuffty train by Kalphiter that dosen't turn.
God dammit, this is impossible, what don't you get about it?

God dammit, this is impossible, what don't you get about it?

What I don't get about it? Uhhh... the fact that only admin can turn it. That's unfair. Unless, it's ment to be a tube (an underground train).

Unless you mean that it's impossible to make this mod, dude, JVS Level Crossings, Vehicle Trains, and use GSF Ghost's Traintrack image from NYC, if I can find it.


Quote
What?I started in v9...

There was a train, a little steam train, it's probably gone now.

He's an alt.
:o



If torque was more tolerable with what can be exported into a .dts file, it wouldn't be so hard. You could create a train track baseplates in Blender and parent then to curves(AKA paths). Name the ends of the curves something like brickmount0 and brickmount1 Then you can script it into custom bricks and make it so you can only plant the brick if brickmount0 and brickcount1 line up. Then create a train and script it into a vehicle, except it is a non drivable vehicle and it follows the path put together for it(it gets parented to the curve). Heres a little picture if your a bit confused.

Unfortunately, this is impossible to do without a large number of hacks. Blockland doesn't have the train support that Half Life's Gold source engine does.

the fact that only admin can turn it. That's unfair.
Everyone was allowed to turn it. I don't know what is wrong with your version
Code: [Select]
    function serverCmdAlignTrain(%client, %dir)
    {
%player = %client.player;
%mount = %player.getObjectMount();
if(isObject(%mount) && %mount.getDataBlock() == BoxTrain.getId())
{
    if(%mount.getControllingClient() == %client)
    {
if(%dir $= "n" || %dir $= "north")
    %mount.setTransform(%mount.getPosition() SPC "1 0 0 0");

else if(%dir $= "e" || %dir $= "east")
    %mount.setTransform(%mount.getPosition() SPC "0 0 1" SPC $piover2); // "0 0 1 90"

else if(%dir $= "w" || %dir $= "west")
    %mount.setTransform(%mount.getPosition() SPC "0 0 -1" SPC $piover2);

else if(%dir $= "s" || %dir $= "south")
    %mount.setTransform(%mount.getPosition() SPC "0 0 1" SPC $pi);

else
    messageClient(%client, '', "You must use a direction. Example: \c6West \c3or \c6W");
    }
    return;
}
    }