<!-- wiki:sidecards W3sia2luZCI6ImFkZG9uIiwidGl0bGUiOiJDcmVhdGU6IFZhbGt5cmllbiBMb2dpc3RpY3MiLCJpbWFnZSI6IiIsImZpZWxkcyI6W3sia2V5IjoibG9nbyIsImxhYmVsIjoiTG9nbyIsInZhbHVlIjoiQ3JlYXRlLVZhbGt5cmllbkxvZ2lzdGljc0xvZ28ucG5nIn0seyJrZXkiOiJhdXRob3IiLCJsYWJlbCI6IkF1dGhvciIsInZhbHVlIjoiVGVjaFRhc3RpYyJ9LHsia2V5IjoibWN2ZXJzaW9ucyIsImxhYmVsIjoiTWluZWNyYWZ0IHZlcnNpb25zIiwidmFsdWUiOiIxLjIwLjEifSx7ImtleSI6ImxvYWRlciIsImxhYmVsIjoiTW9kIGxvYWRlciIsInZhbHVlIjoiRm9yZ2UifSx7ImtleSI6ImRvd25sb2FkbGluayIsImxhYmVsIjoiRG93bmxvYWQiLCJ2YWx1ZSI6IkNyZWF0ZTogVmFsa3lyaWVuIExvZ2lzdGljcyBkb3dubG9hZCJ9XX1d -->
Valkyrien Logistics adds a variety of new Gauges for collecting Ship information, to be explicitly used with Create: Extra Gauges!
Gauges
Position Gauge
This gauge collects the X, Y, or Z of the current block position. If on a Ship, this position will be transformed to output where it is in relation to the Ship (Shipyard -> Worldspace)
Outputs
When connected to an Integer Gauge, it will output either X, Y, or Z as described above
When connected to a String Gauge, it will output either X, Y, or Z as the full decimal value
When connected to a Display Source, it will output X, Y, and Z as a comma-separated string. Setting it to Full Numbers will give you the full decimal value where as if it is set to Shorten then it will output the floored Integer values
Linear Velocity Gauge
This gauge is very similar to the Position Gauge except that its values come from the linear velocity of the Ship and if it is not on a Ship, it will be inactive
Angular Velocity Gauge
This gauge is almost the exact same as the Linear Velocity Gauge but its values come from the angular velocity (omega) of the Ship.
Rotation Gauge
This gauge collects the X, Y, Z, or W of the Ship’s Quaternion used to represent the Ship’s orientation. It is disabled if not on a Ship and outputs similarly to the above three gauges
Mass Gauge
This gauge simply collects the Mass of the Ship and is inactive if not on a Ship. The output is unaffected by the Shorten setting on the Display Link
Slug Gauge
This gauge collects the Ship’s unique string identifier (slug) and olny outputs to either String or Display Link
Future Content
Euler Gauge
Since using Quaternions is hard for some, Valkyrien Logistics will add a gauge later on to output Euler Angles instead
Dependencies
| + | 1.20.1 |
|---|---|
| Create: Valkyrien Logistics Version | 1.1.2 |
| Valkyrien Skies Version | 2.4.11 |
| Create Version | 6.0.7+ |
| For Forge Only: | |
| Forge Version | 47.4.0 |
| Kotlin For Forge Version | 4.10.0 |
| For Fabric Only: | |
| Fabric API Version | 0.90.7 |
| Kotlin Version | 1.9.10 |
