Light problem

Have questions about CoD2 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

All-Killer
CJ Worshipper
CJ Worshipper
Posts: 383
Joined: December 16th, 2005, 6:38 pm

Light problem

Post by All-Killer » December 16th, 2006, 3:15 pm

Im working on a map and i made some lightning entity's in it. (see screenshot)

Image

Now i first had the under line of lights. But it was to dark so i wanted to make a light in the top of the map. But when i compile i dont see them :? What can be the problem?. Maximum of light entity's ore somthing?
Image

User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

Post by Nightmare » December 16th, 2006, 3:53 pm

that seriously looks like you have way too many lights
instead of having more lights, just select the light, press n and do this

key:light
value:#

the higher the number the brighter the light will be.
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet

-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » December 16th, 2006, 4:08 pm

Nightmare wrote:that seriously looks like you have way too many lights
instead of having more lights, just select the light, press n and do this

key:light
value:#

the higher the number the brighter the light will be.
Not in cod 2 radiant :wink:

You need to give the lights a radius value and a colour. For brightness you need to change the intensity. It tells you what keys you can use when you press N...
Watch this before posting a question: http://www.albinoblacksheep.com/flash/posting.php

User avatar
t3vY
CJ Worshipper
CJ Worshipper
Posts: 362
Joined: January 15th, 2006, 1:57 pm
Location: zamušani

Post by t3vY » December 16th, 2006, 5:52 pm

or make
key:radius
value:600 (or more or less)

and you ll need only one light :)
Image

All-Killer
CJ Worshipper
CJ Worshipper
Posts: 383
Joined: December 16th, 2005, 6:38 pm

Post by All-Killer » December 16th, 2006, 6:31 pm

yeah but this is why i have so much lights (im not a noob mapper :wink: ) its a lazergame map so i have all small dots on the ground. But you think there to much of it?

Oke i deleted a hole buch of lights and changed the radius. But its still not working properly. When im adding an extra light and hang it up in the ceiling it dont work (read no light). What can be the problem?
Image

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » December 16th, 2006, 7:38 pm

Do you get compile errors? are the lights actually shining on something? the radius of the light should be touching what you want light on.
Watch this before posting a question: http://www.albinoblacksheep.com/flash/posting.php

User avatar
t3vY
CJ Worshipper
CJ Worshipper
Posts: 362
Joined: January 15th, 2006, 1:57 pm
Location: zamušani

Post by t3vY » December 16th, 2006, 8:12 pm

did you pressed the K letter and give the colour to the light?
Image

All-Killer
CJ Worshipper
CJ Worshipper
Posts: 383
Joined: December 16th, 2005, 6:38 pm

Post by All-Killer » December 16th, 2006, 8:51 pm

@luke look picture, and now error's (on the 3d screen where the light is cutted of thats the ceiling)
Image

@ tevy thats a really stupit question if you look to the first screen
Image

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » December 16th, 2006, 9:47 pm

So you don't see the light in game?, the one you have selected in the screenie? you don't see the light on the edge of the crate and on the ceiling?
Watch this before posting a question: http://www.albinoblacksheep.com/flash/posting.php

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » December 17th, 2006, 12:38 am

Worldspawn settings?
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

All-Killer
CJ Worshipper
CJ Worshipper
Posts: 383
Joined: December 16th, 2005, 6:38 pm

Post by All-Killer » December 17th, 2006, 11:23 am

No i dont see them in game, and yes i have worldspawn settings
Image

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » December 17th, 2006, 5:04 pm

- Screenshot of the entity window with the light selected
- Errors in compile? (post full compile log)
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

All-Killer
CJ Worshipper
CJ Worshipper
Posts: 383
Joined: December 16th, 2005, 6:38 pm

Post by All-Killer » December 18th, 2006, 2:23 pm

Sorry for late reply

Here the entity window:

Image

Compile log:

Code: Select all


Er bestaat al een submap of bestand C:\Program Files\Activision\Call of Duty 2\m
ain\maps\.
Er bestaat al een submap of bestand C:\Program Files\Activision\Call of Duty 2\m
ain\maps\mp.
        1 bestand(en) gekopieerd.
CoD2Map v1.1 (c) 2002 Id Software Inc. / Infinity Ward
---- cod2map ----
----- FS_Startup -----
Current search path:
C:\Program Files\Activision\Call of Duty 2\Bin/main
C:\Program Files\Activision\Call of Duty 2\main\mp_crazymaze.iwd (13 files)
C:\Program Files\Activision\Call of Duty 2\main\jm_bootcamp.iwd (30 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_14.iwd (4038 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_13.iwd (22624 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_12.iwd (1016 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_11.iwd (1462 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_10.iwd (1936 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_09.iwd (2142 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_08.iwd (2723 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_07.iwd (3384 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_06.iwd (990 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_05.iwd (928 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_04.iwd (698 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_03.iwd (26 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_02.iwd (40 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_01.iwd (16 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_00.iwd (102 files)
C:/Program Files/Activision/Call of Duty 2//main
C:\Program Files\Activision\Call of Duty 2\Bin/raw
C:\Program Files\Activision\Call of Duty 2\Bin/raw_shared
C:\Program Files\Activision\Call of Duty 2\Bin/devraw
C:\Program Files\Activision\Call of Duty 2\Bin/devraw_shared
C:/Program Files/Activision/Call of Duty 2//raw
C:/Program Files/Activision/Call of Duty 2//raw_shared
C:/Program Files/Activision/Call of Duty 2//devraw
C:/Program Files/Activision/Call of Duty 2//devraw_shared
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw10.iwd (414
files)
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw09.iwd (98 f
iles)
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw08.iwd (8 fi
les)
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw07.iwd (1014
 files)
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw06.iwd (3110
 files)
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw05.iwd (5310
 files)
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw04.iwd (6240
 files)
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw03.iwd (6580
 files)
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw02.iwd (6404
 files)
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw01.iwd (5510
 files)
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw00.iwd (4764
 files)

File Handles:
----------------------
81620 files in iwd files
Loading map file C:\Program Files\Activision\Call of Duty 2\main\maps\mp\mp_laze
rgame.map
writing C:\Program Files\Activision\Call of Duty 2\main\maps\mp\mp_lazergame.d3d
prt
    6 unique shaders
    5 actual shaders

finding triangle windings...
coalescing coincident windings...
merging into concave windings...
fixing t-junctions...
tethering holes to their concave windings...
finding index mapping and snapping vertices...
triangulating all windings...
0 self-tjunctions fixed
0 degenerate tris removed
smoothing normals...
emitting triangles...
0 vertices couldn't be merged because the textures point different ways

building curve/terrain collision...
Adding brush neighbor bevels...
Removing redundant brush collision planes...
removed 134 brush sides
elapsed time 0 seconds
Writing C:\Program Files\Activision\Call of Duty 2\main\maps\mp\mp_lazergame.d3d
bsp
    5 seconds elapsed
----- FS_Startup -----
Current search path:
C:\Program Files\Activision\Call of Duty 2\main\mp_crazymaze.iwd (13 files)
C:\Program Files\Activision\Call of Duty 2\main\jm_bootcamp.iwd (30 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_14.iwd (4038 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_13.iwd (22624 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_12.iwd (1016 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_11.iwd (1462 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_10.iwd (1936 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_09.iwd (2142 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_08.iwd (2723 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_07.iwd (3384 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_06.iwd (990 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_05.iwd (928 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_04.iwd (698 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_03.iwd (26 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_02.iwd (40 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_01.iwd (16 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_00.iwd (102 files)
C:/Program Files/Activision/Call of Duty 2//main
C:/Program Files/Activision/Call of Duty 2//raw
C:/Program Files/Activision/Call of Duty 2//raw_shared
C:/Program Files/Activision/Call of Duty 2//devraw
C:/Program Files/Activision/Call of Duty 2//devraw_shared
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw10.iwd (414
files)
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw09.iwd (98 f
iles)
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw08.iwd (8 fi
les)
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw07.iwd (1014
 files)
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw06.iwd (3110
 files)
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw05.iwd (5310
 files)
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw04.iwd (6240
 files)
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw03.iwd (6580
 files)
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw02.iwd (6404
 files)
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw01.iwd (5510
 files)
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw00.iwd (4764
 files)

File Handles:
----------------------
81620 files in iwd files

using default bounceFraction 0.6


using default contrastGain 0.3

building collision data...
building collision took 0.0 seconds
----------------------------------------
Calculating sample areas...
Finished in 0 seconds.
----------------------------------------
Building light transport...
Finished in 17 seconds.
----------------------------------------
Radiosity bounce 1...
Finished in 0 seconds.
----------------------------------------
Radiosity bounce 2...
Finished in 0 seconds.
----------------------------------------
Radiosity bounce 3...
Finished in 0 seconds.
----------------------------------------
Radiosity bounce 4...
Finished in 0 seconds.
----------------------------------------
Radiosity bounce 5...
Finished in 0 seconds.
----------------------------------------
Radiosity bounce 6...
Finished in 0 seconds.
----------------------------------------
Building lightmaps...
Finished in 0 seconds.
----------------------------------------
Calculating light grid...
Light grid sample point file 'C:\Program Files\Activision\Call of Duty 2\main\ma
ps\mp\mp_lazergame.grid' not found, trying legacy .vclog.
Vis cache logfile 'C:\Program Files\Activision\Call of Duty 2\main\maps\mp\mp_la
zergame.vclog' not found; using static model origins only.
Finished in 0 seconds.
----------------------------------------
Calculating ground lighting for static models...
Finished in 0 seconds.
Saving lightmaps...

Entire light compile finished in
Hope that helps.
Image

Pedsdude
Site Admin
Site Admin
Posts: 15909
Joined: October 15th, 2004, 7:18 pm
Location: UK

Post by Pedsdude » December 18th, 2006, 3:58 pm

How do you get a log of compiles? I tried compiling my map, the black box came up then went, and I couldn't find the file anywhere on my computer. I sent it to Luke to compile and it compiled fine for him.
Image
Image

All-Killer
CJ Worshipper
CJ Worshipper
Posts: 383
Joined: December 16th, 2005, 6:38 pm

Post by All-Killer » December 18th, 2006, 4:24 pm

Hmm i just compile with the included compiler. And to get a log simple click right when the compiler is almost finsihed (the las line) and select somthing like ''select all'' (i have dutch windows so) then you see that all the text get;s a bit white and then wit enter. Now open notepad ant hit ctrl + v and youre done.

Now for where to find the file: i found out that when youre compiling with mp_ in front of the name youre map will come in main/maps/mp if you have another name then you find it in main/maps
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests