# ARE v1 (all games except IWD2)

Sorted by order in the file (sort alphabetically)

'Vertex' headers occur only as child entries for other headers: containers ('container_vertex'), regions ('region_vertex') and, four times, doors ('door_open_vertex', 'door_closed_vertex', 'door_impeded_open_vertex', 'door_impeded_closed_vertex. 'Item' headers occur only as child entries for 'container' headers ('container_item').

## Main Header

Standard keys

Key | Type
--- | ---
wed | String (8 bytes)
save_not_allowed | Boolean
tutorial_area | Boolean
dead_magic_zone | Boolean
dream_area | Boolean
player1_can_die | Boolean
rest_not_allowed | Boolean
travel_not_allowed | Boolean
area_north | String (8 bytes)
north_party_required | Boolean
north_party_enabled | Boolean
area_east | String (8 bytes)
east_party_required | Boolean
east_party_enabled | Boolean
area_south | String (8 bytes)
south_party_required | Boolean
south_party_enabled | Boolean
area_west | String (8 bytes)
west_party_required | Boolean
west_party_enabled | Boolean
outdoors | Boolean
has_day_night | Boolean
has_weather | Boolean
is_city | Boolean
is_forest | Boolean
is_dungeon | Boolean
has_extended_night | Boolean
can_rest_outdoors | Boolean
rain_probability | Integer
snow_probability | Integer
fog_probability | Integer
lightning_probability | Integer
overlay_transparency | Integer
area_script | String (8 bytes)
rest_movie_day | String (8 bytes)
rest_movie_night | String (8 bytes)

## Actor (actor)

'animation', if unspecified, is automatically set by SFO to the animation of the creature in 'resref'. For readability, the flags controlling when a creature is active are listed separately.

Special keys

Key | Type
--- | ---
x | Sets these: x_start,x_dest
y | Sets these: y_start,y_dest

Standard keys

Key | Type
--- | ---
name | String (32 bytes)
x_start | Integer
y_start | Integer
x_dest | Integer
y_dest | Integer
cre_not_attached[1] | Boolean
has_seen_party | Boolean
invulnerable | Boolean
override_script_name | Boolean
animation | id lookup (animate)
face | id lookup (dir)
removal_timer[-1] | Integer
wander_distance | Integer
follow_distance | Integer
dialog | String (8 bytes)
script_override | String (8 bytes)
script_general | String (8 bytes)
script_class | String (8 bytes)
script_race | String (8 bytes)
script_default | String (8 bytes)
script_specific | String (8 bytes)
resref | String (8 bytes)

Active-time flags

Key | Type
--- | ---
hour_0[1] | Boolean
hour_1[1] | Boolean
hour_2[1] | Boolean
hour_3[1] | Boolean
hour_4[1] | Boolean
hour_5[1] | Boolean
hour_6[1] | Boolean
hour_7[1] | Boolean
hour_8[1] | Boolean
hour_9[1] | Boolean
hour_10[1] | Boolean
hour_11[1] | Boolean
hour_12[1] | Boolean
hour_13[1] | Boolean
hour_14[1] | Boolean
hour_15[1] | Boolean
hour_16[1] | Boolean
hour_17[1] | Boolean
hour_18[1] | Boolean
hour_19[1] | Boolean
hour_20[1] | Boolean
hour_21[1] | Boolean
hour_22[1] | Boolean
hour_23[1] | Boolean
hours | Integer

## Region (region)

Region headers are info triggers, proximity triggers (i.e. traps), and travel triggers.

Special keys

Key | Type
--- | ---
box | Comma-separated list (box_left,box_right,box_top,box_bottom)
launch | Comma-separated list (launch_x,launch_y)
alt | Comma-separated list (alt_x,alt_y)
pst_talk | Comma-separated list (pst_talk_x,pst_talk_y)

Standard keys

Key | Type
--- | ---
name | String (32 bytes)
type | Lookup (0=Trap, 1=Info, 2=Travel)
box_left | Integer
box_top | Integer
box_right | Integer
box_bottom | Integer
value | Integer
cursor | Integer
destination | String (8 bytes)
entrance | String (32 bytes)
key_required | Boolean
reset_trap | Boolean
party_required | Boolean
detectable | Boolean
npc_activates | Boolean
tutorial_only | Boolean
anyone_activates | Boolean
no_string | Boolean
deactivated | Boolean
party_only | Boolean
alternative_point | Boolean
door_closed | Boolean
info | Strref
detection_difficulty | Integer
removal_difficulty | Integer
is_trapped | Integer
is_detected | Integer
launch_x | Integer
launch_y | Integer
key | String (8 bytes)
script | String (8 bytes)
alt_x | Integer
alt_y | Integer
pst_sound | String (8 bytes)
pst_talk_x | Integer
pst_talk_y | Integer
pst_speaker_name | Strref
pst_dialog | String (8 bytes)

## Spawn Point (spawn_point)

For readability, the flags controlling when a spawn point is active are listed separately.

Standard keys

Key | Type
--- | ---
name | String (32 bytes)
x | Integer
y | Integer
resref_1 | String (8 bytes)
resref_2 | String (8 bytes)
resref_3 | String (8 bytes)
resref_4 | String (8 bytes)
resref_5 | String (8 bytes)
resref_6 | String (8 bytes)
resref_7 | String (8 bytes)
resref_8 | String (8 bytes)
resref_9 | String (8 bytes)
resref_10 | String (8 bytes)
count | Integer
base_number | Integer
rate | Integer
spawn_until_paused | Boolean
disable_after_spawn | Boolean
creature_duration | Integer
wander_distance | Integer
follow_distance | Integer
max_number | Integer
enabled[1] | Integer
probability_day | Integer
probability_night | Integer
frequency | Integer
countdown | Integer
weight_1 | Integer
weight_2 | Integer
weight_3 | Integer
weight_4 | Integer
weight_5 | Integer
weight_6 | Integer
weight_7 | Integer
weight_8 | Integer
weight_9 | Integer
weight_10 | Integer

Active-time flags

Key | Type
--- | ---
hour_0[1] | Boolean
hour_1[1] | Boolean
hour_2[1] | Boolean
hour_3[1] | Boolean
hour_4[1] | Boolean
hour_5[1] | Boolean
hour_6[1] | Boolean
hour_7[1] | Boolean
hour_8[1] | Boolean
hour_9[1] | Boolean
hour_10[1] | Boolean
hour_11[1] | Boolean
hour_12[1] | Boolean
hour_13[1] | Boolean
hour_14[1] | Boolean
hour_15[1] | Boolean
hour_16[1] | Boolean
hour_17[1] | Boolean
hour_18[1] | Boolean
hour_19[1] | Boolean
hour_20[1] | Boolean
hour_21[1] | Boolean
hour_22[1] | Boolean
hour_23[1] | Boolean
hours | Integer

## Entrance (entrance)

Standard keys

Key | Type
--- | ---
name | String (32 bytes)
x | Integer
y | Integer
face | id lookup (dir)

## Container (container)

Special keys

Key | Type
--- | ---
trap_launch | Comma-separated list (trap_launch_x,trap_launch_y)
box | Comma-separated list (box_left,box_right,box_top,box_bottom)

Standard keys

Key | Type
--- | ---
name | String (32 bytes)
x | Integer
y | Integer
type | Lookup (0=Unknown, 1=Bag, 2=Chest, 3=Drawer, 4=Pile, 5=Table, 6=Shelf, 7=Altar, 8=Invisible, 9=Spellbook, 10=Body, 11=Barrel, 12=Crate)
lock_difficulty | Integer
is_locked | Boolean
disable_if_no_owner | Boolean
magical_lock | Boolean
trap_resets | Boolean
remove_only | Boolean
disabled | Boolean
do_not_clear | Boolean
trap_detection_difficulty | Integer
trap_removal_difficulty | Integer
is_trapped | Integer
trap_launch_x | Integer
trap_launch_y | Integer
box_left | Integer
box_top | Integer
box_right | Integer
box_bottom | Integer
script | String (8 bytes)
trigger_range | Integer
owner | String (32 bytes)
key | String (8 bytes)
break_difficulty | Integer
lockpick_string | Strref

## Item (item)

Standard keys

Key | Type
--- | ---
resref | String (8 bytes)
expiration_time | Integer
charges_1[1] | Integer
charges_2 | Integer
charges_3 | Integer
identified | Boolean
unstealable | Boolean
stolen | Boolean
undroppable | Boolean

## Ambient Sounds (ambient)

sound_count is automatically set by SFO to the total number of non-empty sound entries. For readability, the flags controlling when an ambient sound is active are listed separately.

Standard keys

Key | Type
--- | ---
name | String (32 bytes)
x | Integer
y | Integer
radius | Integer
height | Integer
pitch_variance | Integer
volume_variance | Integer
volume[100] | Integer
sound1 | String (8 bytes)
sound2 | String (8 bytes)
sound3 | String (8 bytes)
sound4 | String (8 bytes)
sound5 | String (8 bytes)
sound6 | String (8 bytes)
sound7 | String (8 bytes)
sound8 | String (8 bytes)
sound9 | String (8 bytes)
sound10 | String (8 bytes)
sound_count | Integer
time_base | Integer
time_deviation | Integer
enabled[1] | Boolean
disable_environmental_effects | Boolean
is_global | Boolean
randomize_sounds | Boolean

Active-time flags

Key | Type
--- | ---
hour_0[1] | Boolean
hour_1[1] | Boolean
hour_2[1] | Boolean
hour_3[1] | Boolean
hour_4[1] | Boolean
hour_5[1] | Boolean
hour_6[1] | Boolean
hour_7[1] | Boolean
hour_8[1] | Boolean
hour_9[1] | Boolean
hour_10[1] | Boolean
hour_11[1] | Boolean
hour_12[1] | Boolean
hour_13[1] | Boolean
hour_14[1] | Boolean
hour_15[1] | Boolean
hour_16[1] | Boolean
hour_17[1] | Boolean
hour_18[1] | Boolean
hour_19[1] | Boolean
hour_20[1] | Boolean
hour_21[1] | Boolean
hour_22[1] | Boolean
hour_23[1] | Boolean

## Door (door)

Special keys

Key | Type
--- | ---
trap_launch | Comma-separated list (trap_launch_x,trap_launch_y)
loc | Comma-separated list (loc_x,loc_y)
alt | Comma-separated list (alt_x,alt_y)

Standard keys

Key | Type
--- | ---
name | String (32 bytes)
id | String (8 bytes)
open | Boolean
locked | Boolean
reset_trap | Boolean
trap_detectable | Boolean
broken | Boolean
cannot_close | Boolean
linked | Boolean
hidden | Boolean
found | Boolean
does_not_block_los | Boolean
remove_key | Boolean
ignore_obstacles | Boolean
box_open_left | Integer
box_open_top | Integer
box_open_right | Integer
box_open_bottom | Integer
box_closed_left | Integer
box_closed_top | Integer
box_closed_right | Integer
box_closed_bottom | Integer
hp | Integer
ac | Integer
open_sound | String (8 bytes)
close_sound | String (8 bytes)
cursor_index | Integer
detect_trap_difficulty | Integer
remove_trap_difficulty | Integer
is_trapped | Integer
trap_detected | Integer
trap_launch_x | Integer
trap_launch_y | Integer
key | String (8 bytes)
script | String (8 bytes)
detect_door_difficulty | Integer
lock_difficulty | Integer
loc_x | Integer
loc_y | Integer
alt_x | Integer
alt_y | Integer
lockpick_string | Strref
travel_trigger_name | String (24 bytes)
speaker_name | Strref
speaker_dialog | String (8 bytes)

## Vertex (vertex)

Standard keys

Key | Type
--- | ---
x | Integer
y | Integer

## Animation (animation)

For readability, the flags controlling when an animation is active are listed separately.

Standard keys

Key | Type
--- | ---
name | String (32 bytes)
x | Integer
y | Integer
animation | String (8 bytes)
bam_sequence | Integer
bam_frame | Integer
enabled[1] | Boolean
black_is_transparent | Boolean
self_illumination | Boolean
partial_animation | Boolean
synchronized_draw | Boolean
random_start | Boolean
not_hidden_by_wall | Boolean
disable_on_slow_machines | Boolean
not_cover | Boolean
play_all_frames | Boolean
use_palette_bitmap | Boolean
mirrored | Boolean
hide_in_combat | Boolean
use_wbm | Boolean
draw_stenciled | Boolean
use_pvrz | Boolean
height | Integer
transparency | Integer
start_frame | Integer
loop_probability | Integer
skip_cycles | Integer
palette | String (8 bytes)
width | Integer

Active-time flags

Key | Type
--- | ---
hour_0[1] | Boolean
hour_1[1] | Boolean
hour_2[1] | Boolean
hour_3[1] | Boolean
hour_4[1] | Boolean
hour_5[1] | Boolean
hour_6[1] | Boolean
hour_7[1] | Boolean
hour_8[1] | Boolean
hour_9[1] | Boolean
hour_10[1] | Boolean
hour_11[1] | Boolean
hour_12[1] | Boolean
hour_13[1] | Boolean
hour_14[1] | Boolean
hour_15[1] | Boolean
hour_16[1] | Boolean
hour_17[1] | Boolean
hour_18[1] | Boolean
hour_19[1] | Boolean
hour_20[1] | Boolean
hour_21[1] | Boolean
hour_22[1] | Boolean
hour_23[1] | Boolean

## Song (song)

Standard keys

Key | Type
--- | ---
day_song | Integer
night_song | Integer
win_song | Integer
battle_song | Integer
lose_song | Integer
alt_music_1 | Integer
alt_music_2 | Integer
alt_music_3 | Integer
alt_music_4 | Integer
alt_music_5 | Integer
day_ambient_1 | String (8 bytes)
day_ambient_2 | String (8 bytes)
day_ambient_volume | Integer
night_ambient_1 | String (8 bytes)
night_ambient_2 | String (8 bytes)
night_ambient_volume | Integer
reverb | Integer

## Rest Interruptions (rest_interruption)

spawn_count is automatically set by SFO to the total number of non-empty resrefs.

Standard keys

Key | Type
--- | ---
name | String (32 bytes)
text1 | Strref
text2 | Strref
text3 | Strref
text4 | Strref
text5 | Strref
text6 | Strref
text7 | Strref
text8 | Strref
text9 | Strref
text10 | Strref
resref1 | String (8 bytes)
resref2 | String (8 bytes)
resref3 | String (8 bytes)
resref4 | String (8 bytes)
resref5 | String (8 bytes)
resref6 | String (8 bytes)
resref7 | String (8 bytes)
resref8 | String (8 bytes)
resref9 | String (8 bytes)
resref10 | String (8 bytes)
spawn_count | Integer
difficulty | Integer
removal_time | Integer
wander_distance | Integer
follow_distance | Integer
max_number | Integer
enabled[1] | Integer
probability_day | Integer
probability_night | Integer

## Map Note (mapnote)

Standard keys

Key | Type
--- | ---
x | Integer
y | Integer
text | Strref
strref_loc[1] | Integer
color | Integer
control_id | Integer