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.

Dark GDK / Loading Dark Matter models

Author
Message
Kurt
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location:
Posted: 25th Feb 2008 12:53
Probably stupid question but i just can\'t manage to load in dark matter models into my dGDK game in VC+.

For example there is this file called \"H-Big 4x4-Move.x\". I try to load it as any other, with:


But a simple check with:



reveals that it hasn\'t been loaded.
It give\'s me the value of 0, which is not where it should be. If i get to that position it isn\'t there, so something is wrong with loading it. Any ideas?

/Kurresmack
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 25th Feb 2008 14:41
Try:

dbLoadObject(1,"H-Big 4x4-Move.x");

or

dbLoadObject(1,"media/H-Big 4x4-Move.x");

(Forward Slashs)

Note I load DarkMatter all the Time - make sure your working directory is what you expect.

Kurt
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location:
Posted: 25th Feb 2008 17:37
Silly me, it was in another directory. Using the "media/" solved it all. Stupid, but you made me realize. THank you!
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 25th Feb 2008 19:25 Edited at: 25th Feb 2008 19:26
Happens to the BEST of us... The Others just lie to make themselves look good!

[fixed typo LOL]

Login to post a reply

Server time is: 2024-11-17 06:55:36
Your offset time is: 2024-11-17 06:55:36