PDA

View Full Version : how do u change color of the moon?


seks03
11-26-2002, 10:22 PM
I have a map with a moon in the skybox picture and it gives off a reddish color, i want to make it a blueish or white color. can anyone help?

El Sitherino
11-26-2002, 10:50 PM
you have to edit the texture(the .bmp or whatever it is .jpg maybe or .gif dont know what it is)

Shadriss
11-26-2002, 11:03 PM
Two things here.

1) If you want to change the color of the moon ON THE TEXTURE, then Insanesith has the right answer.

2) If you want to change the color that it emits, thats a whole nother bwol of fish. That involves going into the shader script for that skyshader and altering the color values. I dont know much more about it than that.

seks03
11-27-2002, 01:06 AM
ya i need to change the shader. here the script


textures/duel_tattooine/sky
{
lightcolor ( 1 1 1 )
qer_editorimage textures/duel_tattooine/tattooine_up.jpg
q3map_surfacelight 40
q3map_sun 227 45 0 60 0 40
surfaceparm sky
surfaceparm noimpact
surfaceparm nomarks
q3map_nolightmap
skyParms textures/duel_tattooine/tattooine 1024 -
}


i want a blueish white color, like when anakin went to the tuskin camp, can anyone help?

buckman
11-27-2002, 03:45 AM
hmmm, why do i recognize that shader? hmmm. could it be because i wrote it?

Thats my skybox witch i worked damn hard for to get just the way i wanted it. I would appriciate it if you atleast could have asked for my permission to use it. I worked as hell in Bryce to make it perfect and i dont think its cool when people just 'steal' it without saying anything to me first. :mad:

seks03
11-28-2002, 03:11 AM
calm down, calm down..... i going to put u in the credits be sides I just used the code not the pictures, i modified them to look like tats surface here take a look.

http://www.inflictions.com/bin/tc/3.jpg

if you like i'll change your original for ya. no charge :D but can you tell me how to change the color?

Khaza
11-28-2002, 01:42 PM
found this:

// skyparms work like this:
// q3map_sun <red> <green> <blue> <intensity> <degrees> <elevation>
// color will be normalized, so it doesn't matter what range you use
// intensity falls off with angle but not distance 100 is a fairly bright sun
// degree of 0 = from the east, 90 = north, etc. altitude of 0 = sunrise/set, 90 = noon

...from skies.shader, so change this line from your script or copy my example:

q3map_sun red green blue 60 0 40

example for blue color:

textures/duel_tattooine/sky
{
lightcolor ( 1 1 1 )
qer_editorimage textures/duel_tattooine/tattooine_up.jpg
q3map_surfacelight 40
q3map_sun 128 188 255 60 0 40
surfaceparm sky
surfaceparm noimpact
surfaceparm nomarks
q3map_nolightmap
skyParms textures/duel_tattooine/tattooine 1024 -
}

example for white color:

textures/duel_tattooine/sky
{
lightcolor ( 1 1 1 )
qer_editorimage textures/duel_tattooine/tattooine_up.jpg
q3map_surfacelight 40
q3map_sun 255 255 255 60 0 40
surfaceparm sky
surfaceparm noimpact
surfaceparm nomarks
q3map_nolightmap
skyParms textures/duel_tattooine/tattooine 1024 -
}

wedge2211
11-29-2002, 01:34 AM
Buckman, you've got a popular skybox. :) if i did that and everyone wanted to use it, i'd be flattered.

BUT, seks, if he's not, then you're gonna have to pull the skybox. :( i had the same problem. if you only used it as a template for shader coding, then change the name from duel_tatooine so nobody's confused.

seks03
11-29-2002, 06:34 AM
Ya ill change it on the release version but i didnt think it mattered since i modifiyed it so much. check it out.


http://www.inflictions.com/bin/tc/3.jpg