Q3Map2 conversion?

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
Dessicated corpse
Posts: 283
Joined: Tue Oct 07, 2008 5:37 am

Q3Map2 conversion?

Post by Dessicated corpse »

I've looked in WikiBooks but it doesn't work. You know how in Q3Radiant 202 there's bsp_fullvis (light -extra)? How do I do the same conversion in Q3Map2 language? I've tried stuff like -bsp -vis -light but it won't work.
dichtfux
Posts: 571
Joined: Thu Feb 02, 2006 10:51 pm

Re: Q3Map2 conversion?

Post by dichtfux »

The stuff you can chose in the Radiant menu are descriptions of command line parameters for q3map2. Radiant is just an editor and always calls q3map2, the compiler.

You can see the command lines Radiant uses in the file radiant\q3.game\default_build_menu.xml, just open it with a text editor.
[color=#FFFFFF][url=http://maps.rcmd.org]my FPS maps[/url][/color]
Dessicated corpse
Posts: 283
Joined: Tue Oct 07, 2008 5:37 am

Re: Q3Map2 conversion?

Post by Dessicated corpse »

dichtfux wrote:The stuff you can chose in the Radiant menu are descriptions of command line parameters for q3map2. Radiant is just an editor and always calls q3map2, the compiler.

You can see the command lines Radiant uses in the file radiant\q3.game\default_build_menu.xml, just open it with a text editor.
What's Q3Map2Build?
Dessicated corpse
Posts: 283
Joined: Tue Oct 07, 2008 5:37 am

Re: Q3Map2 conversion?

Post by Dessicated corpse »

Sorry for bump but when I open Q3Map2.exe, it just comes up with this error..

Image
dichtfux
Posts: 571
Joined: Thu Feb 02, 2006 10:51 pm

Re: Q3Map2 conversion?

Post by dichtfux »

It tells you that you typed an incomplete and thus wrong command line. The correct syntax is shown:

q3map2 [general options] [options] mapfile

(You obviously have to replace the stuff in brackets with options and the mapfile with ... well, your mapfile, like this: q3map2 -meta path/to/mymap)

What did you type when this error showed up?

But apart from finding the proper command line for what you wanna do: You really don't wanna do this every time you gotta compile your map. You'll need a batch file for this. I'm sure someone here has a good one to share. I haven't done stuff for q3a in a long time and all I can find atm are my q1 and q2 batchfiles.)
[color=#FFFFFF][url=http://maps.rcmd.org]my FPS maps[/url][/color]
Dessicated corpse
Posts: 283
Joined: Tue Oct 07, 2008 5:37 am

Re: Q3Map2 conversion?

Post by Dessicated corpse »

dichtfux wrote:It tells you that you typed an incomplete and thus wrong command line. The correct syntax is shown:

q3map2 [general options] [options] mapfile

(You obviously have to replace the stuff in brackets with options and the mapfile with ... well, your mapfile, like this: q3map2 -meta path/to/mymap)

What did you type when this error showed up?

But apart from finding the proper command line for what you wanna do: You really don't wanna do this every time you gotta compile your map. You'll need a batch file for this. I'm sure someone here has a good one to share. I haven't done stuff for q3a in a long time and all I can find atm are my q1 and q2 batchfiles.)
What are you talking about? All I did was open up the exe and it came up with that.
User avatar
Eraser
Posts: 19177
Joined: Fri Dec 01, 2000 8:00 am

Re: Q3Map2 conversion?

Post by Eraser »

If that's too hard for you to understand, then you might be better off giving up Quake 3 mapping alltogether.

Alternatively, you might try this
Dessicated corpse
Posts: 283
Joined: Tue Oct 07, 2008 5:37 am

Re: Q3Map2 conversion?

Post by Dessicated corpse »

Eraser wrote:If that's too hard for you to understand, then you might be better off giving up Quake 3 mapping alltogether.

Alternatively, you might try this
I never entered a command, it only came up with that when I went into the exe. Perhaps it's corrupt or something?

Thanks for the toolkit thing.
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Q3Map2 conversion?

Post by obsidian »

Q3Map2 is a command line program not a Windows executable. Just double clicking on the .exe does nothing. You have to pass Q3Map2 a set of instructions via a batch file before it knows what you want to do with it. You can also start up Windows Command Prompt (Start menu > run > cmd) and navigate to where Q3Map2 is and then execute Q3Map2 with the appropriate switches by typing it all into the Command Prompt

From what I can gather, you're relatively young and haven't had much experience with DOS and other command line interfaces. You might want to read up on some stuff.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
Anthem
Posts: 399
Joined: Wed Oct 21, 2009 12:34 am

Re: Q3Map2 conversion?

Post by Anthem »

I figured this would be a good topic in which to ask about this problem I'm having with compilation. I am pretty sure I am compiling correctly using a batch file (I even used someone's batch file just to try it to see if there was a different result), but when it's done compiling it seems to scale the textures on normal brushes way smaller and aligns several textures differently. The image below is an example of this.

Image


The texture on the right is normal and is how it should look. It is on a bevel cap. However, on the brush left of the dividing border (which is also stretched awkwardly as one can see) the texture is smaller and aligned differently than it is supposed to be. Does anyone have an idea as to why this occurs? I will also note that this does not happen when I compile using an editor.
[url=http://www.xfire.com/profile/vlnoheaven/][img]http://i105.photobucket.com/albums/m231/Lowerboy444/xfire.png[/img][/url]

[url=http://teameventhorizon.com/]Team Event -O- Horizon[/url]

[url=http://mapping.maverickservers.com/]NoGhost Map Making Competition 2 (June 2010)[/url]
Dessicated corpse
Posts: 283
Joined: Tue Oct 07, 2008 5:37 am

Re: Q3Map2 conversion?

Post by Dessicated corpse »

Mod Edit: Stop quoting stuff when the stuff you are quoting is just one post above. Thanks.

I get a problem from capping. Sometimes the textures are too big and other times they're too small. I have to re-cap it again and again and again to get the right size.
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Q3Map2 conversion?

Post by obsidian »

Q3Map2 version? What compile switches and settings?

I can't think of any reason why calling Q3Map2 from the editor would give different results than calling it up from a batch file. Both methods do the same thing, calling up Q3Map2 and passing the compile options to it. Either you have more than one version of Q3Map2 installed (editor is using one version and your batch another) and one is doing something funny or something isn't quite right with your batch file.

Have you also tried using a front-end interface to Q3Map2, like Q3Map2Toolz or Quake Toolkit?
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
Dessicated corpse
Posts: 283
Joined: Tue Oct 07, 2008 5:37 am

Re: Q3Map2 conversion?

Post by Dessicated corpse »

I use Q3Map2Build and I'm currently trying out Quake Toolkit.
Anthem
Posts: 399
Joined: Wed Oct 21, 2009 12:34 am

Re: Q3Map2 conversion?

Post by Anthem »

I tried using q3map2.5.16 as well as q3map2_fs_20g, but both of them did the same thing.

Compile settings (thanks to City and Phantazm11 for help with these):

"C:\Documents and Settings\Kevin.KEVIN-2E517F9D4\Desktop\Quake\Map Making\q3map2\q3map2_fs_20g.exe" -threads 4 -meta -v "C:\Documents and Settings\Kevin.KEVIN-2E517F9D4\Desktop\Quake\Map Making\baseq3\maps\beta01.map"
"C:\Documents and Settings\Kevin.KEVIN-2E517F9D4\Desktop\Quake\Map Making\q3map2\q3map2_fs_20g.exe" -threads 4 -vis -saveprt -v "C:\Documents and Settings\Kevin.KEVIN-2E517F9D4\Desktop\Quake\Map Making\baseq3\maps\beta01.bsp"
"C:\Documents and Settings\Kevin.KEVIN-2E517F9D4\Desktop\Quake\Map Making\q3map2\q3map2_fs_20g.exe" -threads 4 -light -bounce 8 -fastbounce -dark -dirtdepth 16 -dirtscale 3 -dirty -patchshadows -samples 3 -scale 1.2 -shade -gamma 1 -compensate 1.1 -v "C:\Documents and Settings\Kevin.KEVIN-2E517F9D4\Desktop\Quake\Map Making\baseq3\maps\beta01.bsp"

I tried editing them (taking some variables out or changing values) but it was again unsuccessful. I also tried q3map2tools and the similar problem still occurred. I guess I will try a new install of quake. @.@ If that doesn't work I have no idea what else to do.
[url=http://www.xfire.com/profile/vlnoheaven/][img]http://i105.photobucket.com/albums/m231/Lowerboy444/xfire.png[/img][/url]

[url=http://teameventhorizon.com/]Team Event -O- Horizon[/url]

[url=http://mapping.maverickservers.com/]NoGhost Map Making Competition 2 (June 2010)[/url]
Dessicated corpse
Posts: 283
Joined: Tue Oct 07, 2008 5:37 am

Re: Q3Map2 conversion?

Post by Dessicated corpse »

Hey, Kevin! jkes
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Q3Map2 conversion?

Post by obsidian »

Also check your default texture scale in GtkRadiant's preferences. The default is 0.5, if you changed this to 1.0 or something else, it might be messing around with your texture scale.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
phantazm11
Posts: 362
Joined: Tue Jan 31, 2006 12:03 am

Re: Q3Map2 conversion?

Post by phantazm11 »

I tried editing them (taking some variables out or changing values) but it was again unsuccessful. I also tried q3map2tools and the similar problem still occurred. I guess I will try a new install of quake. @.@ If that doesn't work I have no idea what else to do.
If you do reinstall quake, take it off of the desktop. Try just placing it on C:/ or C:/Your Documents. If you are using Win 7, just make sure it is an unprotected folder.
Anthem
Posts: 399
Joined: Wed Oct 21, 2009 12:34 am

Re: Q3Map2 conversion?

Post by Anthem »

phantazm11 wrote:
I tried editing them (taking some variables out or changing values) but it was again unsuccessful. I also tried q3map2tools and the similar problem still occurred. I guess I will try a new install of quake. @.@ If that doesn't work I have no idea what else to do.
If you do reinstall quake, take it off of the desktop. Try just placing it on C:/ or C:/Your Documents. If you are using Win 7, just make sure it is an unprotected folder.
I actually reinstalled it into the default area "C:/Program Files/Quake III Arena" or w/e. I am using XP, btw. I will post back when I try some more things, and definitely if I find a solution. Thanks for the ideas everyone.
[url=http://www.xfire.com/profile/vlnoheaven/][img]http://i105.photobucket.com/albums/m231/Lowerboy444/xfire.png[/img][/url]

[url=http://teameventhorizon.com/]Team Event -O- Horizon[/url]

[url=http://mapping.maverickservers.com/]NoGhost Map Making Competition 2 (June 2010)[/url]
Anthem
Posts: 399
Joined: Wed Oct 21, 2009 12:34 am

Re: Q3Map2 conversion?

Post by Anthem »

I tried recompiling. It seemed to go smoothly and the textures are fine now. I would have to say reinstalling GTK and moving the Q3 directory to the default directory is what helped. Perhaps it was also due to refreshed preferences, I'm not sure. If one follows the procedure above, though, this problem should be alleviated. Thanks everyone for your help! :)
[url=http://www.xfire.com/profile/vlnoheaven/][img]http://i105.photobucket.com/albums/m231/Lowerboy444/xfire.png[/img][/url]

[url=http://teameventhorizon.com/]Team Event -O- Horizon[/url]

[url=http://mapping.maverickservers.com/]NoGhost Map Making Competition 2 (June 2010)[/url]
Post Reply