|
| 16 Aug 2012 11:59 PM |
I want the fire in my flamethrower to be a certain color. All I know so far is that this is red: firer.Color = Color3.new(1,117/255,57/255) It's obviously not hex, so how do I find out how to make it green? |
|
|
| Report Abuse |
|
|
|
| 17 Aug 2012 12:01 AM |
I think it would be...:
firer.BrickColor=BrickColor.new("Earth green") |
|
|
| Report Abuse |
|
|
|
| 17 Aug 2012 12:04 AM |
Color3 is RGB. It divide by 255 because on roblox it can only be numbers between 0 and 1
Totally Green is 0,1,0 |
|
|
| Report Abuse |
|
|
X2F9LRT
|
  |
| Joined: 18 Jan 2012 |
| Total Posts: 293 |
|
|
| 17 Aug 2012 12:06 AM |
The color property of fire is a Color3.
You can create one like this:
local color = Color3.new(RED/255, GREEN/255, BLUE/255) where red is the number for red, green is the number for green and blue for blue.
Further notes:
http://wiki.roblox.com/index.php/Color3 |
|
|
| Report Abuse |
|
|
| |
|
Adam335
|
  |
| Joined: 19 Feb 2011 |
| Total Posts: 21464 |
|
|
| 17 Aug 2012 04:37 PM |
| You can do this in the properties too, you know. |
|
|
| Report Abuse |
|
|
Adam335
|
  |
| Joined: 19 Feb 2011 |
| Total Posts: 21464 |
|
|
| 17 Aug 2012 04:39 PM |
| But then again, scripts may give a bigger variety of colors. Possibly not. |
|
|
| Report Abuse |
|
|