Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by Zheka. 06/20/24 14:26
Lapsa's very own thread
by rki. 06/19/24 11:27
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 571 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
squik, AemStones, LucasJoshua, Baklazhan, Hanky27
19060 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
OhOh god, i need help - Reducing the memory used #134700
06/08/07 08:31
06/08/07 08:31
Joined: Oct 2006
Posts: 179
ExtraCortex Offline OP
Member
ExtraCortex  Offline OP
Member

Joined: Oct 2006
Posts: 179
I'm finishing my school map in 3D, but there's a problem, the map is huge, and there are too many models, the nexus needs to be above 90 (-nx 90) and i have clip_range set to 3000 with a white nice fog.


But the level is still too heavy when running, causing gliches and generating some script related time issues.

How can i make my map more playable without having to reduce the clip_range to 1 or make it all foggy, or delete objects?

Oh my god... i need to finish this in 2 hours..

Last edited by ExtraCortex; 06/08/07 08:47.
Re: OhOh god, i need help... Oh my god... :O [Re: ExtraCortex] #134701
06/08/07 08:39
06/08/07 08:39
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
LOD but that might take longer than 2 hours.
But you can write a simple action for all static objects that will switch them invisible when they are too far away from the camera.

Side note:
Please use thread name which are more appropriated to your thread's topic in future.
Thanks.

Last edited by Xarthor; 06/08/07 08:41.
Re: OhOh god, i need help... Oh my god... :O [Re: Xarthor] #134702
06/08/07 08:48
06/08/07 08:48
Joined: Mar 2006
Posts: 752
Portugal
demiGod Offline
User
demiGod  Offline
User

Joined: Mar 2006
Posts: 752
Portugal
Hey, if your map gives errors 2 hours before presentation that´s because you did something wrong recently, or did you had those problems for sometime?

It can be a bad script or something you changed in the last hours. What have you done?

Re: OhOh god, i need help... Oh my god... :O [Re: Xarthor] #134703
06/08/07 08:49
06/08/07 08:49
Joined: Oct 2006
Posts: 179
ExtraCortex Offline OP
Member
ExtraCortex  Offline OP
Member

Joined: Oct 2006
Posts: 179
Quote:

LOD but that might take longer than 2 hours.
But you can write a simple action for all static objects that will switch them invisible when they are too far away from the camera.

Side note:
Please use thread name which are more appropriated to your thread's topic in future.
Thanks.





Doesnt the clip_range do that already?
What's LOD?

Changed the name

Re: OhOh god, i need help... Oh my god... :O [Re: demiGod] #134704
06/08/07 08:49
06/08/07 08:49
Joined: Oct 2006
Posts: 179
ExtraCortex Offline OP
Member
ExtraCortex  Offline OP
Member

Joined: Oct 2006
Posts: 179
Quote:

Hey, if your map gives errors 2 hours before presentation that´s because you did something wrong recently, or did you had those problems for sometime?

It can be a bad script or something you changed in the last hours. What have you done?




Just added a few more objects, i mean, more than 300 objects.

Re: OhOh god, i need help... Oh my god... :O [Re: ExtraCortex] #134705
06/08/07 09:33
06/08/07 09:33
Joined: Jan 2003
Posts: 4,305
Damocles Offline
Expert
Damocles  Offline
Expert

Joined: Jan 2003
Posts: 4,305
Welcome to the world of smart leveldesign.
If you just stuff your level with all kinds of Objects you will soon
or later have a non-playable level.
Learn about LOD. This way you can switch of objects, that are too far.
Without a screenshot of the level, the suggestions here will be very general.

Re: OhOh god, i need help... Oh my god... :O [Re: ExtraCortex] #134706
06/08/07 09:41
06/08/07 09:41
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
Quote:

Doesnt the clip_range do that already?



Yes... it does and fog too but U may write simple loop code if vec_dist > something entity is invisible too

Quote:

What's LOD?



It's part of the engine which one will change models depends of distance from camera. To do it U must create less detailed etntitys and named it with _01 or _02... etc; Search forum for LOD system
The point is to see very detailed models only when they are close to camera, and change to less detailed one when far away


Never say never.
Re: OhOh god, i need help... Oh my god... :O [Re: tompo] #134707
06/08/07 10:26
06/08/07 10:26
Joined: Aug 2000
Posts: 7,490
O
Orange Brat Offline

Senior Expert
Orange Brat  Offline

Senior Expert
O

Joined: Aug 2000
Posts: 7,490
@ExtraCortex: Read the manual, front to back and back and again and then do it again a couple more times. It will eliminate a lot of potential questions like "what's LOD?" and other such miracles. That's why there's a manual, to help you out and tell you what the product does. If you still can't find out how to do something after searching the manual AND searching the forum, then post a question. I'm not saying this to be a jerk or to be mean, I'm saying it to be helpful. Take it as good advice from someone that has been here since 1999 and has seen and heard it all many, many times.


My User Contributions master list - my initial post links are down but scroll down page to find list to active links
Re: OhOh god, i need help... Oh my god... :O [Re: Orange Brat] #134708
06/08/07 11:51
06/08/07 11:51
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
Quote:

Read the manual, front to back and back and again and then do it again a couple more times.



I'm agree... it's not a first time when you ask a question but still can find answer in help or by ourself in the next post after your question Example
Stop asking questions... first think! then search help! then search forum! Next do it again... think, search... and agiain... Finaly ask the question!

Last edited by tompo; 06/08/07 11:52.

Never say never.

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