Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, LorraineJones, VoroneTZ, Akow), 1,446 guests, and 10 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Level changing load times #43587
03/31/05 22:45
03/31/05 22:45
Joined: Dec 2002
Posts: 293
Minnesota
Peter Churness Offline OP
Member
Peter Churness  Offline OP
Member

Joined: Dec 2002
Posts: 293
Minnesota
In my game you change levels a lot (every time you go in or out of a building). My player character model has become huge due to all the animation frames. Thus load times have become unacceptable. I realize there are few options for me: switch to bones, write my own level changing scripts instead of level_load, etc. However, before I go through the pain of one of those routes, is there a way to load an entity into memory without a level loaded and keep it there even when further level_load commands are issued? I know I can use ent_preload for texture memory, but I'm talking about the whole model.

Anyone?

Re: Level changing load times [Re: Peter Churness] #43588
04/02/05 05:01
04/02/05 05:01
Joined: Sep 2002
Posts: 758
Sunny Scotland
xoNoid Offline
Developer
xoNoid  Offline
Developer

Joined: Sep 2002
Posts: 758
Sunny Scotland
Define it as a view entity like this:

entity blabla
{
type=<entity.mdl>;
//blablabla
my.visible=off;
}

That should load the entity into memory. Then just make sure ent_texshare is on and that should speed up your loading.


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