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 / import CShop

Author
Message
DB newbie
19
Years of Service
User Offline
Joined: 13th Nov 2005
Location: um..... i dont remember.
Posted: 24th Nov 2005 17:15
ok i have had CShop for mayebe a month now ok i need some help how do i load the rooms i make into DarkBASIC can some one pls give me great detail on how to do this pls thanks guys!

ATI mobility radeon X600 graphics card
AMD 64 Bit processor
Jack
20
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 24th Nov 2005 18:41
You mean a "make object box" room?

[/center]
DB newbie
19
Years of Service
User Offline
Joined: 13th Nov 2005
Location: um..... i dont remember.
Posted: 24th Nov 2005 19:27
i just need to be ble to upload rooms i made with CShop into darkbasic so i can have a room in my game thats wat i need!

ATI mobility radeon X600 graphics card
AMD 64 Bit processor
DB newbie
19
Years of Service
User Offline
Joined: 13th Nov 2005
Location: um..... i dont remember.
Posted: 25th Nov 2005 00:02
will someone help i need help ahhhhhhhhhhhhhhhhhhhhh!!!!!!!!!!!!!!!!!!!!!

ATI mobility radeon X600 graphics card
AMD 64 Bit processor
Red Ocktober
21
Years of Service
User Offline
Joined: 6th Dec 2003
Location:
Posted: 25th Nov 2005 00:23
calm down DB new... lets see what we can do for you...

ok, in CShop, you can export your room as a .x file... this will export 2 files, the.x and the lm.x (the regular mesh with the normal textures and the lightmap mesh with the lightmap texture)...

ok, so since you've got the x files (make sure the textures are in the same folder), lets load the .x file now...

its been a while since i used DB, but if i remember correctly, simply load the .x file with the command LOAD OBJECT filename, obj number...

that should get you the first half of the deal... you should see the object... now you're going to have to load the second half of the deal, teh lightmap mesh... load it the same way you did the original...

you now have two objects (meshes) of exactly the same thing, one atop the other... so you're gonna have to make the lightmap mesh semi transparent so that the original textures will show through, and you can get your lightmap effect to show as well..

as for this, i'm sorry... i think that the GHOST OBJECT command might work, but you'll have to experiment yourself... I don't have DB installed on any of my machines...

i hope this helps a bit... good luck...

--Mike
DB newbie
19
Years of Service
User Offline
Joined: 13th Nov 2005
Location: um..... i dont remember.
Posted: 25th Nov 2005 01:04
Dude thanks a lot it worked i owe you one!

ATI mobility radeon X600 graphics card
AMD 64 Bit processor
Red Ocktober
21
Years of Service
User Offline
Joined: 6th Dec 2003
Location:
Posted: 25th Nov 2005 01:46
no problem... glad i could help...

--Mike

Login to post a reply

Server time is: 2025-05-22 19:14:56
Your offset time is: 2025-05-22 19:14:56