Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / How to download multiple files .x faster?

Author
Message
MFK
19
Years of Service
User Offline
Joined: 2nd Mar 2007
Location: Moscow (Russia)
Posted: 21st Mar 2007 11:49
So.
I want to download a couple of .x files
using this way:
for f = 100 to 150
load object "object.x",f
next f
It's harshly slow down loading...
Can be other way to download multiple .x faster using integer
instead of its names???

Always confused...

MFKefirman
TDK
Retired Moderator
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 21st Mar 2007 17:20 Edited at: 21st Mar 2007 17:22
Quote: "It's harshly slow down loading"


I'm assuming that you are mixing up your terminology here a bit and that you aren't downloading (off the net) anything but are 'loading' instead...

Quote: "Can be other way to download multiple .x faster using integer instead of its names???"


Yes but obviously you'll have to rename your .X files. Assuming that you've renamed them Mode1100.x, Model101.x, Model102.x ... Model150.x and placed them in a folder called 'Models' then you would use:



But, the loading speed using that way wouldn't be any faster than loading using any other filenames, though I guess you are referring to the time it takes to type all the Load Object lines, not the load speed itself.

TDK_Man

MFK
19
Years of Service
User Offline
Joined: 2nd Mar 2007
Location: Moscow (Russia)
Posted: 22nd Mar 2007 12:42
Oh man!
I guess i wrote wrong question.
The correct is:
Can be FASTER way to load into game multiple .x faster using integer instead of its NUMBERS?
Maybe functions?

load object "model.x", objnum
instead
load object "model.x", 100

Sorry fo grammar(^_^)
Anyway, thanks!

MFKefirman

Login to post a reply

Server time is: 2026-07-06 03:57:33
Your offset time is: 2026-07-06 03:57:33