by Bart202 » Sat Apr 14, 2012 9:17 pm
It doesn't show pictures. It shows this codes:
Table of Contents
<a href="#config">Configure the Mapping Tools</a>
<a href="#compile">Edit and Compile the Test Map</a>
<a href="#video">Video Tutorial</a>
Last edited by Pardner on Fri Jun 25, 2010 8:14 pm, edited 21 times in total.
Pardner
Smokin' Gun
Posts: 1699
Joined: Thu Nov 17, 2005 11:48 pm
Location: NH, USA
Top
Configure GTK Radiant 1.4
by Pardner » Fri Jan 16, 2009 10:16 am
<a name="config">Introduction</a><br>
The purpose of this tutorial is to configure GTK Radiant 1.4 to work with the stand-alone release of Smokin-Guns. I have Smokin' Guns installed to "C:/Program Files/" and I have written all my paths as such. If you have installed Smokin' Guns to a different directory, read this tutorial carefully and change the paths to match yours.
<br>
Clean SG Installation
You will need a clean (and functional) Smokin' Guns installation as shown below:
<a href="pics/tutorials/setup/clean.jpg" rel="lightbox[entities]" title="Mouse over image for prev & next"><img src="pics/tutorials/setup/clean_sm.jpg" vspace="6" ></a>
Get the files
GTK Radiant 1.4
This is the actual level editor. Do not use the compiler that comes in it installation!!
Do not try to run until you have installed the Smokin' Guns Mapping Tools
Smokin Guns Map Tools
Includes necessary files to make GTK Radiant 1.4 , Zero Radiant, and Q3Map2Toolz work correctly for the standalone of Smokin' Guns
Also include the correct compiler for Smokin' Guns
Includes all ASE models used in SG maps
Includes two test maps "dm_test1.map" and "br_test1.map" Please compile these before attempting to make/compile your own map.
Q3 Map2Toolz (mirror)
This is a GUI front end to the q3map2.exe compilier.
This is not necessary program. You can also use windows batch files.
Used to call the compiler and compile your maps.
WinZip or WinRar
Install Radiant
Installing GTK Radiant 1.4 is pretty straight forward, but we are going to be making some changes along the way.
Since Quake III Arena is no longer used by SG, we will be installing the mapping tools into the Smokin' Guns directory.
Run the "GtkRadiantSetup-1.4.0-Q3RTCWET.exe" installer and click through the usual install process until you see this screen:
<a href="pics/tutorials/setup/gtk1.jpg" rel="lightbox[entities]" title="Mouse over image for prev & next"><img src="pics/tutorials/setup/gtk1_sm.jpg" vspace="6" ></a>
I have Smokin' Guns installed to C:\Program Files\Smokin' Guns\ so everything here is correct. Click "Next" & you should see a screen like this:
<a href="pics/tutorials/setup/gtk2.jpg" rel="lightbox[entities]" title="Mouse over image for prev & next"><img src="pics/tutorials/setup/gtk2_sm.jpg" vspace="6" ></a>
This is where we need to change things. Click "Browse" and change the path to where you have Smokin' Guns installed as shown below:
<a href="pics/tutorials/setup/gtk3.jpg" rel="lightbox[entities]" title="Mouse over image for prev & next"><img src="pics/tutorials/setup/gtk3_sm.jpg" vspace="6" ></a>
Click "OK" and then click "Next" The next screen you should see is asking for the name of the Radiant folder. By default the name is "Radiant-1.4";
this is good and you may click "Next". Assuming that you only want to map for Smokin' Guns you may click "Next" until you see this screen:
<a href="pics/tutorials/setup/gtk4.jpg" rel="lightbox[entities]" title="Mouse over image for prev & next"><img src="pics/tutorials/setup/gtk4_sm.jpg" vspace="6" ></a>
Select Custom and then click "Next" on the next screen, only select the options as shown below:
<a href="pics/tutorials/setup/gtk5.jpg" rel="lightbox[entities]" title="Mouse over image for prev & next"><img src="pics/tutorials/setup/gtk5_sm.jpg" vspace="6" ></a>
Then click "Next." The next screen ask you where you wish to install the start menu shortcuts. Click "Next" when you are ready. Finally, press "Next" to install GTK Radiant 1.4
Install Q3Map2Toolz
If you plan on using Q3Map2Toolz, which is a front end GUI for compiling, you will need to install it now before continuing with this tutorial. Run the installation executable; where it is installed is not important, therefore "C:\Program Files\Q3Map2Toolz" is fine.
Unpack sg_mapping_toolz_v2.zip
Extract sg_mapping_toolz.zip to your desktop.
Open the newly extracted sg_mapping_toolz folder.
Copy or move the GtkRadiant-1.4 folder to "C:\Program Files\" and select YES if asked to overwrite.
**NOTE**: If your path differs from C:\Program Files then you'll have to open "*/GtkRadiant-1.4/games/sg.game" with a text editor (like Notepad or Wordpad) and fix the paths to your directory. Don't forget to SAVE in your text editor.
Copy or move the smokinguns folder to "C:\Program Files\Smokin' Guns" and select YES if asked to overwrite.
Copy or move the Q3Map2 Toolz folder to "C:\Program Files\" and select YES if asked to overwrite.
Set-up GTK Parameters
Launch GtkRadiant-1.4.0 and you should see something like this:
<a href="pics/tutorials/setup/gtk6.jpg" rel="lightbox[entities]" title="Mouse over image for prev & next"><img src="pics/tutorials/setup/gtk6_sm.jpg" vspace="6" ></a>
Select Smokin' Guns from the drop down menu and press "OK" and you will see something like this:
<a href="pics/tutorials/setup/gtk7.jpg" rel="lightbox[entities]" title="Mouse over image for prev & next"><img src="pics/tutorials/setup/gtk7_sm.jpg" vspace="6" ></a>
Conclusion
GTK Radiant 1.4 should now be working with the Smokin' Guns stand-alone. If you follow this tutorial you should be able to map for Smokin' Guns without installing Quake3.
Last edited by Pardner on Thu Dec 10, 2009 12:04 pm, edited 12 times in total.
Pardner
Smokin' Gun
Posts: 1699
Joined: Thu Nov 17, 2005 11:48 pm
Location: NH, USA
Top
Edit and Compile Your Map
by Pardner » Sat Jan 17, 2009 6:35 pm
<a name="compile">Introduction</a>
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 above tutorial 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.
Open the Test Map
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:
<a href="pics/tutorials/setup/gtk9.jpg" rel="lightbox[entities]" title="Mouse over image for prev & next"><img src="pics/tutorials/setup/gtk9_sm.jpg" vspace="6" ></a>
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:
Compile Your map
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;
Compile Using Q3MapToolz
Q3MapToolz should be all installed, so launch Q3Map2Toolz and you will see a screen like this:
<a href="pics/tutorials/setup/toolz3.jpg" rel="lightbox[entities]" title="Mouse over image for prev & next"><img src="pics/tutorials/setup/toolz3_sm.jpg" vspace="6" ></a>
Change the information to match you install, like this:
<a href="pics/tutorials/setup/toolz4.jpg" rel="lightbox[entities]" title="Mouse over image for prev & next"><img src="pics/tutorials/setup/toolz4_sm.jpg" vspace="6" ></a>
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:
<a href="pics/tutorials/setup/toolz5.jpg" rel="lightbox[entities]" title="Mouse over image for prev & next"><img src="pics/tutorials/setup/toolz5_sm.jpg" vspace="6" ></a>
Then click the BSP tab on the top, click "Custom", and then scroll down and click the "-meta" box like this:
<a href="pics/tutorials/setup/toolz6.jpg" rel="lightbox[entities]" title="Mouse over image for prev & next"><img src="pics/tutorials/setup/toolz6_sm.jpg" vspace="6" ></a>
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:
<a href="pics/tutorials/setup/toolz7.jpg" rel="lightbox[entities]" title="Mouse over image for prev & next"><img src="pics/tutorials/setup/toolz7_sm.jpg" vspace="6" ></a>
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:
<a href="pics/tutorials/setup/toolz8.jpg" rel="lightbox[entities]" title="Mouse over image for prev & next"><img src="pics/tutorials/setup/toolz8_sm.jpg" vspace="6" ></a>
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.
Compile Using Batch Files
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:
CODE: SELECT ALL
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:
CODE: SELECT ALL
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
Conclusion
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.
Pardner
Smokin' Gun
Posts: 1699
Joined: Thu Nov 17, 2005 11:48 pm
Location: NH, USA
Top
by Pardner » Fri Jun 25, 2010 8:14 pm
<a name="video">Video Tutorial</a>
<object width="560" height="420"><param name="movie" value="http://www.moddb.com/media/embed/283047"></param><param name="wmode" value="transparent"></param><param name="allowfullscreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.moddb.com/media/embed/283047" type="application/x-shockwave-flash" wmode="transparent" allowfullscreen="true" allowscriptaccess="always" width="560" height="420"></embed></object>
<a href="http://www.moddb.com/games/smokin-guns/videos/gtk-radiant-14-video-tutorial-for-smokin-guns">Videos & Audio - Smokin' Guns Game - Mod DB</a>