| Author |
Topic: Error ; driving me nuts [Help] |
| Nielbillie |
General Member Since: Jun 5, 2006 Posts: 3 Last: Aug 10, 2006 [view latest posts] |
|
|
|
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
edited on Aug. 9, 2006 10:47 am by Nielbillie |
 |
|
|
| hansgrubber |
 |
General Member Since: Aug 7, 2004 Posts: 196 Last: Jul 6, 2009 [view latest posts] |
|
|
|
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 //.
|
 |
|
|
| The_Caretaker |
General Member Since: Jun 8, 2004 Posts: 11625 Last: Jul 7, 2009 [view latest posts] |
|
|
|
|
| veef |
General Member Since: Apr 25, 2006 Posts: 1258 Last: Aug 29, 2006 [view latest posts] |
|
|
|
Category: CoD2 MP Mapping Posted: Wednesday, Aug. 9, 2006 08:46 pm |
 |
|
 |
|
|
| Nielbillie |
General Member Since: Jun 5, 2006 Posts: 3 Last: Aug 10, 2006 [view latest posts] |
|
|
|
Category: CoD2 MP Mapping Posted: Thursday, Aug. 10, 2006 11:29 am |
 |
Omg this is rly driving me nuts
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
|
 |
|
|
| hansgrubber |
 |
General Member Since: Aug 7, 2004 Posts: 196 Last: Jul 6, 2009 [view latest posts] |
|
|
|
|
| Nielbillie |
General Member Since: Jun 5, 2006 Posts: 3 Last: Aug 10, 2006 [view latest posts] |
|
|
|
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 |
 |
|
|
| techno2sl |
 |
General Member Since: Aug 5, 2004 Posts: 2977 Last: Oct 14, 2010 [view latest posts] |
|
|
|
|
| magdoom |
General Member Since: May 4, 2006 Posts: 172 Last: Nov 8, 2006 [view latest posts] |
|
|
|
|
|
|
mp_TempleCall of Duty: Mods: Multiplayer (624.12Kb)
|