- Joined
- Jul 1, 2005
- Messages
- 393
If anyone wants to help out, you can contribute your favorite color(s) to the code!
Redefining the Project parameters:
Vertex coloring, color objects with a hexidecimal code.
Defined vertex range properties any dark red in hex code is considered "dark red" any lemon yellow in hex code is considered "lemon yellow"
Create recipes from the defined properties "dark red, lemon yellow" and have these recipes produce specified bonuses.
Probably all of down right impossible for most to understand, and probably won't get any help at all.
I have all of the colors I can think of. My next step is to build all of this into a library, but how?
Redefining the Project parameters:
Vertex coloring, color objects with a hexidecimal code.
Defined vertex range properties any dark red in hex code is considered "dark red" any lemon yellow in hex code is considered "lemon yellow"
Create recipes from the defined properties "dark red, lemon yellow" and have these recipes produce specified bonuses.
Probably all of down right impossible for most to understand, and probably won't get any help at all.
I have all of the colors I can think of. My next step is to build all of this into a library, but how?
JASS:
//Zero properties
rmin = 0 //initial minimum value of red
rmax = 0 //initial maximum value of red
gmin = 0 //initial minimum value of green
gmax = 0 //initial maximum value of green
bmin = 0 //initial minimum value of blue
bmax = 0 //initial maximum value of blue
//define property of Blood
bloodrmin = 130 //initial minimum value of red
bloodrmax = 215 //initial maximum value of red
bloodgmin = 0 //initial minimum value of green
bloodgmax = 45 //initial maximum value of green
bloodbmin = 0 //initial minimum value of blue
bloodbmax = 45 //initial maximum value of blue
//define property flamingo
flamingormin = 245 //initial minimum value of red
flamingormax = 255 //initial maximum value of red
flamingogmin = 200 //initial minimum value of green
flamingogmax = 235 //initial maximum value of green
flamingobmin = 230 //initial minimum value of blue
flamingobmax = 240 //initial maximum value of blue
//define property of Pink
pinkrmin = 227 //initial minimum value of red
pinkrmax = 255 //initial maximum value of red
pinkgmin = 88 //initial minimum value of green
pinkgmax = 129 //initial maximum value of green
pinkbmin = 99 //initial minimum value of blue
pinkbmax = 147 //initial maximum value of blue
//define property of Fushia
fushrmin = 241 //initial minimum value of red
fushrmax = 255 //initial maximum value of red
fushgmin = 0 //initial minimum value of green
fushgmax = 90 //initial maximum value of green
fushbmin = 209 //initial minimum value of blue
fushbmax = 244 //initial maximum value of blue
//define property of Red
redrmin = 247 //initial minimum value of red
redrmax = 255 //initial maximum value of red
redgmin = 0 //initial minimum value of green
redgmax = 52 //initial maximum value of green
redbmin = 0 //initial minimum value of blue
redbmax = 29 //initial maximum value of blue
//define property of Orange
orangermin = 235 //initial minimum value of red
orangermax = 255 //initial maximum value of red
orangegmin = 111 //initial minimum value of green
orangegmax = 133 //initial maximum value of green
orangebmin = 0 //initial minimum value of blue
orangebmax = 26 //initial maximum value of blue
//define property of Apricot
apricotrmin = 242 //initial minimum value of red
apricotrmax = 254 //initial maximum value of red
apricotgmin = 167 //initial minimum value of green
apricotgmax = 194 //initial maximum value of green
apricotbmin = 82 //initial minimum value of blue
apricotbmax = 107 //initial maximum value of blue
//define property of Amber
amberrmin = 255 //initial minimum value of red
amberrmax = 255 //initial maximum value of red
ambergmin = 98 //initial minimum value of green
ambergmax = 110 //initial maximum value of green
amberbmin = 0 //initial minimum value of blue
amberbmax = 41 //initial maximum value of blue
//define property of Brown
brownrmin = 104 //initial minimum value of red
brownrmax = 170 //initial maximum value of red
browngmin = 51 //initial minimum value of green
browngmax = 87 //initial maximum value of green
brownbmin = 0 //initial minimum value of blue
brownbmax = 50 //initial maximum value of blue
//define property of Gold
goldrmin = 196 //initial minimum value of red
goldrmax = 220 //initial maximum value of red
goldgmin = 142 //initial minimum value of green
goldgmax = 170 //initial maximum value of green
goldbmin = 18 //initial minimum value of blue
goldbmax = 85 //initial maximum value of blue
//define property of Lemon
lemonrmin = 239 //initial minimum value of red
lemonrmax = 255 //initial maximum value of red
lemongmin = 255 //initial minimum value of green
lemongmax = 255 //initial maximum value of green
lemonbmin = 137 //initial minimum value of blue
lemonbmax = 178 //initial maximum value of blue
//define property of Brulle
brullermin = 255 //initial minimum value of red
brullermax = 255 //initial maximum value of red
brullegmin = 234 //initial minimum value of green
brullegmax = 254 //initial maximum value of green
brullebmin = 179 //initial minimum value of blue
brullebmax = 198 //initial maximum value of blue
//define property of Goldenrod
goldenrodrmin = 236 //initial minimum value of red
goldenrodrmax = 255 //initial maximum value of red
goldenrodgmin = 174 //initial minimum value of green
goldenrodgmax = 202 //initial maximum value of green
goldenrodbmin = 0 //initial minimum value of blue
goldenrodbmax = 40 //initial maximum value of blue
//define property of Huntergreen
huntergreenrmin = 0 //initial minimum value of red
huntergreenrmax = 0 //initial maximum value of red
huntergreengmin = 50 //initial minimum value of green
huntergreengmax = 99 //initial maximum value of green
huntergreenbmin = 0 //initial minimum value of blue
huntergreenbmax = 0 //initial maximum value of blue
//define property of Green
greenrmin = 0 //initial minimum value of red
greenrmax = 0 //initial maximum value of red
greengmin = 100 //initial minimum value of green
greengmax = 163 //initial maximum value of green
greenbmin = 0 //initial minimum value of blue
greenbmax = 0 //initial maximum value of blue
//define property of Limogreen
limogreenrmin = 0 //initial minimum value of red
limogreenrmax = 0 //initial maximum value of red
limogreengmin = 248 //initial minimum value of green
limogreengmax = 255 //initial maximum value of green
limogreenbmin = 0 //initial minimum value of blue
limogreenbmax = 0 //initial maximum value of blue
//define property of Lime
limermin = 133 //initial minimum value of red
limermax = 182 //initial maximum value of red
limegmin = 255 //initial minimum value of green
limegmax = 255 //initial maximum value of green
limebmin = 0 //initial minimum value of blue
limebmax = 78 //initial maximum value of blue
//define property of Mint
mintrmin = 133 //initial minimum value of red
mintrmax = 182 //initial maximum value of red
mintgmin = 255 //initial minimum value of green
mintgmax = 255 //initial maximum value of green
mintbmin = 79 //initial minimum value of blue
mintbmax = 165 //initial maximum value of blue
//define property of Skyblue
skybluermin = 139 //initial minimum value of red
skybluermax = 200 //initial maximum value of red
skybluegmin = 218 //initial minimum value of green
skybluegmax = 255 //initial maximum value of green
skybluebmin = 243 //initial minimum value of blue
skybluebmax = 255 //initial maximum value of blue
//define property of Noonblue
noonbluermin = 0 //initial minimum value of red
noonbluermax = 65 //initial maximum value of red
noonbluegmin = 0 //initial minimum value of green
noonbluegmax = 57 //initial maximum value of green
noonbluebmin = 219 //initial minimum value of blue
noonbluebmax = 255 //initial maximum value of blue
//define property of Duskblue
duskbluermin = 65 //initial minimum value of red
duskbluermax = 100 //initial maximum value of red
duskbluegmin = 0 //initial minimum value of green
duskbluegmax = 0 //initial maximum value of green
duskbluebmin = 0 //initial minimum value of blue
duskbluebmax = 234 //initial maximum value of blue
//define property of Indigo
indigormin = 87 //initial minimum value of red
indigormax = 110 //initial maximum value of red
indigogmin = 0 //initial minimum value of green
indigogmax = 0 //initial maximum value of green
indigobmin = 201 //initial minimum value of blue
indigobmax = 236 //initial maximum value of blue
//define property of Violet
violetrmin = 147 //initial minimum value of red
violetrmax = 200 //initial maximum value of red
violetgmin = 0 //initial minimum value of green
violetgmax = 0 //initial maximum value of green
violetbmin = 179 //initial minimum value of blue
violetbmax = 225 //initial maximum value of blue
//define property of Black
blackrmin = 0 //initial minimum value of red
blackrmax = 0 //initial maximum value of red
blackgmin = 0 //initial minimum value of green
blackgmax = 0 //initial maximum value of green
blackbmin = 0 //initial minimum value of blue
blackbmax = 0 //initial maximum value of blue
//define property of White
whitermin = 255 //initial minimum value of red
whitermax = 255 //initial maximum value of red
whitegmin = 255 //initial minimum value of green
whitegmax = 255 //initial maximum value of green
whitebmin = 255 //initial minimum value of blue
whitebmax = 255 //initial maximum value of blue
Last edited: