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.

DLL Talk / open and seva dialops in blue gui

Author
Message
dark donkey
18
Years of Service
User Offline
Joined: 4th May 2006
Location:
Posted: 27th Nov 2006 19:36
hi, i have just purchased and downloaded blue gui, so i started to mess around with the warning message comand and then the iopen dialog command but it comes up with errors same with the save dialog i dont get how i would organise thoase comands, could some one pleas help me. Also can i use the save dialog command to save things are a bsp file.

thanks!

Olby
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location:
Posted: 29th Nov 2006 22:07 Edited at: 29th Nov 2006 22:08
filename$ = openDialog("Please select a map file...","Map Files (*.map)|*.map;All Files (*.*)|*.*",0,get dir$())

If user pressed 'Open' button then filename$ will contain full path and file name. If user pressed 'Cancel' then filename$ will be empty. In my opinion usage of this command is quite straight forward. Same goes for saveDialog.

AMD Sempron 3.1+ Ghz, 512MB Ram, ATI R9550 256MB Ram, Sound Blaster Live!, WinXP SP2, DirectX 9.0c, DBP 6.2
http://www.myspace.com/producerolby
dark donkey
18
Years of Service
User Offline
Joined: 4th May 2006
Location:
Posted: 1st Dec 2006 15:56
can i inport a file thats a 3d file ofrmat and then use the save dialog to save it as a bsp file

Olby
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location:
Posted: 2nd Dec 2006 18:32
No you cant unless you write your own BSP compiler inside DBPro. You can only save objects to DBO format and meshes to X (DirectX Model). DBPro camed with a special tool for X --> BSP conversion. You can find it in DBPro's system folder.

AMD Sempron 3.1+ Ghz, 512MB Ram, ATI R9550 256MB Ram, Sound Blaster Live!, WinXP SP2, DirectX 9.0c, DBP 6.2
http://www.myspace.com/producerolby
dark donkey
18
Years of Service
User Offline
Joined: 4th May 2006
Location:
Posted: 4th Dec 2006 17:53 Edited at: 5th Dec 2006 18:37
o ok thanks, also i no dbpro comes with an x to bep converter, just try use it tho

edit:
could you pkeas tell me why this simple file converter whant work
do i need to make the model a mesh a lim or memblock or somthing like that

thanks!

edit:
found out

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 9th Dec 2006 21:32
> could you pkeas tell me why this simple file converter whant work

Because you have not written code to actually save the object. saveDialog only gets a filename and returns it for the rest of your code to use. You need to use (IIRC) "SAVE OBJECT" using the filename returned by saveDialog to actually create the .dbo file.


BlueGUI Windows Plugin

Login to post a reply

Server time is: 2024-09-28 14:32:28
Your offset time is: 2024-09-28 14:32:28