Tremulous Forum

Media => Mapping Center => Topic started by: Bača64 on April 05, 2007, 08:39:05 am

Title: Combat zone-need help with compiling
Post by: Bača64 on April 05, 2007, 08:39:05 am
Hi there, I have made map, its textured, bases are placed and i think its ready for firt compile, but thats the problem. My q2maptoolz doesnt work and compiler in GTKradiant(i have got v1,4) seems to not be there. :( In the BSP menu nothink shows, it is empty. I dont know what to do. Is there any other way how to compile map? Please help. I realy wish to get this my firs map to work, its important for me.

Thanks for all comments. Also sory for my bad english grammar.

(http://imajr.com/th/Compiler_problem_707.JPG) (http://imajr.com/Compiler_problem_707)

This BSP window is only think that pop up when i click on the bsp menu.
Title: Combat zone-need help with compiling
Post by: Survivor on April 05, 2007, 08:47:00 am
Copy the bit in the codebox to notepad. Save as quakev3.qe4 (make sure it isn't ending in .txt). Put it in tremulous/base/scripts. If you start radiant you should now have a bsp menu. Try one of the (final) compile options
.
Code: [Select]
{
"version" "2"
"basepath" "D:\Games\TREMUL~1\base"
"rshcmd" ""
"remotebasepath" "D:/Games/Tremulous/base"
"entitypath" "D:/Games/GtkRadiant-1213/"
"texturepath" "D:/Games/Tremulous/base/textures"
"autosave" "D:\Games\TREMUL~2\base\maps\autosave.map"
"mapspath" "D:/Games/Tremulous/base/maps"
"brush_primit" "0"
"user_project" "1"
"bsp_Q3Map2: (ASE convert) BSP -meta -patchmeta -subdivisions 3" "! D:/Games/Tremulous/Radiant/q3map2 -v # -meta -patchmeta -subdivisions 3 $"
"bsp_Q3Map2: (single) BSP -meta" "! D:/Games/Tremulous/Radiant/q3map2 -v # -meta $"
"bsp_Q3Map2: (single) -vis" "! D:/Games/Tremulous/Radiant/q3map2 # -vis $"
"bsp_Q3Map2: (test) BSP -meta, -vis" "! D:/Games/Tremulous/Radiant/q3map2 -v # -meta $ && ! D:/Games/Tremulous/Radiant/q3map2 # -vis -saveprt $"
"bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -nocollapse -filter -super 2 -shadeangle 90 -patchshadows" "! D:/Games/Tremulous/Radiant/q3map2 -v # -meta $ && ! D:/Games/Tremulous/Radiant/q3map2 # -vis -saveprt $ && ! D:/Games/Tremulous/Radiant/q3map2 -v # -light -fast -skyfix -nocollapse -super 2 -shadeangle 90 -patchshadows $"
"bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -nocollapse -super 2 -shadeangle 90 -patchshadows" "! D:/Games/Tremulous/Radiant/q3map2 -v # -meta $ && ! D:/Games/Tremulous/Radiant/q3map2 # -vis -saveprt $ && ! D:/Games/Tremulous/Radiant/q3map2 -v # -light -fast -skyfix -nocollapse -super 2 -shadeangle 90 -patchshadows $"
"bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -nocollapse -shadeangle 90 -patchshadows" "! D:/Games/Tremulous/Radiant/q3map2 -v # -meta $ && ! D:/Games/Tremulous/Radiant/q3map2 # -vis -saveprt $ && ! D:/Games/Tremulous/Radiant/q3map2 -v # -light -filter -fast -skyfix -nocollapse -shadeangle 90 -patchshadows $"
"bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -nocollapse -patchshadows" "! D:/Games/Tremulous/Radiant/q3map2 -v # -meta $ && ! D:/Games/Tremulous/Radiant/q3map2 # -vis -saveprt $ && ! D:/Games/Tremulous/Radiant/q3map2 -v # -light -fast -skyfix -nocollapse -patchshadows $"
"bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -nocollapse -filter -patchshadows" "! D:/Games/Tremulous/Radiant/q3map2 -v # -meta $ && ! D:/Games/Tremulous/Radiant/q3map2 # -vis -saveprt $ && ! D:/Games/Tremulous/Radiant/q3map2 -v # -light -fast -skyfix -nocollapse -filter -patchshadows $"
"bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -nocollapse -filter -super 2 -patchshadows" "! D:/Games/Tremulous/Radiant/q3map2 -v # -meta $ && ! D:/Games/Tremulous/Radiant/q3map2 # -vis -saveprt $ && ! D:/Games/Tremulous/Radiant/q3map2 -v # -light -fast -skyfix -nocollapse -filter -super 2 -patchshadows $"
"dir" "base"
}
Title: Combat zone-need help with compiling
Post by: Bača64 on April 05, 2007, 09:47:43 am
THX for your advice, but unfortunately it didnt work.
I have done exactly what you said but nothink happend.

(http://imajr.com/th/Compiler_problem2_821.JPG) (http://imajr.com/Compiler_problem2_821)

Maybe its because of paths on my pc.

C:\Program Files\Tremulous                     - my tremulous folder
C:\Program Files\GtkRadiant-1.4              - my GTG radiant folder

      Please dont give up yet  :wink:
Title: Combat zone-need help with compiling
Post by: Survivor on April 05, 2007, 09:54:47 am
you saved it as quakev3.qe4.txt and are using hidden extensions. At least that's what i guess Textovy dokument means.
Google for showing hidden extensions in your language since i wouldn't know the least about the names in your version :)
Then change .qe4.txt to .qe4

Edit: and of course change the paths to your own. Sometimes i look over the simplest things.

And also the correct version would help...

Code: [Select]
{
"version" "4"
"basepath" "D:\Games\TREMUL~1\base"
"rshcmd" ""
"remotebasepath" "D:/Games/Tremulous/base"
"entitypath" "D:/Games/GtkRadiant/"
"texturepath" "D:/Games/Tremulous/base/textures"
"autosave" "D:\Games\TREMUL~2\base\maps\autosave.map"
"mapspath" "D:/Games/Tremulous/base/maps"
"brush_primit" "0"
"user_project" "1"
"bsp_Q3Map2: (ASE convert) BSP -meta -patchmeta -subdivisions 3" "! D:/Games/Tremulous/Radiant/q3map2 -v # -meta -patchmeta -subdivisions 3 $"
"bsp_Q3Map2: (single) BSP -meta" "! D:/Games/Tremulous/Radiant/q3map2 -v # -meta $"
"bsp_Q3Map2: (single) -vis" "! D:/Games/Tremulous/Radiant/q3map2 # -vis $"
"bsp_Q3Map2: (test) BSP -meta, -vis" "! D:/Games/Tremulous/Radiant/q3map2 -v # -meta $ && ! D:/Games/Tremulous/Radiant/q3map2 # -vis -saveprt $"
"bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -nocollapse -filter -super 2 -shadeangle 90 -patchshadows" "! D:/Games/Tremulous/Radiant/q3map2 -v # -meta $ && ! D:/Games/Tremulous/Radiant/q3map2 # -vis -saveprt $ && ! D:/Games/Tremulous/Radiant/q3map2 -v # -light -fast -skyfix -nocollapse -super 2 -shadeangle 90 -patchshadows $"
"bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -nocollapse -super 2 -shadeangle 90 -patchshadows" "! D:/Games/Tremulous/Radiant/q3map2 -v # -meta $ && ! D:/Games/Tremulous/Radiant/q3map2 # -vis -saveprt $ && ! D:/Games/Tremulous/Radiant/q3map2 -v # -light -fast -skyfix -nocollapse -super 2 -shadeangle 90 -patchshadows $"
"bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -nocollapse -shadeangle 90 -patchshadows" "! D:/Games/Tremulous/Radiant/q3map2 -v # -meta $ && ! D:/Games/Tremulous/Radiant/q3map2 # -vis -saveprt $ && ! D:/Games/Tremulous/Radiant/q3map2 -v # -light -filter -fast -skyfix -nocollapse -shadeangle 90 -patchshadows $"
"bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -nocollapse -patchshadows" "! D:/Games/Tremulous/Radiant/q3map2 -v # -meta $ && ! D:/Games/Tremulous/Radiant/q3map2 # -vis -saveprt $ && ! D:/Games/Tremulous/Radiant/q3map2 -v # -light -fast -skyfix -nocollapse -patchshadows $"
"bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -nocollapse -filter -patchshadows" "! D:/Games/Tremulous/Radiant/q3map2 -v # -meta $ && ! D:/Games/Tremulous/Radiant/q3map2 # -vis -saveprt $ && ! D:/Games/Tremulous/Radiant/q3map2 -v # -light -fast -skyfix -nocollapse -filter -patchshadows $"
"bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -nocollapse -filter -super 2 -patchshadows" "! D:/Games/Tremulous/Radiant/q3map2 -v # -meta $ && ! D:/Games/Tremulous/Radiant/q3map2 # -vis -saveprt $ && ! D:/Games/Tremulous/Radiant/q3map2 -v # -light -fast -skyfix -nocollapse -filter -super 2 -patchshadows $"
"bsp_Q3Map2: (Trem Custom Final) BSP -meta, -vis, -light -fast -nocollapse -filter -super 2 -patchshadows" "! D:/Games/Tremulous/Radiant/q3map2 -v # -meta -debugportals $ && ! D:/Games/Tremulous/Radiant/q3map2 # -vis -hint -saveprt $ && ! D:/Games/Tremulous/Radiant/q3map2 -v # -light -fast -skyfix -nocollapse -filter -super 2 -patchshadows $"
"dir" "base"
}
Title: Combat zone-need help with compiling
Post by: Bača64 on April 05, 2007, 10:10:07 am
:D LOL this takes a while.. all those paths..  :D  :D  :D
Title: Combat zone-need help with compiling
Post by: Bača64 on April 05, 2007, 10:29:54 am
Ok, i have changed paths..
Now my script looks like that, its saved as quakev3.qe4
{
"version" "4"
"basepath" "C:\Program Files\Tremulous\base"
"rshcmd" ""
"remotebasepath" "C:\Program Files\Tremulous\base"
"entitypath" "C:\Program Files\GtkRadiant-1.4"
"texturepath" "C:\Program Files\Tremulous\base\textures"
"autosave" "C:\Program Files\Tremulous\base\maps\autosave.map"
"mapspath" "C:\Program Files\Tremulous\base\maps"
"brush_primit" "0"
"user_project" "1"
"bsp_Q3Map2: (ASE convert) BSP -meta -patchmeta -subdivisions 3" "! C:\Program Files\GtkRadiant-1.4\q3map2 -v # -meta -patchmeta -subdivisions 3 $"
"bsp_Q3Map2: (single) BSP -meta" "! C:\Program Files\GtkRadiant-1.4\q3map2 -v # -meta $"
"bsp_Q3Map2: (single) -vis" "! C:\Program Files\GtkRadiant-1.4\q3map2 # -vis $"
"bsp_Q3Map2: (test) BSP -meta, -vis" "! C:\Program Files\GtkRadiant-1.4\q3map2 -v # -meta $ && ! C:\Program Files\GtkRadiant-1.4\q3map2 # -vis -saveprt $"
"bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -nocollapse -filter -super 2 -shadeangle 90 -patchshadows" "! C:\Program Files\GtkRadiant-1.4\q3map2 -v # -meta $ && ! C:\Program Files\GtkRadiant-1.4\q3map2 # -vis -saveprt $ && ! C:\Program Files\GtkRadiant-1.4\q3map2 -v # -light -fast -skyfix -nocollapse -super 2 -shadeangle 90 -patchshadows $"
"bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -nocollapse -super 2 -shadeangle 90 -patchshadows" "! C:\Program Files\GtkRadiant-1.4\q3map2 -v # -meta $ && ! C:\Program Files\GtkRadiant-1.4\q3map2 # -vis -saveprt $ && ! C:\Program Files\GtkRadiant-1.4\q3map2 -v # -light -fast -skyfix -nocollapse -super 2 -shadeangle 90 -patchshadows $"
"bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -nocollapse -shadeangle 90 -patchshadows" "! C:\Program Files\GtkRadiant-1.4\q3map2 -v # -meta $ && ! C:\Program Files\GtkRadiant-1.4\q3map2 # -vis -saveprt $ && ! C:\Program Files\GtkRadiant-1.4\q3map2 -v # -light -filter -fast -skyfix -nocollapse -shadeangle 90 -patchshadows $"
"bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -nocollapse -patchshadows" "! C:\Program Files\GtkRadiant-1.4\q3map2 -v # -meta $ && ! C:\Program Files\GtkRadiant-1.4\q3map2 # -vis -saveprt $ && ! C:\Program Files\GtkRadiant-1.4\q3map2 -v # -light -fast -skyfix -nocollapse -patchshadows $"
"bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -nocollapse -filter -patchshadows" "! C:\Program Files\GtkRadiant-1.4\q3map2 -v # -meta $ && ! C:\Program Files\GtkRadiant-1.4\q3map2 # -vis -saveprt $ && ! C:\Program Files\GtkRadiant-1.4\q3map2 -v # -light -fast -skyfix -nocollapse -filter -patchshadows $"
"bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -nocollapse -filter -super 2 -patchshadows" "! C:\Program Files\GtkRadiant-1.4\q3map2 -v # -meta $ && ! C:\Program Files\GtkRadiant-1.4\q3map2 # -vis -saveprt $ && ! C:\Program Files\GtkRadiant-1.4\q3map2 -v # -light -fast -skyfix -nocollapse -filter -super 2 -patchshadows $"
"bsp_Q3Map2: (Trem Custom Final) BSP -meta, -vis, -light -fast -nocollapse -filter -super 2 -patchshadows" "! C:\Program Files\GtkRadiant-1.4\q3map2 -v # -meta -debugportals $ && ! C:\Program Files\GtkRadiant-1.4\q3map2 # -vis -hint -saveprt $ && ! C:\Program Files\GtkRadiant-1.4\q3map2 -v # -light -fast -skyfix -nocollapse -filter -super 2 -patchshadows $"
"dir" "base"
}

But still no effect.. when you run your q3map2 directly, what happens? because my opens for a second "command line" and than it shut down. Maybe it is not working properly. I will try to download it from somewhere and instal it again. I dont have any other idea what could cause such trobles...   :(
Title: Combat zone-need help with compiling
Post by: Survivor on April 05, 2007, 10:34:41 am
you can work q3map2 directly but it needs a commandline. That's why there's all these handy frontends around. Now if only they'd work >:E

There seems to be nothing wrong with your q3map2.
Title: Combat zone-need help with compiling
Post by: Bača64 on April 05, 2007, 10:36:05 am
But when i open my q3map2 comand line opens an in 1sec it shut down itself..
Title: Combat zone-need help with compiling
Post by: Survivor on April 05, 2007, 10:39:07 am
"C:\Program Files\GtkRadiant-1.4\q3map2.exe" -v  -custinfoparms -flares -meta -patchmeta -samplesize 64 -v "C:\Program Files\Tremulous\base\maps\MAPNAME.map"

"C:\Program Files\GtkRadiant-1.4\q3map2.exe" -v  -vis -v "C:\Program Files\Tremulous\base\maps\MAPNAME.bsp"

"C:\Program Files\GtkRadiant-1.4\q3map2.exe" -v  -light -fastbounce -filter -patchshadows -super 2 -v "C:\Program Files\Tremulous\base\maps\MAPNAME.bsp"

Try entering these in a command prompt in the order they are written here.
Title: Combat zone-need help with compiling
Post by: Survivor on April 05, 2007, 10:40:00 am
Quote from: "Bača64"
But when i open my q3map2 comand line opens an in 1sec it shut down itself..


That's normal when it doesn't get any commandline input. Use the ones i typed in the above post. Change the MAPNAME into your map's name.
Title: Combat zone-need help with compiling
Post by: f0rqu3 on April 05, 2007, 10:40:12 am
afait you are using windows so you can try gtkradiant 1.5 rc1:
http://qeradiant.com/files/radiant/nightly/1.5/?C=M;O=A
(or something other)
then read:
http://tremmapping.pbwiki.com/GtkRadiant1_5-Win32
(I dont know if those setup files are included in newer versions or not)

btw: wow how did you manage to create the whole map without compiling it for once
Title: Combat zone-need help with compiling
Post by: Bača64 on April 05, 2007, 10:50:16 am
command prompt?
Title: Combat zone-need help with compiling
Post by: Survivor on April 05, 2007, 10:54:00 am
(http://i2.photobucket.com/albums/y50/Drietand/commandprompt.jpg)

But use the prompts i typed a few posts back instead.
Title: Combat zone-need help with compiling
Post by: Bača64 on April 05, 2007, 11:03:35 am
This happend when i did it:

(http://imajr.com/th/Ivalid_argument_885.JPG) (http://imajr.com/Ivalid_argument_885)

Again, command line closed in sec.

BTW i must thank you once again for your willing.  :)
Title: Combat zone-need help with compiling
Post by: f0rqu3 on April 05, 2007, 11:08:43 am
please read this first:
http://en.wikibooks.org/wiki/Q3Map2
Title: Combat zone-need help with compiling
Post by: black adder9 on April 05, 2007, 11:11:29 am
or send the map to someone else and let him try :)
Title: Combat zone-need help with compiling
Post by: Survivor on April 05, 2007, 11:12:02 am
Hmm it shouldn't have twice the line right after each other

It should be

Loading C:\Program Files\tremulous\base\maps combat zone15.map

Your output shows

Loading C:\Program Files\GtkRadiant-1.4\-C:\Program Files\tremulous\base\maps combat zone15.map

Also try removing spaces in your mapnames. Never a good idea with the compilers. And i remember something about the 1.4 in that line but can't tell exactly what it was. Must be nothing.

What are you putting in exactly?
Title: Combat zone-need help with compiling
Post by: Bača64 on April 05, 2007, 11:36:29 am
HEY!! :D Good news.. I was able to run q3mapbuild! I get BSP SRF and PRT file from compiling! Also, a log from compiling.

(http://imajr.com/th/yahoo_897.JPG) (http://imajr.com/yahoo_897)

Could you please tell me what the warnigs mean and how to run the map from those output-compiling files?
Title: Combat zone-need help with compiling
Post by: f0rqu3 on April 05, 2007, 11:38:49 am
this means you wont get blended terrain
copy the bsp to base/maps folder (if it is not there)
start trem type:
/sv_pure 0
/devmap yourmapname
Title: Combat zone-need help with compiling
Post by: Bača64 on April 05, 2007, 11:45:50 am
When i run the level it write "couldnt find a spawn", but thera are 2 spawns for aliens and 2 spawns for humans.. i think i didnt put in map some sort of "gamespawn" but i dont know..
Title: Combat zone-need help with compiling
Post by: f0rqu3 on April 05, 2007, 11:49:43 am
you also need
info_player_intermission   -> spec point
info_human_intermission   -> human team spec point
info_alien_intermission   -> alien team spec point

and make sure spawns do not collide with anything
(place them above the surface and away from each other )
Title: Combat zone-need help with compiling
Post by: Bača64 on April 05, 2007, 11:50:02 am
correction, couldnt find a spawn point
Title: Combat zone-need help with compiling
Post by: Bača64 on April 05, 2007, 11:56:40 am
:D  :D  :D  :D  :D YES!!!!! ITS WORKING MAN!!! THX VERY VERY MUCH TO ALL OF YOU!!!!