View unanswered posts | View active topics It is currently Mon Dec 30, 2024 9:15 pm



Reply to topic  [ 7 posts ] 
 Drawing Material Images (Mats) for a certain material 
Author Message
User avatar

Joined: Sat Feb 12, 2011 8:05 pm
Posts: 39
Location: Somewhere over the Double Rainbow
Reply with quote
Post 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.


Wed Feb 16, 2011 11:00 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post 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.


Wed Feb 16, 2011 11:11 pm
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post 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.


Wed Feb 16, 2011 11:13 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: Drawing Material Images (Mats) for a certain material
:-(

Yes what Lizard said.


Wed Feb 16, 2011 11:15 pm
Profile
User avatar

Joined: Sat Feb 12, 2011 8:05 pm
Posts: 39
Location: Somewhere over the Double Rainbow
Reply with quote
Post Re: Drawing Material Images (Mats) for a certain material
Ah, thank you.


Wed Feb 16, 2011 11:29 pm
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post 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.


Thu Feb 17, 2011 1:27 pm
Profile

Joined: Sat Feb 03, 2007 7:11 pm
Posts: 1496
Reply with quote
Post Re: Drawing Material Images (Mats) for a certain material
The RGB of that color is 116, 96, 96. A sort of light brownish.


Fri Feb 18, 2011 2:40 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.033s | 13 Queries | GZIP : Off ]