Difference between revisions of "AIMEe"
From Unofficial Stationeers Wiki
m |
Emilgardis (talk | contribs) (add logic class to robot) |
||
(12 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:IC10 Programming]] | ||
{{Itembox | {{Itembox | ||
− | + | | name = Kit (AIMeE) | |
− | + | | image = [[File:ItemKitAIMeE.png]] | |
− | + | | prefabhash = 496830914 | |
− | + | | prefabname = ItemKitAIMeE | |
+ | | stacks = 1 | ||
+ | | slot_class = SlotClass.None | ||
+ | | sorting_class = SortingClass.Kits | ||
+ | | recipe_machine1 = Electronics Printer (Tier Two) | ||
+ | | recipe_cost1 = 5g [[Gold]], 5g [[Copper]], 22g [[Steel]], 15g [[Electrum]], 7g [[Invar]], 8g [[Constantan]], 10g [[Astroloy]] | ||
+ | | constructs = [[AIMeE Bot]] | ||
}} | }} | ||
− | + | {{Itembox | |
+ | | name = AIMeE Bot | ||
+ | | image = [[File:Robot.png]] | ||
+ | | prefabhash = 434786784 | ||
+ | | prefabname = Robot | ||
+ | | stacks = 1 | ||
+ | | slot_class = SlotClass.None | ||
+ | | sorting_class = SortingClass.Default | ||
+ | }} | ||
+ | ==Description== | ||
+ | <blockquote><q>Designed by - presumably drunk - [[Norsec (Faction)|Norsec]] roboticists, AIMeE (or Automated Independent Mechanical Entity) can be a [[Stationeers|Stationeer's]] best friend, or tiresome nemesis, or both several times in the same day. | ||
+ | |||
+ | Intended to unearth and retrieve ores automatically, the unit requires basic programming knowledge to operate, and [[Motherboard_(IC_Editor)|IC Editor Motherboard]]. | ||
+ | |||
+ | AIMEe has 7 modes: | ||
+ | |||
+ | RobotMode.None = 0 = Do nothing<br> | ||
+ | RobotMode.Follow = 1 = Follow nearest player<br> | ||
+ | RobotMode.MoveToTarget = 2 = Move to target in straight line<br> | ||
+ | RobotMode.Roam = 3 = Wander around looking for ores in 15 co-ords radius<br> | ||
+ | RobotMode.Unload = 4 = Unload in chute input or chute bin within 3 meters / 1.5 large grids<br> | ||
+ | RobotMode.PathToTarget = 5 = Path(find) to target<br> | ||
+ | RobotMode.StorageFull = 6 = Automatic assigned state, shows when storage slots are full<br> | ||
− | + | Connects to [[Logic Transmitter]]</q><br> | |
− | + | '''- Stationpedia'''</blockquote> | |
− | + | AIMEe or Automated Independent Mechanical Entity is a small mining robot that can be automated to search, mine and retrieve ores. AIMEe does get damaged by storms and can not be repaired with [[Duct Tape]]. | |
− | |||
− | |||
− | |||
− | |||
{{Data Network Header}} | {{Data Network Header}} | ||
− | {{Data Parameters | + | {{Data Parameters| |
− | {| | + | {{Data Parameters/row|Power|Boolean|w=0|Can be read to return if the AIMeE Bot is correctly powered or not, set via the power system, return 1 if powered and 0 if not|multiple=2|0|Unpowered|1|Powered}} |
− | | | + | {{Data Parameters/row|Mode|Integer|The mode of the AIMeE Bot.|multiple=7|0|RobotMode.None|1|RobotMode.Follow|2|RobotMode.MoveToTarget|3|RobotMode.Roam|4|RobotMode.Unload|5|RobotMode.PathToTarget|6|RobotMode.StorageFull}} |
− | + | {{Data Parameters/row|Error|Boolean|w=0|1 if device is in error state, otherwise 0|multiple=2|0|<p></p>|1|Error}} | |
− | | | + | {{Data Parameters/row|PressureExternal|Float|w=0|Setting for external pressure safety, in KPa}} |
− | | | + | {{Data Parameters/row|On|Boolean|The current state of the AIMeE Bot.|multiple=2|0|Off|1|On}} |
− | | | + | {{Data Parameters/row|TemperatureExternal|Integer|w=0|The temperature of the outside of the AIMeE Bot, usually the world atmosphere surrounding it}} |
− | | | + | {{Data Parameters/row|PositionX|Integer|w=0|The current position in X dimension in world coordinates}} |
− | | | + | {{Data Parameters/row|PositionY|Integer|w=0|The current position in Y dimension in world coordinates}} |
− | | TargetZ || || | + | {{Data Parameters/row|PositionZ|Integer|w=0|The current position in Z dimension in world coordinates}} |
− | | | + | {{Data Parameters/row|VelocityMagnitude|Integer|w=0|The current magnitude of the velocity vector}} |
− | | | + | {{Data Parameters/row|VelocityRelativeX|Integer|w=0|The current velocity X relative to the forward vector of this}} |
− | | | + | {{Data Parameters/row|VelocityRelativeY|Integer|w=0|The current velocity Y relative to the forward vector of this}} |
− | | | + | {{Data Parameters/row|VelocityRelativeZ|Integer|w=0|The current velocity Z relative to the forward vector of this}} |
− | |} | + | {{Data Parameters/row|TargetX|Integer|r=0|The target position in X dimension in world coordinates}} |
+ | {{Data Parameters/row|TargetY|Integer|r=0|The target position in Y dimension in world coordinates}} | ||
+ | {{Data Parameters/row|TargetZ|Integer|r=0|The target position in Z dimension in world coordinates}} | ||
+ | {{Data Parameters/row|MineablesInVicinity|Integer|w=0|Returns the amount of potential mineables within an extended area around AIMEe.}} | ||
+ | {{Data Parameters/row|MineablesInQueue|Integer|w=0|Returns the amount of mineables AIMEe has queued up to mine.}} | ||
+ | {{Data Parameters/row|ReferenceId|Integer|w=0|Unique Reference Identifier for this object}} | ||
+ | {{Data Parameters/row|ForwardX|Integer|w=0|The direction the entity is facing expressed as a normalized vector}} | ||
+ | {{Data Parameters/row|ForwardY|Integer|w=0|The direction the entity is facing expressed as a normalized vector}} | ||
+ | {{Data Parameters/row|ForwardZ|Integer|w=0|The direction the entity is facing expressed as a normalized vector}} | ||
+ | {{Data Parameters/row|Orientation|Integer|w=0|The orientation of the entity in degrees in a plane relative towards the north origin}} | ||
+ | {{Data Parameters/row|VelocityX|Integer|w=0|The world velocity of the entity in the X axis}} | ||
+ | {{Data Parameters/row|VelocityY|Integer|w=0|The world velocity of the entity in the Y axis}} | ||
+ | {{Data Parameters/row|VelocityZ|Integer|w=0|The world velocity of the entity in the Z axis}} | ||
+ | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{Data Outputs}} | {{Data Outputs}} | ||
Line 46: | Line 77: | ||
! Output Name !! Data Type !! Description | ! Output Name !! Data Type !! Description | ||
|- | |- | ||
− | | PressureExternal || || Read external pressure in Pascal | + | | PressureExternal || Float || Read external pressure in Pascal |
|- | |- | ||
− | | TemperatureExternal || || Read external temperature in Kelvin | + | | TemperatureExternal || Float || Read external temperature in Kelvin |
|- | |- | ||
| PositionX || || Read current position | | PositionX || || Read current position | ||
Line 64: | Line 95: | ||
| VelocityRelativeZ || || | | VelocityRelativeZ || || | ||
|- | |- | ||
− | | Mode || || 0-6 | + | | Mode || Integer || 0-6 |
|- | |- | ||
− | | Power || || | + | | Power || Boolean || |
|- | |- | ||
| Error || || | | Error || || | ||
|- | |- | ||
− | | On || || | + | | On || Boolean || |
+ | |- | ||
+ | | MineablesInQueue || || | ||
+ | |- | ||
+ | | MineablesInVicinity || || | ||
+ | |} | ||
+ | |||
+ | ==== Data Slots ==== | ||
+ | These are all parameters, that can be read with a [[Kit_(Logic_I/O)#Slots_Reader|Slots Reader]]. The outputs are listed in the order a Slots Reader's "VAR" setting cycles through them. | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Number || Name !! Description | ||
+ | |- | ||
+ | | 0 || Battery || | ||
+ | |- | ||
+ | | 1 || IC10 || | ||
+ | |- | ||
+ | | 2-9 || Storage || Internal storage slots. | ||
+ | |} | ||
+ | |||
+ | [[File:Https://fastupload.io/6db74feb93cbbba0|400x300px|Example]] | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Name !! Data Type !! Description | ||
+ | |- | ||
+ | |+ Battery Slot 0 | ||
+ | |- | ||
+ | | Occupied || Boolean || Returns whether the slot occupied. (0 for no, 1 for yes). | ||
+ | |- | ||
+ | | OccupantHash|| Integer || Returns [[ItemHash]] of item in slot. | ||
+ | |- | ||
+ | | MaxQuantity || Integer || Max Size of stack. | ||
+ | |- | ||
+ | | Damage || Integer || Item durability in percent. | ||
+ | |- | ||
+ | | Class || Integer || Item class ID. | ||
+ | |- | ||
+ | | Quantity || Integer || Size of stack. | ||
+ | |- | ||
+ | | ChargeRatio || Integer || Ratio of charge 0-1. | ||
+ | |- | ||
+ | | Charge || Integer || Charge in joules. | ||
+ | |- | ||
+ | | PrefabHash || Integer || Returns [[ItemHash]] of item in slot. | ||
+ | |} | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Name !! Data Type !! Description | ||
+ | |- | ||
+ | |+ IC10 Slot 1 | ||
+ | |- | ||
+ | | Occupied || Boolean || Returns whether the slot occupied. (0 for no, 1 for yes). | ||
+ | |- | ||
+ | | OccupantHash|| Integer || Returns [[ItemHash]] of item in slot. | ||
+ | |- | ||
+ | | MaxQuantity || Integer || Max Size of stack. | ||
+ | |- | ||
+ | | Damage || Integer || Item durability in percent. | ||
+ | |- | ||
+ | | Class || Integer || Item class ID. | ||
+ | |- | ||
+ | | Quantity || Integer || Size of stack. | ||
+ | |- | ||
+ | | PrefabHash || Integer || Returns [[ItemHash]] of item in slot. | ||
+ | |} | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Name !! Data Type !! Description | ||
+ | |- | ||
+ | |+ Inventory Slot 2-9 | ||
+ | |- | ||
+ | | Occupied || Boolean || Returns whether the slot occupied. (0 for no, 1 for yes). | ||
+ | |- | ||
+ | | OccupantHash|| Integer || Returns [[ItemHash]] of item in slot. | ||
+ | |- | ||
+ | | MaxQuantity || Integer || Max Size of stack. | ||
+ | |- | ||
+ | | Damage || Integer || Item durability in percent. | ||
+ | |- | ||
+ | | Class || Integer || Item class ID. | ||
+ | |- | ||
+ | | Quantity || Integer || Size of stack. | ||
+ | |- | ||
+ | | PrefabHash || Integer || Returns [[ItemHash]] of item in slot. | ||
|} | |} |
Latest revision as of 11:21, 4 August 2024
Constructing Options | AIMeE Bot |
---|---|
Properties | |
Stacks | No |
Recipes | |
Electronics Printer (Tier Two) | 5g Gold, 5g Copper, 22g Steel, 15g Electrum, 7g Invar, 8g Constantan, 10g Astroloy |
Logic | |
Item Hash | 496830914 |
Item Name | ItemKitAIMeE |
Logic Classes |
SlotClass.None SortingClass.Kits |
Properties | |
---|---|
Stacks | No |
Logic | |
Item Hash | 434786784 |
Item Name | Robot |
Logic Classes |
SlotClass.None SortingClass.Default |
Contents
Description[edit]
Designed by - presumably drunk - Norsec roboticists, AIMeE (or Automated Independent Mechanical Entity) can be a Stationeer's best friend, or tiresome nemesis, or both several times in the same day.Intended to unearth and retrieve ores automatically, the unit requires basic programming knowledge to operate, and IC Editor Motherboard.
AIMEe has 7 modes:
RobotMode.None = 0 = Do nothing
RobotMode.Follow = 1 = Follow nearest player
RobotMode.MoveToTarget = 2 = Move to target in straight line
RobotMode.Roam = 3 = Wander around looking for ores in 15 co-ords radius
RobotMode.Unload = 4 = Unload in chute input or chute bin within 3 meters / 1.5 large grids
RobotMode.PathToTarget = 5 = Path(find) to target
RobotMode.StorageFull = 6 = Automatic assigned state, shows when storage slots are full
Connects to Logic Transmitter
- Stationpedia
AIMEe or Automated Independent Mechanical Entity is a small mining robot that can be automated to search, mine and retrieve ores. AIMEe does get damaged by storms and can not be repaired with Duct Tape.
Data Network Properties[edit]
These are all Data Network properties of this device.
Data Parameters[edit]
These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10), and can be read with a Logic Reader, Batch Reader, or Integrated Circuit (IC10).
Parameter Name | Data Type | Access | Value | Description | ||
---|---|---|---|---|---|---|
Power | Boolean | Read
|
0 | Unpowered | Can be read to return if the AIMeE Bot is correctly powered or not, set via the power system, return 1 if powered and 0 if not | |
1 | Powered | |||||
Mode | Integer | Read Write
|
0 | RobotMode.None | The mode of the AIMeE Bot. | |
1 | RobotMode.Follow | |||||
2 | RobotMode.MoveToTarget | |||||
3 | RobotMode.Roam | |||||
4 | RobotMode.Unload | |||||
5 | RobotMode.PathToTarget | |||||
6 | RobotMode.StorageFull | |||||
Error | Boolean | Read
|
0 | 1 if device is in error state, otherwise 0 | ||
1 | Error | |||||
PressureExternal | Float | Read
|
||||
On | Boolean | Read Write
|
0 | Off | The current state of the AIMeE Bot. | |
1 | On | |||||
TemperatureExternal | Integer | Read
|
||||
PositionX | Integer | Read
|
||||
PositionY | Integer | Read
|
||||
PositionZ | Integer | Read
|
||||
VelocityMagnitude | Integer | Read
|
||||
VelocityRelativeX | Integer | Read
|
||||
VelocityRelativeY | Integer | Read
|
||||
VelocityRelativeZ | Integer | Read
|
||||
TargetX | Integer | Write
|
||||
TargetY | Integer | Write
|
||||
TargetZ | Integer | Write
|
||||
MineablesInVicinity | Integer | Read
|
||||
MineablesInQueue | Integer | Read
|
||||
ReferenceId | Integer | Read
|
||||
ForwardX | Integer | Read
|
||||
ForwardY | Integer | Read
|
||||
ForwardZ | Integer | Read
|
||||
Orientation | Integer | Read
|
||||
VelocityX | Integer | Read
|
||||
VelocityY | Integer | Read
|
||||
VelocityZ | Integer | Read
|
Data Outputs[edit]
These are all parameters, that can be read with a Logic Reader or a Slot Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.
Output Name | Data Type | Description |
---|---|---|
PressureExternal | Float | Read external pressure in Pascal |
TemperatureExternal | Float | Read external temperature in Kelvin |
PositionX | Read current position | |
PositionY | Read current position | |
PositionZ | Read current position | |
VelocityMagnitude | ||
VelocityRelativeX | ||
VelocityRelativeY | ||
VelocityRelativeZ | ||
Mode | Integer | 0-6 |
Power | Boolean | |
Error | ||
On | Boolean | |
MineablesInQueue | ||
MineablesInVicinity |
Data Slots[edit]
These are all parameters, that can be read with a Slots Reader. The outputs are listed in the order a Slots Reader's "VAR" setting cycles through them.
Number | Name | Description |
---|---|---|
0 | Battery | |
1 | IC10 | |
2-9 | Storage | Internal storage slots. |
Name | Data Type | Description |
---|---|---|
Occupied | Boolean | Returns whether the slot occupied. (0 for no, 1 for yes). |
OccupantHash | Integer | Returns ItemHash of item in slot. |
MaxQuantity | Integer | Max Size of stack. |
Damage | Integer | Item durability in percent. |
Class | Integer | Item class ID. |
Quantity | Integer | Size of stack. |
ChargeRatio | Integer | Ratio of charge 0-1. |
Charge | Integer | Charge in joules. |
PrefabHash | Integer | Returns ItemHash of item in slot. |
Name | Data Type | Description |
---|---|---|
Occupied | Boolean | Returns whether the slot occupied. (0 for no, 1 for yes). |
OccupantHash | Integer | Returns ItemHash of item in slot. |
MaxQuantity | Integer | Max Size of stack. |
Damage | Integer | Item durability in percent. |
Class | Integer | Item class ID. |
Quantity | Integer | Size of stack. |
PrefabHash | Integer | Returns ItemHash of item in slot. |
Name | Data Type | Description |
---|---|---|
Occupied | Boolean | Returns whether the slot occupied. (0 for no, 1 for yes). |
OccupantHash | Integer | Returns ItemHash of item in slot. |
MaxQuantity | Integer | Max Size of stack. |
Damage | Integer | Item durability in percent. |
Class | Integer | Item class ID. |
Quantity | Integer | Size of stack. |
PrefabHash | Integer | Returns ItemHash of item in slot. |