Why is my map black?

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
ShOOtMe
Lance Corporal
Posts: 22
Joined: Fri Feb 21, 2003 4:51 pm

Why is my map black?

Post by ShOOtMe »

Created a map, compiled it, no problems, but when run map in mohaa, all is BLACK! Character runs, etc..., just can't see anything. Any suggestions?
User avatar
Ace of Spades
Major
Posts: 291
Joined: Thu Jan 30, 2003 8:50 am
Location: West Coast, USA

Post by Ace of Spades »

Did you place any lights in your map? Check for the tutorial in the tutorial section on how to make a basic room if you don't know how to add light. There is a tutorial on how you add light in an outdoor setting or just do a general search in the forum in the mapping section for sky lighting if its an outdoor map to get more answers on lighting. Any other questions, just ask. Someone here has the answer if I didn't help you any.

Ace

8)
Surgeon
Site Admin
Posts: 1386
Joined: Tue Jun 04, 2002 1:15 am
Location: Stirling, Scotland
Contact:

Post by Surgeon »

You have either not put a light in your map, forgotten to enter worldspawn values for suncolor, or there is a leak in your map somewhere ......
Admin
Image

.map Forums

Truth and Honor.
ShOOtMe
Lance Corporal
Posts: 22
Joined: Fri Feb 21, 2003 4:51 pm

Post by ShOOtMe »

Surgeon wrote:You have either not put a light in your map, forgotten to enter worldspawn values for suncolor, or there is a leak in your map somewhere ......
I tried a light, but too large an area for ordinary lamps. There are no leaks (at least none reported), and my worldspawn values are:
suncolor 80 80 80
sundirection -45 90 0

map compiles fine, but when run map, PITCH BLACK! HELP!!!!!!!
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

light

Post by bdbodger »

try this press n to bring up the entity window . choose worldspawn . enter the key ambientlight and the values 70 70 70 for normal light 10 10 10 for near darkness shadows look a bit funny due to low light . lights whole map with ambient light . try a low ambient light level with lights or spotlights to light up areas . also the sky tex creates light too so maybe use sky chaulk and fog or a low light emmiteing sky tex or just use it to brighten the shadows .
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Do you get any errors when compiling your map (bsp compile that is)?
Image
ShOOtMe
Lance Corporal
Posts: 22
Joined: Fri Feb 21, 2003 4:51 pm

Post by ShOOtMe »

Got no compiing errors. Added the ambientlight 70 70 70 and it worked!
Thanks.
rOger
Major
Posts: 290
Joined: Wed Feb 05, 2003 8:56 pm
Location: Sweden

Post by rOger »

Do you have a skytexture on the skybox? If not there will be no light from the suncolor setting.
Looking for a good game? Play GO the ancient asian game of strategy.
Post Reply