Author Topic: Train Mod  (Read 3797 times)

Why have trains? It's such a small thing that everyone will get bored of and then all those glitchy hacks are for nothing.

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.

Fine, then we are stuck. We'll just have underground subways, with straight tracks, using Kalphiters train since it can turn, but it is too hard to turn.

As for your saying, Block, we could just edit the road baseplates putting the NYC railway template on them, and then name the bricks. And if this is going to be attempted, despite Deathwish, then I will attempt to use Blender. I never used it, I usally try to use Milkshape, but when I get home from school I'll try Blender.


Fine, then we are stuck. We'll just have underground subways, with straight tracks, using Kalphiters train since it can turn, but it is too hard to turn.

As for your saying, Block, we could just edit the road baseplates putting the NYC railway template on them, and then name the bricks. And if this is going to be attempted, despite Deathwish, then I will attempt to use Blender. I never used it, I usally try to use Milkshape, but when I get home from school I'll try Blender.
Regardless of how much fruitless planning and modelling you do, it's the scripting element which is going to make it happen. I can't see this happening without ending up with an ugly end product, as far as I'm aware Blockland doesn't have the support necessary.

Everyone was allowed to turn it.

Quote
Ability to turn trains admin only


Prove to me that it requires admin.

I already proved to you, with your own words. BTW, failquote.

I already proved to you, with your own words. BTW, failquote.
What does it say?
Does it say "You can only turn your train as an admin"?
Or does it say nothing?

Screenshot it

Does it say "You can only turn your train as an admin"?

It says in your post where you released it says "Ability to turn trains admin only".

I tried downloading and replacing the old one, it's still yours, but I tried re-downloading it.

Dude, I can't believe, your asking questions about your own add-on, you know about it, you made it, and luckily for you no one "re-released it". I woudlent, btw.

I'll tell you what, why don't you go in your add-ons folder, and go very carefully thorough the script. And if you find that you have to be admin to turn the train then remove that part of it. What the loving hell? So you have to be queen/king/prime minister/president to just turn the train in Real Life?

Also, I can't host, so I will have to carry this test out on someone who has the train.
« Last Edit: November 18, 2009, 02:27:35 AM by GreenBH »

It says in your post where you released it says "Ability to turn trains admin only".

I tried downloading and replacing the old one, it's still yours, but I tried re-downloading it.

Dude, I can't believe, your asking questions about your own add-on, you know about it, you made it, and luckily for you no one "re-released it". I woudlent, btw.

I'll tell you what, why don't you go in your add-ons folder, and go very carefully thorough the script. And if you find that you have to be admin to turn the train then remove that part of it. What the loving hell? So you have to be queen/king/prime minister/president to just turn the train in Real Life?

Also, I can't host, so I will have to carry this test out on someone who has the train.

Go single player. He won't go through his sciript  just to see oen little problem. He doesn't have time always GreenBH.

Go single player. He won't go through his sciript  just to see oen little problem. He doesn't have time always GreenBH.

I can go single player, but what I mean is that I'll ride a train with an admin, and see if the admin can turn it.

you could make events like: ontraintouch-turn-<angle>

http://blockland.kalphiter.com/add-ons/files/Vehicle_Train_Box/Support_objects.cs
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;
}
    }