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

Members Online

»
0 Active | 94 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 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 whilst runing map after compile.******* script compile error *******
[aL]Damo
General Member
Since: Mar 24, 2010
Posts: 187
Last: Nov 3, 2011
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Thursday, Nov. 3, 2011 01:05 am
Quote:
Menu load error: ui_mp/settings_tdm.menu, line 80: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Menu load error: ui_mp/settings_tdm.menu, line 101: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Menu load error: ui_mp/settings_tdm.menu, line 102: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Loading 'ui_mp/settings_ctf.menu'...
Menu load error: ui_mp/settings_ctf.menu, line 79: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Menu load error: ui_mp/settings_ctf.menu, line 80: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Menu load error: ui_mp/settings_ctf.menu, line 101: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Menu load error: ui_mp/settings_ctf.menu, line 102: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Loading 'ui_mp/settings_hq.menu'...
Menu load error: ui_mp/settings_hq.menu, line 79: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Menu load error: ui_mp/settings_hq.menu, line 80: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Menu load error: ui_mp/settings_hq.menu, line 101: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Menu load error: ui_mp/settings_hq.menu, line 102: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Loading 'ui_mp/settings_sd.menu'...
Loading 'ui_mp/settings_sw.menu'...
Loading 'ui_mp/background.menu'...
WARNING: Could not find 'maps/mp/mp_zom_surrounded_v2.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'...
ERROR: Sound alias file mp_sewersv2.csv: alias entry missing name and/or file
ERROR: Sound alias file mp_jjs_aim.csv: Alias name ': #Ambiance' is invalid
ERROR: Sound alias file mp_jjs_aim.csv: alias entry missing name and/or file
------- Game Initialization -------
gamename: Call of Duty 2
gamedate: Oct 6 2005
----------------------
Game: G_SetupWeaponDef
----------------------

******* script compile error *******
unknown function: (file 'maps/mp/gametypes/_menus.gsc', line 92)
endparty();
*
************************************
writing to: D:\Activison\Call of Duty 2\servercache.dat
Error during initialization:
script compile error
(see console for details)

This is my problem every time i run the map from the mod tools it gives me this error has anybody seen or had this problem before or can help me out wih it ?

Thanks
Share |
[aL]Damo
General Member
Since: Mar 24, 2010
Posts: 187
Last: Nov 3, 2011
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Thursday, Nov. 3, 2011 03:54 am
so i reinstalled CoD2 and the mod tools now i get:

Quote:

CoD2 MP 1.3 build win-x86 May 1 2006
----- FS_Startup -----
Current language: english
Current search path:
D:\Activison\Call of Duty 2\main\iw_15.iwd (85 files)
D:\Activison\Call of Duty 2\main\iw_14.iwd (4038 files)
D:\Activison\Call of Duty 2\main\iw_13.iwd (22624 files)
D:\Activison\Call of Duty 2\main\iw_12.iwd (1016 files)
D:\Activison\Call of Duty 2\main\iw_11.iwd (1462 files)
D:\Activison\Call of Duty 2\main\iw_10.iwd (1936 files)
D:\Activison\Call of Duty 2\main\iw_09.iwd (2142 files)
D:\Activison\Call of Duty 2\main\iw_08.iwd (2723 files)
D:\Activison\Call of Duty 2\main\iw_07.iwd (3384 files)
D:\Activison\Call of Duty 2\main\iw_06.iwd (990 files)
D:\Activison\Call of Duty 2\main\iw_05.iwd (928 files)
D:\Activison\Call of Duty 2\main\iw_04.iwd (698 files)
D:\Activison\Call of Duty 2\main\iw_03.iwd (26 files)
D:\Activison\Call of Duty 2\main\iw_02.iwd (40 files)
D:\Activison\Call of Duty 2\main\iw_01.iwd (16 files)
D:\Activison\Call of Duty 2\main\iw_00.iwd (102 files)
D:\Activison\Call of Duty 2/main
D:\Activison\Call of Duty 2/raw
D:\Activison\Call of Duty 2/raw_shared
D:\Activison\Call of Duty 2/devraw
D:\Activison\Call of Duty 2/devraw_shared
D:\Activison\Call of Duty 2\main\localized_english_iw11.iwd (1 files)
localized assets iwd file for english
D:\Activison\Call of Duty 2\main\localized_english_iw10.iwd (414 files)
localized assets iwd file for english
D:\Activison\Call of Duty 2\main\localized_english_iw09.iwd (98 files)
localized assets iwd file for english
D:\Activison\Call of Duty 2\main\localized_english_iw08.iwd (8 files)
localized assets iwd file for english
D:\Activison\Call of Duty 2\main\localized_english_iw07.iwd (1014 files)
localized assets iwd file for english
D:\Activison\Call of Duty 2\main\localized_english_iw06.iwd (3110 files)
localized assets iwd file for english
D:\Activison\Call of Duty 2\main\localized_english_iw05.iwd (5310 files)
localized assets iwd file for english
D:\Activison\Call of Duty 2\main\localized_english_iw04.iwd (6240 files)
localized assets iwd file for english
D:\Activison\Call of Duty 2\main\localized_english_iw03.iwd (6580 files)
localized assets iwd file for english
D:\Activison\Call of Duty 2\main\localized_english_iw02.iwd (6404 files)
localized assets iwd file for english
D:\Activison\Call of Duty 2\main\localized_english_iw01.iwd (5510 files)
localized assets iwd file for english
D:\Activison\Call of Duty 2\main\localized_english_iw00.iwd (4764 files)
localized assets iwd file for english

File Handles:
----------------------
81663 files in iwd files
logfile opened on Thu Nov 03 03:52:28 2011

execing default_mp.cfg
couldn't exec language.cfg
execing players/damo/config_mp.cfg
Measured CPU speed is 3.31 GHz
System memory is 1024 MB (capped at 1 GB)
Video card is "NVIDIA GeForce GTX 460"
Streaming SIMD Extensions (SSE) supported

Winsock Initialized
Opening IP socket: localhost:28960
Hostname: Damo-PC
IP: 192.168.2.10
IP: 192.168.130.1
IP: 192.168.122.1
IP: 192.168.56.1
Resolving AutoUpdate Server... 63.146.124.11:28960
----- Initializing Renderer ----
-------------------------------
----- Client Initialization -----
----- Client Initialization Complete -----
----- R_Init -----
Getting Direct3D 9 interface...
Pixel shader version is 3.0
Vertex shader version is 3.0
Direct3D 7 code path is available.
Direct3D 9 code path is available.
Using Direct3D 9 code path because it is the best available path on this hardware.
Attempting 800 x 600 fullscreen with 32 bpp at 60 hz
Game window successfully created.
Creating Direct3D device...
Com_TouchMemory: 0 msec. Using sum: 0
Initializing render targets...
Requested frame buffer to be 24-bit color with 8-bit alpha
DirectX returned a frame buffer that is 24-bit color with 8-bit alpha
Initializing static model cache...
Initializing dynamic buffers...
Initializing particle cloud buffer...
Creating Direct3D queries...
Setting initial state...
DirectX reports 4096 MB of video memory and 4026 MB of available texture memory.
Texture detail is set automatically.
Using picmip 0 on most textures, 0 on normal maps, and 0 on specular maps

------- sound system initialization -------
Attempting 44 kHz 16 bit stereo sound
available 3D providers:
Aureal A3D Interactive (TM)
Aureal A3D 2.0 (TM)
DirectSound3D Software Emulation
DirectSound3D Hardware Support
DirectSound3D 7+ Software - Pan and Volume
DirectSound3D 7+ Software - Light HRTF
DirectSound3D 7+ Software - Full HRTF
Creative Labs EAX 3 (TM)
Creative Labs EAX 2 (TM)
Creative Labs EAX (TM)
RAD Game Tools RSX 3D Audio
Dolby Surround
Miles Fast 2D Positional Audio
using 3D provider 'Miles Fast 2D Positional Audio'
32 max 3D channels
------- sound system successfully initialized -------
--- Common Initialization Complete ---
WARNING: Could not find 'maps/mp/mp_zom_surrounded_v2.csv'.
------ Server Initialization ------
Server: mp_zom_surrounded_v2
----- FS_Startup -----
Current language: english
Current search path:
D:\Activison\Call of Duty 2\main\iw_15.iwd (85 files)
D:\Activison\Call of Duty 2\main\iw_14.iwd (4038 files)
D:\Activison\Call of Duty 2\main\iw_13.iwd (22624 files)
D:\Activison\Call of Duty 2\main\iw_12.iwd (1016 files)
D:\Activison\Call of Duty 2\main\iw_11.iwd (1462 files)
D:\Activison\Call of Duty 2\main\iw_10.iwd (1936 files)
D:\Activison\Call of Duty 2\main\iw_09.iwd (2142 files)
D:\Activison\Call of Duty 2\main\iw_08.iwd (2723 files)
D:\Activison\Call of Duty 2\main\iw_07.iwd (3384 files)
D:\Activison\Call of Duty 2\main\iw_06.iwd (990 files)
D:\Activison\Call of Duty 2\main\iw_05.iwd (928 files)
D:\Activison\Call of Duty 2\main\iw_04.iwd (698 files)
D:\Activison\Call of Duty 2\main\iw_03.iwd (26 files)
D:\Activison\Call of Duty 2\main\iw_02.iwd (40 files)
D:\Activison\Call of Duty 2\main\iw_01.iwd (16 files)
D:\Activison\Call of Duty 2\main\iw_00.iwd (102 files)
D:\Activison\Call of Duty 2/main
D:\Activison\Call of Duty 2/raw
D:\Activison\Call of Duty 2/raw_shared
D:\Activison\Call of Duty 2/devraw
D:\Activison\Call of Duty 2/devraw_shared
D:\Activison\Call of Duty 2\main\localized_english_iw11.iwd (1 files)
localized assets iwd file for english
D:\Activison\Call of Duty 2\main\localized_english_iw10.iwd (414 files)
localized assets iwd file for english
D:\Activison\Call of Duty 2\main\localized_english_iw09.iwd (98 files)
localized assets iwd file for english
D:\Activison\Call of Duty 2\main\localized_english_iw08.iwd (8 files)
localized assets iwd file for english
D:\Activison\Call of Duty 2\main\localized_english_iw07.iwd (1014 files)
localized assets iwd file for english
D:\Activison\Call of Duty 2\main\localized_english_iw06.iwd (3110 files)
localized assets iwd file for english
D:\Activison\Call of Duty 2\main\localized_english_iw05.iwd (5310 files)
localized assets iwd file for english
D:\Activison\Call of Duty 2\main\localized_english_iw04.iwd (6240 files)
localized assets iwd file for english
D:\Activison\Call of Duty 2\main\localized_english_iw03.iwd (6580 files)
localized assets iwd file for english
D:\Activison\Call of Duty 2\main\localized_english_iw02.iwd (6404 files)
localized assets iwd file for english
D:\Activison\Call of Duty 2\main\localized_english_iw01.iwd (5510 files)
localized assets iwd file for english
D:\Activison\Call of Duty 2\main\localized_english_iw00.iwd (4764 files)
localized assets iwd file for english

File Handles:
handle 1: console_mp.log
----------------------
163326 files in iwd files
----- R_Init -----
DirectX reports 4096 MB of video memory and 4026 MB of available texture memory.
Texture detail is set automatically.
Using picmip 0 on most textures, 0 on normal maps, and 0 on specular maps
Loading 'ui_mp/main.menu'...
ERROR: Couldn't find material 'ui/assets/gradientbar2.tga'
WARNING: Could not find material 'ui/assets/gradientbar2.tga'
Error: file ui_mp/main.menu, line 919: can't read token
Loading 'ui_mp/options.menu'...
Loading 'ui/options_look.menu'...
Loading 'ui/options_move.menu'...
Loading 'ui/options_shoot.menu'...
Loading 'ui/options_misc.menu'...
Loading 'ui/options_graphics.menu'...
Loading 'ui/options_game.menu'...
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'...
Menu load error: ui_mp/settings_dm.menu, line 83: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Menu load error: ui_mp/settings_dm.menu, line 84: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Menu load error: ui_mp/settings_dm.menu, line 105: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Menu load error: ui_mp/settings_dm.menu, line 106: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Loading 'ui_mp/settings_tdm.menu'...
Menu load error: ui_mp/settings_tdm.menu, line 79: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Menu load error: ui_mp/settings_tdm.menu, line 80: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Menu load error: ui_mp/settings_tdm.menu, line 101: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Menu load error: ui_mp/settings_tdm.menu, line 102: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Loading 'ui_mp/settings_ctf.menu'...
Menu load error: ui_mp/settings_ctf.menu, line 79: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Menu load error: ui_mp/settings_ctf.menu, line 80: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Menu load error: ui_mp/settings_ctf.menu, line 101: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Menu load error: ui_mp/settings_ctf.menu, line 102: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Loading 'ui_mp/settings_hq.menu'...
Menu load error: ui_mp/settings_hq.menu, line 79: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Menu load error: ui_mp/settings_hq.menu, line 80: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Menu load error: ui_mp/settings_hq.menu, line 101: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Menu load error: ui_mp/settings_hq.menu, line 102: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.

Loading 'ui_mp/settings_sd.menu'...
Loading 'ui_mp/settings_sw.menu'...
Loading 'ui_mp/background.menu'...
WARNING: Could not find 'maps/mp/mp_zom_surrounded_v2.csv'.
Recovering lost device...
Initializing render targets...
Requested frame buffer to be 24-bit color with 8-bit alpha
DirectX returned a frame buffer that is 24-bit color with 8-bit alpha
Initializing static model cache...
Initializing dynamic buffers...
Initializing particle cloud buffer...
Creating Direct3D queries...
Setting initial state...
Finished recovering lost device.
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: D:\Activison\Call of Duty 2\servercache.dat
Error during initialization:
script runtime error
(see console for details)
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 10)

Share |
Tally
General Member
Since: Apr 21, 2005
Posts: 819
Last: Oct 26, 2012
[view latest posts]
Level 7
Category: CoD2 MP Mapping
Posted: Thursday, Nov. 3, 2011 07:00 am
Your map doesn't have a GSC file. The definition of level.xenon is in maps\mp\_load::main(), so you need to call that file at the very least.
Share |
IzNoGoD
General Member
Since: Nov 29, 2008
Posts: 694
Last: Nov 10, 2012
[view latest posts]
Level 6
Category: CoD2 MP Mapping
Posted: Thursday, Nov. 3, 2011 07:12 am
This is a 1.3/1.2 mod on 1.0, and thus gives this error (had it myself)
Upgrade your cod to 1.2/1.3 or downgrade your gametype.gsc, and rewrite your mod from the 1.0 gsc.
Share |
Ni3ls
General Member
Since: Nov 7, 2008
Posts: 256
Last: Sep 9, 2017
[view latest posts]
Level 5
Category: CoD2 MP Mapping
Posted: Thursday, Nov. 3, 2011 12:21 pm
remove the endparty in _menus.gsc
Share |
[aL]Damo
General Member
Since: Mar 24, 2010
Posts: 187
Last: Nov 3, 2011
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Thursday, Nov. 3, 2011 03:59 pm
Ok creating a GSC fixed it tyvm for that.

Now i have another problem sorry if this sounds a bit noobish but My map is multicolored. Now i know how to fix this in CoD4 you use a light grid volume texure or create a grid file now because i've never mapped for CoD2 before im no sure how i go about it. if you wouldent mind helping me out on this one too

Thanks =D
Share |
liltc64
General Member
Since: Feb 12, 2007
Posts: 906
Last: Oct 22, 2012
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoD2 MP Mapping
Posted: Thursday, Nov. 3, 2011 04:15 pm
someone just recently had the same issue, try reading threw this and see if this helps.

http://modsonline.com/Forums-top-149296.html
Share |
[aL]Damo
General Member
Since: Mar 24, 2010
Posts: 187
Last: Nov 3, 2011
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Thursday, Nov. 3, 2011 05:45 pm
Ok i know how to make the grid file but then i tick the models collect dots no dots appear ingame and i need them realy as its quite a big area to cover, He also had the same problem as me with this but he dosent say if he fixed it or not. So anybody know how i can get the dots to appear?
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

»