Making your own maps and using GTKRadiant.
=============================
By omerrok
First, download GTKRadiant and all the files needed for this tutorial at GZMap :: View topic - GZMap 0.1b1 released!
After you've downloaded and installed and extracted all to C:\Program Files\GtkRadiant 1.5.0, go on GTKRadiant.
Select the game Gunz Online
And when it asks for Path make it C:\GunzMaps.
On GTKRadiant, click edit > preferences > layout > select the third one and click ok.
Now you'll see how GTKRadiant looks.
GTKRadiant has 3 orthographics, XY, YZ, XZ and a camera.
Creating a room:
To create a room, hit the Q button and strech a rectangle on a orthographic.
take your mouse a little bit top from the rectangle and hold left click, now move your mouse and choose the rectangle's size.
Since we are making a room, we are starting with the floor, so the rectangle will be thin on XZ and YZ orthographics and big on XY orthographic.
Now, click ESC button to deselect the floor (to reselect hold shift and left click the thing you want to reselect).
Now that you've learned creating things, make walls.
Walls will have interaction with the floor and they will be thin on XY and on YZ or XZ and big on XZ or YZ.
When you've made 1 wall, copy it (select it > ctrl + c) and paste (ctrl + p).
Now you can rotate the walls you've pasted (recommended to rotate with the x-axix rotation).
Now add ceiling too, just copy the floor and move it up with the XZ orthographic.
Congratiolations! You've made a room.
Adding textures to your map
To add textures, first you have to have textures on your comp and then take them to C:\GunzMaps\data\textures.
Now go on GTKRadiant, select the thing you want to texture (hold shift + left click the thing you want to texture).
Now click T and select the texture you want.
Sometimes you have textures that are important to not repeat, at this situation, select the thing you've textured > click S and select Fit.
Congratiolations! you have textured your map.
Adding spwans and hp/ap to your map
To play you must have spwans on your map so the players can be spwaned.
Adding spwans is simple, right click on a othographic and select info, if you want to add a death match spwan select info_player_deathmatch and move the pink rectangle to the place you want the spwan to be.
To add a team deathmatch spwan select info_player_teamdeathmatch_0 or info_player_teamdeathmatch_1 and move it to the place you want the spwan to be.
each info_player_teamdeathmatch is for another team.
0 is for blue team and 1 is for red team.
The same is for HP/AP.
Just when you do the right click select item.
Caulk
By Himn
When you're making a map, there are faces.
Every rectangle has 6 faces.
The more faces you have, the more FPS lag the map has.
Theres a thing named Caulk, its an invisible texture which makes your map less laggy.
I recommend using caulk at places where the users cant see.
Select the rectangle and click F, now select the faces the player doesn't see in-game.
Now click T > common > select caulk.
Now the faces the player doesnt see will be invisible and won't lag the map.
Rotate
On GTKRadiant you can rotate.
Select the thing you want to rotate and click rotate on the toolbar.
Now rotate it as much as you want.
Light
To add light, right click on a othographic and choose Light.
Now a window will pop up, it asks what power do you want the light to be, select between 5000 to 40000.
Now you'll see a little crystal appears move it to the place you want the light to be at.
Halving
Sometimes you need to halve something in your map to make its shape different.
Doing it is easy, select the thing you want to halve and click on Clipper on the toolbar.
Now on the othographic select 2 points you want to halve the thing and click ctrl + enter > shift + enter.
Now the thing will be halved, deselect it and reselect the part you want.
Polygon
To make cylinders, make a rectangle and click on Polygons on the toolbar now write 32 on the number of sides.
Click ok and the thing will be a cylinder.
Water
To make water in your map, go to C:\GunzMaps\data\scripts and make a new .txt file, copy and paste the following to the text file
- Code: Select all
textures/water/water
{
surfaceparm nonsolid
surfaceparm additive
qer_trans 0.8
qer editorimage "textures/water/water.tga"
Now save it in C:\GunzMaps\data\scripts and call it water.
Now edit shaderlist in C:\GunzMaps\data\scripts and add to it water.
Now on your textures folder add water folder and put a texture in it call it water.
The texture will be water in-game.
Turning your map into .mrs file (gunz accepted file)
When your done, on GTKRadiant's toolbar choose Build > nolight if you dont have lights on your map or fastlight if you have lights.
Wait for it to load and after it loads a .mrs file named as your map will appear on your maps folder, take it to your gunz folder > maps and go on gunz.
NOTICE: NOT ALL GUNZ VERSIONS ACCEPT CUSTOM MAPS!





