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

Members Online

»
0 Active | 8 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
Page
Next Page
subscribe
Author Topic: cannot switch on undefinded (script runtime error)
2_k
General Member
Since: Nov 17, 2006
Posts: 43
Last: Feb 10, 2008
[view latest posts]
Level 2
Category: CoD4 MP Mapping
Posted: Wednesday, Jan. 23, 2008 07:58 am
When compiling the reflections - got this error.
"cannot switch on undefinded (script runtime error)"
What problem is?

Share |
elim
General Member
Since: Feb 6, 2004
Posts: 527
Last: Jan 12, 2011
[view latest posts]
Level 6
Category: CoD4 MP Mapping
Posted: Wednesday, Jan. 23, 2008 03:27 pm
bump
Share |
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoD4 MP Mapping
Posted: Wednesday, Jan. 23, 2008 04:56 pm
No idea...
Did you make a .gsc file? If so, got anything in it?
Were you maybe running a mod at the same time or something?

Also, if the game is still open, pull down your console, there might be more info in there.
Try running the map without the reflextions to see if you get the same error. Be sure to tick the developer box, as this will give you more info about errors.
Share |
Crazy_c
General Member
Since: Dec 13, 2007
Posts: 53
Last: Feb 20, 2008
[view latest posts]
Level 3
Category: CoD4 MP Mapping
Posted: Wednesday, Jan. 23, 2008 05:32 pm
i got the same error all of a sudden.

here is my gsc file content
maybe something is missing

---------------------------------------------
include,mptypes_desert
ignore,code_post_gfx_mp
ignore,common_mp
col_map_mp,maps/mp/mp_tcsubway.d3dbsp
rawfile,maps/mp/mp_tcsubway.gsc
impactfx,mp_tcsubway
xmodel,viewmodel_base_viewhands
xmodel,body_mp_usmc_specops
xmodel,body_mp_usmc_sniper
xmodel,head_mp_usmc_tactical_baseball_cap
xmodel,body_mp_usmc_recon
xmodel,body_mp_usmc_assault
xmodel,body_mp_usmc_support
xmodel,body_mp_arab_regular_cqb
xmodel,head_mp_arab_regular_headwrap
xmodel,viewhands_desert_opfor
xmodel,body_mp_arab_regular_sniper
xmodel,head_mp_arab_regular_sadiq
xmodel,body_mp_arab_regular_engineer
xmodel,head_mp_arab_regular_ski_mask
xmodel,body_mp_arab_regular_assault
xmodel,head_mp_arab_regular_suren
xmodel,body_mp_arab_regular_support
xmodel,head_mp_arab_regular_asad
---------------------------------------------

when i pull down the console with the ~ key, all i get is a long bar with a prompt waiting for a command
Share |
elim
General Member
Since: Feb 6, 2004
Posts: 527
Last: Jan 12, 2011
[view latest posts]
Level 6
Category: CoD4 MP Mapping
Posted: Wednesday, Jan. 23, 2008 06:21 pm
hm i dont think i am running any mode i emptied me mods folder apart from modwarfare.

in my gsc i have
main() { maps\mp\_load::main(); }

i even created a new map put spawn settings in worldspawn setting in 1 reflection_probe a mp_destructable car

i named the gsc the same name as my map mp_car

the map loads fine
its when i hit compile replections i took out the reflection_probe same thing happened i updated zone files same thing..

it does put the car in the map but u cannot blow it up or do anything with it tbh its getting to be a pain int eh azz..

if i upload my test car map and the gsc would you take a look at it for me plz caretaker ???

http://www.clanfru.com/Uploader/files/mpcarmapandgsc.rar

btw my fullscreen console only error i see is unable to load mp_car.csv

http://www.clanfru.com/Uploader/files/error.jpg



edited on Jan. 23, 2008 01:37 pm by elim

edited on Jan. 23, 2008 01:37 pm by elim
Share |
elim
General Member
Since: Feb 6, 2004
Posts: 527
Last: Jan 12, 2011
[view latest posts]
Level 6
Category: CoD4 MP Mapping
Posted: Wednesday, Jan. 23, 2008 07:02 pm
bump [banghead] bumping my fekin head against a wall spent 4 hours on this now when i coulda been mappign grrrrrrrrrrrrrrrrrrr [banghead][banghead]

edited on Jan. 23, 2008 02:02 pm by elim
Share |
Crazy_c
General Member
Since: Dec 13, 2007
Posts: 53
Last: Feb 20, 2008
[view latest posts]
Level 3
Category: CoD4 MP Mapping
Posted: Wednesday, Jan. 23, 2008 08:14 pm
what i did is take out 2 car destructible from my map and no error message. so probably it has to do with missing assets.

but i am not sure.
Share |
elim
General Member
Since: Feb 6, 2004
Posts: 527
Last: Jan 12, 2011
[view latest posts]
Level 6
Category: CoD4 MP Mapping
Posted: Wednesday, Jan. 23, 2008 08:23 pm
lol i only had 1 in a test map
Share |
2_k
General Member
Since: Nov 17, 2006
Posts: 43
Last: Feb 10, 2008
[view latest posts]
Level 2
Category: CoD4 MP Mapping
Posted: Wednesday, Jan. 23, 2008 09:05 pm
The_Caretaker writes...
Quote:
No idea...
Did you make a .gsc file? If so, got anything in it?
Were you maybe running a mod at the same time or something?

Also, if the game is still open, pull down your console, there might be more info in there.
Try running the map without the reflextions to see if you get the same error. Be sure to tick the developer box, as this will give you more info about errors.

No mods running. When run the map without reflections it all in red...but it's running.
My gsc is standart, but in map i using mp_destractble objects and cars, maby problem in it?
gsc:
main()
{
maps\mp\_load::main();

ambientPlay("ambient_backlot_ext");

game["allies"] = "marines";
game["axis"] = "opfor";
game["attackers"] = "axis";
game["defenders"] = "allies";
game["allies_soldiertype"] = "woodland";
game["axis_soldiertype"] = "woodland";
setdvar( "r_specularcolorscale", "1" );

setdvar("r_glowbloomintensity0",".25");
setdvar("r_glowbloomintensity1",".25");
setdvar("r_glowskybleedintensity0",".3");
setdvar("compassmaxrange","1800");
Share |
elim
General Member
Since: Feb 6, 2004
Posts: 527
Last: Jan 12, 2011
[view latest posts]
Level 6
Category: CoD4 MP Mapping
Posted: Wednesday, Jan. 23, 2008 10:45 pm
bump[banghead][banghead]
Share |
Restricted Access Topic is Locked
Page
Next Page
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

»