Page 1 of 1

Re: Precache console command

Posted: Wed Dec 16, 2009 7:26 pm
by Apache Thunder

Code: Select all

game.writePrecache
This command has no arguments, so that's all you need there. :D

Debugger must be used for this command to work.

I also have a question somewhat related. I want to make a texturePrecache.dat file for my levels. Some of the vanilla levels have this. But I don't know how it's made. Battlecraft doesn't make one, nor do I know of any command that can make one. Any one know how to make one?

Re: Precache console command

Posted: Wed Dec 16, 2009 7:51 pm
by freddy
[quote="Apache Thunder"]

Code: Select all

game.writePrecache
how does one use this? i mean do the map has to be unpacked or something, or where do the precache file go?

Re: Precache console command

Posted: Wed Dec 16, 2009 11:39 pm
by Senshi
IIRC the precache file goes in Battlefield 1942\bf1942\levels\ , you should be able to find them there after generation.

But actually precache files are quite useless nowadays IMO. Really any computer built in the second half of this decade should be able to load vehicles and objects "on the fly" during gameplay. The point of precaching was to reduce the "popup" lag when vehicles had to be loaded on the first time during gameplay, but that is kinda redundant now in days where 1-2 GB RAM are common.

Re: Precache console command

Posted: Thu Dec 17, 2009 1:15 am
by fo0k
does that logic not also apply to the texturePrecache.dat ?

Re: Precache console command

Posted: Thu Dec 17, 2009 1:27 pm
by Senshi
I guess, but I didn't say anyhting as I have absolutely no clue what the textureprecache thingie is good for ;) . Never heard of it, actually...