| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

GtkRadiant1_4-Linux

Page history last edited by PBworks 17 years ago


 

GtkRadiant 1.4

 

Getting GtkRadiant

 

GtkRadiant 1.4.0 is available for download from the Files section of qeradiant.com.

 

 

 

Installing the editor

 

Run the binary as root in a terminal:

 

sh linux-radiant-1.4.0.run

 

You may install GtkRadiant anywhere you choose. Default paths may be left for all games. At the Setup Type screen choose Custom. Uncheck every game you do not wish GtkRadiant to support including Quake III Arena. Continue on until installation completes.

You should now have a nearly working copy of GtkRadiant 1.4.0 installed.

 

Setting up the editor

 

For the purposes of this guide we will assume that you have installed Tremulous to a directory named tremulous/ (Example: /usr/local/games/tremulous/), a second tremulous folder with user write permissions, which we will call .trem (Its ussually: /home/user/.tremulous/) and that you have installed GtkRadiant to a directory named GtkRadiant-1.4/ (Example: /usr/local/games/GtkRadiant-1.4/).

 

 

The ".game" file

 

Once you have GtkRadiant 1.4 installed you will need to add a game file for Tremulous. As root, create a text document named trem.game in your GtkRadiant-1.4/games directory, you will have to create the games directory if it doesn't exist, the contents of the trem.game file should be as follows:

 

<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>

<game

name="Tremulous"

enginepath="<path to tremulous>/"

gametools="<path to tremulous>/radiant-1.4/"

basegame="base"

engine="tremulous"

gamename="tremulous"

shaderpath="scripts/"

/>

 

An example file can be downloaded here.

 

Remember that you need to customize this file! In specific the path to Tremulous sections.

 

The project file

 

The project file contains a number of important paths as well as compiler command-lines. This file belongs in your tremulous/base/scripts/ directory. Create this directory if it does not already exist. Inside this directory create a text file named default_project.proj. (NOTE: If you name your project file something other than default_project.proj you will have to select your project file on each successive run).

 

This contents of this file should be as follows:

 

<?xml version="1.0"?>

<!DOCTYPE project SYSTEM "project.dtd">

<project>

<key name="user_project" value="1"/>

<key name="brush_primit" value="0"/>

<key name="mapspath" value="<path to .trem>/base/maps/"/>

<key name="autosave" value="<path to .trem>/base/maps/autosave.map"/>

<key name="texturepath" value="<path to tremulous>/base/textures/"/>

<key name="entitypath" value="<path to tremulous>/base/scripts/entities.def"/>

<key name="remotebasepath" value="<path to .trem>/base/"/>

<key name="rshcmd" value=""/>

<key name="basepath" value="<path to tremulous>/base/"/>

<key name="version" value="1"/>

</project>

 

An example file can be downloaded here.

 

Remember that you need to customize this file! In specific the path to Tremulous and path to .trem sections.

 

The "radiant-1.4/" directory

 

Next you will need to create a corresponding radiant-1.4/ directory in your tremulous/ game directory. Example: /usr/local/games/tremulous/radiant-1.4/

 

 

The "synapse.config" file

 

Because GtkRadiant does not natively support Tremulous, there are a number of necessary files missing. GtkRadiant 1.4 requires a file called synapse.config to function. This file should be placed in your tremulous/radiant-1.4/ directory and can be downloaded here.

 

 

Common files

 

A number of other missing files will also need to be supplied for GtkRadiant to fun. These files can be downloaded in a zip file here or here.

 

This zip file contains:

  • entities.def: Entity definition file with all the tremulous specific entities.
  • common-spog.pk3: Contains all the editor images for the common shaders.
  • common.shader: All the common shaders, caulk, nonsolid, nodraw, etc.
  • shaderlist.txt: Lists all the shaders to be loaded by the editor and q3map2.

 

Extract this archive to tremulous/base/.

 

If everything is in the right place you should find common-spog.pk3 in tremulous/base/. The rest of the files, entities.def', common.shader and shaderlist.txt, should be in tremulous/base/scripts/.

 

 

Running & configuring the editor

 

Depending on your distribution and your WM you may have a shortcut for GtkRadiant. If you don't, you can always run the editor by typing radiant in a terminal.

 

Upon running the editor for the first time you should be confronted by a window asking you to select a game. If you have performed the steps in The ".game" File correctly then you should be able to select Tremulous from the drop-list. Optionally check off Auto load selected game on startup to avoid seeing this window again on each successive run. Click OK to continue.

 

If you did not name your project file default_project.proj, the next window you see will be a small error dialog alerting you that GtkRadiant failed to load the default project file. Click OK and in the following window point to the project file you created in tremulous/base/scripts/. Unless you create a project file named default_project.proj in tremulous/base/scripts/ you will have to select your project file each time you start GtkRadiant.

 

Now GtkRadiant should run successfully and stay open.

 

From here you can modify program settings by selecting Preferences from the Edit menu or by simply pressing P.

 

At this point you should be able to begin mapping using the textures included with the default Tremulous maps.

Comments (0)

You don't have permission to comment on this page.