3D Studio Max To .Map?

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
User avatar
Bacon
Posts: 1477
Joined: Sat Jul 31, 2004 7:00 am

3D Studio Max To .Map?

Post by Bacon »

Ive searched high and low for some sort of tool and the only one I find doesen't work or mabye i'm just too dumb to use it. I have stuff I ripped from perfect dark in 3dstudio max and was wondering if there is a way to import it into quake as a .map instead of a model.

[lvlshot]http://img99.imageshack.us/img99/9411/lolskedarwk7.png[/lvlshot]

That took literally ~30 seconds to rip that from the game, the texturing is done automatically which is a bonus and basically I could pump out a map every few hours doing this... but Im starting to think a tool like this does not exist for 3dsmax 9? I dont know. Any help is appreciated as always.
[b]CAPSLOCK IS ON[/b]
User avatar
Hipshot
Posts: 1548
Joined: Sun Jan 20, 2002 8:00 am

Re: 3D Studio Max To .Map?

Post by Hipshot »

Why can't you just use a model? If you're doing all in max anyway? Just tweak it there... and then use caulk and clipbrushes in radiant. I woulden't do a whole map in max though, I'm doing parts of my new map in max, since it can do stuff there that can't be done in Radiant.

And btw, "a map every few hours doing this" - what kind of overall quality are you expecting from this? =)
Q3Map2 2516 -> http://www.zfight.com/misc/files/q3/q3map_2.5.16_win32_x86.zip
Q3Map2 FS_20g -> http://www.zfight.com/misc/files/q3/q3map2_fs_20g.rar
GtkRadiant 140 -> http://www.zfight.com/misc/files/q3/GtkRadiantSetup-1.4.0-Q3RTCWET.exe
User avatar
Bacon
Posts: 1477
Joined: Sat Jul 31, 2004 7:00 am

Re: 3D Studio Max To .Map?

Post by Bacon »

I know by what i've seen you make you wouldn't understand, because its not as "pretty" but Perfect Dark has a lot of maps me and a few friends would die to play in quake. The raw format I rip these from are in VRML 2.0 .wrl format, if theres any other 3d programs that can work with this that would be helpful too.

Edit: The option you have provided me with sounds good but I cant figure out how to export the textures WITH the 3ds/ase file, when I load it into GTK it just has all of the texture names with "shader image missing", Im not here so you can be my personal tutor on 3ds but is there a way to export the model WITH the textures on it? :question:
[b]CAPSLOCK IS ON[/b]
fKd
Posts: 2478
Joined: Sat Jun 03, 2006 2:54 am
Location: Wellington
Contact:

Re: 3D Studio Max To .Map?

Post by fKd »

sounds like copyright infringement..
User avatar
Hipshot
Posts: 1548
Joined: Sun Jan 20, 2002 8:00 am

Re: 3D Studio Max To .Map?

Post by Hipshot »

The material must be named as when you texture in radiant.

Like -> textures/mytexture/concrete

Then ofc the texture must be at that location.
Q3Map2 2516 -> http://www.zfight.com/misc/files/q3/q3map_2.5.16_win32_x86.zip
Q3Map2 FS_20g -> http://www.zfight.com/misc/files/q3/q3map2_fs_20g.rar
GtkRadiant 140 -> http://www.zfight.com/misc/files/q3/GtkRadiantSetup-1.4.0-Q3RTCWET.exe
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: 3D Studio Max To .Map?

Post by obsidian »

fKd wrote:sounds like copyright infringement..
As long as it's for personal use and he's not distributing it to other people, it's fine.

Bacon, see thread here (scroll down to pretty pictures):
http://www.quake3world.com/ubb/Archives ... 26044.html?
[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]
User avatar
Bacon
Posts: 1477
Joined: Sat Jul 31, 2004 7:00 am

Re: 3D Studio Max To .Map?

Post by Bacon »

I seriously think im just too stupid for this, I still dont understand where to put the textures, I load my model into GTK just FINE. It just says textures are missing but I have them in the same place as the model, isnt there a way to bake the textures right onto the model? Do I need a .shader for it? Wish i was as knowledgable as you guys at this because its driving me INSANE.
[b]CAPSLOCK IS ON[/b]
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: 3D Studio Max To .Map?

Post by obsidian »

Export it to ASE, then open up the ASE file in notepad. You should see several references to the texture, there will be 3 in total for each material listing. Change those to point to the actual texture/shader you are using. Make sure the forward and back slashes are used in the appropriate places. "tga" is always written even if the image is a jpeg.

It should look something like this:

Code: Select all

*MATERIAL 0 {
	*MATERIAL_NAME "models/bacon/texture1"
	*MATERIAL_CLASS "Standard"
	*MATERIAL_AMBIENT 0.5882	0.5882	0.5882
	*MATERIAL_DIFFUSE 0.5882	0.5882	0.5882
	*MATERIAL_SPECULAR 0.9000	0.9000	0.9000
	*MATERIAL_SHINE 0.1000
	*MATERIAL_SHINESTRENGTH 0.0000
	*MATERIAL_TRANSPARENCY 0.0000
	*MATERIAL_WIRESIZE 1.0000
	*MATERIAL_SHADING Blinn
	*MATERIAL_XP_FALLOFF 0.0000
	*MATERIAL_SELFILLUM 0.0000
	*MATERIAL_FALLOFF In
	*MATERIAL_XP_TYPE Filter
	*MAP_DIFFUSE {
		*MAP_NAME "models/bacon/texture1"
		*MAP_CLASS "Bitmap"
		*MAP_SUBNO 1
		*MAP_AMOUNT 1.0000
		*BITMAP "D:\GameDev\Quake3\baseq3\models\bacon\texture1.tga"
		*MAP_TYPE Screen
		*UVW_U_OFFSET 0.0000
		*UVW_V_OFFSET 0.0000
		*UVW_U_TILING 1.0000
		*UVW_V_TILING 1.0000
		*UVW_ANGLE 0.0000
		*UVW_BLUR 1.0000
		*UVW_BLUR_OFFSET 0.0000
		*UVW_NOUSE_AMT 1.0000
		*UVW_NOISE_SIZE 1.0000
		*UVW_NOISE_LEVEL 1
		*UVW_NOISE_PHASE 0.0000
		*BITMAP_FILTER Pyramidal
	}
}
[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]
User avatar
Bacon
Posts: 1477
Joined: Sat Jul 31, 2004 7:00 am

Re: 3D Studio Max To .Map?

Post by Bacon »

[lvlshot]http://img230.imageshack.us/img230/7143/shot0025bl2.jpg[/lvlshot]

Thanks I guess they are on there now but... it looks like that :shrug:

Do I need to do something in 3ds max with it before I export?

It's not supposed to be like that btw if you havn't played it before

Edit: if you were wondering, the emulator saves the textures as .bmp and .bmp didnt load so I converted them all to jpeg
[b]CAPSLOCK IS ON[/b]
g0th-
Posts: 262
Joined: Sat May 19, 2007 7:57 pm

Re: 3D Studio Max To .Map?

Post by g0th- »

Can't you just tell q3 to convert you models to brushes during compile time? maybe there's some downsides with that though.

as for the image it doesn't looks like you have any uv map on the model.
[url]http://www.g0th.se[/url]
User avatar
Hipshot
Posts: 1548
Joined: Sun Jan 20, 2002 8:00 am

Re: 3D Studio Max To .Map?

Post by Hipshot »

If it's UV-mapped correctly max, it should not be lost during the export to a usable format, if all settings are set as they should.
- But yes, it looks strange.
Q3Map2 2516 -> http://www.zfight.com/misc/files/q3/q3map_2.5.16_win32_x86.zip
Q3Map2 FS_20g -> http://www.zfight.com/misc/files/q3/q3map2_fs_20g.rar
GtkRadiant 140 -> http://www.zfight.com/misc/files/q3/GtkRadiantSetup-1.4.0-Q3RTCWET.exe
User avatar
Bacon
Posts: 1477
Joined: Sat Jul 31, 2004 7:00 am

Re: 3D Studio Max To .Map?

Post by Bacon »

That's what I was saying earlier. I just read a tutorial for Unreal Tournament 2004 and before you export it you're supposed to attach the textures with "Attach List" or something, but I'm not sure how to do that.
[b]CAPSLOCK IS ON[/b]
User avatar
Bacon
Posts: 1477
Joined: Sat Jul 31, 2004 7:00 am

Re: 3D Studio Max To .Map?

Post by Bacon »

Well, thanks for your help and patience everyone but I found a program called belnder that DIRECTLY converts the VRML files into quake 3's .map format ready for GTK.. all of that work for nothing :mad:
[b]CAPSLOCK IS ON[/b]
User avatar
Bacon
Posts: 1477
Joined: Sat Jul 31, 2004 7:00 am

Re: 3D Studio Max To .Map?

Post by Bacon »

I didn't want to start a new topic but I have one last question. My maps are almost done, they actually just need to be "pieced" together now. Is there any way of snapping brushes to another brush? I have to turn grid snap off and zoom into the maximum to line up each section, and even then after im done all of my brushes become concave and I cant merge anything (brushes)
[b]CAPSLOCK IS ON[/b]
Silicone_Milk
Posts: 2237
Joined: Sat Mar 12, 2005 10:49 pm

Re: 3D Studio Max To .Map?

Post by Silicone_Milk »

snap them to grid in Blender before you export and save the map in a ton of different pieces. Then make those pieces .ase models or w/e and import them into GTKRadiant. Kat does this I believe and it works great.

Read more at http://www.katsbits.com
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: 3D Studio Max To .Map?

Post by obsidian »

Snap grid points in Radiant or Blender?

Radiant, select the edge/vertex of the brush and hit CTRL + G.

I don't use Blender, but in 3dsMAX at least, you could change the vertex precision. By default it's accurate to something like 3 decimal places or something, you can change this to whole numbers and vertexes should be rounded off to the nearest grid point.
[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]
Kat
Posts: 952
Joined: Tue Nov 14, 2000 8:00 am

Re: 3D Studio Max To .Map?

Post by Kat »

Obsidian, yes, in Blender when you're working you set the grip up before you do anything, that way anything you do do is locked to the same grid settings that Radiant uses which means models will just drop into place and work the way you expect them to (this is in relation to modelling maps rather that map objects).
[url=https://www.katsbits.com/tutorials#q3w]Tutorials, tools and resources[/url]
Silicone_Milk
Posts: 2237
Joined: Sat Mar 12, 2005 10:49 pm

Re: 3D Studio Max To .Map?

Post by Silicone_Milk »

Didn't realize you still posted around here Kat. Good to see you :)
User avatar
Bacon
Posts: 1477
Joined: Sat Jul 31, 2004 7:00 am

Re: 3D Studio Max To .Map?

Post by Bacon »

Yet again, thank you for the quick help, I made sure snap to grid was on before i exported and set the grid to grid1 and its perfect everything snaps to everything nicely

thanks!!
[b]CAPSLOCK IS ON[/b]
Post Reply