[Help!] lightmaps not updated ingame (ok wtf)

Making or wanting help making your own asset? Check in here
Post Reply
cat
Posts: 260
Joined: 2005-10-31 20:38

[Help!] lightmaps not updated ingame (ok wtf)

Post 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?
Hans Martin Slayer
Retired PR Developer
Posts: 4090
Joined: 2007-01-21 02:20

Re: lightmaps not updated ingame (ok wtf)

Post 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.
cat
Posts: 260
Joined: 2005-10-31 20:38

Re: lightmaps not updated ingame (ok wtf)

Post by cat »

The bat looked dangerous, it has written "only rhino" in it. What exactly does atlas do?
cat
Posts: 260
Joined: 2005-10-31 20:38

Re: lightmaps not updated ingame (ok wtf)

Post by cat »

wait you mean the packing bat?
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: lightmaps not updated ingame (ok wtf)

Post 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....
Image
cat
Posts: 260
Joined: 2005-10-31 20:38

Re: lightmaps not updated ingame (ok wtf)

Post by cat »

I read that it was used for some seoncdary terrains stuff.
Hans Martin Slayer
Retired PR Developer
Posts: 4090
Joined: 2007-01-21 02:20

Re: lightmaps not updated ingame (ok wtf)

Post 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.
cat
Posts: 260
Joined: 2005-10-31 20:38

Re: lightmaps not updated ingame (ok wtf)

Post by cat »

Then I confused it with the other "atlas" thing
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: lightmaps not updated ingame (ok wtf)

Post 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.
Image
Dunehunter
Retired PR Developer
Posts: 12110
Joined: 2006-12-17 14:42

Re: lightmaps not updated ingame (ok wtf)

Post by Dunehunter »

...and now I remember why I haven't tried modding for BF2.

[R-MOD]Jigsaw] I am drunk. I decided to come home early because I can''t realy seea nyithng. I hthknk i madea bad choicce. :|
Post Reply

Return to “PR:BF2 Community Modding”