Tutorial by StrYdeR................................................................
OK The first thing I need to say is that both Grey Matter and Infinity Ward have a different working specification than most general mappers have. While the game typically installs to C:\Program Files\Call of Duty, and the editor installs to its parent directory. The developers install the game to C:\Program Files\Game, and therefore the editor is installed to a different parent directory.
This leaves us with 2 options (which I will run through) to compile our maps for CoDUO. I will try and make this as step-by-step as possible, for some of the more experienced you may find this mundane, but I am writing this for the inexperienced mapper.
Option 1
This option is for those that have an overabundance of hard drive space. Be aware that this option will take up approximately 3GB of hard drive space.
step 1 (Create a duplicate directory)
Double-click my computer and then double-click on the C drive. Double-click on the folder "Program Files" . Right-click in the empty space in that window and select "New Folder". Name this folder "Game".
step 2 (Copy the resources)
Browse to your Call of Duty install directory (Usually C:\Program Files\Call of Duty). Select everything in this folder and right-click to select copy (this copies everything to your clipboard). Now browse to your newly created game folder (C:\Program Files\Game). Right-click in that window and select paste.
step 3 (Export your map from Graydiant)
Graydiant saves your map in a new format called .gmm. The main reason for this is that it allows multiple people to work on the same map in multiple locations without having to overwrite or worry about conflict. You cannot compile from the .gmm file, so we need to export it as a .map.
With your map open in Graydiant click file --> Export(.map). Select the location you want it to go to (In this case we are assuming that it is a multiplayer map - so it will go to C:\Program Files\Call of Duty\UO\maps\mp\)
step 4 (Creating a .bat)
Double-click My Computer to browse to the location you just exported your .map file to. Right-click in the window and select New --> Text Document.
Copy and paste the text below
"C:\Program Files\Call of Duty\uoTools\bin\q3map" -game uo "C:\Program Files\Call of Duty\uo\maps\mp\yourmap" pause
"C:\Program Files\Call of Duty\uoTools\bin\q3map" -vis -fast -game uo "C:\Program Files\Call of Duty\uo\maps\mp\yourmap"
pause copy /Y "C:\Program Files\Call of Duty\uo\maps\mp\yourmap.bsp" "C:\Program Files\game\uo\maps\mp\yourmap.bsp"
copy /Y "C:\Program Files\Call of Duty\uo\maps\mp\yourmap.prt" "C:\Program Files\game\uo\maps\mp\yourmap.prt"
"C:\Program Files\Call of Duty\uoTools\bin\flare" -fast -game uo "C:\Program Files\game\uo\maps\mp\yourmap"
copy /Y "C:\Program Files\game\uo\maps\mp\yourmap.bsp" "C:\Program Files\Call of Duty\uo\maps\mp\yourmap.bsp"
copy /Y "C:\Program Files\game\uo\maps\mp\yourmap.prt" "C:\Program Files\Call of Duty\uo\maps\mp\yourmap.prt"
pause
Now - replace all of the "yourmap" with the name of your map. Click file --> Save As and call it yourmap.bat (where yourmap is the actual name of your .map)
Double-click on your newly created .bat file and your compile process will start.
Option 2
*some problems were detected with this compile process, and this edit has been done to rectify them...sorry for any inconvenience StrYdeR This option is for those that dont have an excess of hard drive space.
step 1 (Locate your install directory)
This is relatively easy --> open My Computer and browse to C:\Program Files. Locate the folder called Call of Duty.
step 2 (Create the .bat#1)
Same as in option 1, you need to create a new text document in C:\Program Files\Call of Duty\UO\maps\mp.
Copy and paste the text below into your .bat-to-be.
"C:\Program Files\Call of Duty\uoTools\bin\q3map" -game uo "C:\Program Files\Call of Duty\uo\maps\mp\yourmap" pause
"C:\Program Files\Call of Duty\uoTools\bin\q3map" -vis -fast -game uo "C:\Program Files\Call of Duty\uo\maps\mp\yourmap"
pause
Now - replace all of the "yourmap" with the name of your map. Click file --> Save As and call it yourmap.bat (where yourmap is the actual name of your .map). Double-click on your newly created .bat file and your compile process will start. step 3 (Rename the install directory) Remember the install directory we located earlier? Well now we need to rename it. Right-click on the Call of Duty folder and click rename. Call this folder Game. (We will need to rename this folder back to Call of Duty when we are done this next step of the compile, so remember where it is) step 4 (Create the .bat#2) Now we need to create a .bat to run the flare. It is as simple as right clicking your first .bat file and clicking edit. Delete everything from in it and enter the following information, replacing yourmapname with the actual name of your map: "C:\Program Files\Game\uoTools\bin\flare" -fast -game uo "C:\Program Files\Game\uo\maps\mp\yourmap" pause
You then click file --> Save As and call it what ever you want. It is what is inside the bats that count...they can be named anything - as long as you recognize what they are for. Run your second .bat to complete the flare step 5 (Renaming the renamed root directory) Browse to the folder you called Game and right click it then click rename. Make this folder Call of Duty again so that you can load and test your map If you have an NTFS formatted drive, I would recommend looking at the third tutorial posted for compiling for UO, as it is 100% simpler |