Biro 0 Posted September 19, 2003 Share Posted September 19, 2003 (edited) I have a problem with my lighting I can't figure out of so I was wondering if anybody here could help me for the second time in a shorth while. The problem is that I don't get the light effect to show up right in the game or igor after it all looks good in the lighting tool. Here's what I do. 1. I load up my map in the lighting tool and everything looks good, exept the trees are all black. I now set the room data for my only room =1. I put use darkmaps and shadows on. Everything goes all black but I see the contures of my map. 2. I put in a point light with shadows and all the other stuff selected. It lights up my map in a nice way and I can now also see the textures on the trees. I go to recalculate darkmaps and it says after a shorth while: Model [1] now lit with shadows. 3 darkmaps created. 3.I go to save map, gives it a new name selects all lights on and saves. This creates the xxxxx.map file and a .rsb file in my working directory. Should I rename this .rsb file? 4.I now go to igor and sets up the enviroment for the map and loads it in...BUT now everything is light up exept for the trees which are all black. (Looks like the default light from max is still there). Only tree that I can see the textures on is the one that was close to my light, so it's pretty sure that the lighting actually does something, but it does just not light/unlight my other models. I can not see shadows from the trees either, even though I have set it up in the map editor in max. Anyone have any idea what's wrong, is it something I have to do in 3dmax to get it correct or? Biro. //EDIT: PROBLEM SOLVED. I figured out that if I called the .rsb file that was saved for darkmap0xxxx.rsb it all suddenly worked. So I guess it's some inbuilt code in the GR engine that looks for something called darkmap..... Edited September 19, 2003 by Alpha_Biro Quote Link to post Share on other sites
k1ller 0 Posted September 19, 2003 Share Posted September 19, 2003 I've had the same problem and it's one of the many bugs of LightingTool. You have to 'File -> Set Texture Directory' in LightingTool. Apparently LT can search textures from 'working directory' but can't produce working darkmap to same directory unless texture directory is defined. For more information and conversation about the bug, take a look at http://www.theplatoon.com/snitz/topic.asp?...?TOPIC_ID=10351 this thread, in which I ask about the same problem and manage to solve it as the thread goes on . It's little off-topic first but 7. post which is mine (k1ller) starts the conversation about darkmap problem. Quote Link to post Share on other sites
Joel 0 Posted September 19, 2003 Share Posted September 19, 2003 (edited) 3.I go to save map, gives it a new name selects all lights on and saves. This creates the xxxxx.map file and a .rsb file in my working directory. Should I rename this .rsb file?No dont rename it. did you Save ParticlesThan go ahead and save map as the same name but put in in a diffrent folder.then drag the xxx.map file into you map folder and replace the old one with the new one that the lighting tool made. Edited September 19, 2003 by Joel Quote Link to post Share on other sites
sleeper 0 Posted September 19, 2003 Share Posted September 19, 2003 El Oso's lighting tutorial Thats all you need to know. There is no "bug" with the lighting tool and theres no reason to 'save partciles'. Quote Link to post Share on other sites
Biro 0 Posted September 19, 2003 Author Share Posted September 19, 2003 Thanks for all the hints and tips there guys. I did it just like El_Oso wrote in his little turtorial, but then I got my darkmapfile saved just as a .rsb file. I checked this in Igor, but had no light on the map. Then I changed the name to darkmap0testmap.rsb loaded up Igor again, and the light was one...! Quote Link to post Share on other sites
sleeper 0 Posted September 19, 2003 Share Posted September 19, 2003 You dont ever have to rename anything. When you save the map with lighting applied you must save it as a different name than the original. You no longer need the original unless you want to relight it. The darkmaps will be named correctly corresponding with the new map name as .rsb files. You will need the correct darkmaps and the correct map file to see the map appear as it should. Are you still having trouble with your trees not lighting? Quote Link to post Share on other sites
Biro 0 Posted September 20, 2003 Author Share Posted September 20, 2003 Yes, I saved it with a different name in the same directory, and I got my darkmap created, but it wasn't named anything, just .rsb. I had to rename this file to see the darkmap appear correctly and then it was working on the trees also. I have no idea why the lighting tool didn't name it automatically... Quote Link to post Share on other sites
sleeper 0 Posted September 20, 2003 Share Posted September 20, 2003 Cool man, Im glad to see that it is working for you at least. I do remember having the darkmaps save out like that before, named only .rsb. I was doing something wrong at the time. I would just advise you to reread the lighting tool section of the level builder .pdf. Theres probably a box you didnt check or something minor. Another tip with the lighting tool: If you are just loading the same named map each time(such as while you are still in the process of making it) you dont need to select the map directory and texture directory(or even skybox etc.) every time. It will load the last paths you used, just click start. This will save you a few clicks here and there. Quote Link to post Share on other sites
Biro 0 Posted September 20, 2003 Author Share Posted September 20, 2003 LOL, Bad mistake from me sleeper. I didn't set the texture directory as I thought it did so by itself. Now it's working properly. Thanks for your advices man! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.