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

Members Online

»
0 Active | 11 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

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: Script runtime Error druring compiling reflections
[ST]simon[RAP]
General Member
Since: Jul 2, 2009
Posts: 42
Last: Jun 20, 2010
[view latest posts]
Level 2
Category: CoD4 MP Mapping
Posted: Saturday, Aug. 8, 2009 01:56 pm
when i want to compile my reflections it says:

script runtime error
(see console for details)
cannot switch on undefined

how do i see the console? (usually ^) but if i press ^ there are no errors given!
Share |
KillerCrazzy
General Member
Since: Jan 22, 2008
Posts: 166
Last: Apr 27, 2014
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Saturday, Aug. 8, 2009 03:36 pm
Run map in developer 2
will give you more info on your error
Share |
[ST]simon[RAP]
General Member
Since: Jul 2, 2009
Posts: 42
Last: Jun 20, 2010
[view latest posts]
Level 2
Category: CoD4 MP Mapping
Posted: Saturday, Aug. 8, 2009 06:37 pm
thanks but how do i do that?

edited on Aug. 8, 2009 02:37 pm by [ST]simon[RAP]
Share |
DeekCiti
General Member
Since: Mar 13, 2008
Posts: 1293
Last: Jul 9, 2016
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Saturday, Aug. 8, 2009 06:38 pm
Skip Compile Reflections.

Go straight to Build FF.

Check "Enable Developer" "Enable Developer Script" in compile tools.

When you run the map, it will give you the same error that is happening during compile reflections, only this time when the error comes:

Then Hold SHIFT and press ~

It will give you full details on that error, line # and what script is causing your problem. For some reason during the compile of reflections it only gives you a generic error and nothing about details.

==========

A second way to do this is, once you have run the map, and you shut down the game, the console is logged in a file.

If you are not running the map through a mod in the tools the file should be located here: Call of Duty 4 - Modern Warfare\main\console_mp.log

If you are running the map through a mod in the tools the file should be located in that mods folder under the same name.
Call of Duty 4 - Modern Warfare\Mods\ModWarfare\console_mp.log

Hope that helps.
Share |
[ST]simon[RAP]
General Member
Since: Jul 2, 2009
Posts: 42
Last: Jun 20, 2010
[view latest posts]
Level 2
Category: CoD4 MP Mapping
Posted: Saturday, Aug. 8, 2009 07:03 pm
Thanks for the qick answers!
the same error doesnt appear but there are a few things in the console...
first of all there are a lot of sound aliases missing
2nd
Code:
setstat: developer_script must be false.setstat: developer_script must be false.

third
Code:
WARNING: unknown dvar in file vision/mp_bridgewar.vision

i have no idea what i have to do
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

»