News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

Drive with a citycar through the simutrans world

Started by sojo, March 08, 2009, 01:41:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sojo

Yes I know, Simutrans is a transport simulation. Nevertheless, I whould write down my idea.

I think it would be nice to drive with a citycar through the simutrans-world.

That must not be very different to the citycarsystem now. I should only be a citycar which I can control.
This car should only do 4 things.

1. Drive, if I say drive.
2. Stop when I stop
3. Make a left turn at next junction
4. Make a right turn at next junction

It should only drive at the a street. On a end of a street it should be turn around like a citycar.

I've heard it's a lot of work to make a interface for it. How many work is it?

What do you think about?
"English is a easy language. But not for me." ;) sojo

follow simutrans_de on Twitter
- A home for Simutrans (in german)

Fabio

This could be extended also to busses, trains, ships, planes... (obviously, you would need to respect the schedule, but this is another issue!!!).
Idea for the GUI: something like the follow me button in the info window, switching to "drive me" mode would change the behaviour of arrow keys: up > start/accelerate, down > brake/stop, right > turn right, left > turn left. If the vehicle is a player vehicle, a schedule window will be displayed, colouring in red the next station you have to stop at. Esc or another key would just return to normal mode.

prissi

I once made a version like this. It is not in the trunk but worked via keys you could sent to a citycar via the info window ... However, this is not longer compatible with the code any more.

sojo

Mayby anyone can make it compitable again. Or not?
"English is a easy language. But not for me." ;) sojo

follow simutrans_de on Twitter
- A home for Simutrans (in german)

ij

...This would be easily extendable to one-man taxi service too. :-)

sojo

Whould it be easier to code, if there are only 2 key-contorls for the player?

1. Turn left next junction
2. Turn right next junction

Have anybody interesset to make this working?
"English is a easy language. But not for me." ;) sojo

follow simutrans_de on Twitter
- A home for Simutrans (in german)