View Full Version : How can a curve cast shadow

10-09-2002, 02:56 PM
I would apreciate help on this matter. It's really important for atmosphere in my map. I think a shader must be used, so if anyone knows wich shader is invisible in game but casts shadow, please tell me. Or even what command should I use in script? That is if it's imposible to make a curve cast shadow...

Leslie Judge
10-09-2002, 02:59 PM
When compiling the map you have to use -patchshadows in the Light process.

10-09-2002, 07:23 PM
Thanks a lot! I'm not sure where do I use that command, but I'll figure it out. Thanks again!

10-09-2002, 09:06 PM
If you're using SOF2Map (reguardless of the editor, they all use it), look in Project Settings or something similar. There will be a bunch of compile commands that you see in the menu. Edit one or make a new one that includes -patchshadows in the part where you see -light, just put it next to it.

10-09-2002, 10:03 PM
Thank you too Emon, I managed to figure that out myself, but I encountered another problem: when i edit the said command line, it dissapears. The moment I press OK, even if I didn't edit anything. In fact it doesn't dissapear completely, only what can fit the on the screen remains. If i didn't put it right: C:\PROGRA~1\LUCASA~1\STARWA~1\GameData\Tools\sof2m ap\ -patch
That's what's left. Is there another way to make the command work. Maybe a batch file?

10-09-2002, 11:47 PM
Try making a new compile command, copy and paste the old stuff.

10-13-2002, 07:26 PM
Well, at last we're back! I solved the problem in the meantime. Apparently it doesn't require full path. Just: sof2map -light -patchshadows $
And then I downloaded GTK Radiant... It works without that problem. I just added -patchshadows in fullVis command.