Jump to content

Customizing brick colors and terrain types


lol username
 Share

Recommended Posts

lol username

LEGO brick colors are the colors you choose in brick mode. I haven't tried customizing them yet, but they appear to be defined in BRICKS\LEGOCOLOURNAMES.TXT. Here's a sample:

//Shader=InterfaceTab,Name,R,G,B,A,LEGOColourID
Shader=Universal,White244,244,244,244,1,1
Shader=Universal,BrickYellow,176,160,111,1,5
Shader=Universal,BrightRed,180,0,0,1,21
Shader=Universal,BrightBlue,30,90,168,1,23
Shader=Universal,BrightYellow,250,200,10,1,24
Shader=Universal,Black,28,28,28,1,26

Terrain is different from brick colors. Terrain types are defined in STUFF\TERRAFORM\CELLTYPES.TXT. Here's some samples:

CellType "Mud"
{
	Colour0		= < 124.0, 58.0, 0.0 >
	Colour1		= < 104.0, 48.0, 0.0 >
			
	SurfaceType = 'Mud'
	
	ExportLegoColourId = 151
	DisableStuds
	CanBeAdded
	CanBePainted
}

...

CellType "TaigaGrass01"
{
	Colour0		= < 33.0, 163.0, 49.0 >
	Colour1		= < 140.0, 181.0, 19.0 >		//< 59.0, 204.0, 85.0 >
	
	ExportLegoColourId = 28
	SurfaceType = 'Grass'
	CanBeAdded
}

...

CellType "Ice"
{
	Colour0		= < 198.0, 202.0, 211.0 >
	Colour1		= < 144.0, 182.0, 203.0 >
	
	Alpha 		= 0.8
	LowEndOpaque
	
	MeltsInto	= #Water
	
	SurfaceType = 'Ice'
	
	ExportLegoColourId = 20
	DisableStuds
	CanBePainted
}

...

CellType "RiverWater"
{
	Colour0		= < 15.0, 130.0, 225.0 >
	Colour1		= < 10.0, 125.0, 220.0 >
	
	Alpha 		= 0.6
	LowEndOpaque
	
	FreezesInto	= #Ice
	
	SurfaceType = 'Water'
	
	TerrExtra = 'Water'
	
	Liquid
	DisableStuds
	Flows
	
	ExportLegoColourId = 42
	Ambience = 'Amb_Water_River'
	CanBeAdded
}

...

CellType "BedRock"
{
	Colour0		= < 0.0, 0.0, 0.0 >
	Colour1		= < 5.0, 5.0, 5.0 >
	
	SurfaceType = 'Stone'
	
	ExportLegoColourId = 26
	Unbreakable
}

I think it should be pretty self explanatory. I've got a video coming up showing what happens when you make bedrock breakable.

Edit: Here it is.

 

 

Edited by jamesster
Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.