Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
6 registered members (AndrewAMD, Quad, soulman3, Ayumi, steyr, 3run), 631 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
slowdown in huge level #60731
12/20/05 21:39
12/20/05 21:39
Joined: Jan 2004
Posts: 30
martin Offline OP
Newbie
martin  Offline OP
Newbie

Joined: Jan 2004
Posts: 30
we are developing a special purpose game, consisting of only one huge level, with almost no geometry, mostly models. we are running it on an athlon 3000+ with 1gb ram and a 256mb geforce6600.
the level loads fine, but when playing, every now and then there's a big slowdown, maybe 1 second freeze. i checked the statistics, and in the ms/frame column, the ent value goes up a lot when that happens, and there's also a lot of disk activity. also the usedmem value goes up, so i'm guessing it's loading new entities from disk. the second time i run through the level it doesn't happen nearly as much, if at all.
the question is, is there a way to have them all load beforehand so that there won't be slowdowns? they are all level entities, put into wed, so according to the manual they should already be preloaded.
as i said it's a special purpose game, so i don't care about system requeriments, so i could add more ram, but maybe that won't fix the problem.

any insights?

thanks!

Re: slowdown in huge level [Re: martin] #60732
12/20/05 23:31
12/20/05 23:31
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline
Senior Expert
ulillillia  Offline
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
If there's a lot of disk activity, that's a sign that you've run out of memory and things are being read from swapfile. Swapfile is used to store memory items that can't fit in memory and are placed on the hard drive. Two solutions:

1. Close some unneccessary programs to free up memory.
2. Buy more RAM. RAM is quite cheap. You can get a 512 MB for about $70 or 1 GB for about $90. Make sure your motherboard can handle this much memory though before buying.


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials
Re: slowdown in huge level [Re: ulillillia] #60733
12/21/05 00:25
12/21/05 00:25
Joined: Aug 2004
Posts: 2,215
I
ISG Offline

Expert
ISG  Offline

Expert
I

Joined: Aug 2004
Posts: 2,215
Yes, there is a way to preload the models before playing. If you look in the manual I think you can look under:
ent_preload
And you should see what your looking for! This is IF they aren't already preloaded all the way, but who knows...always worth a try....


Ground Tactics - Coming Soon
Ground Tactics OFFICIAL WEBSITE

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1