Portable Radar: Difference between revisions

From Desynced Wiki
mNo edit summary
(Add some filters to radar)
Line 6: Line 6:
'''Tips:'''
'''Tips:'''
* One of the simplest early uses of a Radar is to automatically gather loose Crystal Chunks with a bot. Set the Radar to search for the resources and bind the output register to the bot's Go To register. As with any automated movement, be careful that your bot doesn't run afoul of Bugs while you aren't looking!
* One of the simplest early uses of a Radar is to automatically gather loose Crystal Chunks with a bot. Set the Radar to search for the resources and bind the output register to the bot's Go To register. As with any automated movement, be careful that your bot doesn't run afoul of Bugs while you aren't looking!
====Radar Filters====
The radar has a number of filter which is important in understanding how to detect things in the world.
{| class="wikitable"
|+ Radar Filters
|-
! Icon !! Text !! Description
|-
| [[File:Owned.png|32px]] || Owned || This will match anything you own, including units, buildings and foundations.
|-
| [[File:Enemy.png|32px]] || Enemy || This will match anything that is an enemy of your faction in multiplayer, and some other NPCs in single player.  Bugs start as enemies in Aggressive/Hostile, and Neutral in Passive.  The other NPC factions start as Neutral.
|-
| [[File:Friendly.png|32px]] || Ally || This will match anything that are allies' units (also seen in the faction screen).  You are not your own ally.
|-
| [[File:World.png|32px]] || World || This matches anything that is part of the world faction.  Dropped items, and resources are skipped for this filter.
|-
| [[File:Alien.png|32px]] || Alien || This matches anything of the alien explorable race (currently just their explorables).
|-
| [[File:Human.png|32px]] || Human || This matches anything of the human explorable race (currently just their explorables).
|-
| [[File:Bug.png|32px]] || Bug || This matches bugs, their units and buildings.
|-
| [[File:Robot.png|32px]] || Robot || This matches anything of the robot explorable race (currently just explorables).
|-
| [[File:Solved.png|32px]] || Solved|| This matches solved explorables.
|-
| [[File:Unsolved.png|32px]] || Unsovled|| This matches unsolved explorables.
|-
| [[File:Lootable.png|32px]] || Lootable || This matches items that are lootable or has available items to loot (items in its inventory).
|-
| [[File:Bot.png|32px]] || Bot || This matches bots, or rather entities with a movement speed.
|-
| [[File:Building.png|32px]] || Building || This matches buildings, or rather entities with 0 movement speed.
|-
| [[File:Construction.png|32px]] || Construction || This matches constructions.
|-
| [[File:Dropped item.png|32px]] || Dropped Item || This matches dropped items (both scattered resources and manually dropped items).
|-
| [[File:Resource.png|32px]] || Resource || This matches resource nodes and scattered resources.
|-
| [[File:Mineable.png|32px]] || Mineable || This matches only resource nodes.
|-
| [[File:Plateau.png|32px]] || Plateau || This matches entities above the plateau height.  There is a code bug that prevents this from matching anything.
|-
| [[File:Valley.png|32px]] || Valley || This match entities below the plateau height.
|-
| [[File:Not blight.png|32px]] || Not blight || This matches areas of the map where it's below the blight threshold.
|-
| [[File:Blight.png|32px]] || Valley || This match areas of the map that's above or equal to the blight threshold.
|}


{{:GameData:Recipe:{{PAGENAME}}}}
{{:GameData:Recipe:{{PAGENAME}}}}

Revision as of 08:54, 24 August 2023

Portable Radar
     
     Short range detection of resources and other objects in the world. All conditions must be met.
Lua ID c_portable_radar
Size Internal
Power -5
Range 30 tiles
Visual Radius 6


The Portable Radar is an Internal-sized component used to search for specified targets in its detection range.

Tips:

  • One of the simplest early uses of a Radar is to automatically gather loose Crystal Chunks with a bot. Set the Radar to search for the resources and bind the output register to the bot's Go To register. As with any automated movement, be careful that your bot doesn't run afoul of Bugs while you aren't looking!

Radar Filters

The radar has a number of filter which is important in understanding how to detect things in the world.

Radar Filters
Icon Text Description
Owned This will match anything you own, including units, buildings and foundations.
Enemy This will match anything that is an enemy of your faction in multiplayer, and some other NPCs in single player. Bugs start as enemies in Aggressive/Hostile, and Neutral in Passive. The other NPC factions start as Neutral.
Ally This will match anything that are allies' units (also seen in the faction screen). You are not your own ally.
World This matches anything that is part of the world faction. Dropped items, and resources are skipped for this filter.
Alien This matches anything of the alien explorable race (currently just their explorables).
Human This matches anything of the human explorable race (currently just their explorables).
Bug This matches bugs, their units and buildings.
Robot This matches anything of the robot explorable race (currently just explorables).
Solved This matches solved explorables.
Unsovled This matches unsolved explorables.
Lootable This matches items that are lootable or has available items to loot (items in its inventory).
Bot This matches bots, or rather entities with a movement speed.
Building This matches buildings, or rather entities with 0 movement speed.
Construction This matches constructions.
Dropped Item This matches dropped items (both scattered resources and manually dropped items).
Resource This matches resource nodes and scattered resources.
Mineable This matches only resource nodes.
Plateau This matches entities above the plateau height. There is a code bug that prevents this from matching anything.
Valley This match entities below the plateau height.
Not blight This matches areas of the map where it's below the blight threshold.
Valley This match areas of the map that's above or equal to the blight threshold.


Recipe
Circuit Board Metal Bar Portable Radar
Circuit Board 1 Metal Bar 5 Arrow Right Portable Radar
Produced by
Assembler Time
6.0 seconds
[[{{{14}}}]] Time
[[File:{{{14}}}.png|64x64px|link={{{14}}}]] {{{15}}} seconds
[[{{{16}}}]] Time
[[File:{{{16}}}.png|64x64px|link={{{16}}}]] {{{17}}} seconds