Poll

Good idea?

Yes
14 (82.4%)
Maybe
2 (11.8%)
I have no idea
0 (0%)
No
1 (5.9%)

Total Members Voted: 17

Author Topic: Steam Locomotive/Saddle Tank Engine  (Read 6586 times)

I support this. I am a HUUGE railfan myself.

I was just playing Railworks aswell :o.
Same for Me.
Except I play Trainz 2009
Never played Railworks.


This might be what me and Furling are starting to work on.

This might be what me and Furling are starting to work on.
Oh really?

I haven't experimented with turns yet but I have made a way to make automatically driven trains.  But I have an idea for curves and I'll try it out when I get back to my computer.

Ok, so I thought up two ways to do the curves, though I'll test them monday night.  If anyone could test this before then, then do so.

The first way is to use vehicle zone events.  This is probably a bs way to do it but it may just work.

The scenario is a line of 8x8 zone bricks.  Each one is evented (for a left turn) with the following string of events:

0) onvehicleenterzone-=vehicle=-addvelocity->X amount in direction Y (left)
1) onvehicleleavezone-=vehicle=-addvelocity->X amount in direction -Y (right)

That should be it.  My hypothesis is that the reverse velocities on the train will cause it to spin counter-clockwise (left).

The other way is using bots which is what I will most likely be using in my city rpg for my train.

This scenario uses bots, bot events, and zones.

Spawn a bot above the train.  Have the bot's spawn's event have this string of events:

0) onbotspawn-=bot=-setmovements->gotobrick->trainbotpoint1

This is a straight path.  Have a long line of zones before that brick.  The zone's eventing is as follows:

0) onvehicleenterzone-=vehicle=-addvelocity->N amount in -Z direction (Z being the direction the train is currently in)
1) onvehicleleavezone-=vehicle=-addvelocity->N amount in -Z direction (Z being the direction the train is currently in)

This will slow the train down to the brick.

I was too tired to finish this.  I'll do so in the later morning.

My project work rail road track on my thread


http://forum.blockland.us/index.php?topic=141666.0

DrenDran and I work on it. :)
« Last Edit: July 25, 2011, 06:54:54 AM by Furling »

My project work rail road track on my thread


http://forum.blockland.us/index.php?topic=141666.0

DrenDran and I work on it. :)
Ohh look train tracks

Bump...
Sorry for double post.