pub struct Ute {Show 43 fields
pub template_resref: ResRef,
pub tag: String,
pub name: GffLocalizedString,
pub comment: String,
pub palette_id: u8,
pub active: bool,
pub reset: bool,
pub reset_time: i32,
pub respawns: i32,
pub spawn_option: i32,
pub max_creatures: i32,
pub rec_creatures: i32,
pub player_only: bool,
pub faction_id: u32,
pub difficulty_index: i32,
pub difficulty: i32,
pub x_position: f32,
pub y_position: f32,
pub z_position: f32,
pub on_entered: ResRef,
pub on_exit: ResRef,
pub on_heartbeat: ResRef,
pub on_exhausted: ResRef,
pub on_user_defined: ResRef,
pub number_spawned: i32,
pub heartbeat_day: u32,
pub heartbeat_time: u32,
pub last_spawn_day: u32,
pub last_spawn_time: u32,
pub last_entered: u32,
pub last_left: u32,
pub started: bool,
pub exhausted: bool,
pub current_spawns: i32,
pub custom_script_id: i32,
pub area_list_max_size: i32,
pub spawn_pool_active: f32,
pub area_points: f32,
pub creatures: Vec<UteCreature>,
pub geometry: Vec<UteGeometryVertex>,
pub spawn_points: Vec<UteSpawnPoint>,
pub area_list: Vec<UteAreaEntry>,
pub spawn_list: Vec<UteSpawnEntry>,
}Expand description
Typed UTE model built from/to Gff data.
Fields§
§template_resref: ResRefEncounter template resref (TemplateResRef).
tag: StringEncounter tag (Tag).
name: GffLocalizedStringLocalized encounter name (LocalizedName).
comment: StringToolset comment (Comment).
palette_id: u8Palette ID (PaletteID).
active: boolWhether the encounter is active (Active).
reset: boolWhether the encounter resets (Reset).
reset_time: i32Reset time in seconds (ResetTime).
respawns: i32Number of respawns (Respawns).
spawn_option: i32Spawn option flag (SpawnOption).
max_creatures: i32Maximum creatures (MaxCreatures).
rec_creatures: i32Recommended creatures (RecCreatures).
player_only: boolPlayer-only flag (PlayerOnly).
faction_id: u32Faction identifier (Faction).
difficulty_index: i32Difficulty index (DifficultyIndex).
difficulty: i32Difficulty value (Difficulty).
x_position: f32X position in area (XPosition).
y_position: f32Y position in area (YPosition).
z_position: f32Z position in area (ZPosition).
on_entered: ResRefOn-entered script (OnEntered).
on_exit: ResRefOn-exit script (OnExit).
on_heartbeat: ResRefOn-heartbeat script (OnHeartbeat).
on_exhausted: ResRefOn-exhausted script (OnExhausted).
on_user_defined: ResRefOn-user-defined script (OnUserDefined).
number_spawned: i32Number of creatures spawned so far (NumberSpawned).
heartbeat_day: u32Heartbeat day counter (HeartbeatDay).
heartbeat_time: u32Heartbeat time counter (HeartbeatTime).
last_spawn_day: u32Day of last spawn (LastSpawnDay).
last_spawn_time: u32Time of last spawn (LastSpawnTime).
last_entered: u32Last-entered object ID (LastEntered).
last_left: u32Last-left object ID (LastLeft).
started: boolWhether the encounter has started (Started).
exhausted: boolWhether the encounter is exhausted (Exhausted).
current_spawns: i32Current live spawn count (CurrentSpawns).
custom_script_id: i32Custom script identifier (CustomScriptId).
area_list_max_size: i32Maximum size of the area list (AreaListMaxSize).
spawn_pool_active: f32Active spawn pool value (SpawnPoolActive).
area_points: f32Area points value (AreaPoints).
creatures: Vec<UteCreature>Creatures that can spawn in this encounter (CreatureList).
geometry: Vec<UteGeometryVertex>Boundary geometry vertices (Geometry).
spawn_points: Vec<UteSpawnPoint>Spawn point positions (SpawnPointList).
area_list: Vec<UteAreaEntry>Area tracking entries (AreaList).
spawn_list: Vec<UteSpawnEntry>Spawn resource entries (SpawnList).