Art of War Central
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
The next MODSonair show will air LIVE on:
03/21/2010 12:03 EDT

Time remaining:
We Dontated to PixelEquity
"A total overhaul mod changes or redefines the gameplay style of the original game, while keeping it in the original game's universe or plot." 3
 
Site News   |   Aggregated News   |   Forums   |   Tutorials   |   Downloads   |   Projects   |   Weblinks
Latest Forum Threads 
CoD2 MP Mapping.. Posts: (9) Views: (89) by PanZerReBorN
CoD4 Scripting.. Posts: (4) Views: (177) by Larrabee
General Gaming.. Posts: (3) Views: (80) by BigAl444
CoD4 General.. Posts: (92) Views: (115) by Samuel033
CoD4 MP Mapping.. Posts: (1) Views: (21) by Infern4ll
CoDWW MP Mapping.. Posts: (5) Views: (78) by [ZCT]CoDMapper
CoD4 MP Mapping.. Posts: (10) Views: (149) by [IBS]MattY
CoD4 Map + Mod R.. Posts: (32) Views: (228) by sam_fisher3000
Back to Home Page
MODSCON 2010 L4D2 Contest
Art of War Central
Register/Login to Add a Tutorial
Tutorials
CoD Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
Compiling and Testing
Versions: You must be logged in to view history.
Compiling your map and testing it in the game.
To Compile Your Map

First thing you will want to do is make a .bat file.

To make a .bat file make a .txt file with notepad and save it whatever name you want. Now edit the file name and replace the .txt with .bat. A .bat file is really nothing more then an "executable" text file.

I simply name my bat file for compiling, Compile and edit it for whatever map name I am compiling. Here is what the Compile.bat should look like:

cd ..\..\tools\bin

q3map ../../main/maps/[insert your map name]
q3map -vis ../../main/maps/[insert your map name]
flare -extra -sundiffusesamples 10 -dumpoptions ../../main/maps/[insert your map name]

cd ..\..\

pause

Compile options will vary depending o­n what settings you are looking for. Read the Compiling Maps.htm that came with the tools.

Whenever you want to compile a map simply replace [insert your map name] with the name of the .map file you want to compile. To edit the .bat file simply right click o­n the .bat file and select edit. o­nce your done don’t forget to save the .bat file.

Now that the Compile.bat file and your map file are in the main/maps folder double click o­n the Compile.bat file to run the compile. o­nce the compile is complete you should have a .bsp, .poly, and .prt file in addition to your .map and the Compile.bat file.

To Test Your Map

MP map testing

First make a folder under the maps folder named mp. Place the .bsp from your compile in the mp folder. Now open the CoDMP.exe and go to "Start new server". The o­nly setting you have to change is pure...turn it off. You can make this change from the Server Settings or do it from the console. Now bring down the console with the tilda key "~" and if you haven't yet set the server to pure, type /sets sv_pure 0. Then continue by typing /map [insert your map name]. o­nce you have done that your map will now load.

SP map testing

Leave your .bsp file in the maps folder and open the CoDSP.exe. o­nce it has loaded bring down the console with the tilda key "~" and type /map [insert your map name]. o­nce you have done that your map will now load.