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

Members Online

»
0 Active | 9 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 2
Category: CoD2 MP Mapping
CoD 2 mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Error ; driving me nuts [Help]
Nielbillie
General Member
Since: Jun 5, 2006
Posts: 3
Last: Aug 10, 2006
[view latest posts]
Level 0
Category: CoD2 MP Mapping
Posted: Wednesday, Aug. 9, 2006 02:46 pm
Hi; I followed the video tutorials of Foyleman.
I made the gsc. file like this.
Quote:
main() {
maps\mp\_load::main();
}


I've tried other things like

main() }
maps\mp\_load::main();
}

and

main()
{
maps\mp\_load::main();
}


But I still get a fatal error like this:
Quote:

script runtime error
(see console for details)
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 10)



Quote:
Loading 'ui/options_sound.menu'...
Loading 'ui/options_view.menu'...
Loading 'ui_mp/options_voice.menu'...
Loading 'ui/options_defaults.menu'...
Loading 'ui/options_credits.menu'...
Loading 'ui/options_control_defaults.menu'...
Loading 'ui/options_graphics_defaults.menu'...
Loading 'ui_mp/options_multi.menu'...
Loading 'ui/playerprofile.menu'...
Loading 'ui_mp/vid_restart.menu'...
Loading 'ui/language_restart.menu'...
Loading 'ui/snd_restart.menu'...
Loading 'ui/rec_restart.menu'...
Loading 'ui/quit.menu'...
Loading 'ui/error.menu'...
Loading 'ui_mp/multi.menu'...
ERROR: Couldn't find material 'ui/assets/fadebox.tga'
WARNING: Could not find material 'ui/assets/fadebox.tga'
Loading 'ui_mp/joinserver.menu'...
Loading 'ui_mp/createserver.menu'...
Loading 'ui_mp/pb_popmenus.menu'...
Loading 'ui_mp/cdkey.menu'...
Loading 'ui_mp/mods.menu'...
Loading 'ui_mp/connect.menu'...
WARNING: Could not find material '$levelbriefing'
Loading 'ui_mp/password.menu'...
Loading 'ui_mp/single_player.menu'...
Loading 'ui_mp/serverinfo.menu'...
Loading 'ui_mp/createfavorite.menu'...
Loading 'ui_mp/filter.menu'...
Loading 'ui_mp/in_rec_restart.menu'...
Loading 'ui_mp/auto_update.menu'...
Loading 'ui_mp/settings_dm.menu'...
Loading 'ui_mp/settings_tdm.menu'...
Loading 'ui_mp/settings_ctf.menu'...
Loading 'ui_mp/settings_hq.menu'...
Loading 'ui_mp/settings_sd.menu'...
Loading 'ui_mp/settings_sw.menu'...
Loading 'ui_mp/background.menu'...
WARNING: Could not find 'maps/mp/mp_nielie.csv'.
Loading 'ui_mp/ingame.menu'...
Loading 'ui_mp/ingame_controls.menu'...
Loading 'ui_mp/ingame_options.menu'...
Loading 'ui_mp/ingame_system.menu'...
Loading 'ui_mp/ingame_leave.menu'...
Loading 'ui_mp/ingame_callvote.menu'...
Loading 'ui_mp/wm_quickmessage.menu'...
------- Game Initialization -------
gamename: Call of Duty 2
gamedate: May 1 2006
----------------------
Game: G_SetupWeaponDef
----------------------
-----------------------------------

******* script runtime error *******
cannot cast undefined to bool: (file 'maps/mp/gametypes/_menus.gsc', line 13)
if(!level.xenon)
*
called from:
(file 'maps/mp/gametypes/dm.gsc', line 84)
thread maps\mp\gametypes\_menus::init();
*
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 15)
[[level.callbackStartGameType]]();
*
started from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 10)
CodeCallback_StartGameType()
*
************************************
writing to: C:\Call of Duty 2\servercache.dat
Error during initialization:
script runtime error
(see console for details)
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 10)


Please can any1 help me[ohwell]

edited on Aug. 9, 2006 10:47 am by Nielbillie
Share |
hansgrubber
General Member
Since: Aug 7, 2004
Posts: 196
Last: Jul 6, 2009
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Wednesday, Aug. 9, 2006 03:46 pm
main()
{
// maps\mp\mp_yourmapname_fx::main();
maps\mp\_load::main();

// setCullFog (0, 10000, 0.7, 0.85, 1.0, 0);

setExpFog(0.000125, 0.7, 0.85, 1.0, 0);
ambientPlay("ambient_mp_kiev");


game["allies"] = "russian";
game["axis"] = "german";
game["attackers"] = "allies";
game["defenders"] = "axis";
game["russian_soldiertype"] = "padded";
game["german_soldiertype"] = "winterlight";

setcvar("r_glowbloomintensity0","1");
setcvar("r_glowbloomintensity1","1");
setcvar("r_glowskybleedintensity0",".5");

}

If you have the brackets like this:
main() {
It might cause problems.
Above is a working gsc or just use the ones for stockmaps in iwd's.The call for fx gsc is skiped unless you have one then you need to put your map name in the spot of youmapname,
and take two brackets out //.

Share |
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoD2 MP Mapping
Posted: Wednesday, Aug. 9, 2006 04:00 pm
Your error points to not running your map with pure turned off.
Turn it off in the "create new server" menu and try tunning your map again.
Share |
veef
General Member
Since: Apr 25, 2006
Posts: 1258
Last: Aug 29, 2006
[view latest posts]
Level 8
Category: CoD2 MP Mapping
Posted: Wednesday, Aug. 9, 2006 08:46 pm
http://www.modsonline.com/Forums-top-22072.html%23121950
Share |
Nielbillie
General Member
Since: Jun 5, 2006
Posts: 3
Last: Aug 10, 2006
[view latest posts]
Level 0
Category: CoD2 MP Mapping
Posted: Thursday, Aug. 10, 2006 11:29 am
Omg this is rly driving me nuts[banghead]

1st: I tried what hansgrubber said. But it gave the same error.

Quote:
main()
{
// maps\mp\mp_yourmapname_fx::main();
maps\mp\_load::main();

// setCullFog (0, 10000, 0.7, 0.85, 1.0, 0);

setExpFog(0.000125, 0.7, 0.85, 1.0, 0);
ambientPlay("ambient_mp_kiev");


game["allies"] = "russian";
game["axis"] = "german";
game["attackers"] = "allies";
game["defenders"] = "axis";
game["russian_soldiertype"] = "padded";
game["german_soldiertype"] = "winterlight";

setcvar("r_glowbloomintensity0","1");
setcvar("r_glowbloomintensity1","1");
setcvar("r_glowskybleedintensity0",".5");



2nd: The_caretaker said
Quote:
Your error points to not running your map with pure turned off.
Turn it off in the "create new server" menu and try tunning your map again.
My map is not in the list.

3rd: I followed the steps of veef ; but its still the same[banghead]

Share |
hansgrubber
General Member
Since: Aug 7, 2004
Posts: 196
Last: Jul 6, 2009
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Thursday, Aug. 10, 2006 12:19 pm
It won't be in list until you pack it in iwd.Make sure you don't have any mods or custom map files in your main folder or
mod folders in your callofduty2 folder.
what you want to do is goto menu,start new server,then turn off pure.Go back to opening screen, bring down console with the tilth key ~, type in /map yourmapname and hit enter.see what happens. Make sure you have name right for gsc,same as map(d3dbsp)file.Sounds to me like your missing one of them steps.

edited on Aug. 10, 2006 08:20 am by hansgrubber
Share |
Nielbillie
General Member
Since: Jun 5, 2006
Posts: 3
Last: Aug 10, 2006
[view latest posts]
Level 0
Category: CoD2 MP Mapping
Posted: Thursday, Aug. 10, 2006 12:57 pm
hansgrubber writes...
Quote:
It won't be in list until you pack it in iwd.
In my main folder i dont got mp_mymapname.iwd?
How i pack it in iwd?

edited on Aug. 10, 2006 08:20 am by hansgrubber
Share |
techno2sl
General Member
Since: Aug 5, 2004
Posts: 2977
Last: Oct 14, 2010
[view latest posts]
Level 9
Category: CoD2 MP Mapping
Posted: Thursday, Aug. 10, 2006 02:15 pm
Create an ARENA file for it to be in the list....

do a search for creating ARENA files, you dont need to IWD anything to make your map show up in the maps list, you just need an ARENA file in the correct folder.

to IWD::

select all the folders you need, .zip it and change the .zip to .iwd simple - just make sure you get the correct folder structures.
Share |
magdoom
General Member
Since: May 4, 2006
Posts: 172
Last: Nov 8, 2006
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Thursday, Aug. 10, 2006 03:02 pm
to test the map ( run it ) without the .arena file, you can always do this:


goto the "start new server" menu of cod2, and setup your server settings (including pure and dedicated.. etc..) then open the console and type:: "map " to just run the map. or "devmap " to run the map with cheats enabled). I use the noclip cheat to move around quicker instead of walking around all those buildings and stuff when testing maps.

edited on Aug. 10, 2006 11:03 am by magdoom
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 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

»