looking for cmd to cache all items, sounds, etc.

Locked
shadd_
Posts: 2512
Joined: Tue Jun 28, 2005 4:02 pm

looking for cmd to cache all items, sounds, etc.

Post by shadd_ »

been having a few problems with multiplayer and the game not cacheing certain gameplay elements. using the machine gun zoom as an example, first time pressing it in game results in a momentary freeze as it loads from the game files. rail zoom is smooth first time.

there are other items that i can't pinpoint causing the same thing. momentary freezes as the item or sound gets loaded. i noticed a display in the console last time i played.

" warning- loading non-cached item, etc etc.."

who knows the magic command to cache all this shit up when the game loads?

this happens regardless the settings. high or low.

1.5gigs
800xtpe
a64 2.45ghz.

all drives are defragged, config has been set up for my ram amount.
Cyper
Posts: 4
Joined: Sat Nov 05, 2005 1:58 am

Post by Cyper »

Good Tweak guid here from tweakguides.com.

http://www.tweakguides.com/Quake4_4.html

Go forward abit till you see the cache tweaks section.

which is on this page if you have trouble finding it.

http://www.tweakguides.com/Quake4_8.html
shadd_
Posts: 2512
Joined: Tue Jun 28, 2005 4:02 pm

Post by shadd_ »

nope. not working. played around with low and high values for all the tweaks. still can't get rid of it.

hmm, anyone else getting at least the machine gun hitch when first switching to zoom?

i had the same type of hitching with bf2 untill i grabbed more ram then it was always smooth.
[size=75]i never meant to give you mushrooms girl[/size]
Cyper
Posts: 4
Joined: Sat Nov 05, 2005 1:58 am

Post by Cyper »

I get the same thing with the machine gun, but it only lasts a second if that, nothing too big, but still annoying.

AMD Athlon XP 2800+ @ 3200+ (2.2GHz)
1 gig Corsair ram
9800 pro overclocked

playing at 1024x768, settings all high, no shadows or AA.

50-65 fps most of the time.

EDIT: I read somewhere that the MSG zoom lag/freeze was caused by high quality special effects turned on. however I will leave mine on. the zoom on the machine gun is pretty much useless anyhow, same thing with the rail, even though it dosn't freeze with rail.
SOAPboy
Posts: 8268
Joined: Sun Apr 13, 2003 7:00 am

Post by SOAPboy »

Zoom sucks.. ignore it :)
[size=75][i]I once had a glass of milk.

It curdled, and then I couldn't drink it. So I mixed it with some water, and it was alright again.

I am now sick.
[/i][/size]
[img]http://img162.imageshack.us/img162/3631/171164665735hk8.png[/img]
Requ!em
Posts: 62
Joined: Wed Mar 08, 2000 8:00 am

Re: looking for cmd to cache all items, sounds, etc.

Post by Requ!em »

shadd_ wrote:been having a few problems with multiplayer and the game not cacheing certain gameplay elements. using the machine gun zoom as an example, first time pressing it in game results in a momentary freeze as it loads from the game files. rail zoom is smooth first time.
No single magic command, in fact some files can't be cached. Have a look at the following cvars and URLs.

image_preload
r_useCachedDynamicModels
image_useCache
image_cacheMegs
image_cacheMinK


http://ucguides.savagehelp.com/Quake4/FPSVisuals.htm
http://ucguides.savagehelp.com/Quake4/fullcvarlist.htm
Nologic
Posts: 121
Joined: Thu Aug 05, 2004 7:00 am

Post by Nologic »

Well how about a magic phrase..."ram drive" ;)

You got a 64bit processor...why not make use of it...slap in 6gigs of ram, install WinXP64, then install Q4 on a ram drive of 4 gigs.

Course thats just throwing money at the problem...then again how else does one solve the problem. ;)
R00k
Posts: 15188
Joined: Mon Dec 18, 2000 8:00 am

Post by R00k »

Yea, I've got 2 gigs of ram, but I've seen a lot of messages for loading non-cached items; a lot of them are things that seem like they should be loaded at any MP game's start, like enemymodel animations.

MP is pretty limited in the things that are going to be rendered/played. As soon as you start a game, you know every model, sound, animation, skin, texture, etc. that is going to be used through that whole game. Why not allow the game to cache it? It's not like the SP game, where you're constantly coming up on new things that need to be loaded.
shadd_
Posts: 2512
Joined: Tue Jun 28, 2005 4:02 pm

Post by shadd_ »

this has gotta be fixed up. it's not only the machine gun but other shit as well. the more i play the more i notice the game hitching due to loading non-cached elements.

its REALLY bugging me.
[size=75]i never meant to give you mushrooms girl[/size]
kleeks
Posts: 161
Joined: Sat Apr 14, 2001 7:00 am

Post by kleeks »

/me likes nologic's solution :icon28:

tbf i've hardly noticed the cache problem, seems my fps makes things like that unnoticable

so i assume that once loaded thats it for the duration of the what ?- map, evening ? - does it constantly load things in and out of memory, sounds a bit ropey tbh
shadd_
Posts: 2512
Joined: Tue Jun 28, 2005 4:02 pm

Post by shadd_ »

kleeks wrote:/me likes nologic's solution :icon28:

tbf i've hardly noticed the cache problem, seems my fps makes things like that unnoticable

so i assume that once loaded thats it for the duration of the what ?- map, evening ? - does it constantly load things in and out of memory, sounds a bit ropey tbh
my fps are fine, doesn't matter if i put it at 640x480. yeah once loaded it's good. like if i play a busy game for 10 minutes go through the hitches once it's very smooth for the duration.
shadd_
Posts: 2512
Joined: Tue Jun 28, 2005 4:02 pm

Post by shadd_ »

now that i think about it, it's kinda like doom3 timedemo. the first time through it hitches, the second time it's smooth.

there was a command that fixed it up though. can't remember it.
[size=75]i never meant to give you mushrooms girl[/size]
Locked