Difference between revisions of "Lego.cfg"

From RRU Knowledge Base
m (Fixed up some links; added to file formats category)
 
Line 1: Line 1:
{{WIP}}
{{WIP}}
The '''Main LEGO Config File''', usually just called '''Lego.cfg''',
The '''Main LEGO Config File''', usually just called '''Lego.cfg''', is located in the LegoRR1.wad which can be extracted into an editable folder using the [[Wad Tool]].  The default Lego.cfg (which is very important to keep a back-up of at all times when [[modding]]) is referred to as the [[Virgin cfg]].  
 
is located in the LegoRR1.wad which can be extracted into an editable folder using the [[Wad Tool]].  The default Lego.cfg (which is very important to keep a back-up of at all times when [[Lego Rock Raiders Modification|Modding]]) is referred to as the [[Virgin cfg]].  


==Purpose==
==Purpose==


This file includes most of the properties pertaining to the [[PC Game|Game]] itself. It includes various information about the properties of [[buildings]], [[vehicles]], [[Rock Raider]]s, [[enemies]], [[weapons]], common information about the [[levels]] and their organization, and the various settings of the game. It primarily organizes all the files that are used the game, when they are used, and what they are used for.  This is probably the most essential file to the game, after the [[WAD Files]] themselves.   
This file includes most of the properties pertaining to the [[PC Game|Game]] itself. It includes various information about the properties of [[Rock Raider buildings|buildings]], [[Rock Raider vehicles|vehicles]], [[Rock Raider]]s, [[enemies]], [[weapons]], common information about the [[levels]] and their organization, and the various settings of the game. It primarily organizes all the files that are used the game, when they are used, and what they are used for.  This is probably the most essential file to the game, after the [[WAD file]]s themselves.   


Any errors in the code in this file can result in the game crashing, so modifying this file requires carefulness, patience, and attention to detail.
Any errors in the code in this file can result in the game crashing, so modifying this file requires carefulness, patience, and attention to detail.
Line 845: Line 843:


Each section has its own specific properties, all organized in this fashion.  Nearly everything can be edited without too much trouble, however, it is not recommended to disable certain areas with ";" as they can have adverse effects on the game.  Always have a back-up of this file somewhere before editing it.
Each section has its own specific properties, all organized in this fashion.  Nearly everything can be edited without too much trouble, however, it is not recommended to disable certain areas with ";" as they can have adverse effects on the game.  Always have a back-up of this file somewhere before editing it.
[[Category:File formats in LEGO Rock Raiders for Windows]]

Latest revision as of 19:10, 28 February 2019

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.

The Main LEGO Config File, usually just called Lego.cfg, is located in the LegoRR1.wad which can be extracted into an editable folder using the Wad Tool. The default Lego.cfg (which is very important to keep a back-up of at all times when modding) is referred to as the Virgin cfg.

Purpose

This file includes most of the properties pertaining to the Game itself. It includes various information about the properties of buildings, vehicles, Rock Raiders, enemies, weapons, common information about the levels and their organization, and the various settings of the game. It primarily organizes all the files that are used the game, when they are used, and what they are used for. This is probably the most essential file to the game, after the WAD files themselves.

Any errors in the code in this file can result in the game crashing, so modifying this file requires carefulness, patience, and attention to detail.

Organization

It is organized in sections as shown below. For a more detailed description see Config documentation.

 Lego*{  --The Main Group of Information
 
 	Main {  --The most basic information pertaining to the game.
 	}
 
 	Dialog {  --Information pertaining to the Level Briefing Window.
 	}
 
 	Reward {  --Information pertaining to the Rewards Screen
 
 		Images {  --The Foreground Images of the Rewards Screen
 		}
 
 		Text {  --The Text that Appears on the Rewards Screen
 		}
 
 		BoxImages {  --The Background Images of the Rewards Screen
 		}
 
 		Fonts {  --The Font of the Text
 		}
 
 		Sounds {  --Sounds that occur during the Rewards Screen [This section is disabled by default with ";"]
 		}
 
 		Flics {  --Any Animation that takes place during the Rewards Screen
 		}
 	}
 
 	Menu {  --Information pertaining to the various Game Menus and Messages.
 
 		Overwrite {  --The Confirmation Menu that Pops up when you are about to overwrite a saved game.
 		}
 
 		SaveImage {  --The Images that appear on the Load/Save Game Menu
 		}
 
 		SaveText {  --The Text that Appears on the Load/Save Game Menu
 		}
 
 		LevelText {  --The Text that Appears on the Mission Selection Menu
 		}
 
 		PausedMenu {  --The Menu that Appears when you Pause during a Mission
 
 			Menu1 {  --Main Pause Menu
 			}
 
 			Menu2 {  --The Options Menu
 			}
 
   			Menu3 {  --The Quit Mission Confirmation Menu
 			}
 
   			Menu4 {  --The Restart Mission Confirmation Menu
 			}
 
   			Menu5 {  --The Advanced Options Menu
 			}
   		}
 
 		SaveMenu { --The Load/Save Game Menu
 
 			Menu1 {  --(Only One Menu)
 			}
   		}
 
 		MainMenuFull {  --The Main Menu
   		}
 
 			Menu1 {  --The "Front End"
 			}
 
   			Menu2 {  --The Mission Selection Menu
 			}
 
   			Menu3 {  --The Training Mission Selection Menu
 			}
 
   			Menu4 {  --The Load/Save Game Menu (more information)
 			}
 
   			Menu5 {  --The Quit Game Confirmation Menu
 			}
 		}
 
 		OptionsMenu {  --The Main Options Menu that you click on from the top menu bar, rather than the Paused Menu
 
 			Menu1 {  --(Only One Menu)
 			}
 		}
 	}
 
 	HelpWindow {  --Information pertaining to the Help Windows that appear in-game.
 
 		HelpWindowInfo {  --The text that appears in these windows
 		}
 	}
 
 	ToolTipInfo {  --Information pertaining to the Tool Tips that appear in-game.
 	}
 
 	ToolNames {  --The Names of the Mining Tools
 	}
 
 	SurfaceTypeDescriptions {  --The Names of Various Ground Types
 	}
 
 	ObjInfo {  --Information that is displayed regarding an individual Rock Raider's status
 
 		HungerImages {  --The Images that indicate how hungry a Rock Raider is
 		}
 
 		UpgradeImages {  --The Images that indicate the level that a Rock Raider has upgraded to [This section is disabled]
 		}
 	}
 
 	LightEffects {  --Information pertaining to the Cavern light surrounding the Player's Pointer
 	}
 
 	Pointers {  --The Images that are used for the Player's Pointer under different circumstances
 	}
 
 	InterfaceImages {  --The Images that are used in the Basic Interface
 	}
 
 	InterfaceBuildImages {  --The Images that are used in the Building Interface
 	}
 
 	InterfaceSurroundImages {  --The Images that make up the various Panels of the Interface
 	}
 
 	PriorityImages {  --The Images that make up the Priorities Menu
 	}
 
 	PrioritiesImagePositions {  --The Relative Positions of the Priority Images
 	}
 
 	MiscObjects {  --Miscellaneous Animations and Effects used in the Game 
 	}
 
 	Bubbles {  --The Thought Bubble Images that indicate a Rock Raider's thoughts
 	}
 
 	RockFallStyles {  --The Rock Fall Animations used for different Cavern Types
 	}
 
 	PanelRotationControl {  --The Camera Control Panel
 	}
 
 	Panels640x480 {  --Information pertaining to the various Panels that appear in the game, specifically in 640x480 resolution
 	}
 
 	Buttons640x480 {  --Information pertaining to the various Buttons that appear in the game in 640x480 resolution
 	}
 
 	TextMessages {  --The little Messages that appear when the pointer his hovering above something
 	}
 
 	TextMessagesWithImages {  --The Images that appear in the bottom Panel
 	}
 
 	Samples {  --The Sound Effects of the Game
 	}
 
 	InfoMessages {  --The Warning/Alert Messages that appear in game
 	}
 
 	ToolTips {  --The Text of the Tool Tips that appear in-Game
 	}
 
 	UpgradeNames {  --The Names of various Upgrade Levels (UP1, UP2, etc.)
 	}
 
 	ToolTipIcons {  --The Small Images that appear to show what Tools are carried by a Rock Raider, and what it has Trained as.
 	}
 
 	ToolTipsSFXs {  --Various Sounds that occur when certain buttons are pressed
 	}
 
 	Textures {  --The World Textures
 
 		Lava {  --Those that are used for Molten Caverns
 		}
 
 		Rock {  --Those that are used for Rocky Caverns
 		}
 
 		Ice {  --Those that are used for Icy Caverns
 		}
 	}
 
 	ObjectNames {  --The Names of Various Objects in the Game.
 	}
 
 	ObjectTheNames {  --The Names of Various Objects in the Game with "The" before the name
 	}
 
 	VehicleTypes {  --The location of the files relating to the Vehicles.
 	}
 
 	MiniFigureTypes {  --The Various types of Rock Raiders (Only one used in game) and location of related files
 	}
 
 	RockMonsterTypes {  --The Various types of Enemies/Creatures and the location of related files
 	}
 
 	BuildingTypes {  --The Various types of Buildings and the location of related files
 	}
 
 	UpgradeTypes {  --The Various types of Vehicle and Building Upgrades and the location related files
 	}
 
 	Encyclopedia {  --Information pertaining to the unused Encyclopedia [This section disabled]
 	}
 
 	Stats {  --Information pertaining to the properties of various Objects in the game
 
 		Pilot {  --Rock Raider Properties
 		}
 
   		RockMonster {  --Rock Monster Properties
 		}
 
   		Spider {  --Large Spider Properties [This section is disabled]
 		}
 
   		SmallSpider {  --Small Spider Properties
 		}
 
   		Bat {  --Bat Properties
 		}
 
     		Snake {  --Snake Properties [This section is disabled]
 		}
 
     		TinyRM {  --Tiny Rock Monster Properties
 		}
 
     		TinyIM {  --Tiny Ice Monster Properties
 		}
 
     		Scorpion {  --Scorpion Properties [This section is disabled]
 		}
 
 		Slug {  --Slimy Slug Properties
 		}
 
 		LavaMonster {  --Lava Monster Properties
 		}
 
 		IceMonster {  --Ice Monster Properties
 		}
 
 		Hoverboard {  --Hover Scout Properties
 		}
 
 		SmallHeli {  --Tunnel Scout Properties
 		}
 
 		Smallmlp {  --Small Mobile Laser Cutter Properties
 		}
 
 		SmallCat {  --Rapid Rider Properties
 		}
 
 		SmallDigger {  --Small Digger Properties
 		}
 
 		SmallTruck {  --Small Transport Truck Properties
 		}
 
 		Bulldozer {  --Loader-Dozer Properties
 		}
 
 		SmallDigger {  --Small Digger Properties
 		}
 
 		WalkerDigger {  --Granite Grinder Properties
 		}
 
 		LargeDigger {  --Chrome Crusher Properties
 		}
 
 		SmallDigger {  --Small Digger Properties
 		}
 
 		LargeCat {  --Cargo Carrier Properties
 		}
 
 		LargeHeli {  --Tunnel Transport Properties
 		}
 
 		LargeMLP {  --Large Mobile Laser Cutter Properties
 		}
 
 		Barracks {  --Support StationProperties
 		}
 
 		Powerstation {  --Power Station Properties
 		}
 
 		OreRefinery {  --Ore Refinery Properties
 		}
 
 		TeleportPad {  --Teleport Pad Properties
 		}
 
 		TeleportBIG {  --Super Teleport Properties
 		}
 
 		Docks {  --Docks Properties
 		}
 
 		Toolstation {  --Tool Store Properties
 		}
 
 		GunStation {  --Mining Laser (Building) Properties
 		}
 
 		Geo-Dome {  --Geological Center Properties
 		}
 
 		Upgrade {  --Upgrade Station Properties
 		}
 
 		PowerCrystal {  --Energy Crystal Properties
 		}
 
 		ProcessedOre {  --Building Stud Properties
 		}
 
 		Ore {  --Ore Properties
 		}
 
 		Boulder {  --Boulder Properties
 		}
 
 		Pusher {  --Pusher Beam Properties
 		}
 
 		Freezer {  --Freezer Beam Properties
 		}
 
 		LaserShot {  --Laser Beam Properties
 		}
 
 		ElectricFence {  --Electric Fence Properties
 		}
 
 		Path {  --Power Path Properties
 		}
 	}
 
 	ObjTtSFXs {  --Sounds made by various objects
 		}
 
 	Advisor {  --Animations of the Cheif popping up during a mission
 		}
 
 	AdvisorPositions640x480 {  --The position of these animations in 640x480 resolution
 		}
 
 	WeaponTypes {  --The Properties of various weapons and the damage they do
 
 		Lazer {  --Basic Mining Laser properties (Unused?)
 		}
 
   		BigLazer {  --Mining Laser (building) and Chrome Crusher Laser Properties
 		}
 
   		SmallLazer {  --Small Mobile Laser Cutter Laser Properties
 		}
 
   		MediumLazer {  --Large Mobile Laser Cutter Laser Properties
 		}
 
   		Gunstation {  --Mining Laser (building) properties (Unused? It uses the BigLazer)
 		}
 
   		FenceSpark {  --Electric Fence Shock Properties
 		}
 
   		SpiderWeb {  --Spider Web Properties (Unused)
 		}
 
   		Boulder {  --Boulder Damage Properties
 		}
 
 		Pusher {  --Pusher Beam Shot Properties
 		}
 
 		LaserShot {  --Laser Beam Shot Properties
 		}
 
 		Freezer {  --Freezer Beam Shot Properties
 		}
 
 		BatAttack {  --Bat Attack Properties (Yes, they do in fact do damage)
 		}
 
 		RockFallIn {  --Cave-In Damage Properties
 		}
 	}
 
 	Dependencies {  --Teleportation/Building Requirements
 	}
 
 	Levels {  --Common Information pertaining to the various Levels
 
 		Tutorial01 {  --"Moving Rock Raiders" Properties (Main Mission Selection Version)
 
 			Priorities {  --Default Priorities
 			}
 		}
 
 		Tutorial02 {  --"Rock Types and Drilling" Properties (Main Mission Selection Version)
 
 			Priorities {  --Default Priorities
 			}
 		}
 
   		Tutorial03 {  --"Building Rock Raider HQ" Properties (Main Mission Selection Version)
 
 			Priorities {  --Default Priorities
 			}
 		}
 
   		Tutorial04 {  --"Moving Rock Raider Vehicles" Properties (Main Mission Selection Version)
 
 			Priorities {  --Default Priorities
 			}
 		}
 
   		Tutorial05 {  --"Using Explosives" Properties (Main Mission Selection Version)
 
 			Priorities {  --Default Priorities
 			}
 		}
 
   		Tutorial06 {  --"Constructing Advanced Buildings" Properties (Main Mission Selection Version)
 
 			Priorities {  --Default Priorities
 			}
 		}
 
   		Tutorial07 {  --"Drilling with Vehicles" Properties (Main Mission Selection Version)
 
 			Priorities {  --Default Priorities
 			}
 		}
 
   		Tutorial08 {  --"Defending Rock Raider HQ" Properties (Main Mission Selection Version)
 
 			Priorities {  --Default Priorities
 			}
 		}
 
   		Level01 {  --"Driller Night" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level02 {  --"It's a Hold Up" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level03 {  --"Rubble Trouble" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level04 {  --"A Breath of Fresh Air" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level05 {  --"The Path to Power" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level06 {  --"Explosive Action" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level07 {  --"Search 'n' Rescue" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level08 {  --"Breathless" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level09 {  --"Frozen Frenzy" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level10 {  --"Erode Works" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level11 {  --"Water Lot of Fun" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level12 {  --"Water Works" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level13 {  --"Rock Hard" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level14 {  --"Don't Panic!" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level15 {  --"Ice Spy" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level16 {  --"Split Down The Middle" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level17 {  --"Lava Laughter" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level18 {  --"Oresome!" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level19 {  --"Fire 'n' Water" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level20 {  --"Run the Gauntlet" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
  
   		Level21 {  --"Air Raiders" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level22 {  --"Lake of Fire" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level23 {  --"Back to the Basics" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level24 {  --"Hot Stuff" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		Level25 {  --"Rocky Horror!" Properties
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 				Importance {  --Percent Importance to Score
 				}
 				Quota {  --Target Values for Score
 				}
 			}
 		}
 
   		IceLevel {  --"ICE LEVEL" Properties (Unused Test Level)
 
 			Priorities {  --Default Priorities
 			}
 			Reward {  --Rewards Properties
 			}
 		}
 
   		MoveTuto01 {  --"Moving Rock Raiders" Properties (Tutorial Mission Selection Version)
 
 			Priorities {  --Default Priorities
 			}
 		}
 
   		DigTuto01 {  --"Rock Types and Drilling" Properties (Tutorial Mission Selection Version)
 
 			Priorities {  --Default Priorities
 			}
 		}
 
   		BuildTuto01 {  --"Building Rock Raider HQ" Properties (Tutorial Mission Selection Version)
 
 			Priorities {  --Default Priorities
 			}
 		}
 
   		MoveTuto02 {  --"Moving Rock Raider Vehicles" Properties (Tutorial Mission Selection Version)
 
 			Priorities {  --Default Priorities
 			}
 		}
 
   		DigTuto02 {  --"Using Explosives" Properties (Tutorial Mission Selection Version)
 
 			Priorities {  --Default Priorities
 			}
 		}
 
   		BuildTuto02 {  --"Constructing Advanced Buildings" Properties (Tutorial Mission Selection Version)
 
 			Priorities {  --Default Priorities
 			}
 		}
 
   		DigTuto03 {  --"Drilling with Vehicles" Properties (Tutorial Mission Selection Version)
 
 			Priorities {  --Default Priorities
 			}
 		}
 
   		DefenceTuto01 {  --"Defending Rock Raider HQ" Properties (Tutorial Mission Selection Version)
 
 			Priorities {  --Default Priorities
 			}
 		}
   	}
 }
 
 LegoRR {  --Final Game Group Properties
 
 	Main {  --Extra Game Settings put in the Final version
 	}
 
 }
 
 LegoLow* {  --Alternate Group Properties [This section is disabled]
 
 	Reward {  --Reward Screen
 		Images {  --Images in the Rewards Screen  (turns off Cheif animations during reward screen)
 		}
 	}
 }

Each section has its own specific properties, all organized in this fashion. Nearly everything can be edited without too much trouble, however, it is not recommended to disable certain areas with ";" as they can have adverse effects on the game. Always have a back-up of this file somewhere before editing it.