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

Members Online

»
0 Active | 89 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 4
Category: CoD4 MP Mapping
CoD 4 mapping and level design for multiplayer.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Compile bsp disappears
Slayer2746
General Member
Since: Oct 13, 2006
Posts: 70
Last: Oct 28, 2009
[view latest posts]
Level 3
Category: CoD4 MP Mapping
Posted: Thursday, Oct. 22, 2009 10:03 pm
Hey I'm kinda new to mapping, I compiled the bsp file but the command prompt disappears after it is done. I finally took a print screen at the end it said "\Activision\Call was unexpected at this time."

I was wondering what might this be? I tried looking around for answers, but couldn't find any.

thanks
Share |
Mystic
General Member
Since: Apr 10, 2004
Posts: 6147
Last: Apr 15, 2018
[view latest posts]
Level 10
Forum Moderator
Im a fan of MODSonair
Category: CoD4 MP Mapping
Posted: Thursday, Oct. 22, 2009 10:44 pm
You could edit the .bat which compiles you map and add some pauses where you want it to stop.

To do this open the .bat in notepad, start a new line where you want it to stop and type '-pause'
Share |
Slayer2746
General Member
Since: Oct 13, 2006
Posts: 70
Last: Oct 28, 2009
[view latest posts]
Level 3
Category: CoD4 MP Mapping
Posted: Thursday, Oct. 22, 2009 11:15 pm
where could I find this .bat file? Also would fix this, or merely avoid it?
Share |
sudswu
General Member
Since: Mar 19, 2008
Posts: 104
Last: Sep 5, 2010
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Sunday, Oct. 25, 2009 09:28 am
\Activision\Call of Duty 4 - Modern Warfare\bin\CoD4CompileTools/cod4compiletools_compilebsp.bat

make a backup cop of the file first then. add a pause in either/both of these spots as shown in red


@ECHO OFF

:: ###########################################
:: SET UP VARIABLES
:: ###########################################

set bsppath=%~1
set mapsourcepath=%~2
set treepath=%~3
set mapname=%4
set parmBSPOptions=%~5
set parmLightOptions=%~6
set compileBSP=%7
set compileLight=%8
set compilePaths=%9
shift
set compileVIS=%9
shift
set mpmap=%9

if "%parmBSPoptions%" == "-" (
set parmBSPoptions=
)

if "%parmLightOptions%" == "-" (
set parmLightOptions=
)

mkdir "%bsppath%

if "%compileBSP%" == "1" (

echo .
echo .
echo ###########################################
echo COMPILE BSP
echo ###########################################
echo .
echo .

copy "%mapsourcepath%%mapname%.map" "%bsppath%%mapname%.map"
"%treepath%bin\cod4map" -platform pc -loadFrom "%mapsourcepath%%mapname%.map" %parmBSPOptions% "%bsppath%%mapname%"
)
pause
if "%compileLight%" == "1" (

echo .
echo .
echo ###########################################
echo COMPILE LIGHT
echo ###########################################
echo .
echo .

IF EXIST "%mapsourcepath%%mapname%.grid" copy "%mapsourcepath%%mapname%.grid" "%bsppath%%mapname%.grid"
"%treepath%bin\cod4rad" -platform pc %parmLightOptions% "%bsppath%%mapname%"
)

IF EXIST "%bsppath%%mapname%.map" del "%bsppath%%mapname%.map"
IF EXIST "%bsppath%%mapname%.d3dprt" del "%bsppath%%mapname%.d3dprt"
IF EXIST "%bsppath%%mapname%.d3dpoly" del "%bsppath%%mapname%.d3dpoly"
IF EXIST "%bsppath%%mapname%.vclog" del "%bsppath%%mapname%.vclog"
IF EXIST "%bsppath%%mapname%.grid" del "%bsppath%%mapname%.grid"

IF EXIST "%bsppath%%mapname%.lin" move "%bsppath%%mapname%.lin" "%mapsourcepath%%mapname%.lin"
pause
if "%compilePaths%" == "1" (

echo .
echo .
echo ###########################################
echo CONNECTING PATHS
echo ###########################################
echo .
echo .

cd %treepath%
sp_tool.exe +set r_fullscreen 0 +set logfile 2 +set monkeytoy 0 +set com_introplayed 1 +set usefastfile 0 +set g_connectpaths 2 +devmap %mapname%

)

echo .
echo .
echo ###########################################
echo DONE
echo ###########################################
echo .
echo .
pause
Share |
Slayer2746
General Member
Since: Oct 13, 2006
Posts: 70
Last: Oct 28, 2009
[view latest posts]
Level 3
Category: CoD4 MP Mapping
Posted: Wednesday, Oct. 28, 2009 01:34 am
Ok thank you, now at the end now it says: cod4 folder -> raw -> maps -> mp -> mp_testmap.d3dpoly
access is denied.

It repeats that 3 times.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 MP 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

»