Smokin' Guns is intended to be a recreation of the "Old West's" great atmosphere. It is being developed on IoQ3's implementation of Id Softwares IdTECH3 engine. This Total Conversion of Q3 includes weapons created with historically correct information about damage, rate of fire, reload time, etc. It also includes gametypes and maps inspired mostly from western styled movies. And to increase the feeling of a "Gunslingers Atmosphere" music tracks and sounds have been adapted to the simulated times. The Smokin' Guns game started its life under the name of Western Quake³. It was originally developed by a team known as Iron Claw Interactive. They released WQ³ beta 2.0 in 2003, after which development all but ceased. In May 2005, development of Western Quake³ was taken over of by a bunch of cowboys calling themselves The Smokin' Guns with the blessings of the former team. Improvements to the game continue to this day! Please post all support issues in the forums for the game.

Report article RSS Feed Compile a Smokin' Guns Map

The purpose of this tutorial is to guide a user through the process of editing and compiling your first Smokin' Guns map. For this tutorial, I am assuming that the user followed the "Setup GTK Radiant 1.4 for Smokin' Guns" to install GTK Radiant 1.4, Q3Map2Toolz, and the sg_map_tools package. For this tutorial, I will be compiling dm_test1.map and br_test1.map.

Posted by Pardner on Nov 6th, 2009
Basic Mapping/Technical.

Table of Contents

  1. Open the Test Map
  2. Compile Basics
  3. Compile Using Q3MapToolz
  4. Compile Using Batch Files
  5. Conclusion
  6. Other SG Tutorials


You should have two test maps that installed with the sg_map_tools. Launch GTK Radiant 1.4 and click open:

Select dm_test1.map and click "Open" and you should see a nicely made test map like this:

This is a great test map because is demonstrates all the different entities of Smokin' Guns. When you are finished browsing the map, click the save button:



A q3map2.exe compiler (which was installed by Radiant) may be found in "C:\Program Files\GtkRadiant-1.4\" but this compiler does not support the entities needed to make a Smokin' Guns map. You will need to use the compiler that is included in our package to compile. There are many ways to use this compiler, but I will cover two ways in this tutorial.



Q3MapToolz should be all installed, so launch Q3Map2Toolz and you will see a screen like this:

Change the information to match you install, like this:

and click "OK". You should be looking at the Q3MapToolz interface. Select your map from the left and then check the box that says "fs_basepath" like this:

Then click the BSP tab on the top, click "Custom", and then scroll down and click the "-meta" box like this:

Now click the VIS tab and then click "Normal." Now click on the LIGHT tab and click the "Custom" option. Now check the following parameters: -patchshadows & -super. Add "2" to the box next to super. (Though it isn't shown in the following image, -samples 3 is a good option to add.) Something like this:

There are plenty of options that do different things, but this is a good starting point for the light stage.

Click over to the "BSPC" tab and check the options like this:

Click back to the "Build options" and click "Build" and you should see a DOS prompt window open and start to build your maps. When the compiler is finished, click "Devmap" and Smokin' Guns will launch and you will be able to play your new map. If you want to compile both the death match map and the bank robbery map at the same time, just select both in the menu to the left.



Using a batch file accomplishes the same thing as Q3MapToolz does except it does not have a GUI to help you. You must include the compile switches manually. What is the advantage of using batch files? (1)It takes one click to compile maps. (2)You can compile multiple maps at the same time.(3)You can have it do system commands after the compile (such as launch smokinguns.exe or shutdown the computer).
To create a new batch file, open wordpad and save-as a ".bat" You should be able to run the batch file simple by clicking it (or double clicking it).

Here is the basic layout of a batch file needed to compile a Smokin' Guns map:
q3map2.exe [switches] map
q3map2.exe -vis [switches] bsp
q3map2.exe -light [switches] bsp
bspc.exe [switches] bsp

Now lets relate that to how we compiled dm_test1.map when we used Q3MapToolz. If we wanted to do an identical compile but using a batch file we would use the following:
cd "C:\Program Files\Smokin' Guns"

"smokinguns\compiler\q3map2.exe" -meta -fs_basepath "C:\Program Files\Smokin' Guns" "maps\dm_test1.map"
"smokinguns\compiler\q3map2.exe" -vis -fs_basepath "C:\Program Files\Smokin' Guns" "maps\dm_test1.bsp"
"smokinguns\compiler\q3map2.exe" -light -patchshadows -super 2 -fs_basepath "C:\Program Files\Smokin' Guns""maps\dm_test1.bsp"
"Radiant-1.4\bspc.exe" -forcesidesvisible -optimize -bsp2aas "maps\dm_test1.bsp"

pause
smokinguns.exe +sv_pure 0 +devmap dm_test1



You should be able to edit and compile your maps now! GTK Radiant 1.4 takes some getting used to, but you should have all the proper tools to get you started the right way. If you need help with using GTK, you should take a look through these great web pages.
Q3Map2Toolz adds a nice interface to the q3map2.exe compiler and can accomplish everything that can be done in a batch file. Batch files create a simple way to compile maps quickly. Different mappers have different preferences, and of course every mapper compiles differently.



  1. Setup GTK Radiant 1.4 for Smokin' Guns
  2. SG Entities Tutorial
  3. Smokin' Guns Gametypes
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Icon
Smokin' Guns
Platforms
Windows, Mac, Linux
Developer & Publisher
Smokin' Guns Productions
Engine
ioquake3
Contact
Send Message
Official Page
Smokin-guns.org
Release Date
Released Dec 31, 2008
Game Watch
Track this game
Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Games
Smokin' Guns
Smokin' Guns Single & Multiplayer First Person Shooter
Related Engines
id Tech 3
id Tech 3 GPL Released Dec 3, 1999
Related Groups
Smokin' Guns Productions
Smokin' Guns Productions Developer & Publisher with 9 members