lighting problems

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

Moderator: Moderators

Post Reply
RJH
Lance Corporal
Posts: 19
Joined: Mon Aug 23, 2004 8:36 pm

lighting problems

Post by RJH »

im working on a map and i have a entity light i made in to a beam using the tuts on this site and it worked but models wouldnt light up. like my hands/weapon, or the AI i out under it. how can i make it light them up?
Im going to try the Entity only option but im not sure if that will work or not
heres a pic of the entity properties.

http://www.daplayazclub.com/uploads/lightentity.jpg
Thanks

RJH
Last edited by RJH on Thu Aug 11, 2005 7:29 pm, edited 1 time in total.
Image
panTera
Brigadier General
Posts: 573
Joined: Wed Jan 29, 2003 11:46 pm
Location: The Netherlands
Contact:

Post by panTera »

well, if that 'Entity only' doesn't work you can also just add another (normal) light nearby the beam. That way the beam is there for looks and the light enitity will be the real light source.
RJH
Lance Corporal
Posts: 19
Joined: Mon Aug 23, 2004 8:36 pm

Post by RJH »

i did the regular light, and that didnt even work, il keep trying.
Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

The link didn't work for me .
Image
RJH
Lance Corporal
Posts: 19
Joined: Mon Aug 23, 2004 8:36 pm

Post by RJH »

it just says

_color 1.000000 0.984314 0.901961
angles 90 0 0
classname light
light 200
origin -100 2205 536
spot_angle 35


now i have some lights lighting models and some not, so i went into radient and copied the ones that work and replaced the non working ones. BUT THEY STILL DONT work. i dont get it.its the exact same light entity just in a different spot.
Image
User avatar
Cobra
Colour Sergeant
Posts: 93
Joined: Sun Jul 17, 2005 9:22 am
Location: The Netherlands
Contact:

Post by Cobra »

Its unnessesery to create an new topic. I discuss it here.

I have create my first map and i will render the map into an better lightworld. I have addded lightposts in my map now, the ambientlight is 35 35 35. I have search for the button, but how can i render my map, so the lightposts are usefull?
panTera
Brigadier General
Posts: 573
Joined: Wed Jan 29, 2003 11:46 pm
Location: The Netherlands
Contact:

Post by panTera »

RJH:
I read through your posts again and I don't get it either. I just followed that tutorial on lightbeams and did some tests with the spotlights. All worked fine. (I didn't create the beam effect itself, only the spot light).

I found that the spot_angle key isn't really needed (it only narrows the light cone) but the light itself did shine on the player model and weapon. So in theory you shouldn't need to check any of the additional light options.
Is your map free of leaks and are you using any special lightcompile parameters?


Cobra:
Do you mean you have placed a lightpost model in your map?
The lamp and lightpost models do not give light, so you need to add a light entity near the model. (Right Mousebutton -> Light)
Last edited by panTera on Sun Aug 21, 2005 11:57 pm, edited 1 time in total.
RJH
Lance Corporal
Posts: 19
Joined: Mon Aug 23, 2004 8:36 pm

Post by RJH »

i dont have any leaks, and i just use the MBuilder to compile.
Image
panTera
Brigadier General
Posts: 573
Joined: Wed Jan 29, 2003 11:46 pm
Location: The Netherlands
Contact:

Post by panTera »

... in Mbuilder you can use additional lightcompile commands (e.g. -fast, -bounce #, -staticshadows etc.) but when you say you 'just use the Mbuilder' then you probably haven't changed anything and are compileing with the default settings, which is good.

Make a small testmap with just some new lights in it to see if the same problem occurs in that map. Try some different lights, one regular light and one with the 'angles key' of 90 0 0.

Sometimes it's best to just delete some stuff and start over. Delete the lights (not the beam) and place new ones without adding keyvalues. Then do a compile. If things light up like they should try adding the keys again.
User avatar
Cobra
Colour Sergeant
Posts: 93
Joined: Sun Jul 17, 2005 9:22 am
Location: The Netherlands
Contact:

Post by Cobra »

I will try that panTera. I write today or tommorow the result.
User avatar
Cobra
Colour Sergeant
Posts: 93
Joined: Sun Jul 17, 2005 9:22 am
Location: The Netherlands
Contact:

Post by Cobra »

Iam a little late but the lightning compile is working. Thanks for the instructions.

What is the best compile options to do to final option in BSP,VIS & LIGHT exacly?
Post Reply