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.

Author
Message
KoolAid Man
15
Years of Service
User Offline
Joined: 25th Nov 2010
Location:
Posted: 7th Dec 2010 04:52
Why wont this work? it says the line

could not be understood.






Wait. What?
Van B
Moderator
23
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 7th Dec 2010 15:42
Probably that ,0 - I'm not sure how the static object loading works - but I'll guess that it uses that ,0 to specify the start of the objects, like the start object number, so it can't be 0 because there is no object 0 allowed.

Health, Ammo, and bacon and eggs!
DVader
22
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 7th Dec 2010 16:39
The zero is for texture detail, meaning no reduction, :p. Not sure why that doesn't work, here's what I use in my latest project.

The last bit just works out what detail is needed but would work with 0 or 1 etc no problem. You using a new DB version? I'm on 1.075.

http://s6.bitefight.org/c.php?uid=103081
=PRoF=
23
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 7th Dec 2010 16:40
The 0 signifies no texture reduction.

The help files state
Quote: "This command will load an entire static universe previously saved with the SAVE STATIC OBJECTS command."


Is this the way that FPSC saves the levels? (I must be honest, I have never used these commands before)


>Update<

I just compiled and ran your snippet. and the only problem I can see is the sync 60 bit.

This should be



DBP is notorious at reporting error line numbers.

DVader
22
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 7th Dec 2010 16:47 Edited at: 7th Dec 2010 16:55
Lol, I beat you to it =PRoF=, but your right about that. Didn't even look at the second snippet lol. It is complaining about your sync typo, theres nothing wrong with your loading code.
Edit - Oh yeah FPS creator makes one large file and you load up the entire level using just that one command. It's pretty cool and very fast! If you manually loaded in all the segments and placed them yourself it would be a lot slower. It's a nice command Although I am unsure exactly what static objects are used as it's pretty automatic. Haven't run into any issues with that as yet..

http://s6.bitefight.org/c.php?uid=103081
=PRoF=
23
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 7th Dec 2010 17:55
@DVader
I think I just need to learn to type faster, lol; I always seem to be being ninja'd just lately

Login to post a reply

Server time is: 2026-07-21 21:35:33
Your offset time is: 2026-07-21 21:35:33