Config documentation

This article is an unfinished work in progress or contains transferred information that needs to be rewritten or reformatted to fit our standards. Please excuse the mess and do not mark for deletion.

This is an extremely WIP page to document the entirety of the Main LEGO Config File, Lego.cfg, for the Windows version of LEGO Rock Raiders.

Definitions

Glossary of terms, units and measurements for certain types of properties.

Measurement Units

Block
The in-game tiles used to form levels. The content of each block is defined by the map files and the object list file. All default levels define a block as 40-by-40 distance units.
Distance
Equivalent to distance units found in modeling programs such as LightWave. By default, this is equal to 0.4 studs/3.2 millimeters.
Time Ticks
Time defined by in-game ticks. There are 25 ticks in each second. Example: 1500 = 60 Seconds.
Time Secs
Time defined by seconds. Seconds can be written as a decimal to indicate milliseconds: Example 1.5 = 1 Second, 500 milliseconds.

Value Types

String/Denoted Text
Text intended to display in-game. Text displayed in-game requires underscores _ in the place of spaces, Such_As_This. Text written with spaces instead of underscores will cause the game to crash while loading.
Path
Link to a local folder or file relative to the data location of the game. Folder paths do not require final backslash \. Spaces in the path must be represented by an underscore _ character.
Example value: Levels\GameLevels\Level01
Integer
Value must be a whole, non-decimal number. Examples: 1, 105, -2000.
Boolean
Value can only be either TRUE or FALSE.
Yes/No
Value can only be either YES or NO.
Identifier
This is a constant(fixed value) which refers to in-game objects or actions. Check for identifier lists to see what can be used here.


Main {}

  • TextureUsage – This is a major memory pool in the game, denoting the maximum allowed number of textures allowed present in-game at a time. The default value is 3145728, which allows on the order of 60 Rock Raiders to be teleported at a time (depending on the number of other objects present, though Rock Raiders are the most taxing on the memory). Testing has revealed that changing the value of TextureUsage can cause big changes to the game. Setting its value very high allows for many more objects to be teleported. For instance, raising this to 9567812 allows on the order of 120 Rock Raiders to be teleported at a time. Setting it very low seems to make the game lag a lot, and, everything looks weird. Stability of the game in general when changing this value varies between computers of different specifications. The maximum value of this property is ‭58804224.

These properties control the credits:

  • CreditsTextFile – Recalls the name and location of the credits file.
  • CreditsBackAVI – Recalls the name and location of the looping stars FMV background that plays during the credits.

These properties control the in-game loading screens:

  • LoadScreen – Recalls the name and path of the loading screen image.
  • ShutdownScreen – Recalls the name and path of the shutdown screen image. However, this screen does not get used when quitting the game, and there appears to be no way to re-enable it, making this property useless.
  • ProgressBar – Recalls the name and path of the colored bar image displayed on the loading screen to denote loading progress at the start of the game and of levels.
  • ProgressWindow – Sets the X and Y coordinates of the progress bar from its top-left corner, followed by its width and height. For example, the default setting is R:142,450,353,9.
  • LoadingText – Denotes the text displayed over the progress bar.

These properties control the folders for shared files:

  • SharedTextures – Recalls the location of the folder for textures that are shared between multiple different objects.
  • SharedObjects – Recalls the location of the folder for models that are shared between multiple different objects.

These properties control the buttons for the briefing and message panels at a 640x480 resolution. These properties can be copied and set to 800x600 and/or 1024x768.

  • NextButton640x480 – Recalls the location of the texture for the next button.
  • NextButtonPos640x480 – Sets the X and Y coordinates of the next button on the message panel.
  • BackButton640x480 – Recalls the location of the texture for the repeat message button. This button is only used on the message panel.
  • BackButtonPos640x480 – Sets the X and Y coordinates of the repeat message button on the message panel.
  • BackArrow – Recalls the location of the texture for the back arrow. This button is only used on the briefing panel.

These properties control wall pro-meshes:

  • WallProMeshes – Determines whether walls use pro-meshes in eye view and shoulder view. Can be set to TRUE or FALSE. If disabled, walls will appear flat like in top view.
  • DynamicPM – Determines whether dynamic ProMeshes are used. what are dynamic meshes, changing this seems to do nothing
  • HPBlocksDetermines the distance meshes are used? no clue, the numbers don't match up

These properties control building upgrades:

  • BuildingUpgradeCostOre – Denotes how much ore is needed to upgrade a building.
  • BuildingUpgradeCostStuds – Denotes how many building studs are needed to upgrade a building.


These properties control music and sound:

  • MusicOn – Determines whether the game starts with the soundtrack music turned on. Can be set to TRUE or FALSE. By default, this property is set to false in Lego* {}, but appears again at the very end of the config file in the LegoRR {} "settings for the final version" section, where it is set to true.
  • SoundOn – Determines whether the game starts with sound turned on. Can be set to TRUE or FALSE
  • CDStartTrack – Denotes the track number on the CD to start playing the soundtrack from when the music is activated. By default, this is set to 2 because the first track of the LEGO Rock Raiders CD contains the game's installer data, AVI movies, DirectX installer data, and in some versions the instruction manual. If a different game's CD is used for the soundtrack, this property should remain unchanged; if a music CD is used for the soundtrack, it should be set to 1.
  • CDTracks – Denotes the number of music tracks on the CD to play.


These properties control energy crystal colors:

This property controls tool tip color:

  • ToolTipRGB – Denotes the RGB color of tool tips that display when mousing over objects and interface. Default color is dark green .

These properties control camera movement:

  • MinDist – Denotes the minimum distance in distance units that the top view camera can zoom to. This property can be set to negative values, though zooming in that far makes it difficult to see anything or control the camera.
  • MaxDist – Denotes the maximum distance in distance units that the top view camera can zoom to.
  • MinTilt – Denotes the minimum tilt in degrees (perpendicular to the ground; 0 points straight down and 90 points horizontally) that the camera can rotate to.
  • MaxTilt – Denotes the maximum tilt in degrees that the camera can rotate to.
  • CameraSpeed – Denotes the maximum speed that the top view camera can pan. unknown units[verify]
  • CameraAcceleration – Denotes how quickly the top view camera can accelerate when panned. unknown units[verify]
  • CameraDropOff – Denotes how quickly the top view camera can decelerate when panning stops. unknown units[verify]
  • MouseScrollBorder – Denotes how many pixels away from the edge of the game window the mouse pointer must be for the top view camera to start panning.
  • MouseScrollIndent – Denotes how close in blocks to the edge of the map the top view camera can pan. 1 is to the edge of the map, 0 is one block past the edge. Setting this property to a negative value will lock the camera, as will setting it to a value larger than half of a level's dimensions.

These properties control model rendering:

  • TVClipDist – Denotes the radius in distance units that the world renders in top view.
  • FPClipBlocks – Denotes the radius in blocks that the world renders in eye view. Setting this value to approximately 18 or higher may cause the game to crash when looking down long tunnels.
  • HighPolyRange – Denotes the maximum range in distance units within high polygon models are used.
  • MedPolyRange – Denotes the maximum range in distance units within medium polygon models are used.

These properties control Dynamite and Sonic Blaster ranges:

  • DynamiteDamageRadius – Denotes the radius in distance units within which objects are damaged by a Dynamite explosion.
  • DynamiteMaxDamage – Denotes the maximum amount of damage that a point-blank Dynamite explosion delivers to an object.
  • DynamiteWakeRadius – Denotes the radius in distance units within which sleeping creatures will be woken up by a Dynamite explosion.
  • BirdScarerRadius – Denotes the radius in distance units in which creatures will be scared by a Sonic Blaster. Setting this value very high can crash the game

These properties control opening sequences and logos:

  • DontPlayAvis – Determines whether or not FMV sequences are played. Can be set to TRUE or FALSE.
  • RRAvi – Recalls the name and path of the intro FMV sequence that plays when starting up the game.
  • LegoAvi – Recalls the name and path of the LEGO Media International FMV sequence that plays when starting up the game.
  • DDIAvi – Recalls the name and path of the Data Design Interactive FMV sequence that plays when starting up the game. Unused by default.
  • DDILogo – Recalls the name and path of the Data Design Interactive image that displays when starting up the game.
  • DDILogoTime – Denotes the length of time in seconds that the DDILogo image displays.
  • LMILogo – Recalls the name and path of the LEGO Media International image that displays when starting up the game. Unused by default.
  • LMILogoTime – Denotes the length of time in seconds that the LMILogo image displays. Unused by default.
  • Exclusive to the Japanese version of the game:
    • eidos – Recalls the name and path of the Eidos Interactive sequence that plays when starting up the game.
    • EidosLogo – Recalls the name and path of the Eidos Interactive image that displays when starting up the game.
    • EIDOSLogoTime – Denotes the length of time in seconds that the EidosLogo image displays.
    • LegoLogo – Recalls the name and path of the LEGO Media International image that displays when starting up the game. The image is identical to the unused LMILogo image.
    • LEGOLogoTime – Denotes the length of time in seconds that the LegoLogo image displays.

These properties control miscellaneous functions:

  • TextPauseTime – Denotes the length of time in seconds that text messages appear in-game on the message panel after the message's streamed sound has stopped playing.
  • DisplayAdvisor – Determines whether Chief's model is displayed. Can be set to TRUE or FALSE.
  • OnlyBuildOnPaths – Determines whether buildings need to be built next to Power Paths. Can be set to TRUE or FALSE, but seems to default to TRUE no matter what it's set to.[verify]
  • Version – Displays the version of the game in the bottom-right corner of the main menu, level select, and pause menu when the -showversion parameter is used. Default version is denoted as V.0.121. The 0 stands for platform (in this case PC) while .000 was used for the versioning. This was incremented with each version denoting beta or "tween" builds.[1]

Dummy properties that are not defined in the executable, and thus do not work:

  • DumpFile – Was likely meant to recall the name and path of the dump file where the game would output crash logs.
  • DynamiteRadius – Was likely a generic radius for Dynamite effects that was replaced by several more complex properties.


Dialog {}

Reward {}

Menu {}

HelpWindow {}

ToolTipInfo {}

ToolNames {}

These properties define the in-game titles of the different types of Rock Raider tools.

Property Format

<id>	<title>

Property Options

id [indentifier]
Tool Type identifier. See list of Tool Type identifiers below.
title [string]
Title of the tool while in-game.

Usage Example

LegoObject_ToolType_Drill		Drill

Tool Type Identifiers

LegoObject_ToolType_Drill Drill
LegoObject_ToolType_Spade Shovel
LegoObject_ToolType_Hammer Hammer
LegoObject_ToolType_Spanner Spanner
LegoObject_ToolType_Laser Laser Beam
LegoObject_ToolType_PusherGun Pusher Beam
LegoObject_ToolType_BirdScarer Sonic Blaster
LegoObject_ToolType_FreezerGun Freezer Beam

SurfaceTypeDescriptions {}

This section defines the names of surface types. All properties in this section denote the name displayed in tool tips when mousing over a surface, followed by the sound effect that plays when mousing over, with a comma used to separate the two definitions. Properties are set up in this format:

Lego_SurfaceType_<Type>		<Denoted_Name>,<SurfaceSFX_Type>

Where <Denoted_Name> is the display name in denoted text, and <SurfaceSFX_Type> is the property in the Samples {} section to be used as the spoken name.

The following surface types are defined:

  • Lego_SurfaceType_Tunnel – Ground
  • Lego_SurfaceType_Immovable – Solid Rock
  • Lego_SurfaceType_Hard – Hard Rock
  • Lego_SurfaceType_Medium – Loose Rock
  • Lego_SurfaceType_Loose – Dirt
  • Lego_SurfaceType_Soil – Soil (not usable)
  • Lego_SurfaceType_Lava – Lava
  • Lego_SurfaceType_Water – An unused form of water that displays as a blue sheet floating at the top of the wall. Empty tiles next to it will cause it to sink down to the ground, though it seems to behave differently in eye and shoulder view. It was possibly meant for some sort of flooding mechanic, but was never finished.
  • Lego_SurfaceType_OreSeam – Ore Seam
  • Lego_SurfaceType_Lake – Water
  • Lego_SurfaceType_CrystalSeam – Energy Crystal Seam
  • Lego_SurfaceType_RechargeSeam – Recharge Seam
  • Lego_SurfaceType_Rubble – Rubble
  • Lego_SurfaceType_Reinforcement – Reinforced Wall
  • Lego_SurfaceType_Path – Power Path
  • Lego_SurfaceType_SlugHole – Slimy Slug Hole
  • Lego_SurfaceType_Undiscovered – Undiscovered Cavern
  • Lego_SurfaceType_Cavern – Cavern Floor (Radar only)

If no name is denoted for a surface, the message "Need config for surface type." will instead display when the surface is moused over.

ObjInfo {}

These properties adjust the UI position of health bars, hunger images, upgrade icon positions and thought bubbles that appear above game objects.

LightEffects {}

Pointers {}

InterfaceImages {}

InterfaceBuildImages {}

InterfaceSurroundImages {}

PriorityImages {}

These properties specify the names and image file paths of the configurable AI priorities. The first entry in each line is the priority name, followed by the name displayed in the priority panel tooltips, and the paths to the normal, pressed, and disabled image files.

Property Format

<id>	<title><|sfx>:<default image>:<pressed image>:<disabled image>

Property Options

id [indentifier]
Priority identifier. See list of priority identifiers below.
title [string] | sfx [indentifier] (optional)
Title of priority image while in-game. A sound effect can be optionally added or omitted.
default image [path]
File path to an image in a default state.
pressed image [path]
File path to an image in a pressed state.
disabled image [path] (optional)
File path to an image in a disabled state.

Usage Example

AI_Priority_Train	Train_Rock_Raider:Interface\Menus\TrainAs.bmp:Interface\Menus\PTrainAs.bmp:Interface\Menus\NTrainAs.bmp

Priority Identifiers

AI_Priority_AttackObject Unknown
AI_Priority_AttackPath Unknown
AI_Priority_AttackRockMonster Unknown
AI_Priority_Barrier Priority for Rock Raiders collecting construction barriers. This takes precedence over other priorities regardless of order.
AI_Priority_BuildPath Priority for Rock Raiders building power paths. Unfortunately, this only works halfway by regulating the completion of the power path; Rock Raiders will still place ore on the building site regardless of whether or not the priority is disabled.
AI_Priority_Congregate Unknown
AI_Priority_Construction Priority for Rock Raiders constructing buildings. This priority is enabled by default but it does not actually affect anything for some reason.
AI_Priority_Clearing Priority for Rock Raiders clearing rubble. This priority is enabled by default.
AI_Priority_Crystal Priority for Rock Raiders collecting energy crystals. This priority is enabled by default.
AI_Priority_DefaultCollect Unknown
AI_Priority_Depart Unknown
AI_Priority_Destruction Priority for Rock Raiders mining walls. Its importance only affects destroying walls with dynamite; drilling walls takes precedence over all other priorities no matter what. This priority is enabled by default.
AI_Priority_FindLoad Unknown
AI_Priority_Gather Unknown
AI_Priority_GetIn Priority for Rock Raiders getting in vehicles (and training to be able to use a vehicle if they are not already). This priority is enabled by default.
AI_Priority_HealthLow Unknown
AI_Priority_Ore Priority for Rock Raiders collecting ore. This priority is enabled by default.
AI_Priority_Punch Unknown
AI_Priority_Recharge Priority for Rock Raiders recharging drained energy crystals. This priority is enabled by default.
AI_Priority_Refining Unknown
AI_Priority_Reinforce Priority for Rock Raiders reinforcing walls. This priority is enabled by default.
AI_Priority_Repair Priority for Rock Raiders trained as Engineers repairing damaged buildings. This priority is enabled by default.
AI_Priority_Request Unknown
AI_Priority_Steal Unknown
AI_Priority_Storage Unknown
AI_Priority_Upgrade Unknown
AI_Priority_UpgradeBuilding Unknown
AI_Priority_Train Defunct. Present only during development.
AI_Priority_GetTool Defunct. Present only during development.

PrioritiesImagePositions {}

This section defines the slot locations for the priority buttons inside the priority panel.

Property Format

<index>		<x position>,<y position>

Property Options

index [positive integer]
Button slot index. Begins at 1 and increments for each additional button slot.
x position [integer]
The horizontal position of the button. This number is relative to the horizontal position of the priority panel.
y position [integer]
The verticle position of the button. This number is relative to the vertical position of the priority panel.

Usage Example

1			41,26

MiscObjects {}

This section defines the paths of models for miscellaneous game objects. This section cannot be expanded to add additional objects.

Property Format

<object id>		<model folder>

Property Options

object id [identifier]
Miscellaneous object identifier. See list of miscellaneous object identifiers below.
model folder[path]
Path to the folder containing the object's model.

Example Usage

Boulder		MiscAnims\Boulders\SmallBoulder

Miscellaneous Object Identifiers
Editor Note - Add id's to table and write what each object model is for, some are self-explanatory... but oh well.

Boulder ?
Pusher ?
  • Freezer MiscAnims\Effects\RD_Ice_weap
  • BoulderExplode MiscAnims\Effects\Rock_Explo
  • BoulderExplodeIce MiscAnims\Effects\Ice_Explo
  • LaserShot MiscAnims\Effects\RD_Laser_Weap
  • SmashPath MiscAnims\Effects\Concrete_Explo
  • Crystal MiscAnims\Crystal\VLP_GreenCrystal
  • Dynamite MiscAnims\Dynamite
  • Ore MiscAnims\Ore\Ore1st
  • ProcessedOre MiscAnims\Brick\2x2brick
  • Barrier MiscAnims\Barrier
  • Explosion MiscAnims\Effects\Mockup_explode3
  • ElectricFence Buildings\E-Fence\E-Fence4
  • ElectricFenceStud MiscAnims\Brick\SingleStud_ON
  • ShortElectricFenceBeam Buildings\E-Fence\EFbeam
  • LongElectricFenceBeam Buildings\E-Fence\EFlongbeam
  • SpiderWeb MiscAnims\SpiderWeb
  • PillarWorld\ProMeshes\pillar
  • RechargeSparkle MiscAnims\Effects\Recharge_Twinkle
  • MiniTeleportUpMini-Figures\Pilot\VLP_TelepUp
  • OohScary MiscAnims\BirdScarer
  • LazerHit MiscAnims\Effects\RD_Laser_Impact
  • PusherHit MiscAnims\Effects\RD_Pusher_Impact
  • FreezerHit MiscAnims\Effects\RD_Ice_weap_exp
  • IceCube MiscAnims\IceCube
  • PathDust MiscAnims\Effects\Pathdust
  • LavaErosionSmoke1 MiscAnims\Effects\Erode1
  • LavaErosionSmoke2 MiscAnims\Effects\Erode2
  • LavaErosionSmoke3 MiscAnims\Effects\Erode3
  • LavaErosionSmoke4 MiscAnims\Effects\Erode4
  • BirdScarer MiscAnims\BirdScarer\Boom
  • UpgradeEffect MiscAnims\Effects\UPGRADE_SPARKS

Bubbles {}

The properties in the Bubbles {} section recall the paths to the bitmap files for the task bubble icons that appear above the heads of Rock Raiders when performing activities (except for Bubble_PowerOff, which appears over buildings). There are a total of 39 properties in this section, though two seem to be defunct.

All properties in this section (except for Bubble_PowerOff) can be disabled without the game ever crashing. If a specific task bubble is disabled, the image for Bubble_Idle will instead be displayed while the Rock Raider is performing that task; if Bubble_Idle is also disabled, there will simply be no task bubble above the Rock Raider when idle or performing a task also missing a task bubble.

Property format

<Bubble_task name>			<path to icon file>

Usage example

Bubble_CollectElecFence			Interface\Bubbles\Bcollelec.bmp

Priority identifiers

Bubble_BuildPath Displays when a Rock Raider is building a power path
Bubble_CallToArms Displays when a Rock Raider is carrying a weapon while Action Stations! is activated
Bubble_CantDo Displays when a Rock Raider is unable to do a task; this primarily only shows when two Rock Raiders are trying to reinforce a wall at the same time
Bubble_CarryBarrier Displays when a Rock Raider is carrying a construction barrier
Bubble_CarryCrystal Displays when a Rock Raider is carrying an energy crystal
Bubble_CarryDynamite Unknown. Uses the same graphic as Bubble_Dynamite by default, but does not seem to be used.
Bubble_CarryElecFence Unknown. Uses the same graphic as Bubble_ElecFence by default, but does not seem to be used.
Bubble_CarryOre Displays when a Rock Raider is carrying a piece of ore
Bubble_CarryStud Displays when a Rock Raider is carrying a building stud
Bubble_CollectBarrier Displays when a Rock Raider is collecting a construction barrier
Bubble_CollectBirdScarer Displays when a Rock Raider is collecting a sonic blaster from the Tool Store
Bubble_CollectCrystal Displays when a Rock Raider is collecting an energy crystal
Bubble_CollectDrill Displays when a Rock Raider is collecting a drill from the Tool Store
Bubble_CollectDynamite Displays when a Rock Raider is collecting dynamite
Bubble_CollectElecFence Displays when a Rock Raider is collecting an electric fence
Bubble_CollectFreezer Displays when a Rock Raider is collecting a freezer beam from the Tool Store
Bubble_CollectHammer Displays when a Rock Raider is collecting a hammer from the Tool Store
Bubble_CollectLaser Displays when a Rock Raider is collecting a laser beam from the Tool Store
Bubble_CollectOre Displays when a Rock Raider is collecting a piece of ore
Bubble_CollectPusher Displays when a Rock Raider is collecting a pusher beam from the Tool Store
Bubble_CollectSpade Displays when a Rock Raider is collecting a shovel from the Tool Store
Bubble_CollectSpanner Displays when a Rock Raider is collecting a spanner from the Tool Store
Bubble_CollectStud Displays when a Rock Raider is collecting a building stud
Bubble_Dig Displays when a Rock Raider is clearing rubble
Bubble_Drill Displays when a Rock Raider is drilling a cavern wall
Bubble_Drive Displays when a Rock Raider is en route to get in a vehicle
Bubble_Dynamite Displays when a Rock Raider is carrying dynamite
Bubble_Eat Displays when a Rock Raider is hungry and going to eat or is currently eating
Bubble_ElecFence Displays when a Rock Raider is carrying an electric fence
Bubble_Flee Displays when a Rock Raider is fleeing in fear from a creature, sonic blaster, or dynamite that is about to explode
Bubble_Goto Displays when a Rock Raider is en route to a task
Bubble_Idle Displays when a Rock Raider is not currently doing anything
Bubble_PowerOff Displays a blinking "no power" signal over a building when it is turned on but not receiving enough or any power. Disabling Bubble_PowerOff will cause the game to crash when an unpowered building tries to display this bubble.
Bubble_Recharge Displays when a Rock Raider is recharging a drained energy crystal
Bubble_Reinforce Displays when a Rock Raider is reinforcing a cavern wall
Bubble_Repair Displays when a Rock Raider is repairing a building
Bubble_Request Displays when a Rock Raider is carrying materials to a construction site
Bubble_Train Displays when a Rock Raider is training
Bubble_Upgrade Displays when a Rock Raider is upgrading

PanelRotationControl {}

Panels640x480 {}

Buttons640x480 {}

TextMessages {}

TextMessagesWithImages {}

Samples {}

InfoMessages {}

These properties specify the names, image file paths, and tooltip sounds of the messages used by the game's notification system. The first entry in each line is the message name, followed by the text displayed in the message tab panel, the path to the image file, the sound line from [Samples {}] and whether the game should go to SLOW, NORM, or FAST speeds.

Property Format

<id>	<text message>:<image>:<sfx>:<game speed>

Property Options

id [indentifier]
Message identifier. See list of message identifiers below.
message text [string]
Text displayed in message tab panel in-game.
image [path]
File path to an image.
sfx [indentifier] (optional)
A sound effect can be optionally added or omitted.
speed [identifier?] (optional)
Game speed can be optionally changed by specifying SLOW, NORM, or FAST.
NOTE: This only works if the game has been set on anything but the default speed.

Usage Example

Info_CrystalFound
Energy_Crystals_have_been_found.:Interface\Buttons\info-crystal.bmp:InfoSFX_CrystalsFound:NORM

Message Identifiers

Info_AirDepleting Provides a notification at the same time as when Sparks informs you of the diminishing air supply. Likely was phased out in favor of the Sparks message in the final game.
Info_AirLow Provides a notification at the same time as when Sparks informs you of the low air supply. Likely was phased out in favor of the Sparks message in the final game.
Info_AirOut Defunct. No idea what this would even be for anyway since it's game over when the air runs out.
Info_AirRestored Defunct.
Info_BuildingDeath Provides a notification for when a building is teleported out and NOT when one is destroyed.
Info_CanTrainMinifigure Defunct.
Info_CanUpgradeMinifigure Defunct.
Info_CaveIn Defunct. (Could be wrong on this one though)
Info_CavernLocated Provides a notification separate from Docs message upon a new cavern being discovered. Using Go To will take you to where the new cavern was first opened.
Info_Constructed Provides a notification when a building has been finished.
Info_CrystalFound Provides a notification when an energy crystal has been found.
Info_CrystalPower Unknown Probably defunct.
Info_CrystalSeamFound Defunct.
Info_DynamitePlaced Provides a notification once dynamite has been placed on a wall. This will disappear once the dynamite has detonated, however.
Info_FoundMinifigure Provides a notification when a missing Rock Raider has been found. Notification will disappear if the Raider is teleported out.
Info_GenericDeath Provides a notification when a Rock Raider, a vehicle, or a building is teleported out.
Info_GenericMonster Provides a notification when any monster emerges from a wall. Once the monster has been neutralized, or reenters a wall, the notification will disappear.
Info_GenericSeamFound Defunct.
Info_IceRockMonster Provides a notification when an ice monster emerges from a wall. Works the same as Info_GenericMonster.
Info_Landslide Provides a notification when a landslide occurs. Notifications will disappear once the rubble created by the said landslide has been cleared.
Info_LavaErode Provides a notification when lava begins eroding any square in a map. This will not disappear once a square has been fully eroded, nor will it disappear after erosion has been repaired.
Info_LavaRockMonster Provides a notification when a lava monster emerges from a wall. Works the same as Info_GenericMonster.
Info_LegoManDeath Provides a notification when a Rock Raider is teleported out.
Info_NoPower Provides a notification when your buildings become unpowered. Using Go To will take you to the Power Station.
Info_OreCollected Provides a notification when a Rock Raider picks up a piece of Ore. This notification will not disappear once the ore has been stored, and will also cause Go To to take you to the Raider in question.
Info_OreSeamFound Defunct.
Info_PathCompleted Provides a notification when either a power path has been completed, or erosion has been repaired.
Info_PowerDrain Provides a notification when a slimy slug begins draining power from a building.
Info_RockMonster Provides a notification when a rock monster emerges from a wall. Works the same as Info_GenericMonster.
Info_SlugEmerge Provides a notification when a slimy slug emerges from a hole.
Info_TrainDriver Provides a notification when a Rock Raider has been trained as a driver.
Info_TrainDynamite Provides a notification when a Rock Raider has been trained as an explosives expert.
Info_TrainPilot Provides a notification when a Rock Raider has been trained as a pilot.
Info_TrainRepair Provides a notification when a Rock Raider has been trained as an engineer.
Info_TrainSailor Provides a notification when a Rock Raider has been trained as a sailor.
Info_TrainScanner Provides a notification when a Rock Raider has been trained as a geologist.
Info_UnderAttack Provides a notification when a building is under attack by a monster. Disappears if the building under attack is destroyed.
Info_VehicleDeath Provides a notification when a vehicle has been teleported out.
Info_WallDug Provides a notification when a wall has been drilled.
Info_WallReinforced Provides a notification when a wall has been reinforced.

ToolTips {}

UpgradeNames {}

These properties define the displayed names of upgrade levels.

Property Example

<upgrade level>      <upgrade name>

Usage Example

Level1		   UP1

However, these upgrade titles are only displayed for buildings.

ToolTipIcons {}

ToolTipsSFXs {}

Textures {}

ObjectNames {}

These properties define the displayed names of all objects.

Property Format

<object name>		<denoted text>

Usage Example

Pilot                      Rock_Raider

ObjectTheNames {}

VehicleTypes {}

These properties define the names of the vehicles and the paths to their files.

Property Format

<vehicle name>		<model folder path>

Usage Example

BullDozer   		Vehicles\BullDozer

MiniFigureTypes {}

These properties define the names of the minifigures and the paths to their files.

Property Format

<minifigure name>		<model folder path>

Usage Example

Pilot		            Minifigures\Pilot

Adding in characters this way is possible, though only the first one listed can be teleported in. Others must be placed through the object list in each level.

RockMonsterTypes {}

These properties define the names of the creatures and the paths to their files.

Property Format

<creature name>		<model folder path>

Usage Example

RockMonster		Creatures\Rmonster

BuildingTypes {}

These properties define the names of the buildings and the paths to their files.

Property Format

<building name>		<model folder path>

Usage Example

Toolstation		Buildings\Toolstation

UpgradeTypes {}

These properties define the names of the upgrades for vehicles/buildings and the paths to their files. Note that building upgrades require an AE file in the upgrade's model folder.

Property Format

<upgrade name>		<model folder path>

Usage Example

ScanDash_Attach		Vehicles\SmallCat\ScanDash_Attach

Encyclopedia {}

This block is not used in the game.

Stats {}

These properties affect objects being shot at by Rock Raiders armed with beam weapons. The following properties affect weapons being used against objects:

  • CanBeShotAt – Determines whether an object can be shot at by armed Rock Raiders when Action Stations is activated. Can be set to TRUE or FALSE. Giving this property to non-monsters will cause them to take damage when hit by friendly fire, but they will not be intentionally targeted.
  • CanFreeze – Determines whether an object can be damaged and frozen by a Freezer Beam. Can be set to TRUE or FALSE. Non-monsters with this property will take damage, but will not freeze.
  • FreezerTime – Denotes the amount of time in seconds an object will remain frozen after being hit by a Freezer Beam. Setting this value to 0 or a negative number will have no effect.
  • FreezerDamage – Denotes the amount of damage being shot by a Freezer Beam will do to an object. Values of 100 or higher will instantly kill objects that haven't been given extra health. Values of negative numbers will add that amount of health to an object.
  • CanLaser – Determines whether an object can be damaged by a Laser Beam. Can be set to TRUE or FALSE.
  • LaserDamage – Denotes the amount of damage being shot by a Laser Beam will do to an object. Values of 100 or higher will instantly kill objects that haven't been given extra health. Values of negative numbers will add that amount of health to an object.
  • CanPush – Determines whether an object can be damaged and pushed by a Pusher Beam. Can be set to TRUE or FALSE. Non-monsters with this property will take damage, but will not get pushed.
  • PusherDist – Denotes the distance in distance units an object shot by a Pusher Beam will be pushed. Setting this value to 0 or a negative number will have no effect.
  • PusherDamage – Denotes the amount of damage being shot by a Pusher Beam will do to an object. Values of 100 or higher will instantly kill objects that haven't been given extra health. Values of negative numbers will add that amount of health to an object.

ObjTtSFXs {}

Advisor {}

AdvisorPositions640x480 {}

WeaponTypes {}

Properties

  • DefaultDamage – Denotes the default amount of damage a weapon will do to any objects that do not have their own damage values defined in that section. Leaving this property out of a section will cause it to do no damage to any objects without separately-defined damage values.
  • RechargeTime – Denotes the amount of time a weapon needs to recharge before it can be used again. 25 specifies one second.
  • WeaponRange – Denotes the distance in distance units a weapon can hit objects from.

Otherwise, all entries in a section must be the names of existing objects.

Sections

  • Boulder {} – Denotes the amount of damage a boulder will do to an object it hits.
  • FenceSpark {} – Denotes the amount of damage an electric fence will do to objects with the CanBeHitByFence property. However, no matter what its damage values are defined as, it will instantly kill anything it hits. Additionally, its RechargeTime value seems to be per each electrified block, rather than for the entire network.[verify]
  • RockFallIn {} – Denotes the amount of damage being caught in a landslide will do to an object. A value of 0.98 seems to deal about 50 HP damage. Values of negative numbers will add that amount of health to an object. Separate values must be defined for each level an object has, with colons separating the values (by default, some objects become more resistant to landslides as they get upgraded).
  • SpiderWeb {} – Denotes the amount of damage an object getting caught in a spider web will do to the web (commented as a "special case"). Values of 100 or higher will essentially instantly destroy the web. Values of 0 or lower will not damage it. In addition, these values also seem to control the speed of an object as it passes through the web. Higher damage values will cause an object to pass through the web very quickly, and will destroy it almost instantly. Lower values will cause the object to slow down dramatically, but will still destroy the web quickly. An example of this would be a value of 1.0, which causes an object to move very slowly through it. Interestingly, it takes exactly 5 seconds for the web to break in this case. A value of 10.0 will destroy it in 1 second. Based on this it appears that the more damage being done to the web by an object, the faster the object will proceed through it and vice versa.

Dependencies {}

These properties define the requirements for constructing and transporting various objects.

Property Example

<AlwaysCheck:object name>    <required object:upgrade level>

Usage Example

AlwaysCheck:Pilot            Toolstation:0

Additional required objects are offset by a comma.

Example:

AlwaysCheck:PowerStation     Pilot:0,Toolstation:1,TeleportPad:1

Levels {}

Structure

Properties

  • FullName – Denotes the level's name. Underscores _ are used in place of spaces.
  • DisableStartTeleport – Determines whether buildings will teleport in at the start of a level. Can be set to TRUE or FALSE. By default, levels that start with just a Tool Store will often lack this property, while levels that start with multiple buildings will often have it.
  • DisableEndTeleport – Determines whether units will teleport back to the LMS Explorer at the end of a level before Chief gives his mission complete/failed speech.

These properties control level shape:

  • BlockSize – Denotes the size of blocks in distance units. Default value for all levels is 40, which is equivalent to a 16x16 stud LEGO plate.
  • DigDepth – Denotes the height of walls in distance units. Default value for all levels is 40.
  • RoughLevel – Denotes how much the terrain height is adjusted by each integer in the Surface map in distance units. Default value for all levels is 6.
  • RoofHeight – Denotes the height of the ceiling above the tops of the walls in distance units. Default value for all levels is 40.
  • UseRoof – Determines whether a level uses a cavern ceiling. However, setting this to anything other than YES or TRUE causes the level to crash, and removing the property does not change anything, making it completely pointless.

These properties control creatures:

  • EmergeCreature – Denotes the creature that will emerge through the Emerge map.
  • EmergeTimeOut – Denotes the amount of time before an emerge trigger can be reused in time units. 25 specifies one second. Default value if this property is not specified is 1500 units (60 seconds).
  • Slug – Denotes the creature that will emerge from slimy slug holes independent of whether a level uses a slug attack script or not. Note that the creature defined here will not start appearing until there is at least a single powered building (excluding the Power Station and Tool Store) present in the level.
  • SlugTime – Denotes the amount of time before another creature can be generated via the Slug property in seconds. 1 specifies 1 second. Default value if this property is not specified is 60 seconds.
  • InitialSlugTime – Denotes the amount of time from the beginning of a level before the SlugTime property is used in seconds. 1 specifies 1 second. Example: a value of 30 coupled with a SlugTime of 15 would mean that the SlugTime countdown would start after the initial 30 seconds have passed from the beginning of the level. Default value if this property is not specified is 60 seconds.

These properties control level environment:

  • OxygenRate – Rate of oxygen depletion. When read by the game this value is multiplied by 0.001. A OxgenRate of 10 therefore equates to 0.01 in-game.

WIP: List of all level properties in load order minus menu/interface cfg which is loaded at a different occasion (but still should be included here).

Video
Priorites (Block)
Seed
BoulderAnimation [Rock, Lava, Ice]
FallinMultiplier
blocksize
digdepth
useroof
roofheight
roughlevel
surfacemap
predugmap
terrainmap
blockPointerMap
CryOreMap
ErodeMap
EmergeMap
AIMap
PathMap
FallinMap
textureset
EmergeTimeOut
olistfile
elistfile
selboxheight
PTLFile
NERPFile
NERPMessageFile
EmergeCreature
SafeCaverns
IntroAVI
StartFP
NoDrain
OxygenRate
UpgradeTime
MinifigureUpgradeTime
VehicleUpgradeTime
BuildingUpgradeTime
TrainTime
NoMultiSelect
NoAutoEat
EndGameAVI1
EndGameAVI2
AllowRename
RecallOLObjects
GenerateSpiders
DisableToolTipSounds
DisableEndTeleport
DragBoxRGB
BuildingTolerance
BuildingMaxVariation
MaxStolen
Slug
SlugTime
InitialSlugTime
RockFallStyle
noFallins
FogColourRGB
HighFogColourRGB
FogRate
nextlevel
FullName
ErodeTriggerTime
ErodeErodeTime
ErodeLockTime
NumberOfLandSlidesTillCaveIn
DisableStartTeleport
InitialCrystals
InitialOre
NoGather
Precreate

References