ellosss
|
  |
| Joined: 15 Mar 2009 |
| Total Posts: 7030 |
|
|
| 14 Jul 2010 08:49 PM |
| oh c'mon, you gotta be kidding me! |
|
|
| Report Abuse |
|
|
MrNicNac
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 26567 |
|
|
| 14 Jul 2010 08:50 PM |
It rounds the Color3 to the nearest brick color. You cannot make a custom color, unless...take a look at blobblyblob's models and find "Hue, Sat, Lum".
Also, you should have wiki'd it, not welcome. |
|
|
| Report Abuse |
|
|
lucas668
|
  |
| Joined: 18 Jun 2008 |
| Total Posts: 6183 |
|
|
| 14 Jul 2010 08:55 PM |
| I read you the first time Nic Nac, and thanks again! :D |
|
|
| Report Abuse |
|
|
lucas668
|
  |
| Joined: 18 Jun 2008 |
| Total Posts: 6183 |
|
|
| 14 Jul 2010 09:20 PM |
| OK, since blobblyblob's script uses a mesh's VertexColor to change the colors, I just made the function that found the colors from the hue, sat, and lum into a Global function. I then converted my script that I was using so it would change the mesh in the script's parent's vertexColor. (I already had the mesh in the brick) and I tested it. Although, in properties, the Mesh's vertex color changed, the color in the game did not change. So I tried a block mesh instead of a filemesh. I came up with the same results. |
|
|
| Report Abuse |
|
|
lucas668
|
  |
| Joined: 18 Jun 2008 |
| Total Posts: 6183 |
|
|
| 14 Jul 2010 09:49 PM |
| Nevermind I found the problem. |
|
|
| Report Abuse |
|
|
|
| 14 Jul 2010 10:10 PM |
| BrickColor = BrickColor.new(number between 0 and 1 three times) |
|
|
| Report Abuse |
|
|
MrNicNac
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 26567 |
|
|
| 14 Jul 2010 10:12 PM |
| scipio, we have solved that... |
|
|
| Report Abuse |
|
|