Page 1 of 2

problem to make a night map :(

Posted: December 28th, 2012, 3:50 am
by soyeur
hi every body i'm making a night map , i created my skybox with the modsonlines tutorial

i apply my sky texture (mp_depot) only on the inside face of my skybox ( i tried too with every skybox brush selected) but
when i test my map its day i mean its not dark because we dont see the red light i created on my map...

i tried everything i don't no why this stupid ''easy'' thing doesnt work ..




NEEEED HHEEELP!!

Re: problem to make a night map :(

Posted: December 28th, 2012, 12:59 pm
by F |Madness| U
What do you mean, if you just change your skybox texture that will just change the colour of the skybox, the actual `light` that envlopes the map will still be a `white light`. I can't remember much from radiant, but where you add light sources into the map you need to change the colour of the light to a dark/blue light if you're wanting the map to look like it's nighttime (or have little/no natural light, and only the white light sources from artificial lights eg lampposts and such).

Re: problem to make a night map :(

Posted: December 28th, 2012, 3:50 pm
by Rezil
You have to edit your worldspawn settings to properly illuminate your map. The skybox is only a big texture, it doesn't exactly do anything with map lighting.

Re: problem to make a night map :(

Posted: December 28th, 2012, 4:18 pm
by soyeur
i already edited the worldspawn setting ! i taked the depot setting i did all why you said ! but when i try my map on local game its dayand its not dark like depot... there is the depot night sky but it isn't dark..i already created red yellow and blue light but i cant see them , please someone could make me a large night skybox with entities already inside on a .map?

Re: problem to make a night map :(

Posted: December 28th, 2012, 4:23 pm
by Rezil
Do you actually compile lighting in your compile tools('compile lighting' checkbox is ticked)?

Re: problem to make a night map :(

Posted: December 29th, 2012, 1:21 am
by soyeur
i have coduomaker and i dont find ''light compile'' :s

Re: problem to make a night map :(

Posted: January 9th, 2013, 5:48 pm
by soyeur
could you please make a night skybox prefab (mp_chateau) and send me it?

Re: problem to make a night map :(

Posted: January 9th, 2013, 6:30 pm
by F |Madness| U
As has already been stated, the skybox is not the problem.

Re: problem to make a night map :(

Posted: January 13th, 2013, 2:12 am
by soyeur
so where is my problem i don't understand why it doesn't work.. send me skybox night prefab plz

Re: problem to make a night map :(

Posted: January 13th, 2013, 3:17 am
by Drofder2004
Read what you have been told. The SKYBOX IS NOT THE ISSUE. You need to sort out your WORLDSPAWN settings.

Make sure you have NOTHING selected. Press N.
Now enter the following details ONE BY ONE in to the KEYS and VALUE box (pressing enter afterwards)

Code: Select all

KEY: northyaw
VALUE: 270

KEY: diffusefraction
VALUE: 0.4

KEY: sunlight
VALUE: 0.7

KEY: sundiffusecolor
VALUE: 14 21 32

KEY: suncolor
VALUE: 33 43 53

KEY: sundirection
VALUE: -40 5 0

KEY: _color
VALUE: 1 0.98 0.93

KEY: ambient
VALUE: 0.12
[/size]

Re: problem to make a night map :(

Posted: January 13th, 2013, 1:04 pm
by F |Madness| U
I swear to god if he requests a skybox one more time..

Re: problem to make a night map :(

Posted: January 29th, 2013, 12:56 am
by soyeur
I'm sorry to be back but it doesnt work ..

i typed one by one the key and value without anything selected , i aplyed a night skytexture but it doesnt work look at my .map on a notepad:

{
"ambient" "0.12"
"_color" "1 0.98 0.93"
"sundirection" "-40 5 0"
"suncolor" "33 43 53"
"sundiffusecolor" "14 21 32"
"sunlight" "0.7"
"diffusefraction" "0.4"
"northyaw" "270"
"classname" "worldspawn"
// brush 0
{
( 6170 3920 1789 ) ( -2724 3920 1789 ) ( -2724 -1516 1789 ) industrial/brick@brownbrick1 0 0 0 0.25 0.25 0 0 0 0
( -2724 -1374 1790 ) ( -2724 4062 1790 ) ( 6170 4062 1790 ) industrial/brick@brownbrick1 0 0 0 0.25 0.25 0 0 0 0
( -2724 -1516 4311 ) ( 6170 -1516 4311 ) ( 6170 -1516 1789 ) industrial/brick@brownbrick1 0 0 0 0.25 0.25 0 0 0 0
( 4678 -1871 4311 ) ( 4678 3565 4311 ) ( 4678 3565 1789 ) industrial/brick@brownbrick1 0 0 0 0.25 0.25 0 0 0 0
( 6561 2570 6123 ) ( -2333 2570 6123 ) ( -2333 2570 3601 ) industrial/brick@brownbrick1 0 0 0 0.25 0.25 0 0 0 0
( -1729 3920 4311 ) ( -1729 -1516 4311 ) ( -1729 -1516 1789 ) industrial/brick@brownbrick1 0 0 0 0.25 0.25 0 0 0 0




i don't understand why it doesent work the .map looks good..

Re: problem to make a night map :(

Posted: January 29th, 2013, 1:54 am
by Drofder2004
Screenshot of map ingame?

Re: problem to make a night map :(

Posted: January 29th, 2013, 2:04 am
by soyeur
http://xtropik.net/uploads/1359421399_tropik.jpeg


:(


i use codradiant and coduomaker.. i do everything what you say but its always day..

Re: problem to make a night map :(

Posted: January 29th, 2013, 12:04 pm
by Drofder2004
Its really hard to see lighting detail on such little amount of map, I am guessing this is just a test map for the settings?
Build a few structures and a larger floor.

What sky texture is being used?