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 / The hidden commands of DBC

Author
Message
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 28th May 2005 23:42
Hello everyone.

Maybe some of you already know, but DBC has some hidden commands.

Here's a list of all hidden commands.

PRINTC:
this will print a string to the screen. Unlike the standard print command, the cursor will remain at the end of the line allowing you to continue printing on the same line.
syntax:


ROTATE IMAGE:
This command will rotate the image by 0,90,180 or 270°. (But the hardware has to support it.
syntax:


3DS2X:
This command will convert any 3ds file to DirectX.
syntax:


FLUSH VIDEO MEMORY:
This command will erase all images and textures stored in Video Memory allowing automatic texture management to refill the memory with the textures used at that moment. Good when your scene changes location and the old textures are no longer required.
syntax:


SCALE LISTENER:
This command will adjust the relative effect of the values speciefied to produce 3Dsounds. Default = 1.
syntax:


OBJECT COLLISION RADIUS:
This command returns the radius of the automatic collision sphere created for all objects that are loaded or created in runtime. It indicates the sphere at wich the object begins to apply its collision calculations.
syntax:


LEEBAMBER:
This will print a funny command to the screen.
syntax:


MALCOLMBAMBER:
This will print a funny command to the screen.
syntax:


CHRISTOPHERBAMBER:
This will print a funny command to the screen.
syntax:


BREAK:
This will halt the program at the current line and take you to the CLI when in editing mode. When encountered in an execute, the program will quit. You can use the optional string value to return important information to the CLI for debugging purposes.
syntax:


OR




WAIT KEY:
Same as suspend for key, but shorter.
syntax:


CHECK LIMB LINK:
This command checks whether the specified limb has been linked in the object hierarchy or is a free floating limb.
syntax:


These commands won't work in DBP, only in DBC.
comm_jak
20
Years of Service
User Offline
Joined: 31st May 2004
Location: FOB: Fields Of Battle
Posted: 29th May 2005 06:01
cool I like some of those commands better than the ones I was using. MUCH easier!!!

I will command the troops to victory
NanoBrain
20
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Portland, OR
Posted: 29th May 2005 08:37
To whom it may concern,

If you are a user of DarkEdit, and would like DarkEdit to highlight these commands as part of its syntax. Simply, open up the file named keywords.txt,which will be located in your main DarkEdit folder, and add these commands as new keywords. Make sure that you type them in uppercase ONLY, and that you place them in alphabetical order.

Sven B,

How did you go about finding these commands? Do you know any details on why they were not placed within the commands listings? Thank you for these.


+NanoBrain+
waffle
22
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 29th May 2005 09:35
you forgot statistic(1)
this returns the number of polygons redered to the screen.
NanoBrain
20
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Portland, OR
Posted: 29th May 2005 13:52
waffle,

That is a very useful command. Thank you.


+NanoBrain+
doffer
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location:
Posted: 29th May 2005 18:23
NanoBrain:
The commands are listet in the manual you can download on this site.

Denmark Denmark Denmark.
master programmer
19
Years of Service
User Offline
Joined: 30th May 2005
Location: 3D Space
Posted: 1st Jun 2005 18:07
The codes are also from the manual that you get when you buy DarkBASIC.

______________________________________
<<<<I can program using anything>>>>
dab
20
Years of Service
User Offline
Joined: 22nd Sep 2004
Location: Your Temp Folder!
Posted: 4th Sep 2005 00:00
Hey! I've been using waitkey without even knowing it was a hidden command! Lol!

------------------------
I'm looking for a new free website host. Email me if you know of a good one without ads! [email protected]
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 4th Sep 2005 15:39
Indeed, you can download the 1.13 manual in DOC format from this website and the hidden commands are included.

Part of the 'Emergency Response Noob Shooting Team' :: Feel free to add me to MSN, but don't expect any big favours [unless you like VB6]. ... I pwn small creatures.

Login to post a reply

Server time is: 2025-05-22 08:54:47
Your offset time is: 2025-05-22 08:54:47