⇐ Index
Notes:
Not all vanilla units have a unit type. All the units mentioned here have an empty String (”“) for their Unit Type and are created as (figuratively) child units but are still a unique unit with a detectable UID.
To search for these units, you must use GetUnitOfficialName
All sub units below here are not impervious and are never built (count as under construction).
Note: The created crystals of the Greenar Mother (known as Xstals) are not Sub-Units of the Greenar Mother. They do not have a UID or at least, don't increase it. It is possible they internally share the UID of the Greenar Mother that created them.
Without a UID, they are undetectable with current API's, making the greenar refinery special and currently impossible to recreate within a CPACK.
Each custom unit (CMOD) has a GUID that can be used when a `unit type` is required. The GUID is available in the CPACK editor and will not change unless the unit is “branched” to a new CPACK. (Reusing the same CPACK in multiple maps will NOT change the GUID.)
The Titan units are a special case of Custom units and have to be retrieved by their CMOD GUID
Airship: ca8dfbe4-a3ca-4223-b8c4-070de8877b26
Bertha: b2d47782-ebe0-4508-ace3-6ae4503b62fc
Sweeper: c5b44bd0-1518-4091-9f15-36c919bc37c7
Rift Lab: GetRiftLab
Factory: GetFactory
ERN Portal: GetERNPortal
Sub-Units can easily be detected by the GetUnits API unwantedly and using the API GetUnitType to identify the detected UID's within the returned list will return an empty String upon identifying a Sub-Unit, which can be quite unhelpful (though it can still be used to identify if the UID is any Sub-Unit). The API GetUnitOfficialName is only way to identify a specific Sub-Unit using a unit UID.
⇐ Index