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 / Save whole scene

Author
Message
The Real Abaddon
16
Years of Service
User Offline
Joined: 26th Jun 2008
Location:
Posted: 4th Dec 2008 13:09
Is it posibile to save the whole scene ( created with dbloadobject dbpositionobject ) made from more objects put arround the scene and save all objects as one file like one big X file ?

If it is can anyone show me an example ?
CheatCat
17
Years of Service
User Offline
Joined: 7th Mar 2007
Location: Sweden
Posted: 4th Dec 2008 15:27
Do you make a level editor?

I don't know about X files, but you can save files an then read the file by hand or let the computer do it and create objects from the file's options.

Anyway, here is an example of a file writer:


That will make a file with text like this:

The first value is the object number, the second is the x value and then the y value and z value.
The Real Abaddon
16
Years of Service
User Offline
Joined: 26th Jun 2008
Location:
Posted: 4th Dec 2008 15:52
thanks for the tip, i`l see what i can do.
prasoc
15
Years of Service
User Offline
Joined: 8th Oct 2008
Location:
Posted: 6th Dec 2008 09:37
I get the following error when I try to add that to my wip level editor:


I have no idea what the problem is >_>
CheatCat
17
Years of Service
User Offline
Joined: 7th Mar 2007
Location: Sweden
Posted: 8th Dec 2008 10:53
You must set the Runtime Library to /MT.

???

Okey, right click om your Project and select Properties. Then click on Configuration Properties > C/C++ > Code Generation. Now you see a list to the right with some properties, click on Runtime Library and choose Multi-threaded (/MT).

Login to post a reply

Server time is: 2024-09-30 11:25:04
Your offset time is: 2024-09-30 11:25:04