Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 82 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty
Category: CoD Mapping
CoD mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Next Page
subscribe
Author Topic: Compiling From the Editor
foyleman
Preferred PLUS Member
Since: Nov 7, 2001
Posts: 95765
Last: Apr 9, 2024
[view latest posts]
Level 10
Admin
Forum Moderator
Im a fan of MODSonair
Im a HOST of MODSonair
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.
Go ahead... You Play I Mod : Support Modsonline by becoming a PREFERRED MEMBER today!
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.
Quake 4 Mods for Dummies - Half-Life 2 Mods for Dummies
Share |
Shoot
General Member
Since: Jun 22, 2002
Posts: 260
Last: Mar 22, 2008
[view latest posts]
Level 5
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.
Share |
rEdrUmMDK
Preferred PLUS Member
Since: May 29, 2002
Posts: 6787
Last: Feb 12, 2009
[view latest posts]
Level 10
Admin
Category: CoD Mapping
Posted: Wednesday, Nov. 26, 2003 01:55 pm
Awesome. Thumbs up Foyleman. Works like a charm.
Backup Your Work or your Work will be gone.
http://www.modsonline.com
better red than dead
Share |
jOhN
General Member
Since: Sep 4, 2003
Posts: 200
Last: Jan 27, 2005
[view latest posts]
Level 4
Category: CoD Mapping
Posted: Thursday, Nov. 27, 2003 10:21 pm
Great work Foyleman!

I love you guys! :D

Share |
brutus
General Member
Since: Jun 12, 2002
Posts: 845
Last: Nov 29, 2003
[view latest posts]
Level 7
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?
Share |
brutus
General Member
Since: Jun 12, 2002
Posts: 845
Last: Nov 29, 2003
[view latest posts]
Level 7
Category: CoD Mapping
Posted: Saturday, Nov. 29, 2003 07:44 am
Got it figured out guys...

The above is from a LEAKED Map. 80

The metail floor texture I randomly selected to build a quick test map in was not a solid brush. Changed it over and voila! All is good. (Never doubt the Foyleman's work)
Share |
Kryton
General Member
Since: Apr 12, 2004
Posts: 105
Last: Apr 6, 2006
[view latest posts]
Level 4
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 [confused]
Share |
krusadr
General Member
Since: May 4, 2004
Posts: 7
Last: May 5, 2004
[view latest posts]
Level 0
Category: CoD Mapping
Posted: Wednesday, May. 5, 2004 01:34 am
Wow thats fantastic, thanks foyleman.
Share |
rEdrUmMDK
Preferred PLUS Member
Since: May 29, 2002
Posts: 6787
Last: Feb 12, 2009
[view latest posts]
Level 10
Admin
Category: CoD Mapping
Posted: Wednesday, May. 5, 2004 02:10 am
If you look at some of the other threads on Terrain you will see that after a compile from the editor the editor will close completely so be sure your map is saved frequently. That's why most of us are using Codbuilder and Codpiler.
Backup Your Work or your Work will be gone.
http://www.modsonline.com
better red than dead
Share |
foyleman
Preferred PLUS Member
Since: Nov 7, 2001
Posts: 95765
Last: Apr 9, 2024
[view latest posts]
Level 10
Admin
Forum Moderator
Im a fan of MODSonair
Im a HOST of MODSonair
Category: CoD Mapping
Posted: Wednesday, May. 5, 2004 11:35 am
[wink]

Red's got an excellent point. I like being able to compile right from the editor, but codbuild makes it simpler. And.. save, save, save... use different names.
Go ahead... You Play I Mod : Support Modsonline by becoming a PREFERRED MEMBER today!
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.
Quake 4 Mods for Dummies - Half-Life 2 Mods for Dummies
Share |
Restricted Access Topic is Locked
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty : CoD Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»