[0.12]Ideas, suggestions & discussion

The raillayer; must have, if you want to play with railway.

Moderator: Choumiko

Ratzap
Filter Inserter
Filter Inserter
Posts: 371
Joined: Sun Aug 16, 2015 11:15 pm
Contact:

Re: [0.12]Ideas, suggestions & discussion

Post by Ratzap »

Nexela wrote:Put landfill in the wagon and turn on bridge water :)
Ah then it is that simple. Is that in the FAQ somewhere? Or maybe a tooltip to indicate that uses landfill?

Mokmo
Burner Inserter
Burner Inserter
Posts: 13
Joined: Tue Mar 15, 2016 6:44 pm
Contact:

Re: [0.12]Ideas, suggestions & discussion

Post by Mokmo »

I think there's a mod out there that does that, but do you intend on putting a grid on the locomotive?

Jorbun
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Oct 07, 2016 10:22 am
Contact:

Re: [0.12]Ideas, suggestions & discussion

Post by Jorbun »

I'm trying to use bulldozer mode to tear up an old rail line, but it keeps deactivating because it "can't place rail". Is there a way to use the FARL for this? If not, maybe a distinct "Demolition" mode could be added?

Also, I think it would be great if the FARL could detect ghost tracks, and be programmed to follow them when possible. And would it be possible to add something which makes a ghost track between two disconnected stops? A "Planning" mode?

Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: [0.12]Ideas, suggestions & discussion

Post by Nexela »

I think bulldozer mode requires a FARL at each end of the train.

Jorbun
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Oct 07, 2016 10:22 am
Contact:

Re: [0.12]Ideas, suggestions & discussion

Post by Jorbun »

Nexela wrote:I think bulldozer mode requires a FARL at each end of the train.
Yes it does, and I did that. And there was a cargo car with rails in it. What I think is happening is bulldozer mode does the following;

Remove entities other than rails in front of the FARL.
Place rails in front of the FARL.
Remove rails behind the FARL.

But this means I can't use it to remove old rails, because when it tries to place a rail where there is already a rail, it deactivates instead of just driving on the existing rail.

User avatar
steinio
Smart Inserter
Smart Inserter
Posts: 2638
Joined: Sat Mar 12, 2016 4:19 pm
Contact:

Re: [0.12]Ideas, suggestions & discussion

Post by steinio »

Hello,

the F.A.R.L. loco is boring slow compared to the vanilla locos.
Is it possible to change yours to vanilla speed and only slow them down if F.A.R.L. is enabled?

This has the advantage that we can use your loco in usual train business if not used in between.

Greetings steinio.
Image

Transport Belt Repair Man

View unread Posts

Choumiko
Smart Inserter
Smart Inserter
Posts: 1352
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

Re: [0.12]Ideas, suggestions & discussion

Post by Choumiko »

Jorbun wrote:I'm trying to use bulldozer mode to tear up an old rail line, but it keeps deactivating because it "can't place rail". Is there a way to use the FARL for this? If not, maybe a distinct "Demolition" mode could be added?

Remove entities other than rails in front of the FARL.
Place rails in front of the FARL.
Remove rails behind the FARL.
What Factorio/FARL version ? Bulldozer works for me. At the moment bulldozer only removes rails, walls, electric poles, lamps and rail signals. So if you have anything else in your way that may cause the error.
Jorbun wrote: Also, I think it would be great if the FARL could detect ghost tracks, and be programmed to follow them when possible. And would it be possible to add something which makes a ghost track between two disconnected stops? A "Planning" mode?
Detecting ghost tracks is more or less on my todo.
If i add some sort of planning mode it would probably be something like a god mode which only allows using the vanilla rail planner in ghost mode.
Mokmo wrote:I think there's a mod out there that does that, but do you intend on putting a grid on the locomotive?
steinio wrote:the F.A.R.L. loco is boring slow compared to the vanilla locos.
Is it possible to change yours to vanilla speed and only slow them down if F.A.R.L. is enabled?
Starting next week i'm gonna make FARL work with robots instead of directly creating the entities. This will require some changes (most likely a FARL-wagon instead of a locomotive, grids on locomotives/wagons). My current unreleased version already adds FARL functionality to all locomotives by adding a grid and a new roboport, so FARLs going 500km/h when not active will be possible.

Choumiko
Smart Inserter
Smart Inserter
Posts: 1352
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

Re: [0.12]Ideas, suggestions & discussion

Post by Choumiko »

So it did a little bit of work, and robots with FARL seem to be a bad idea:

FARL + Robots

I do find the sound highly annoying and you'll need a ton of robots to go at a decent speed with anything more than 2 lanes (that is unless i add special FARL robots, which I don't really wanna do).
Plus i'd have to redistribute the cargo so that the wagon with the roboport always has enough items in it.

But FARL following ghost tracks is already (more or less) working:

FARL Autopilot (WIP)

All that's left to do is kick the player out of the FARL and replace him with a scripted player that keeps FARL moving forwards, turns following the ghosts is already in :D

User avatar
micomico
Long Handed Inserter
Long Handed Inserter
Posts: 94
Joined: Thu Jul 24, 2014 10:55 pm
Contact:

Re: [0.12]Ideas, suggestions & discussion

Post by micomico »

Do you use FARL and a mod that adds vehicle equipments? Don't like the way you can't use the vehicle grid on all locomotives because FARL changes it to its own?

Well, me neither. So I made a little mod that changes that and allows you to use the grid on locomotives:

Fix FARL Equipment 0.0.1

With this you can put all the armor equipment on locomotives, just like you can on other vehicles. It also allows you to put a FARL module on FARL :shock:, but it doesn't seem to have negative consequences.

This is all the code involved (in data-updates.lua):

Code: Select all

data.raw["equipment-grid"]["farl-equipment-grid"].width = 10
data.raw["equipment-grid"]["farl-equipment-grid"].height = 10
data.raw["equipment-grid"]["farl-equipment-grid"].equipment_categories = {"armor"}
data.raw["roboport-equipment"]["farl-roboport"].categories = {"armor"}

Choumiko
Smart Inserter
Smart Inserter
Posts: 1352
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

Re: [0.12]Ideas, suggestions & discussion

Post by Choumiko »

Is there a mod that adds grids to locomotives you are using and FARL overwrites it? If so please name the mod, so i can try and fix it.
I specifically made it so that the small 2x2 "farl equipment only" grid is only added if there's no grid assigned already. If FARL detects a grid, it just adds the farl-equipment category to that grid.

User avatar
micomico
Long Handed Inserter
Long Handed Inserter
Posts: 94
Joined: Thu Jul 24, 2014 10:55 pm
Contact:

Re: [0.12]Ideas, suggestions & discussion

Post by micomico »

Sure. It's a very simple mod:

VehiclesEquipement by Y.Petremann.

I'll try other ones to see if it's mod specific.

Thanks!

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2920
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: [0.12]Ideas, suggestions & discussion

Post by Optera »

For me Vehicles Equipment does take priority over FARL's grid.
The only bug of using Vehicles Equipment together with FARL I noticed is that FARL locomotives don't have the flags set to preserve grids. Picking them up will make all equipment vanish.

Choumiko
Smart Inserter
Smart Inserter
Posts: 1352
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

Re: [0.12]Ideas, suggestions & discussion

Post by Choumiko »

I'll take a closer look at vehicle equipment and the needed flags.

Micomico can you post your mod list and/or your Factorio-current.log Might be something with load order of mods.

User avatar
micomico
Long Handed Inserter
Long Handed Inserter
Posts: 94
Joined: Thu Jul 24, 2014 10:55 pm
Contact:

Re: [0.12]Ideas, suggestions & discussion

Post by micomico »

Just tested with a minimal set of mods and the diesel locomotive has a 2x2 grid, while FARL ends up with a 10x10 grid.

Mod list (minimal):
  • creative-mode_0.2.3.zip
  • FARL_0.7.3.zip
  • VehiclesEquipement_0.0.2.zip
Made my own little mod that only changes vanilla vehicles, to replace 'Vehicles Equipement'. FARL has no grid and the diesel locomotive has a 10x10.

Both logs are attached.
Attachments
SimpleGrids_0.0.1.zip
(785 Bytes) Downloaded 182 times
factorio-current-simplegrids.log
(2.83 KiB) Downloaded 191 times
factorio-current-minimal.log
(2.87 KiB) Downloaded 198 times

Choumiko
Smart Inserter
Smart Inserter
Posts: 1352
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

Re: [0.12]Ideas, suggestions & discussion

Post by Choumiko »

Should be fixed now. FARL and normal loco now have a 10x10 grid with VehiclesEquipement and FARL doesn't loose the equipment when being mined

DarkHelmet
Inserter
Inserter
Posts: 40
Joined: Sat Apr 16, 2016 5:46 pm
Contact:

Re: [0.12]Ideas, suggestions & discussion

Post by DarkHelmet »

I'm sure this has been asked about before, but I would love to have an option to place signals as though they were pole entities, exactly as in the blueprint, rather than some distance apart. This is the main reason why I've been reluctant to use FARL, and I feel kind of silly to ask for it.

This is mostly because I've generally used a junction blueprint library and make connections using the poles/signals as anchors. This gets messy when the signals are in non-deterministic locations relative to poles.

I realize this is "interesting" on corners but my use case makes it a non issue as I'd be placing a blueprint there anyway. However, in driving mode, place the pole entity cluster at the last valid position in range of the previous pole. Personally, I even use blueprints for corners so that I can switch to T-junctions later if needed, without disrupting traffic.
A guide to planning your factory's space requirements:
1) Figure out how much space you need, double it to be safe.
2) Wrong! There's never enough space.

torne
Filter Inserter
Filter Inserter
Posts: 342
Joined: Sun Jan 01, 2017 11:54 am
Contact:

Re: [0.12]Ideas, suggestions & discussion

Post by torne »

Using blueprints with walls and concrete seems to leave big gaps in both the walls and concrete on curved rail sections for me, even using the demo save and its blueprints. Is this just a limitation of the current implementation? I liked the idea of building walled off track but having to fill in a gap at every turn is a bit unfortunate.

Really impressed with how it works otherwise, though, especially the ghost rail following!

Choumiko
Smart Inserter
Smart Inserter
Posts: 1352
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

Re: [0.12]Ideas, suggestions & discussion

Post by Choumiko »

torne wrote:Using blueprints with walls and concrete seems to leave big gaps in both the walls and concrete on curved rail sections for me, even using the demo save and its blueprints. Is this just a limitation of the current implementation? I liked the idea of building walled off track but having to fill in a gap at every turn is a bit unfortunate.

Really impressed with how it works otherwise, though, especially the ghost rail following!
Yes, that's due to the current implementation. I might eventually add blueprints for curves, once i can get my lazy behind going :D

torne
Filter Inserter
Filter Inserter
Posts: 342
Joined: Sun Jan 01, 2017 11:54 am
Contact:

Re: [0.12]Ideas, suggestions & discussion

Post by torne »

No problem, I can imagine why this would be tricky (it's not obvious how to get things to "line up"). :)

User avatar
PeteTheLich
Long Handed Inserter
Long Handed Inserter
Posts: 89
Joined: Tue Jun 28, 2016 4:06 am
Contact:

Re: [0.12]Ideas, suggestions & discussion

Post by PeteTheLich »

Hello I had the idea instead of manually laying gravel from the More Floors mod it'd be nice if the FARL would lay the gravel as it went provided it had the stone like it does for concrete as an optional dependency.

Post Reply

Return to “F.A.R.L”