Page 1 of 1
[Help!] lightmaps not updated ingame (ok wtf)
Posted: 2008-11-17 22:14
by cat
I have replaced some objects and selected them, then have clicked on trace selected and medium. The lightmaps show up in editor. however ingame they are still not mapped?
Same problem with the textures for the secondary terrains. They wont update ingame. how can I fix it?
Re: lightmaps not updated ingame (ok wtf)
Posted: 2008-11-17 22:24
by Hans Martin Slayer
are you using the 'create pr map' script (or whatever it's called - the one rhino released in his pr edit package) - works like a charm for me and it puts all files into the right location.
also make sure you create atlas lightmaps before you try it ingame.
Re: lightmaps not updated ingame (ok wtf)
Posted: 2008-11-17 22:26
by cat
The bat looked dangerous, it has written "only rhino" in it. What exactly does atlas do?
Re: lightmaps not updated ingame (ok wtf)
Posted: 2008-11-17 22:30
by cat
wait you mean the packing bat?
Re: lightmaps not updated ingame (ok wtf)
Posted: 2008-11-17 22:30
by Rhino
cat wrote:The bat looked dangerous, it has written "only rhino" in it. What exactly does atlas do?
that is the lightmap samples packer .bat that says only for me to use...
https://www.realitymod.com/forum/f189-m ... cript.html
this is the one Hans is on about.
but that is not your problem, you should really try searching stuff on the BFeditor forums as you would have found out that normally the case that LMs dont get updated ingame is that you have not repacked your lightmap atlas....
Re: lightmaps not updated ingame (ok wtf)
Posted: 2008-11-17 22:32
by cat
I read that it was used for some seoncdary terrains stuff.
Re: lightmaps not updated ingame (ok wtf)
Posted: 2008-11-17 22:38
by Rhino
Re: lightmaps not updated ingame (ok wtf)
Posted: 2008-11-17 22:47
by Hans Martin Slayer
yea, hehe was just going to post that link..
simple and takes a few seconds (to find the info and to do it..)
EDIT: and, no, i'm pretty sure it doesn't have anything to do with secondary terrain at all.
Re: lightmaps not updated ingame (ok wtf)
Posted: 2008-11-17 23:00
by cat
Then I confused it with the other "atlas" thing
Re: lightmaps not updated ingame (ok wtf)
Posted: 2008-11-17 23:15
by Rhino
an atlas file is all the files packed up into large files which the game uses.
surrounding terrain LMs are baked into the colourmap. To get them to recompile is kinda a odd method that dose not always work, but if you go into your "map name\Colormaps\" folder and delete all the tx_s*.dds files where * is a number from 0 to 7 then once your surrounding terrain LMs are done you go file>save (or resave) then make sure complied colourmaps is checked, save them up, with any luck you then should have your new baked LMs into your surrounding terrain.
Re: lightmaps not updated ingame (ok wtf)
Posted: 2008-11-17 23:22
by Dunehunter
...and now I remember why I haven't tried modding for BF2.