Contents
English (United Kingdom)French (Fr)Deutsch (DE-CH-AT)
Random Thumbnail
alrf_01.jpg
Search
Login
Who Is Online?
We have 111 guests online
Navigation
Home Descent 3 Descent 3 level and mission editor D3Edit D3Edit and GCC compiler.
Most Recent
Featured Articles
Joomla 1.5 Featured Articles
Navigation
Home Descent 3 Descent 3 level and mission editor D3Edit D3Edit and GCC compiler.
English (United Kingdom)French (Fr)Deutsch (DE-CH-AT)
D3Edit and GCC compiler. E-mail
User Rating: / 12
PoorBest 
Descent 3 - Descent 3 level and mission editor D3Edit
Written by Mzero   
Monday, 16 May 2011 22:10

 

To create scripts for your Descent 3 levels you need the Descent 3 SDK (Software Development Kit). To compile your scripts you can use GCC (Gnu C Compiler).

Starting with version 2.1.41.54, the D3Edit installer can install an SDK folder and a GCC folder inside the Editor folder. Those are the scripting tools for Descent 3. If you want to make scripts for your levels, tick those scripting tools during the installation :

D3EditInstSdk01

Once the installation is done, launch the D3Edit.

Default path to the virtual compiler is \Editor\SDK\virtualgcc.exe as you can see on the picture of the "D3Edit-file-editor settings" window below :

D3EditInstSdk04

Note: on the picture above, the path to the script directory is the one to a previous SDK installation. The D3Edit installer did not change it. All my scripts are there, no need to change it. Default setting is " \Editor\SDK\osiris". That is where your level.cpp, level.dll, level.msg and level.o files will go.

When your script is written, you ask to the Dallas to "save" your script :

D3EditScript01

If the path to the Virtual Compiler was not set already, the D3Edit will ask you to select one. Same if you want to change, just empty the Virtual Compiler path in the editor settings window, and the D3Edit will ask you :

D3EditInstSdk02

Lets say you choose the gcc compiler. Select virtualgcc.exe :

D3EditInstSdk03

The D3Edit will create itself the path to the gcc/bin folder. All you have to do is select this virtualgcc.exe file. No need to create a path in your system-advanced settings-environment variables anymore.

Note: If you had GCC already installed somewhere in your computer and you want to use the newly installed one, you have to rename the old folder before installing the D3Edit.

Hit "OK" and your script should be compiled now. "Done".

 

Printable pdf

 

Last Updated on Sunday, 24 July 2011 06:42
 
You need to login or register to post comments.
Discuss this item on the forums. (0 posts)
Discuss (0 posts)