|
| 13 Aug 2013 12:54 PM |
| Can someone help me? I want to give a brick a Color3 color.. |
|
|
| Report Abuse |
|
|
| |
|
johnhugh
|
  |
| Joined: 26 Mar 2009 |
| Total Posts: 1971 |
|
| |
|
| |
|
robber4
|
  |
| Joined: 20 Jun 2008 |
| Total Posts: 203 |
|
|
| 13 Aug 2013 12:59 PM |
| brick.BrickColor = BrickColor.new(Color3.new(0,0,0)) |
|
|
| Report Abuse |
|
|
djboy
|
  |
| Joined: 16 Mar 2008 |
| Total Posts: 794 |
|
|
| 13 Aug 2013 01:00 PM |
| x.BrickColor = BrickColor.new("Lime green") |
|
|
| Report Abuse |
|
|
robber4
|
  |
| Joined: 20 Jun 2008 |
| Total Posts: 203 |
|
|
| 13 Aug 2013 01:01 PM |
He wants to give the Brick a color3 value, which is
brick.BrickColor = BrickColor.new(Color3.new(0,0,0)) |
|
|
| Report Abuse |
|
|
robotmega
|
  |
| Joined: 16 May 2009 |
| Total Posts: 14084 |
|
| |
|
|
| 13 Aug 2013 01:19 PM |
| There IS a file mesh (in my models) that let's you use Vertex Color, but you need to set the scale to 2 * Size |
|
|
| Report Abuse |
|
|
MHebes
|
  |
| Joined: 04 Jan 2013 |
| Total Posts: 2278 |
|
|
| 13 Aug 2013 01:20 PM |
You could do this:
Part.Color = Color3.new(1,1,1)
, but that would snap the color to the closest BrickColor, so it wouldn't be exact. A better method would be this:
1) Insert SpecialMesh into Part 2) Set MeshType = "FileMesh" 3) Set MeshId = "http://roblox.com/asset/?id=9856898" (This is a mesh for a 0.5x0.5x0.5 cube) 4) Set Scale = Part.Size * 2 5) Set TextureId = "http://roblox.com/asset/?id=104374536" (This is a purely white image) 6) Set the VertexColor = Vector3.new(Red,Green,Blue) (Note: VertexColor uses Vector3 for some reason)
And voila! Any color you want!
~ Oh, I'm sorry, did I break your concentration? ~ |
|
|
| Report Abuse |
|
|