Skip to content

Company

skzk edited this page Jan 21, 2024 · 12 revisions

A prefab slave item for company prefabs.

Item ID: 0x06 (6)
Item file: base

Structure

Field(s) Description
struct kdop_item

See k-DOP item.

Flags:
Bit 31: Always 1.

token company_name Name of the company.
token city_name

The city this company is in, as defined in /def/city.sii.

If the company is not inside a City item, the game will display the error message "Company at position x;y;z is not inside city area".

u64 prefab_uid The UID of the prefab this item is linked to.
u64 node_uid

The UID of the main node of this item.

This node is linked to the CompanyPoint spawn point type of the prefab model.

u32 node_count
array_u64 node_uids
UIDs of nodes which represent the prefab's spawn points.
array_u32 node_flags

A flag field for each spawn point.

Bits 0-3: The spawn point type.
    1: Parking spot (easy)
    2: Parking spot (medium)
    3: Parking spot (difficult)
    4: Trailer spawn point
Bits 4-7: Sometimes 1111, sometimes 1000. Don't know what this means.

Clone this wiki locally