bwe
files are known as Mission Environment Script Files
. They are executed
on the mission load of the given island. They contain the script commands to
load objects within the island/mission.
bwe
files are simply plain text commands executed on a line by line basis,
for example:
SET_TOWN_NAME(0, "BW2T_PLACENAMES_NORSECITY_16")
CREATE_VILLAGER_POS("867.77,705.79", "867.77,705.79", "GREEK_HOUSEWIFE", 23)
CREATE_ORE_LODE("780.92,867.86", "Ore Lode Normal", 488, 1000, 5000.000000)
A complete list of plain text commands that can be executed have been extracted from the game binary:
CHEAT_SET_CREATURE
CHEAT_SET_ALIGNMENT
CHEAT_UNLOCK_ITEM
CHEAT_SET_TRIBUTE
SET_STARTUP
KEYCONFIG
CONFIG
LOAD_OLD_CREATURE
OUTPUT_RAND
OUTPUT_ALLOC
OUTPUT_COLLIDE
OUTPUT_CREATURES
OUTPUT_TOWN
OUTPUT_VILLAGERS
PAUSE_GAME
LOAD_CHALLENGES
LOAD_RAW_GAME_SCRIPT
LOAD_GAME_SCRIPT
LOAD_LANDSCAPE
LOAD_FEATURE_SCRIPT
LOAD_TRIBE_DANCE
LOAD_LOCKS
CREATE_CREATURE
HEIGHT_CHANGE
CREATE_CREATURE_FROM_FILE
HELP_TEXT_LAST_LINES_02
HELP_TEXT_LAST_LINES_03
HELP_TEXT_LAST_LINES_01
VERSION
MULTIPLAYER_DEBUG
LOAD_FOR_NET_DEBUG
SAVE_FOR_NET_DEBUG
FLY_BY_FILE
START_CAMERA_POS
SET_LAND_NUMBER
SET_GAME_TICK_TIME
SET_TURNS_PER_YEAR
SET_TIME
SET_DATE
SET_NO_PLAYERS
SET_LAST_OBJECT_SCRIPTID
SET_TOWN_IMPRESSIVENESS
SET_DAY_LENGTH
SET_TOWN_TECH_LEVEL
CREATE_MICROCLIMATE_FROM_FILE
CREATE_MICROCLIMATE
LOAD_PATHS
CREATE_PLANNED_PATH_FROM_FILE
CREATE_PATH_FROM_FILE
CREATE_PLANNED_WALL_SEGMENT
CREATE_PLANNED_WALL_BUILDING
CREATE_PLANNED_WALL_CONTAINER
CREATE_WALL_SEGMENT
CREATE_WALL_BUILDING
CREATE_WALL_CONTAINER
LOAD_WALLS
SET_FOREST_NAME
SET_TOWN_NAME
CREATE_ORE_LODE
CREATE_BIG_BUILDING
SET_LOST_TOWN_SCALE
MAKE_LAST_OBJECT_ARTIFACT
SET_NIGHTTIME
EDIT_LEVEL
ADD_GAME_MESSAGE_LINE
START_GAME_MESSAGE
SET_TOWN_BALANCE_BELIEF_SCALE
SET_PLAYER_INFLUENCE_MULTIPLIER
SET_A_TOWNS_INFLUENCE_MULTIPLIER
SET_TOWN_INFLUENCE_MULTIPLIER
CREATE_DRINK_WAYPOINT
SET_LAND_BALANCE
SET_GLOBAL_LAND_BALANCE
CREATE_SPELL_DISPENSER
CREATE_NEW_TOWN_FIELD
FIRE_FLY_SPELL_REWARD_PROB
CREATE_ANIMATED_STATIC
TOWN_DESIRE_BOOST
CREATE_FIRE_FLY
CREATE_ONE_SHOT_SPELL_PU
CREATE_ONE_SHOT_SPELL
SET_DEFAULT_SOUND_SURFACE
CREATE_STREET_LIGHT
CREATE_STREET_LANTERN
SET_INTERACT_DESIRE
CREATE_NEW_FEATURE
CREATE_BASE_WITH_ANGLE
CREATE_BASE
CREATE_BONFIRE
CREATE_ARENA
CREATE_STREAM_POINT
CREATE_WATERFALL
CREATE_STREAM
BRUSH_SIZE
CREATE_WEATHER_STORM
CREATE_WEATHER_CLIMATE_WIND
CREATE_WEATHER_CLIMATE_TEMP
CREATE_WEATHER_CLIMATE_RAIN
CREATE_WEATHER_CLIMATE
CREATE_INFLUENCE_RING
CREATE_NEW_BIG_FOREST
CREATE_BIG_FOREST
CREATE_FURNITURE
TOWN_NEEDS_POS
CREATE_AREA
CREATE_FLOCK
COUNTRY_CHANGE
CREATE_SCAFFOLD
CREATE_DEAD_TREE
CREATE_MOBILESTATIC
CREATE_MOBILE_STATIC
CREATE_MOBILE_OBJECT
CREATE_TOWN_TEMPORARY_POTS
CREATE_POT
CREATE_PITCH
CREATE_FLOWERS
CREATE_NAMED_FEATURE
CREATE_FEATURE
CREATE_TOWN_FISH_FARM
CREATE_FISH_FARM
CREATE_TOWN_FIELD
CREATE_FIELD
CREATE_PLANNED_TREE
CREATE_NEW_TREE
CREATE_TREE
CREATE_FOREST
CREATE_NEW_ANIMAL
CREATE_ANIMAL
CREATE_PLANNED_WORSHIP_SITE
CREATE_WORSHIP_SITE
CREATE_CREATURE_PEN
CREATE_PLANNED_CITADEL
CREATE_CITADEL
CREATE_VILLAGER_POS
CREATE_SPECIAL_TOWN_VILLAGER
CREATE_TOWN_VILLAGER
CREATE_VILLAGER
CREATE_PLANNED_SPELL_ICON
CREATE_SPELL_ICON
CREATE_TOWN_CENTRE_SPELL_ICON
CREATE_NEW_TOWN_SPELL
CREATE_TOWN_SPELL
CREATE_TOWN_CENTRE
CREATE_PARTBUILT_EPIC_WONDER
CREATE_PLANNED_EPIC_WONDER_IN_GROUP
CREATE_PLANNED_EPIC_WONDER
CREATE_EPIC_WONDER
CREATE_PARTBUILT_EMBELLISHMENT
CREATE_PLANNED_EMBELLISHMENT_IN_GROUP
CREATE_PLANNED_EMBELLISHMENT
CREATE_EMBELLISHMENT
CREATE_PLANNED_BUILDING_IN_GROUP
CREATE_PLANNED_BUILDING
CREATE_BUILDING
CREATE_PARTBUILT_ABODE
CREATE_PLANNED_ABODE_IN_GROUP
CREATE_PLANNED_ABODE
CREATE_ABODE
SET_TOWN_CONGREGATION_POS
SET_TOWN_UNINHABITABLE
SET_TOWN_BELIEF_CAP
SET_TOWN_BELIEF
CREATE_TOWN
CREATE_PATH