Data Realms Fan Forums
http://45.55.195.193/

Drawing Material Images (Mats) for a certain material
http://45.55.195.193/viewtopic.php?f=1&t=21509
Page 1 of 1

Author:  Voxxitronic [ Wed Feb 16, 2011 11:00 pm ]
Post subject:  Drawing Material Images (Mats) for a certain material

I plan to make a bunker module out of the material Test
Code:
AddMaterial = Material
   Index = 3
   PresetName = Test
   Bounce = 0.1
   Friction = 0.8
   StructuralIntegrity = 20000000
   DensityKGPerVolumeL = 1.0
   GibImpulseLimitPerVolumeL = 15
   GibWoundLimitPerVolumeL = 0.1
   Priority = 1000000
   Color = Color
      R = 255
      G = 0
      B = 0


and it would be great to know where to find the color to draw on the image to specify it as Test. Is it the color on the last 3 lines? It would be great to know for sure.

Author:  Roast Veg [ Wed Feb 16, 2011 11:11 pm ]
Post subject:  Re: Drawing Material Images (Mats) for a certain material

Well if we analyse those last four lines:
Code:
   Color = Color
      R = 255
      G = 0
      B = 0


You can see that the colour defined has 255 parts red, no blue and no green. Like this. In paint, use your custom colours and enter those three values in the corresponding boxes.

Author:  Lizardheim [ Wed Feb 16, 2011 11:13 pm ]
Post subject:  Re: Drawing Material Images (Mats) for a certain material

You need to use the third color in the indexed palette, because test is Index = 3 of the materials.

Author:  Roast Veg [ Wed Feb 16, 2011 11:15 pm ]
Post subject:  Re: Drawing Material Images (Mats) for a certain material

:-(

Yes what Lizard said.

Author:  Voxxitronic [ Wed Feb 16, 2011 11:29 pm ]
Post subject:  Re: Drawing Material Images (Mats) for a certain material

Ah, thank you.

Author:  Duh102 [ Thu Feb 17, 2011 1:27 pm ]
Post subject:  Re: Drawing Material Images (Mats) for a certain material

To be absolutely clear, you must use the fourth counting color, as the indices go from 0 to 255 rather than 1 to 256. Test is the fourth color, but indexed by 3.

Author:  zalo [ Fri Feb 18, 2011 2:40 am ]
Post subject:  Re: Drawing Material Images (Mats) for a certain material

The RGB of that color is 116, 96, 96. A sort of light brownish.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/