Go to QuArK Web Site
RTCW-ET
Updated 05 Apr 2018
Upper levels:
QuArK Information Base
1. Introduction to QuArK
1.3. Configuration and Options
1.3.2. Games
1.3.2.1. Specific games

 1.3.2.1.6. RTCW-ET

 [ Prev - Up - Next ] 

 Index


 Configuration

cdunde - 05 Apr 2018   [ Top ] 

In this short tutorial I will be showing you how to quickly setup Quark to compile and run maps for the Return to Castle Wolfenstein - Enemy Territory or RTCW-ET game engine. We have strived to preset its configuration as much as possible based on the games standard installation settings.


Part 1 – Setting up QuArK to work with RTCW-ET
In this section we will quickly go over how to setup Quark to work with RTCW-ET. To start with load up Quark, you should be greeted with the 'Quark Explorer' panel. The Quark Explorer allows you to define which game environment you wish to work in, as well as doing many other things.
First we need to select the game we want to map for. We do this by simply going to the 'Games' button located on the top right of the Explorer panel, once pressed it will present you with a drop list of all the currently available games, select RTCW-ET as shown in the screen shot to the right.
Next we need to setup Quark to work with the RTCW-ET game engine, which is actually a variation of the Quake 3 engine. To do so go back to the 'Games' button and press the 'Configuration' button at the bottom of the list.
Once selected a new window will be opened called 'Configuration', making sure you have RTCW-ET selected on the left navigation panel, (under the Games Tab) as we now need to fill out some of the necessary game settings on the right of the Configuration panel which is shown two images below.
But before we do that, go to your Wolfenstein - Enemy Territory game folder and create a new sub-folder named QuArK files. This is where the compiling program folder and its files will be placed. You will need to download the q3map_2.5.16_win32_x86.zip file from the Official QuArK site.
Also, see the Misc. Info. section below for more detailed instructions on its installation.

Part 2 – QuArK game pack download
This is the QuArK RTCW-ET game support package. Download the QuArK_RTCW-ET.zip file and extract it, using the folders path option, to the game folder location where you have RTCW-ET installed on your computer.
All the paths to the "etmain" sub-folder have already been set in the zip file. The zip file is about 45.6 MB and will take around 1 minute with cable or DSL.
This package has been created to work with QuArK 6.5.0 alpha 8 or later and will give the most complete support available.
Every effort has been made working through the RTCW-ET game files and other sources to allow the viewing of all available textures in QuArK's Texture Browser, all game models viewable in the 3D editor Texture views and detail entity settings with the use of pre-defined dropdown list, model selection and variations list, file selection capabilities for models and sounds, as well as 'color pickers' for all lighting functions. Even a few 'script\shader' corrections.
Part 3 – QuArK RTCW-ET Configuration settings
As you can see in the image below, most of the settings have already been set with a default entry. While others have been pre-coded in QuArK's Defaults.qrk file that you can not see. This will prove to make life a lot easyer when you go to build and run your maps in RTCW-ET.
RTCW-ET command-line : Even though this is pre-set for you, I wanted to explain exactly what the added items are that follow the ET.EXE entry, the entire line is:
    ET.EXE +set sv_cheats 1 +set sv_pure 0 +set g_gametype 2 +set fs_homepath etmain +set fs_game tmpQuArK +devmap "%filename%" +exec
  • +set sv_cheats 1 lets you use the game console (by pressing the ~ Tilde key) developer commands like /noclip, /god and /give all.
  • +set sv_pure 0 this causes your map to be loaded directly into the game engine, bypassing all the normal startup movies.
  • +set g_gametype 2 this tells the engine to accept your map as a developers game type 2 map and starts a local server for it to run.
  • +set fs_homepath etmain gives the path to the etmain game sub-folder in the RTCW-ET folder, where the .pak files are.
  • +set fs_game tmpQuArK a second tmpQuArK sub-folder will be created in the above etmain folder, this sets it as a mod folder.
  • +devmap "%filename%" this sets your map %filename% (a variable that holds your map's name) as the map to load into the game.
  • +exec this executes these commands and starts the game engine.
Directory of RTCW-ET : If this does not match your RTCW-ET folder location, use the ... button to select your RTCW-ET folder.
RTCW-ET CD_ROM drive : This is the location of the game cd if you need to operate it from there, just click on the ... button to select the cd drive.
Run these build-programs... : This allows the display of the building, compiling, process in QuArK's console.
Default directory of build-programs : Does not need any settings here.
Run tools from base directory : Do not check this box unless you plan to put both build programs in the same folder and set its folder path above.
Output Map Format : The default setting for "Brush Primitives" should be correct here. If not there are other options you can choose from or just type in your own.
1st through 4th program : These are pretty self explanatory, just make sure the "q3map2.exe" is set to the correct path for you. If not just use the ... button to select the file.

After you have finished setting Quark to work with the RTCW-ET engine, simply hit the 'Apply' button, and then press the 'OK' button to close the Configuration panel. This will put you back in the Quark Explorer. Now is also a good time to close QuArK completely, this will save your settings in the Setup.qrk file. You're done!

Part 4 – Compiling

When you are ready to compile your map, simply select the "Go ![textures+build+Rctw-ET]" main menu item, which is a "Full" build, meaning for, textures, their script files and lighting. This will cause QuArK to export the map file to your RTCW-ET\tmpQuArK\maps folder, texture files to the textures folder and script files to the scripts folder. If any of the folders do not exist then QuArK will create them. Once that is done, QuArK will then start up the build program to complete the process of compiling the map file and build the rest of the files needed to run in RTCW-ET. Some of these additional game files will be placed in a second folder with the same name "tmpQuArK" but that folder will be in the RTCW-ET "etmain" game directory folder. Then the game will be started to load your map and display it !


The rest of the RTCW-ET menu items are variations of the "Full" build process to expedite the compiling and in game viewing time when a "Full" build is not needed.
Because you have already completed the configuration steps above you will be able to see your map in QuArK's Textured 3D view. Even that part is automatically done for you. Just place your mouse cursor over that view, click your RMB and select "Textured" from the pop-up menu. Just a few more minor but important pointers in the Misc. Info. section below and you're good to go.

 Sound Editing

cdunde - 05 Apr 2018   [ Top ] 
There are various ways in QuArK to deal with sound editing by using .wav files. But because all of these files are stored in the games .pak files, they can not be used directly in QuArK. So in that case their path and full file name would need to be typed in where needed by hand. This is not only cumbersome but leaves a lot of room for errors. Because of this, we have setup "sound file selectors" where they are needed in the DataET.qrk file for various entities when they use sound input settings. The only requirement to use this feature is that the "sound" folder needs to be extracted from the games .pak files.
Extracting .pak files & their placement
The games .pak files are nothing more than a type of .zip compression file and can easily be accessed to extract individual files or entire folders by either using a program that can extract ZIP files, PakScape v0.11 (my personal favorite) or any other archive program.
Once you have opened the .pak file, select the "sound" folder and drag it into your RTCW-ET "etmain" folder. You can now go to that "sound" folder by simply clicking on the "sound file selectors" button that looks like this ... and just select that sound.wav file that you want to use for any entity that has a selector.
Custom Sounds and Functions
By having the "sound" folder extracted and placed, as described above, you can now place any .wav file in that folder and select it for sound editing use. There is one important criteria though. The name of the .wav file must NOT have any blank spaces in its name or it will not be located and played in the game. You can, however, use lower dashes _ instead of spaces to separate words in its name.
If you wish to distribute any custom sound files with your map, just create a .pak file (using any ZIP-capible program and then renaming the ZIP-file to .pk3 or PakScape v0.11) and place a folder called "sound" in it with your custom.wav files located in that folder.
When using a "sound file selector", there are a couple of nice functions that are available to you by clicking your RMB while you have your mouse cursor over a particular .wav file. This will bring up a standard system pop-up menu where you can select to either Play it before you actually select it (very handy), Rename it, change it's Properties or even Delete it, among other things.
Once a .wav file has been selected, QuArK will automatically trim its path and make other necessary changes so that the sound will now play properly in the game.
If a Sound Does Not Play
There is ONE exception to the rule here that I have found only with the "worldspawn" entity sound setting which will NOT play when your map is first loaded into the game after a build sometimes. If that should be the case for ANY sound file, the first thing you want to try is reloading your map while still in the game.
To do this just press the ~ Tilde key to bring down the game console then type in \map (your map name) press Enter and it should solve the problem when your map reloads. If that does not work, then something else is causing this issue such as improper format Properties of the .wav file itself, which you can check by comparing those to another .wav file that does play and changing it to that type of format, using the RMB method I described above. That pretty well covers it for sound editing.

 Misc. Info.

cdunde - 05 Apr 2018   [ Top ] 
Installing the q3map_2.5.16_win32_x86 build tool
When you install this program you will need to direct it to the QuArK files folder as shown earlier in the Configuration section. That is really all you need to verify.
Changing and re-running a map
Normally, I run RTCW-ET in a separate window, instead of its "Full Screen" mode when working on a map, for a couple of reasons.
First it's a lot easer to see around to view something in the editor that you might be concentrating on with your work.
The other is being able to jump back and forth between the editor and the game running by simply holding down the Alt key and pressing the Tab key to switch.
It seems less confusing that way.
Unfortunately it does not have the ability to make changes in your map while the game is still running and then rebuild and reload the map.
To do this you will need to close the game and go through the normal process once again.
But basically all you need to do is just click the QuArK menu item and off you go.
To close the game, press the Esc key and select "Exit game" from its menu.
Custom textures or models not showing Textures
Extensive work has been done creating the QuArK_RTCW-ET.zip file to eliminate this problem. However, if you should encounter this kind of issue, read this same section on the RTCW Configuration page as to what you should do.
Texture Loading Game Error
Although this has not been found to be an issue with Enemy Territory, so far, it has come to our attention while working with Return to Castle Wolfenstein that there is at least one texture in the original RTCW pak0.pk3 file (textures\common\blackish.jpg) that causes RTCW to give an error in the game console that says:
Error: LoadTGA: Only type 2 (RGB), 3 (gray), and 10 (RGB) TGA images supported
and stops the game map from loading. If you should receive this game error message, read this same section on the RTCW Configuration page as to what you should do.

Other Comments
Some entities and\or models do not work properly or at all. These are erroneous items that were not done correctly by other parties and is not a bug with QuArK. However, other entities may not have been fully understood as to their proper needs and settings which could be an item to bring to our attention for correction.


Copyright (c) 2022, GNU General Public License by The QuArK (Quake Army Knife) Community - https://quark.sourceforge.io/

 [ Prev - Top - Next ]