Is there any way to convert .map to .obj with all textures?
Is there any way to convert .map to .obj with all textures?
"Don't worry if your code doesn't work correctly - if everything worked, you would not work" ~Mosher's right
kubislav23 (26th February 2017)
Might be the easiest: http://www.deep-shadows.com/hax/3DRipperDX.htm
IIRC CoD2Radiant could also export selected brushes to Maya 6 (unsure about that, but should be worth a look)
timescale 0.01
Make some epic geometry in CoD2Radiant:
Go to Menu: Selection -> Maya Export...
Just click Ok (file will be saved in maya/bin folder in CoD2 folder)
Use the "source" command in Maya6 to import the .mel-file: source "H:\\DATA\\COD2MODDING\\SERVER\\bin\\maya\\radiant Import.mel";
The brush will be big as fuck, so that the maya camera will far-clip the geometry (and you might see nothing). Either google how to increase far-clip-range or just scale the model down to .01
For that, click ctrl-a to toggle the attribute editor and then just scale it down:
Now you got it in maya, can edit it and just export as .obj
I have no clue about textures tho, probably the dxripper would handle that.
timescale 0.01
kubislav23 (17th March 2017),RobsoN (19th March 2017)
3d ripper doesn't seem to work with cod2 in my case. I just wanted to have cod2 maps in model structure to run them in other engines e.g. Unity. Anyways, thanks for that radiant export tip it could be useful Maybe it's possible to export textures somehow as well
Last edited by RobsoN; 19th March 2017 at 13:19.
"Don't worry if your code doesn't work correctly - if everything worked, you would not work" ~Mosher's right
Use this to import .d3dbsp into Unity: https://github.com/CptAsgard/CoD2Unity
Use this to export that mesh to .obj: http://wiki.unity3d.com/index.php?title=ObjExporter More: https://www.google.de/search?q=unity+mesh+to+obj
The .d3dbsp format itself isn't that hard, if you intend to spend some time to analyze it.
Random stuff:
d3dbsp format: http://wiki.modsrepository.com/index...Duty_2:_d3dbsp
attempt to rebuild the brushes from the planes in a d3dbsp: https://killtube.org/showthread.php?...ion-in-Unity3D
d3dbsp decompiler from CoDEmanX and Daevius: https://github.com/kungfooman/CoD-BSP-Decompiler
Shouldn't be too hard to come up with something, there was alot of work invested already
timescale 0.01
RobsoN (27th March 2017)