Page 1 of 1

How to add shadows

Posted: Sun Oct 10, 2010 8:34 am
by modmaster13
Hey I would like to know how to add shadows.

Re: How to add shadows

Posted: Sun Oct 10, 2010 8:35 am
by CT-26-6958_Hevy
You have to add a light.
Look a the "Everything you need Thread" in the Mapping part.
Or download Fierfeks Mappingtutorial

Re: How to add shadows

Posted: Sun Oct 10, 2010 9:11 am
by DarthD.U.C.K.
create a directional light with cause shadows and specular enabled and put it in the list of the two worllights?! on the right

Re: How to add shadows

Posted: Sun Oct 10, 2010 9:14 am
by fasty
Or you could make a shadow region.

Re: How to add shadows

Posted: Sun Oct 10, 2010 5:20 pm
by AQT
^ Shadow regions are meant to change the lighting under them and prevent shadows from casting.

Re: How to add shadows

Posted: Sun Oct 10, 2010 8:08 pm
by modmaster13
Well I am trying to convert Rhen Var: Citadel and the shadows are directly under the unit. Is there a way that I can edit that to make it look like the Corusant shadows? :?

Re: How to add shadows

Posted: Sun Oct 10, 2010 8:13 pm
by AQT
Increase the angle of your directional lighting, perhaps? The greater the angle, the more stretched out your shadows will be.

Re: How to add shadows

Posted: Sun Oct 10, 2010 8:18 pm
by modmaster13
Uh................ :faint:

How do I do that?

Re: How to add shadows

Posted: Sun Oct 10, 2010 8:27 pm
by AQT
Please actively read the following shipped documentation: ZeroEditor_guide.doc and BF2_lighting.doc.

Re: How to add shadows

Posted: Sun Oct 10, 2010 9:31 pm
by modmaster13
Ok ill study it. Just trying to get used to coding because I am new to modding. :cpu:

Re: How to add shadows

Posted: Sun Oct 10, 2010 11:42 pm
by [TFA]Padawan_Fighter
You shouldn't really have to use ANY coding to change the direction of a light. Just click on the light you have already, and rotate it. Simple.

Re: How to add shadows

Posted: Fri Oct 29, 2010 11:19 pm
by modmaster13
Would I be doing this in the zero editor?

Re: How to add shadows

Posted: Sat Oct 30, 2010 12:30 am
by [TFA]Padawan_Fighter
Yes...... :roll:

Re: How to add shadows

Posted: Sat Oct 30, 2010 8:24 am
by THEWULFMAN
click on your light, and press and hold the "x" key, use you mouse buttons to spin it to whatever direction you want.
I do not think this needs to be spelled out anymore than that.

Re: How to add shadows

Posted: Sat Oct 30, 2010 5:28 pm
by Tardis
This to me seems like your light is allready there. First you have to do what everyone else has been saying, re-angle your light. You could do that or just delete that light and go again. If you do that this is what you need to do.

First you might want to make a hill in your map if you don't allready have one so that you can test your light and shadows.

1) Open the light tab in ZE.
2) On the left side panel set the lighting type to DIR, and select cast shadows.
3) Now place your light anywhere you want on your map and name it whatever you want.
4) Now angle your light on a good downward angle, for me 45 degrees is the best, but it's totaly up to you.
5) Then on the right side panel under Directional Light 1 Name: , enter the name of your light.

Now you should have character shadows with your map.

If you placed that hill or if you already had one, you should see some shadows coming from your hill. These are what I call terrain shadows. If you like these and want them in your map, this is what you have to do.

Assuming that you have done all the steps above, you now have to click on the Image button at the top right of your ZE window. From here there are two functions. The first is Burn Terrain which is what we are going to use. The other one is a good tool to use if your making a mini map. Anyways, click on Burn Terrain, let it do its work and then your done!

Re: How to add shadows

Posted: Sat Oct 30, 2010 6:49 pm
by modmaster13
Ok it says

Cast Shadow?
Yes No

Would I click yes if I want shadows?

Re: How to add shadows

Posted: Sat Oct 30, 2010 7:30 pm
by Fiodis
What do you think?

With questions like that, you should pick the most obvious answer, test, and if it doesn't work just choose the other option.

Re: How to add shadows

Posted: Sun Oct 31, 2010 1:02 am
by Tardis
I said yes... :roll: