Variable Reader and Writer
[previewyoutube=zUgXKKfQ8DM;leftthumb][/previewyoutube]Link between AI and Breadboard
[previewyoutube=7YQlkv49DBs;leftthumb][/previewyoutube]Updates to the Generic Block Getter
[previewyoutube=wUEJE1g4gdg;leftthumb][/previewyoutube]Mass evaluator and new data types
[previewyoutube=ILAO-ogB8hw;leftthumb][/previewyoutube]Changelog
Additions
Breadboard
- Added a pair of breadboard modules and associated AI behaviours/manoeuvres, the AI Manoeuvre Output (Breadboard Manoeuvre Link in the AI) and the AI Behaviour Input (Breadboard Behaviour Link in the AI). These allow you to retrieve manoeuvering information from the AI (primarily relating to its waypoints) for the former, or send waypoint information to the AI for the latter. Navigation performed using the behaviour input/link will benefit from normal AI features such as collision avoidance.
- Added a pin to the flagship info component to directly output the flagship's position as a Vector3
- Added a shared-data-reader and a shared-data-writer component. These can share data across a vehicle, fleet, team, mothership/drone group or globally. All breadboard data types are supported and you can store data in indexed arrays of up to 1000 elements of length. Variables can be given custom names.
- Added a toggle to the PID component to flip the sign on its output, for example from 1 to -1.
- Added the ability for the Orientation input to output either the forward vector, rotation euler angles or rotation quaternion.
- Added the ability to output the current physics step to the Time input.
- Added the ability to switch between 'Universal' and 'Standard' coordinates to various modules, namely the Primary Target Info and PositionInput components. Universal coordinates have their origin at the centre of the map, and Standard coordinates have an origin that changes with the current frame of reference, with Universal being the old behaviour for these modules.
- Breadboard accumulator and differencer components now support all data types
- Breadboard Clamp component now has support for doubles, longs, vectors, quaternions and strings
- Breadboard Constant input component now has Vector3, Quaternion and long output types (as well as double and text)
- Breadboard is now double precision and also supports 64 bit integers (longs) when necessary. Maths evaluator has a lot of support for longs now and longs can be typed into the maths evaluator like this "10L" or "15l".
- Breadboard Multiply component now has support for doubles, longs, vectors and quaternions
- Breadboard one shot component now supports all data types
- Breadboard Printer component now has support for more inputs and supports format codes and multiple lines.
- Breadboard switch component now supports all data types and will pass sensible defaults when switched 'off'
- Constant input component can now output a Vector3, Quaternion or 64 bit integer (long), as well as the usual floating point value or string
- Maths evaluator can now use .x .y .z or .pitch .yaw .roll to extract the pitch yaw or roll from a quaternion. .x and .pitch do the same thing. .y and .yaw do the same thing. .z and .roll do the same thing. Angles are in degrees.
- Maths evaluator now has functions String(x) and String(x, [format code]) that turn x (float,Vector3,Quaternion) into strings. The version with [format code] accepts standard C# format codes for numeric values.
- Maths evaluator now has functions ToStandard(v) and ToUniversal(v) that convert a universal Vector3 position coordinate into a unity game engine Vector3 position, and visa versa.
Breadboard GBG
Almost every player editable variable is now accessible to the Generic Block Getter (GBG) plus some extras that required custom code to obtain information.Breadboard GBS
- ACB can be 'tested' (executed) via the GBS
- Ammo ejector can eject via GBS
- APS can have all clips cleared via GBS
- Tactical nuke can be exploded via GBS
Video
Added built in video capture (see options menu tab) which allows you to capture smooth video at high frame-rates without any visible performance issues by using "offline" mode. In "real time" mode it supports microphone recording but the video will not be as smooth.Changes
Breadboard
- PID components can now have their SetPoint pin removed. If so, it will treat its setpoint as being equal to 0.
- The Primary Target Info component will now output an empty vector to its Target Position and Target Velocity pins if there is no target, rather than outputting 0.
