generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Can I change BrickColor Values with Color3 Values?

Previous Thread :: Next Thread 
ellosss is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. lucas668
Joined: 18 Jun 2008
Total Posts: 6183
14 Jul 2010 09:49 PM
Nevermind I found the problem.
Report Abuse
scipiothegreat is not online. scipiothegreat
Joined: 25 Apr 2008
Total Posts: 4114
14 Jul 2010 10:10 PM
BrickColor = BrickColor.new(number between 0 and 1 three times)
Report Abuse
MrNicNac is not online. MrNicNac
Joined: 29 Aug 2008
Total Posts: 26567
14 Jul 2010 10:12 PM
scipio, we have solved that...
Report Abuse
Previous Thread :: Next Thread 
Page 2 of 2Go to page: 1, [2] Prev
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image