Author |
Topic: Compiling From the Editor |
foyleman |
|
Preferred PLUS Member Since: Nov 7, 2001 Posts: 95765 Last: Apr 9, 2024 [view latest posts] |
|
|
|
|
|
Category: CoD Mapping Posted: Wednesday, Nov. 26, 2003 01:05 pm |
|
You're gonna love this. I figured out how to add compiling options in the editor like we are used to using.
I didn't add the part that runs the game from the disk yet.. but that's not very important when running pre-final maps.
ok... here we go:
- find your C:\Program Files\Call of Duty\Tools\bin\cod.qe4 file
- copy and paste it somewhere safe in case this doesn't work out for you as it did me (as a backup)
- open it and replace the contents with this:
Quote:
| {
"bsp FullVis" "..\..\tools\bin\q3map ../../main$ && ..\..\tools\bin\q3map -vis ../../main$ && ..\..\tools\bin\flare -sundiffusesamples 10 -dumpoptions ../../main$"
"bsp FullVis (extra)" "..\..\tools\bin\q3map ../../main$ && ..\..\tools\bin\q3map -vis ../../main$ && ..\..\tools\bin\flare -extra -sundiffusesamples 10 -dumpoptions ../../main$"
"bsp FullVis (nolight)" "..\..\tools\bin\q3map ../../main$ && ..\..\tools\bin\q3map -vis ../../main$"
"bsp FastVis" "..\..\tools\bin\q3map ../../main$ && ..\..\tools\bin\q3map -vis -fast ../../main$ && ..\..\tools\bin\flare -sundiffusesamples 10 -dumpoptions ../../main$"
"bsp FastVis (nolight)" "..\..\tools\bin\q3map ../../main$ && ..\..\tools\bin\q3map -vis -fast ../../main$"
"basegame" ""
"game" ""
"brush_primit" "0"
"autosave" "autosave.map"
"texturepath" "textures"
"entitypath" "..\bin\cod.def"
"mapspath" "..\..\main\maps"
"remotebasepath" ""
"rshcmd" "..\bin\"
"basepath" "..\..\"
} |
|
- save and reload the editor.
Now the options should be available from the BSP menu. |
Have you heard the MODSonair Podcast?:
MODSonair is a weekly podcast bringing you the news from a modders perspective.
Tune in every Sunday at 12pm EST to listen LIVE. |
|
|
|
Shoot |
General Member Since: Jun 22, 2002 Posts: 260 Last: Mar 22, 2008 [view latest posts] |
|
|
Category: CoD Mapping Posted: Wednesday, Nov. 26, 2003 01:40 pm |
|
That's awesome Foyleman..... I will try that when I get home.
Just a note someone has made a compiling utility for Call of Duty - some programmer has been really busy.
He calls it Codpiler.
Its available at Scorpio Midget
It seems to be a work in progress so if you want to use it check back often for the newest version. |
|
|
|
rEdrUmMDK |
|
Preferred PLUS Member Since: May 29, 2002 Posts: 6787 Last: Feb 12, 2009 [view latest posts] |
|
|
|
|
|
brutus |
General Member Since: Jun 12, 2002 Posts: 845 Last: Nov 29, 2003 [view latest posts] |
|
|
Category: CoD Mapping Posted: Saturday, Nov. 29, 2003 07:28 am |
|
Okie Dokie.. my system always seems to be the wildcard in getting this setup the first time...
I tried the above and this is what happens:
Quote:
|
==================
Running bsp command...
..\..\tools\bin\q3map ../../main/maps/fooling.map >>C:\DOCUME~1\brutus\LOCALS~1\Temp\junk.txt
..\..\tools\bin\q3map -vis ../../main/maps/fooling.map >>C:\DOCUME~1\brutus\LOCALS~1\Temp\junk.txt
..\..\tools\bin\flare -sundiffusesamples 10 -dumpoptions ../../main/maps/fooling.map >>C:\DOCUME~1\brutus\LOCALS~1\Temp\junk.txt
Q3Map v1.1 (c) 2002 Id Software Inc. / Infinity Ward
---- q3map ----
SetQdirFromPath: no 'Call of Duty' in C:/PROGRA~1/CALLOF~1/tools/bin/../../main/maps/fooling.map
Q3Map v1.1 (c) 2002 Id Software Inc. / Infinity Ward
---- vis ----
SetQdirFromPath: no 'Call of Duty' in C:/PROGRA~1/CALLOF~1/tools/bin/../../main/maps/fooling.map
----- FS_Startup -----
Current search path:
File Handles:
----------------------
0 files in pk3 files
Filesystem call made without initialization
completed.
Run time was 0 hours, 0 minutes and 1 seconds
|
|
Anyone got some Ideas? |
|
|
|
brutus |
General Member Since: Jun 12, 2002 Posts: 845 Last: Nov 29, 2003 [view latest posts] |
|
|
|
Kryton |
General Member Since: Apr 12, 2004 Posts: 105 Last: Apr 6, 2006 [view latest posts] |
|
|
Category: CoD Mapping Posted: Wednesday, Apr. 14, 2004 08:09 pm |
|
Well theres one good way to tell if there a problem with the map... It just beeps at you and then doesnt compile anything.
Or could it be that it wont overwrite the old file.
Anyways im one of the few that bugs out when something sweet like this comes around.
Any ideas on a solution?
thnx
kryton |
|
|
|
|
|
rEdrUmMDK |
|
Preferred PLUS Member Since: May 29, 2002 Posts: 6787 Last: Feb 12, 2009 [view latest posts] |
|
|
|
foyleman |
|
Preferred PLUS Member Since: Nov 7, 2001 Posts: 95765 Last: Apr 9, 2024 [view latest posts] |
|
|
|
|
|
|