Variables Overview

  • area_name - The name that will appear on the save file. It is also used to reference the area in certain instances.
  • area_label_frame - The title graphic in the game’s SWF that is displayed when the area is entered.
  • area_type - What sub-type of area is it, defines certain properties of the level (e.g. dark levels use tumors as lives).
  • tile_graphics - The graphical tileset to use, changes details about the visuals of the area’s layers.
  • overlay_graphics - The graphics that are displayed on top of the active layer (bricks, rocks, bones, etc.).
  • background_graphics - The background image to use for the area.
  • foreground_graphics - The foreground image to use for the area.
  • midfx_graphics - ???
  • midfx_layer - ???
  • fx_shader - The shader to apply certain visual effects in the area.
  • fx_shader_mid - ???
  • shader_param - Controls the intensity of the mid_fx layer (from 0 to 1, decimal numbers valid).
  • palette - The row of the palette.png to use for rendering graphics. (Palette rows start couting from 0, not 1).
  • music - The music to play whilst in the area.
  • ambience - The ambient background noise that will be played in the area.
  • music_volume - The volume the area’s music should be played at.
  • ambience_volume - The volume the area’s ambience should be played at.
  • stop_previous_music - A flag stating whether the previous music track should stop or continue playing silently.
  • tile_particle_1 (to 5) - A particle effect, defined in particles.txt, to assign to the two particle tiles.
  • global_particle_1 (to ???) - A particle effect, defined in particles.txt, to spawn globally throughout the area.
  • npc_1 (to 3) - The NPCs, defined in npcs.txt, to assign to the three NPC tiles used in the level.
  • decoration_1 (to ???) - The decorations to assign to the ??? decoration tiles used in the level.
  • art_alts - Alternate sprite graphics to use on entities that allow for alts.
  • toxic_timer - Controls how long toxic clouds and water will take to kill the player in seconds.
  • cart_intro_png - The filename from the textures\ folder to use as the cartridge area’s intro graphic.
  • cart_intro_palette - The palette to use when rendering the cartridge intro graphic.