pub struct Are {Show 81 fields
pub unused_id: i32,
pub creator_id: i32,
pub version: u32,
pub tag: String,
pub name: GffLocalizedString,
pub comment: String,
pub alpha_test: f32,
pub camera_style: i32,
pub default_envmap: ResRef,
pub restrict_mode: u8,
pub grass_texture: ResRef,
pub grass_density: f32,
pub grass_size: f32,
pub grass_prob_ll: f32,
pub grass_prob_lr: f32,
pub grass_prob_ul: f32,
pub grass_prob_ur: f32,
pub fog_enabled: bool,
pub fog_near: f32,
pub fog_far: f32,
pub shadows: bool,
pub shadow_opacity: u8,
pub wind_power: i32,
pub unescapable: bool,
pub disable_transit: bool,
pub stealth_xp: bool,
pub stealth_xp_loss: u32,
pub stealth_xp_max: u32,
pub stealth_xp_current: u32,
pub on_enter: ResRef,
pub on_exit: ResRef,
pub on_heartbeat: ResRef,
pub on_user_defined: ResRef,
pub flags: u32,
pub loadscreen_id: u16,
pub chance_rain: i32,
pub chance_snow: i32,
pub chance_lightning: i32,
pub chance_fog: i32,
pub mod_spot_check: i32,
pub mod_listen_check: i32,
pub moon_ambient_color: u32,
pub moon_diffuse_color: u32,
pub moon_fog_enabled: bool,
pub moon_fog_near: f32,
pub moon_fog_far: f32,
pub moon_fog_color: u32,
pub moon_shadows: bool,
pub sun_ambient_color: u32,
pub sun_diffuse_color: u32,
pub dynamic_ambient_color: u32,
pub sun_fog_color: u32,
pub grass_ambient_color: u32,
pub grass_diffuse_color: u32,
pub grass_emissive_color: u32,
pub dirty_argb_one: i32,
pub dirty_size_one: i32,
pub dirty_formula_one: i32,
pub dirty_func_one: i32,
pub dirty_argb_two: i32,
pub dirty_size_two: i32,
pub dirty_formula_two: i32,
pub dirty_func_two: i32,
pub dirty_argb_three: i32,
pub dirty_size_three: i32,
pub dirty_formula_three: i32,
pub dirty_func_three: i32,
pub is_night: bool,
pub lighting_scheme: u8,
pub day_night_cycle: u8,
pub no_rest: bool,
pub no_hang_back: bool,
pub player_only: bool,
pub player_vs_player: u8,
pub trans_pending: u8,
pub trans_pend_next_id: u8,
pub trans_pend_curr_id: u8,
pub map: AreMap,
pub rooms: Vec<AreRoom>,
pub expansion_list: Vec<AreExpansionEntry>,
pub mini_game: Option<AreMiniGame>,
}Expand description
Typed ARE model built from/to Gff data.
Fields§
§unused_id: i32Legacy area id (ID).
creator_id: i32Legacy creator id (Creator_ID).
version: u32Area format version (Version).
tag: StringArea tag (Tag).
name: GffLocalizedStringLocalized area name (Name).
comment: StringToolset/comment field (Comments).
alpha_test: f32Alpha test threshold (AlphaTest).
camera_style: i32Camera style ID (CameraStyle).
default_envmap: ResRefDefault environment map resref (DefaultEnvMap).
restrict_mode: u8Restrict mode (RestrictMode) - triggers UnstealthParty on non-zero change.
grass_texture: ResRefGrass texture resref (Grass_TexName).
grass_density: f32Grass density (Grass_Density).
grass_size: f32Grass quad size (Grass_QuadSize).
grass_prob_ll: f32Grass probability lower-left (Grass_Prob_LL).
grass_prob_lr: f32Grass probability lower-right (Grass_Prob_LR).
grass_prob_ul: f32Grass probability upper-left (Grass_Prob_UL).
grass_prob_ur: f32Grass probability upper-right (Grass_Prob_UR).
fog_enabled: boolSun fog enabled (SunFogOn).
fog_near: f32Sun fog near distance (SunFogNear).
fog_far: f32Sun fog far distance (SunFogFar).
shadows: boolSun shadows enabled (SunShadows).
shadow_opacity: u8Shadow opacity (ShadowOpacity).
wind_power: i32Wind power (WindPower).
unescapable: boolUnescapable area flag (Unescapable).
disable_transit: boolDisable transit flag (DisableTransit).
stealth_xp: boolStealth XP enabled (StealthXPEnabled).
stealth_xp_loss: u32Stealth XP loss (StealthXPLoss).
stealth_xp_max: u32Stealth XP max (StealthXPMax).
stealth_xp_current: u32Current stealth XP counter (StealthXPCurrent, save-state).
on_enter: ResRefEnter script resref (OnEnter).
on_exit: ResRefExit script resref (OnExit).
on_heartbeat: ResRefHeartbeat script resref (OnHeartbeat).
on_user_defined: ResRefUser-defined event script resref (OnUserDefined).
flags: u32Area flags (Flags).
loadscreen_id: u16Load screen ID (LoadScreenID).
chance_rain: i32Chance of rain (ChanceRain, K2).
chance_snow: i32Chance of snow (ChanceSnow, K2).
chance_lightning: i32Chance of lightning (ChanceLightning, K2).
chance_fog: i32Chance of fog (ChanceFog).
mod_spot_check: i32Mod spot-check modifier (ModSpotCheck).
mod_listen_check: i32Mod listen-check modifier (ModListenCheck).
moon_ambient_color: u32Moon ambient color (MoonAmbientColor).
moon_diffuse_color: u32Moon diffuse color (MoonDiffuseColor).
moon_fog_enabled: boolMoon fog enabled (MoonFogOn).
moon_fog_near: f32Moon fog near distance (MoonFogNear).
moon_fog_far: f32Moon fog far distance (MoonFogFar).
moon_fog_color: u32Moon fog color (MoonFogColor).
moon_shadows: boolMoon shadows enabled (MoonShadows).
sun_ambient_color: u32Sun ambient color (SunAmbientColor).
sun_diffuse_color: u32Sun diffuse color (SunDiffuseColor).
dynamic_ambient_color: u32Dynamic ambient color (DynAmbientColor).
sun_fog_color: u32Sun fog color (SunFogColor).
grass_ambient_color: u32Grass ambient color (Grass_Ambient).
grass_diffuse_color: u32Grass diffuse color (Grass_Diffuse).
grass_emissive_color: u32Grass emissive color (Grass_Emissive).
dirty_argb_one: i32Dirty overlay color one (DirtyARGBOne).
dirty_size_one: i32Dirty overlay size one (DirtySizeOne).
dirty_formula_one: i32Dirty overlay formula one (DirtyFormulaOne).
dirty_func_one: i32Dirty overlay func one (DirtyFuncOne).
dirty_argb_two: i32Dirty overlay color two (DirtyARGBTwo).
dirty_size_two: i32Dirty overlay size two (DirtySizeTwo).
dirty_formula_two: i32Dirty overlay formula two (DirtyFormulaTwo).
dirty_func_two: i32Dirty overlay func two (DirtyFuncTwo).
dirty_argb_three: i32Dirty overlay color three (DirtyARGBThree).
dirty_size_three: i32Dirty overlay size three (DirtySizeThree).
dirty_formula_three: i32Dirty overlay formula three (DirtyFormulaThre).
dirty_func_three: i32Dirty overlay func three (DirtyFuncThree).
is_night: boolIs-night flag (IsNight).
lighting_scheme: u8Lighting scheme (LightingScheme).
day_night_cycle: u8Day/night cycle flag (DayNightCycle).
no_rest: boolNo-rest flag (NoRest).
no_hang_back: boolNo-hang-back flag (NoHangBack).
player_only: boolPlayer-only flag (PlayerOnly).
player_vs_player: u8Player-vs-player mode (PlayerVsPlayer).
trans_pending: u8Transition pending flag (TransPending, save-state).
trans_pend_next_id: u8Transition pending next ID (TransPendNextID, save-state).
trans_pend_curr_id: u8Transition pending current ID (TransPendCurrID, save-state).
map: AreMapEmbedded map metadata (Map struct).
rooms: Vec<AreRoom>Embedded room metadata (Rooms list).
expansion_list: Vec<AreExpansionEntry>Area expansion entries (Expansion_List list).
mini_game: Option<AreMiniGame>MiniGame struct (MiniGame).