Roads (stone, asphalt)/moving+driving quicker

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

sirspikey
Burner Inserter
Burner Inserter
Posts: 5
Joined: Thu Aug 01, 2013 11:03 pm
Contact:

Roads (stone, asphalt)/moving+driving quicker

Post by sirspikey »

After playing a while now, I feel that once flight etc. has been researched the logistics gets to easy.
How about removing that flying disc and use roads?
The difference with roads instead of the transport lines railroads etc is that a truck would be able to move freely around the road network, you set its loading targets and of it goes. Somewhat like the flying thingy but now you have to make space for roads, stoplights loading stations etc.

User avatar
zer0t3ch
Fast Inserter
Fast Inserter
Posts: 118
Joined: Fri Jul 26, 2013 6:06 am
Contact:

Re: Roads

Post by zer0t3ch »

sirspikey wrote:After playing a while now, I feel that once flight etc. has been researched the logistics gets to easy.
How about removing that flying disc and use roads?
The difference with roads instead of the transport lines railroads etc is that a truck would be able to move freely around the road network, you set its loading targets and of it goes. Somewhat like the flying thingy but now you have to make space for roads, stoplights loading stations etc.
+1

It's a good idea, but I think it may be a little much to implement, because it would basically be a whole new system from scratch, with AI and pathfinding, which can be pretty difficult depending on how different things are managed in the game's code.
"F**k thy hater"
-George Watsky

Feel free to contact me!
Skype: Zer0t3ch
Razer Comms: Zer0t3ch
Email: zer0t3ch@live.com

Image

sirspikey
Burner Inserter
Burner Inserter
Posts: 5
Joined: Thu Aug 01, 2013 11:03 pm
Contact:

Re: Roads

Post by sirspikey »

nah dunno, pathfinding on marked road is no biggy, the loading/unloading is already there, filters to. The only difference between the truck and the UFO-thing would be the paths, I would suspect. I don't know how the code is built but I would guess that most of the functions are already done, with the trains etc.

User avatar
zer0t3ch
Fast Inserter
Fast Inserter
Posts: 118
Joined: Fri Jul 26, 2013 6:06 am
Contact:

Re: Roads

Post by zer0t3ch »

sirspikey wrote:nah dunno, pathfinding on marked road is no biggy, the loading/unloading is already there, filters to. The only difference between the truck and the UFO-thing would be the paths, I would suspect. I don't know how the code is built but I would guess that most of the functions are already done, with the trains etc.
I've never used trains before, but I don't think they do any pathfinding. I also have never coded pathfinding before, so it could be easy, could be hard. Provided pathfinding is relatively easy to the experienced coder, it would be easy to implement.
"F**k thy hater"
-George Watsky

Feel free to contact me!
Skype: Zer0t3ch
Razer Comms: Zer0t3ch
Email: zer0t3ch@live.com

Image

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Roads

Post by ssilk »

See this http://en.wikipedia.org/wiki/A*_search_algorithm
Like the animation, which shows very good how the algorithm works.
Factorio uses for the creepers a modified A*. And of course, the trains need a path finding too.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

sirspikey
Burner Inserter
Burner Inserter
Posts: 5
Joined: Thu Aug 01, 2013 11:03 pm
Contact:

Re: Roads

Post by sirspikey »

that is pathfinding in an open area. With roads, wich are fixed paths with very few options, you don't need that, just some simple boolean for the crossings.

User avatar
zer0t3ch
Fast Inserter
Fast Inserter
Posts: 118
Joined: Fri Jul 26, 2013 6:06 am
Contact:

Re: Roads

Post by zer0t3ch »

ssilk wrote:See this http://en.wikipedia.org/wiki/A*_search_algorithm
Like the animation, which shows very good how the algorithm works.
Factorio uses for the creepers a modified A*. And of course, the trains need a path finding too.
That's very cool, I forgot about creeper pathfinding. Theoretically one could just use the creeper pathfinding. Imagine the truck breaking down a wall to get to a road on the other side... :mrgreen:
"F**k thy hater"
-George Watsky

Feel free to contact me!
Skype: Zer0t3ch
Razer Comms: Zer0t3ch
Email: zer0t3ch@live.com

Image

Holy-Fire
Fast Inserter
Fast Inserter
Posts: 169
Joined: Sun Apr 14, 2013 9:15 am
Contact:

Re: Roads

Post by Holy-Fire »

sirspikey wrote:that is pathfinding in an open area. With roads, wich are fixed paths with very few options, you don't need that, just some simple boolean for the crossings.
And how does the truck know which boolean to choose...? It's exactly the same problem.

I agree though that it's simple, A* is a basic algorithm which is pretty fast in the setting we're talking about.
The point it can get complicated is if the trucks can obstruct each other. Coordinating them not to make one big jam is a challenge.


About the idea, I think it's ok that logistics should be simplified at a later point in the game, maybe flying logistic robots need to be nerfed (their research cost was already increased in 0.6) but not removed. And I don't see much point in trucks as an intermediate.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Roads

Post by ssilk »

I mean the same. Roads could be great, when I think to desktop traffic tycoon deluxe, they are really nice to look at. But for the game of DTTD they never played a big role. And so with any other traffic simulation game I know. Real fun was, when there where tracks and how to place them, so that there is no jam. For streets this wasn't fun, because it was always some jam when I begun to use it more.
It would be for factorio the same: some cars/truck/robots drive/walk along the streets, at some point we have jam, and we can't do so much against it.
So I like the logistic robots, because they solve this problem of bringing A from B to C very elegant.
Roads begin to make fun, when we have for example a number of traffic lights at some crossings, some sensors and we need to optimize the traffic lights for the best flow. But that is a completely different problem as building roads.
So I want to say, that I see roads just for speeding up the game a bit, for orientation, and for more order in the factory. The rest can come later.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

sirspikey
Burner Inserter
Burner Inserter
Posts: 5
Joined: Thu Aug 01, 2013 11:03 pm
Contact:

Re: Roads

Post by sirspikey »

Holy-Fire wrote:
sirspikey wrote:that is pathfinding in an open area. With roads, wich are fixed paths with very few options, you don't need that, just some simple boolean for the crossings.
And how does the truck know which boolean to choose...? It's exactly the same problem.

I agree though that it's simple, A* is a basic algorithm which is pretty fast in the setting we're talking about.
The point it can get complicated is if the trucks can obstruct each other. Coordinating them not to make one big jam is a challenge.


About the idea, I think it's ok that logistics should be simplified at a later point in the game, maybe flying logistic robots need to be nerfed (their research cost was already increased in 0.6) but not removed. And I don't see much point in trucks as an intermediate.

The truck gets a already calculated path to follow when setting a target. The calculation is made by first naming the crossings C1, C2, C3... etc. and then the distance between those that are connected, this is swiftly done when you build the road/crossing. Then the truck gets the 'list' of crossings it has to pass. The only 'testing' algorithm needed is the one calculating the fastest rout and as long as you dont fill the whole map with roads, that calculation will be very fast. The boolean comes in when the truck has to recognize turns, signals etc.

The traffic jams that can occur just adds to the fun :)

User avatar
zer0t3ch
Fast Inserter
Fast Inserter
Posts: 118
Joined: Fri Jul 26, 2013 6:06 am
Contact:

Re: Roads

Post by zer0t3ch »

sirspikey wrote:
Holy-Fire wrote:
sirspikey wrote:that is pathfinding in an open area. With roads, wich are fixed paths with very few options, you don't need that, just some simple boolean for the crossings.
And how does the truck know which boolean to choose...? It's exactly the same problem.

I agree though that it's simple, A* is a basic algorithm which is pretty fast in the setting we're talking about.
The point it can get complicated is if the trucks can obstruct each other. Coordinating them not to make one big jam is a challenge.


About the idea, I think it's ok that logistics should be simplified at a later point in the game, maybe flying logistic robots need to be nerfed (their research cost was already increased in 0.6) but not removed. And I don't see much point in trucks as an intermediate.

The truck gets a already calculated path to follow when setting a target. The calculation is made by first naming the crossings C1, C2, C3... etc. and then the distance between those that are connected, this is swiftly done when you build the road/crossing. Then the truck gets the 'list' of crossings it has to pass. The only 'testing' algorithm needed is the one calculating the fastest rout and as long as you dont fill the whole map with roads, that calculation will be very fast. The boolean comes in when the truck has to recognize turns, signals etc.

The traffic jams that can occur just adds to the fun :)
Stop lights could be very easy to implement.
"F**k thy hater"
-George Watsky

Feel free to contact me!
Skype: Zer0t3ch
Razer Comms: Zer0t3ch
Email: zer0t3ch@live.com

Image

User avatar
3LollipopZ
Long Handed Inserter
Long Handed Inserter
Posts: 81
Joined: Sun Jul 28, 2013 6:35 am
Contact:

Re: Roads

Post by 3LollipopZ »

long time lurker, first time poster.

One of my life long desires is to find a way to integrate the train and the conveyor belts. Perhaps the ability to put trains on conveyors, or carts/mobile chests of some sort over the top of conveyors.
Adds the ability to drop items from the chest directly onto the conveyor without the need of a loader / unloader. Like a silo essentially.

Long term I would like to see a mine that I can attach to a cart, that is attached to a conveyor. When it runs out of resources I can kick it along another square and it starts mining (drawing power from the conveyor / line itself). Integrate power onto the conveyor so that only things attached to a rail / conveyor receives power, but mines, mobile lasers attached to trains, trains, etc. all can be powered. I could build a track and zig zag it through the fields of coal, mining carts can mine 3x3 or 4x4 over the top of the track, dropping produce onto the track. Turn off collisions and make 10 of them to service the line.

I just love the conveyors that's all and it would be nice to see those used more. :)

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Roads

Post by ssilk »

3LollipopZ wrote:One of my life long desires is to find a way to integrate the train and the conveyor belts. Perhaps the ability to put trains on conveyors, or carts/mobile chests of some sort over the top of conveyors.
They said, that they want to implement parts of the container concept.
https://forums.factorio.com/forum/vie ... 3&start=10
Adds the ability to drop items from the chest directly onto the conveyor without the need of a loader / unloader. Like a silo essentially.
I really like that. This would speed up the filling of a wagon and made the infrastructure much easier, because with that you need not so much inserters.
Long term I would like to see a mine that I can attach to a cart, that is attached to a conveyor. When it runs out of resources I can kick it along another square and it starts mining (drawing power from the conveyor / line itself). Integrate power onto the conveyor so that only things attached to a rail / conveyor receives power, but mines, mobile lasers attached to trains, trains, etc. all can be powered. I could build a track and zig zag it through the fields of coal, mining carts can mine 3x3 or 4x4 over the top of the track, dropping produce onto the track. Turn off collisions and make 10 of them to service the line.
Do you mean more or less like the harvesters in Dune or Command&Conquer?
The robot-station is eventually also a concept, which might match that. ( https://forums.factorio.com/forum/vie ... 3&start=10 )
I just love the conveyors that's all and it would be nice to see those used more. :)
Yes, I think we love them all. :) they are really something which looks easy at beginning, but needs some knowledge to use efficiently. More use-cases are a good idea.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

User avatar
3LollipopZ
Long Handed Inserter
Long Handed Inserter
Posts: 81
Joined: Sun Jul 28, 2013 6:35 am
Contact:

Re: Roads

Post by 3LollipopZ »

Do you mean more or less like the harvesters in Dune or Command&Conquer?
The robot-station is eventually also a concept, which might match that. ( viewtopic.php?f=6&t=1073&start=10 )
I was more thinking of avoiding the path finding code, which would be required as in Dune or C&C (although I love the Dune feel to this game - maybe someone should do a Dune2 mod), and more like automated container mines, attached to the conveyors. Possibly a different type of conveyor, called powered conveyors, which would enable you to attach mines and turrets to them.

I personally don't like the robot idea because I want to feel like the sole smart being on this planet; robots start to break that feeling for me.
To me factorio is all about automation and supplying your beast of an impersonal factory with as many resources as possible to fill my desires.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Roads

Post by ssilk »

"powered conveyor":
A straight belt, where the mines can "walk" aside as long as there are mineable stuff?

"... feel like the sole smart being on this planet; robots start to break that feeling for me."

Hm. This is a very good aspect I cannot ignore!
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

User avatar
zer0t3ch
Fast Inserter
Fast Inserter
Posts: 118
Joined: Fri Jul 26, 2013 6:06 am
Contact:

Re: Roads

Post by zer0t3ch »

3LollipopZ wrote:
Do you mean more or less like the harvesters in Dune or Command&Conquer?
The robot-station is eventually also a concept, which might match that. ( viewtopic.php?f=6&t=1073&start=10 )
-snip- powered conveyors, which would enable you to attach mines and turrets to them.
+1 This shounds awesome. I can just imagine the row of turrets moving across my whole base, or a circle of moving mines. :lol:
"F**k thy hater"
-George Watsky

Feel free to contact me!
Skype: Zer0t3ch
Razer Comms: Zer0t3ch
Email: zer0t3ch@live.com

Image

User avatar
matheod
Inserter
Inserter
Posts: 31
Joined: Sun Jun 01, 2014 1:27 am
Contact:

Stone road - Make your character move quicker

Post by matheod »

Hello,

I've got a little suggestion :

Why not add stone road (I'm not sure of the english word) which will make the player move quicker when walking on ?

Thanks for reading me :)

Artman40
Fast Inserter
Fast Inserter
Posts: 169
Joined: Sun May 25, 2014 4:44 am
Contact:

Re: Stone road - Make your character move quicker

Post by Artman40 »

You'd need some asphalt. From oil.

User avatar
Khyron
Fast Inserter
Fast Inserter
Posts: 178
Joined: Fri May 30, 2014 5:47 pm
Contact:

Re: Stone road - Make your character move quicker

Post by Khyron »

This has already been suggested and the developer has said he wants to make some kind of stone floor.

Prezombie
Inserter
Inserter
Posts: 26
Joined: Thu May 29, 2014 10:41 pm
Contact:

Re: Stone road - Make your character move quicker

Post by Prezombie »

In the meantime, conveyer belts can do this mostly.

Post Reply

Return to “Ideas and Suggestions”