Connecting radars to circuit and logistic networks
Moderator: ickputzdirwech
Re: Connecting radars to circuit and logistic networks
Showing support for the idea and hoping is the best thing you can do. Also having a PoC (if possible) via a mod is a plus : it shows if the concept works as expected.
The devs rarely answer when there's not much to be said, but be assured avery post in this forum is read by at least one dev.
The devs rarely answer when there's not much to be said, but be assured avery post in this forum is read by at least one dev.
Koub - Please consider English is not my native language.
Re: Connecting radars to circuit and logistic networks
Here a a few related suggestions:
viewtopic.php?f=6&t=61350 Alien Detector
viewtopic.php?f=6&t=60736 Entity Sensors i.e. detecting bugs before an attack
viewtopic.php?f=6&t=40784 Pressure Plate (and other Dwarf Fortress things)
viewtopic.php?f=6&t=41805 Sensors and such.
viewtopic.php?f=6&t=8011 [Electronics] - Sensors
viewtopic.php?f=6&t=13127 Wire sensors
viewtopic.php?f=6&t=43771 Motion sensor
viewtopic.php?f=6&t=45956 Player detection for circuit network
viewtopic.php?f=6&t=61350 Alien Detector
viewtopic.php?f=6&t=60736 Entity Sensors i.e. detecting bugs before an attack
viewtopic.php?f=6&t=40784 Pressure Plate (and other Dwarf Fortress things)
viewtopic.php?f=6&t=41805 Sensors and such.
viewtopic.php?f=6&t=8011 [Electronics] - Sensors
viewtopic.php?f=6&t=13127 Wire sensors
viewtopic.php?f=6&t=43771 Motion sensor
viewtopic.php?f=6&t=45956 Player detection for circuit network
Re: Connecting radars to circuit and logistic networks
is there a lua function to get the information needed to make a mod with it?
im not into modding so i dont really know what im looking for, i'm wondering that there is no mod for that yet
im not into modding so i dont really know what im looking for, i'm wondering that there is no mod for that yet
Re: Connecting radars to circuit and logistic networks
I'd say there must be some way :
https://mods.factorio.com/mod/folk-radar
https://mods.factorio.com/mod/radar-signals
https://mods.factorio.com/mod/folk-radar
https://mods.factorio.com/mod/radar-signals
Koub - Please consider English is not my native language.
Re: Connecting radars to circuit and logistic networks
I believe the way those mods work is that they get a filtered entity list for the radar range and sum up the results. Something that is rather costly to do. The second mod only does it every 4 seconds, or every 240 ticks, and hopefully will distribute the scan for multiple radars across different ticks. Otherwise the game would pause every 4 seconds.
Having this scan happen internally in the C++ code that updates the map anyway would be a huge performance gain.
Not to mention radars could report on the scanned chunks as well.
Having this scan happen internally in the C++ code that updates the map anyway would be a huge performance gain.
Not to mention radars could report on the scanned chunks as well.
Radar sends a single to red/green wire(s)
TL;DR
Radar's would send a single out with red/green wire(s) if they detected an attack on the base.What?
When you click on radar it would open a GUI menu where you can select the certain single it would send on.You would be able to choose the value (int) of the single getting sent.
Why?
I think would increase the value of the game because you would be able to make custom alerts to fit your own style(s)- BlueTemplar
- Smart Inserter
- Posts: 3133
- Joined: Fri Jun 08, 2018 2:16 pm
- Contact:
Re: Radar sends a single to red/green wire(s)
It's one of Factorio's challenges to build an "attack detector" without using any mods...
BobDiggity (mod-scenario-pack)
Re: Connecting radars to circuit and logistic networks
[Koub] Merged into older topic with same suggestion.
Koub - Please consider English is not my native language.
Re: Connecting radars to circuit and logistic networks
Idea to solve radar range issue and help with performance :
* When a Radar finishes to scan his area and no enemies has been detected, it put's itself in "standby", using only 10% energy and stop trying to refresh all tiles.
* If an enemy enters the radar zone, the stand-by mode stops (detected by entering one of radar border tiles) and have to scan the whole area again.
This doesn't mean that the map should not be updated but only that you can stop the process of in background and keep it simple.
Because if you have 1000 Radar scanning your map, you'll always have a big amount of resources dedicated for scanning the map, which is useless.
If there's no enemy, there's no need to run these scan.
It's only a proposition for performance improvement, not a real change in radars. The energy cost is just how the player is rewarded
* When a Radar finishes to scan his area and no enemies has been detected, it put's itself in "standby", using only 10% energy and stop trying to refresh all tiles.
* If an enemy enters the radar zone, the stand-by mode stops (detected by entering one of radar border tiles) and have to scan the whole area again.
This doesn't mean that the map should not be updated but only that you can stop the process of in background and keep it simple.
Because if you have 1000 Radar scanning your map, you'll always have a big amount of resources dedicated for scanning the map, which is useless.
If there's no enemy, there's no need to run these scan.
It's only a proposition for performance improvement, not a real change in radars. The energy cost is just how the player is rewarded
- BlueTemplar
- Smart Inserter
- Posts: 3133
- Joined: Fri Jun 08, 2018 2:16 pm
- Contact:
Re: Connecting radars to circuit and logistic networks
How a radar should know that an enemy entered its long-range zone if it's not scanning it ?
One reason to have the radars is that they ultimately provide a long-range warning against new biter settlements (that are outside of your pollution cloud, otherwise you're going to have a much sooner, much more aggressive warning ! )
One reason to have the radars is that they ultimately provide a long-range warning against new biter settlements (that are outside of your pollution cloud, otherwise you're going to have a much sooner, much more aggressive warning ! )
BobDiggity (mod-scenario-pack)
Re: Connecting radars to circuit and logistic networks
It makes no sense for the radar to magically wake up from energy saving mode when an alien enters the scan range. If it can do that it could simply refresh that chunk whenever an alien enters instead of scanning.nafira wrote: ↑Tue Oct 15, 2019 11:53 pm Idea to solve radar range issue and help with performance :
* When a Radar finishes to scan his area and no enemies has been detected, it put's itself in "standby", using only 10% energy and stop trying to refresh all tiles.
* If an enemy enters the radar zone, the stand-by mode stops (detected by entering one of radar border tiles) and have to scan the whole area again.
This doesn't mean that the map should not be updated but only that you can stop the process of in background and keep it simple.
Because if you have 1000 Radar scanning your map, you'll always have a big amount of resources dedicated for scanning the map, which is useless.
If there's no enemy, there's no need to run these scan.
It's only a proposition for performance improvement, not a real change in radars. The energy cost is just how the player is rewarded
I don't think radars should stop scanning at all. But make the scanning cheap if nothing has changed. E.g. for each chunk record the last tick something (relevant for radar) changed. Then if changed < last_scanned then scanning the chunk simply updates last_scanned and is done.
Re: Connecting radars to circuit and logistic networks
I mean, before you get artillery, or before you produce a real pollution cloud... ever see what happens with gigawatts of boiler power going? :vBlueTemplar wrote: ↑Wed Oct 16, 2019 7:40 am How a radar should know that an enemy entered its long-range zone if it's not scanning it ?
One reason to have the radars is that they ultimately provide a long-range warning against new biter settlements (that are outside of your pollution cloud, otherwise you're going to have a much sooner, much more aggressive warning ! )
EDIT:
I really like the idea of outputting, on colour signals, the number of hostile/neutral/friendly entities within the radar's LOS.
- BlueTemplar
- Smart Inserter
- Posts: 3133
- Joined: Fri Jun 08, 2018 2:16 pm
- Contact:
Re: Connecting radars to circuit and logistic networks
Nope, I don't wait to need gigawatts to switch to nuclear...
BobDiggity (mod-scenario-pack)
Re: Connecting radars to circuit and logistic networks
Heh. The point is, heavy duty pollution clouds can easily exceed a radar's scan range unless you have your radar installations way the hell out in the middle of nowhere. Artillery is a better spotting mechanic for 'nests being established near your walls' since it outranges radar considerably after even a small number of researches and simultaneously kills the dang things.BlueTemplar wrote: ↑Thu Oct 17, 2019 6:25 pm Nope, I don't wait to need gigawatts to switch to nuclear...
- BlueTemplar
- Smart Inserter
- Posts: 3133
- Joined: Fri Jun 08, 2018 2:16 pm
- Contact:
Re: Connecting radars to circuit and logistic networks
Sure, but artillery is end-game.
And long-range radar coverage is pretty... long (but very slow compared to new nest creation).
And long-range radar coverage is pretty... long (but very slow compared to new nest creation).
BobDiggity (mod-scenario-pack)
Re: Connecting radars to circuit and logistic networks
We're quite on the same page here, even if you don't think so.mrvn wrote: ↑Thu Oct 17, 2019 10:47 amIt makes no sense for the radar to magically wake up from energy saving mode when an alien enters the scan range. If it can do that it could simply refresh that chunk whenever an alien enters instead of scanning.nafira wrote: ↑Tue Oct 15, 2019 11:53 pm Idea to solve radar range issue and help with performance :
* When a Radar finishes to scan his area and no enemies has been detected, it put's itself in "standby", using only 10% energy and stop trying to refresh all tiles.
* If an enemy enters the radar zone, the stand-by mode stops (detected by entering one of radar border tiles) and have to scan the whole area again.
This doesn't mean that the map should not be updated but only that you can stop the process of in background and keep it simple.
Because if you have 1000 Radar scanning your map, you'll always have a big amount of resources dedicated for scanning the map, which is useless.
If there's no enemy, there's no need to run these scan.
It's only a proposition for performance improvement, not a real change in radars. The energy cost is just how the player is rewarded
I don't think radars should stop scanning at all. But make the scanning cheap if nothing has changed. E.g. for each chunk record the last tick something (relevant for radar) changed. Then if changed < last_scanned then scanning the chunk simply updates last_scanned and is done.
My way is just : "Hey, let's roleplay a bit, and tells that the radar only scans borders, so it consumes less" (call it whatever you want)
Anyway we are going the same way => Radar should only scan needed areas, and only update the map for the rest of it.
My idea of detecting aliens is because it's the only thing on the map that is relevant. The rest is pure update and should not need a specific update from radars
Example :
* an ore is not going to magically disappear or move
* trees are not going to move
* neither the cliffs
* neither water
The map is already constantly updating what's under radar (actual) range so why on earth the radar should search for something else than aliens once scanned once ?
It would save a lot of : CPU, energy (in-game), process of synchronisation, complexity, server behavior, etc.
Is it still a non-sense ?
If not, it resolve the issue of the number of update needed, and so, we can work on a good solution to enhance radar range properly. IMO.
The main thing limiting radar range is how they update : change it and you'll be able to do some good stuff with it.
And on the other topic, I don't wait for long for having nuclear. Generally it comes @300MW needed constantly, then I start building it unless my map is quite clean of bitters and without much lasers.
In long term, you'll need artillery, because no lasers or fire turrets are going to kill giant worms (range 36 if I remember well). I start with static once, and then switch to a train protecting the perimeter.
Biters signaling
Allow Radar to raise circuit signal if here are Biters in sight range.
Re: Connecting radars to circuit and logistic networks
[Koub] Merged into older topic with same suggestion.
Also related :
viewtopic.php?f=6&t=62384
viewtopic.php?f=6&t=64807
Also related :
viewtopic.php?f=6&t=62384
viewtopic.php?f=6&t=64807
Koub - Please consider English is not my native language.
Add circuits to radar; red signal if enemy present
TL;DR
Add circuits to radar. A red signal is output if enemies are in radar range; otherwise a green signal is output.What ?
Add circuit conditions to radar. A red signal is output if enemies are present, otherwise a green signal is output.Why ?
This suggestion was motivated by artillery outposts that have bots. When biters damage the outpost walls, the repair bots rush out and wind up dying in droves due to lingering biter acid and biter attacks. If the radar circuit was red (enemies present) then the bots could be removed from the roboport. If the radar circuit was green then the bots could be added back. There would still need to be some kind of timer/delay to allow any biter acid to dissipate.However, it could be unbalanced in that it would also allow laser turrets to be kept powered off until radar detects enemies.
edit: My apologies for not realizing this suggestion already existed.
Last edited by stoicfaux on Wed Sep 15, 2021 3:28 pm, edited 1 time in total.
Re: Add circuits to radar; red signal if enemy present
Radars have a permanent region and a scanning region. Those should have different signals. For usage with modes like AAI vehicles X/Y coords of the detected aliens would also be desirable. Could be just the center of the chunk with aliens or any random one if there are multiple. Just make it a steady signal and not flicker from alien to alien every tick.
PS: This idea has come up in the past and I think the devs shot it down as too CPU costly.
PS: This idea has come up in the past and I think the devs shot it down as too CPU costly.