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 / 3D Map Editor + Dark Basic = Problems...

Author
Message
Creator Of Darkness
18
Years of Service
User Offline
Joined: 4th Jan 2007
Location:
Posted: 20th Feb 2007 01:36
I can't figure out how to use the maps I've made in 3D Map Editor.
I've attached a simple map I've been trying to get to work.

Does anyone know how to do this?

Attachments

Login to view attachments
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 20th Feb 2007 15:01 Edited at: 20th Feb 2007 15:01
Export the map as a .x file and then type in dbc



And the mapname being the name of the map and object number the number of the object you are loading. That's how you load the maps into dbc.. then you can do whatever you want to with it ...


i like pancakes..
Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 21st Feb 2007 01:25 Edited at: 21st Feb 2007 01:45
@Creator

Just like Lucifer said if you have an X file. But I'm guessing you mean the DB application by Cordier. If I'm wrong, you don't have to waste your time reading any further.

Make sure you read through everything that is included with 3d Map Editor. I think the only version available is the Demo version, I don't know that you can buy the full version or if it has been released... I used it a long time ago when I started tinkering with DBC but I couldn't track down the full version so I never got too far. Anyway, there should be a file called something like Usage_Skeleton ver.ver(language).dba . This is the layout for creating an application in conjunction with a 3d Editor Map.

The include files referenced in this file are the workhorses that due the actual loading and their functions are called within the skeleton file.

The skeleton will always look in 3dmapeditor working directory unless you change it and it and it's paths are defined in:


There is another file that may be more helpful as it is an example of loading a map. It's a little buggy as far as the file selection but I was able to load your map. I downloaded your file and put it in the following directory relative to 3dMapEditor:

~\Program Files\3DMapEditor\Maps\_tutorials_zones_maps

I then ran the following demo code from within the main 3dMapEditor directory and selected your file. The file is part of the 3dmapeditor package it is called: 3D_ViewVer1.12UseFunction(eng).dba




Enjoy your day.
Creator Of Darkness
18
Years of Service
User Offline
Joined: 4th Jan 2007
Location:
Posted: 21st Feb 2007 18:38
Thanks. I'll try it out.

Quote: "the DB application by Cordier."

Yep, that's the one I'm using.

@Latch

So then if I wanted to make a game out of this I would just need to modify the main loop with my code and it would work, right?
Of course being sensitive to the character positioning coordinates.
What would you suggest?
Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 22nd Feb 2007 10:45
Well,

It's hard to say.

Quote: "So then if I wanted to make a game out of this I would just need to modify the main loop with my code and it would work, right? "


That sounds completely logical - but the demo runs as a first person shooter. If you can figure out how to manipulate the demo so that you could load a map and build any kind of game you want, then that would be the goal.

Enjoy your day.
Freddix
AGK Developer
22
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 22nd Feb 2007 14:24 Edited at: 22nd Feb 2007 14:30
@Latch: thanks for these answers :p I didn't see that post. The registered version exist, you can register at Odyssey-Creators Online shop:
http://shop.odyssey-creators.com/achat/index.php?catid=2&langue=en

@Creator: Yep it may work, but as Latch said the demo source I've made is for FPS games. But you can probably adapt it to work differently.
[I did never keep time to try otherways]

For those that can encounter problems with 3DMapEditor,
You can post your problems, requests, infos at the official 3DMapEditor's forum:
http://forum.odyssey-creators.com
I will be happy to help everyone that need help using 3DMapeditor on the dedicaced forum

Gandalf said: "All we have to decide is what to do with the time that is given to us"
Odyssey-Creators - X-Quad Editor - 3DMapEditor
Creator Of Darkness
18
Years of Service
User Offline
Joined: 4th Jan 2007
Location:
Posted: 26th Feb 2007 22:10
@Latch
I've tried manipulating the code. I've had problems getting it to work. It may be because I have conflicting code. I had already started making a game and I don't want to go back to step one all over again. I haven't been able to get it to run outside of 3D Map Editor, even as a separate DB program. I don't understand how you did it. I put it in that file and tried it. I don't know how to change the code so that it opens my map. I thought I had found the place but I tried and it won't work.

And I am making a FPS game.

@Freddix
Okay. I'll check out that forum too.
Freddix
AGK Developer
22
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 27th Feb 2007 00:18
if you want, I can take a look at your code and try to make it work with 3DMapEditor maps.
Send me a mail at [email protected]

Gandalf said: "All we have to decide is what to do with the time that is given to us"
Odyssey-Creators - X-Quad Editor - 3DMapEditor
Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 27th Feb 2007 05:06
@Creator,

In case you weren't aware, Freddix is the author of 3d Map Editor. He should be able to help you, in fact, it was his demo code that I posted! All I did was put your map file in the

~\Program Files\3DMapEditor\Maps\_tutorials_zones_maps

folder contained in the 3dMapEditor root directory. I then ran that demo code and used the mouse in the file selector dialog to open your map. Take a look at the screen shots in the attachment. They are in order of the steps from untitled1 to untitled4.

But again, Freddix would be the best resource.


Enjoy your day.

Attachments

Login to view attachments
Creator Of Darkness
18
Years of Service
User Offline
Joined: 4th Jan 2007
Location:
Posted: 27th Feb 2007 05:34
@Latch
Oh, ok. I didn't understand. I got it. I can do that.

I thought he was but I didn't want to make assumptions.

@Freddix
Actually I won't be able to get the full version. Sorry. I like the program though. It is very useful.


Sorry to give you all such a hard time and stuff to just get this post.

Login to post a reply

Server time is: 2025-05-27 19:01:18
Your offset time is: 2025-05-27 19:01:18