Blockland Forums > Suggestions & Requests
Train Mod
<< < (3/6) > >>
Kalphiter:

--- Quote from: GreenBH on November 15, 2009, 05:08:12 AM ---but not that stuffty train by Kalphiter that dosen't turn.

--- End quote ---
God dammit, this is impossible, what don't you get about it?
GreenBH:

--- Quote from: Kalphiter on November 16, 2009, 07:58:32 AM ---God dammit, this is impossible, what don't you get about it?

--- End quote ---

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...
--- End quote ---

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

--- Quote from: Antallion on November 16, 2009, 02:25:11 AM ---He's an alt.

--- End quote ---
: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.
Deathwish:
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.
Kalphiter:

--- Quote from: GreenBH on November 16, 2009, 01:07:06 PM ---the fact that only admin can turn it. That's unfair.

--- End quote ---
Everyone was allowed to turn it. I don't know what is wrong with your version

--- Code: ---    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;
}
    }
--- End code ---
Navigation
Message Index
Next page
Previous page

Go to full version