[MOD 1.1] Inventory Sensor
Re: [MOD 0.16] Inventory Sensor 1.6.3
Hi,
I'm wondering if you would consider making your mod compatible with the warehousing mod. Especially the requester storehouse and requester warehouse.
I'm wondering if you would consider making your mod compatible with the warehousing mod. Especially the requester storehouse and requester warehouse.
Re: [MOD 0.16] Inventory Sensor 1.6.3
Seems compatible to me.benmunday wrote:Hi,
I'm wondering if you would consider making your mod compatible with the warehousing mod. Especially the requester storehouse and requester warehouse.
IS reads contents of any adjacent logistic-container, regardless size and capacity.
My Mods: mods.factorio.com
Re: [MOD 0.16] Inventory Sensor 1.6.3
Thanks for your reply.Optera wrote:Seems compatible to me.benmunday wrote:Hi,
I'm wondering if you would consider making your mod compatible with the warehousing mod. Especially the requester storehouse and requester warehouse.
IS reads contents of any adjacent logistic-container, regardless size and capacity.
It seems that I was using it wrong.
I thought I tried to place it next to the warehouse in all 4 orientations. Must not have, 'cause as soon as I rotated the sensor, the inventory of the warehouse displayed.
It very neatly lets me work around the limitation of only using one of the 2 settings for requester chests when connected to a circuit network.
Well done on the fantastic mods. Couldn't live without LTN now!
- ShinoHarvest
- Long Handed Inserter
- Posts: 50
- Joined: Tue May 08, 2018 3:29 pm
- Contact:
Re: [MOD 0.16] Inventory Sensor 1.6.3
possible add grid sensor if Bob's Warfare detected ? i want block my train with not upgraded grid in my depot ^^
Re: [MOD 0.16] Inventory Sensor 1.6.3
Good idea. Between Bob's and my own Vehicle Grid I guess most players will have grids enabled anyway.
It'll list all equipment in vehicles without distinction if they are in cargo hold or grid.
I'll add a runtime setting to toggle this on/off just in case someone is starving for ups too.
It'll list all equipment in vehicles without distinction if they are in cargo hold or grid.
I'll add a runtime setting to toggle this on/off just in case someone is starving for ups too.
My Mods: mods.factorio.com
- ShinoHarvest
- Long Handed Inserter
- Posts: 50
- Joined: Tue May 08, 2018 3:29 pm
- Contact:
Re: [MOD 0.16] Inventory Sensor 1.6.5
not possible have individual switch option on sensor for scan inventory or grid or 2 different sensor
PS: just have mad idea probaly not for this mod, need make other mod. Is grid filter inserter/extracter for automated grid update/build combined with this sensor and AAI possibility is unlimited can make automated chain of upgrade car/tank/plane. xd
PS: just have mad idea probaly not for this mod, need make other mod. Is grid filter inserter/extracter for automated grid update/build combined with this sensor and AAI possibility is unlimited can make automated chain of upgrade car/tank/plane. xd
Re: [MOD 0.16] Inventory Sensor 1.6.5
In the end that would boil down to splitting it into two sensors for inventory and grid.
I prefer having all in one. It's not like vehicles are often used to ferry around equipment in their inventory.
One thing i could do is generate a virtual signal for every possible equipment and display those virtual signals. I really don't like spamming signals though.
Automatically filling grids will require heavy scripting.
Grids are really barebones. No entity in Factorio can interact with grids and grids don't even know what entity they belong to.
Another problem for automatically filling grids will be an algorithm for optimally utilizing grid space with different sizes of equipment.
Unless you opt for copying grids from another vehicle, similar to how automatic train spawner works.
I prefer having all in one. It's not like vehicles are often used to ferry around equipment in their inventory.
One thing i could do is generate a virtual signal for every possible equipment and display those virtual signals. I really don't like spamming signals though.
Automatically filling grids will require heavy scripting.
Grids are really barebones. No entity in Factorio can interact with grids and grids don't even know what entity they belong to.
Another problem for automatically filling grids will be an algorithm for optimally utilizing grid space with different sizes of equipment.
Unless you opt for copying grids from another vehicle, similar to how automatic train spawner works.
My Mods: mods.factorio.com
- ShinoHarvest
- Long Handed Inserter
- Posts: 50
- Joined: Tue May 08, 2018 3:29 pm
- Contact:
Re: [MOD 0.16] Inventory Sensor 1.6.5
other solution inspired by ltn disable warning can make 2 virtual signal for sensor 1 for ignor grid element second for ignor inventory elementIn the end that would boil down to splitting it into two sensors for inventory and grid.
ps: other solution use only 1 signal with code exemple 0 = all 1 = inventory 2 = grid ... and other solution more power full use encoded option bit by bit default 0 is activated 1 is ignored with this list : inventory, grid, object contner(wagon, loco, car...), Temperature, craft progress.
not need this, player need use brain for choise order of inserted element generaly if you enter first big -> small element you gris is optimal you can up this in specific situation with more complex insert order.Another problem for automatically filling grids will be an algorithm for optimally utilizing grid space with different sizes of equipment.
Unless you opt for copying grids from another vehicle, similar to how automatic train spawner works.
Otional advanced settinf give 2 signal x/y (can choise existing virtual signal base game no need add) and inserter check if item can be put in coord and do it if possible
For make logic system and insert good number best solution use only 1 inserter per vehicule (stack size 1max) and probaly player not use all time this inserter just little time after unlock new mk lv. Not problem if code is heavy compared base game inserter because it work rarely in low number compared.Automatically filling grids will require heavy scripting.
Grids are really barebones. No entity in Factorio can interact with grids and grids don't even know what entity they belong to.
Re: [MOD 0.16] Inventory Sensor 1.6.6
What is "Remaining Fuel (MJ)" indicative of? I am receiving a value of 604 for MJ.
Re: [MOD 0.16] Inventory Sensor 1.6.6
604 MJ fuel remaining. https://wiki.factorio.com/Fuel
My Mods: mods.factorio.com
Re: [MOD 0.16] Inventory Sensor 1.6.6
I'm making a rail yard and it would be really useful to distinguish empty cargo wagons from empty fluid wagons. Have you considered adding this, or is it even possible in the game?
Re: [MOD 0.16] Inventory Sensor 1.6.6
I can do that.
Though you'd get much better performance if you use LTN stops for this. They output train composition also for trains that are not LTN managed.
Though you'd get much better performance if you use LTN stops for this. They output train composition also for trains that are not LTN managed.
My Mods: mods.factorio.com
Re: [MOD 0.16] Inventory Sensor 1.6.6
I tried the LTN stops and that's just what I need. Thank you!
On an unrelated note, I am also using your Trains & Fuel Overhaul mod. One think I wish was that my engine consists did not need a dead-weight engine to let them back into a train when they couple onto it--if the backwards one helps accelerate forwards, then I get more power for the same length train.
I understand from the archived discussions that the game won't let you enable power coming from backwards locomotives. But I also saw a mod that changes wagon weight according to its contents.
Do you think it would be possible to detect when there are backwards locomotives in a train (when traveling in a given direction), and increase the forwards locomotives' power to make it act like the reverse ones are helping drive forwards?
On an unrelated note, I am also using your Trains & Fuel Overhaul mod. One think I wish was that my engine consists did not need a dead-weight engine to let them back into a train when they couple onto it--if the backwards one helps accelerate forwards, then I get more power for the same length train.
I understand from the archived discussions that the game won't let you enable power coming from backwards locomotives. But I also saw a mod that changes wagon weight according to its contents.
Do you think it would be possible to detect when there are backwards locomotives in a train (when traveling in a given direction), and increase the forwards locomotives' power to make it act like the reverse ones are helping drive forwards?
Re: [MOD 0.16] Inventory Sensor 1.6.6
I tried balancing Train Overhaul so the dead weight doesn't hinder those locomotives too much.
You could give Noxys_Multidirectional_Trains a try, it rotates engines in driving direction. I've tried it on L(nuclear)-6C(heavy)-L(nuclear) trains and instead of a somewhat realistic acceleration they started going from 0 to 260 in half a train length like ottd maglevs.
You could give Noxys_Multidirectional_Trains a try, it rotates engines in driving direction. I've tried it on L(nuclear)-6C(heavy)-L(nuclear) trains and instead of a somewhat realistic acceleration they started going from 0 to 260 in half a train length like ottd maglevs.
My Mods: mods.factorio.com
Re: [MOD 0.16] Inventory Sensor 1.6.6
I'll give that a try, thanks! It may have trouble with my switching yard, though, since there are stops and signals in random places to make coupling work.
Update: Noxy's Multidirectional Trains does work as advertised. But something about how it reassembles the trains after flipping the locomotives shifts the decoupled cars a few pixels, far enough to obscure a signal that it did not before. It can still work if you space out the stops and signals, but then you see a 2-tile teleport when the train connects again. Without Multidirection, it looks pretty realistic, so I think I'll keep it that way.
Update: Noxy's Multidirectional Trains does work as advertised. But something about how it reassembles the trains after flipping the locomotives shifts the decoupled cars a few pixels, far enough to obscure a signal that it did not before. It can still work if you space out the stops and signals, but then you see a 2-tile teleport when the train connects again. Without Multidirection, it looks pretty realistic, so I think I'll keep it that way.
Re: [MOD 0.16] Inventory Sensor 1.6.6
Multidirectional Trains is as good as we can get with the current api, but it has some issues keeping me from using it myself.
It can fail silently to couple trains back together.
It counts train.id up rapidly, making it useless for any setup where you read train.id from stops.
It can fail silently to couple trains back together.
It counts train.id up rapidly, making it useless for any setup where you read train.id from stops.
My Mods: mods.factorio.com
Re: [MOD 0.16] Inventory Sensor 1.6.6
Automatic Coupling System makes trains id count up too, but slower. I'm at 45000 after a few dozen hours, with about 30 trains. Is there a point where high train IDs will cause problems? Or will they roll over a 4 billion or something?
Re: [MOD 0.16] Inventory Sensor 1.6.6
No idea if internally factorio uses signed or unsigned, 32 or 64 bit integer for train id.
It could overflow as early as 2^31 = 2147483648 or as late as 2^64 = 18446744073709551616. The circuit network will certainly overflow at 2^31.
My Mods: mods.factorio.com
Re: [MOD 0.16] Inventory Sensor 1.6.6
Ah, then I guess I'm good for 4,086 couplings per minute for a full year of runtime...
Re: [MOD 0.16] Inventory Sensor 1.6.6
(this is kerboom, on my new non-throwaway account that won't let me PM yet.)
Hey Optera, I made a mod to replace Multidirectional Trains! I'm going to post it soon, but I used your "copyPrototype.lua" file for my first hack-job and won't include that without getting your permission. Would that be okay with you? Reading your mod (and Noxy's) was really helpful to learn what I'm doing. Thanks again for maintaining some awesome mods!
Hey Optera, I made a mod to replace Multidirectional Trains! I'm going to post it soon, but I used your "copyPrototype.lua" file for my first hack-job and won't include that without getting your permission. Would that be okay with you? Reading your mod (and Noxy's) was really helpful to learn what I'm doing. Thanks again for maintaining some awesome mods!
My mods: Multiple Unit Train Control, Smart Artillery Wagons
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk