| Author |
Topic: clientscript compile error... |
| SgtCortes69us |
General Member Since: Jul 27, 2006 Posts: 295 Last: Feb 5, 2010 [view latest posts] |
|
|
|
Category: CoDWW MP Mapping Posted: Saturday, Nov. 7, 2009 06:24 am |
 |
Trying to run my map but I got this error;
Code: Could not find script 'clientscripts/mp/_panzeriv'
This is gonna be my first map.
Any help will be appreciated it. Thanks ! |
 |
|
|
| FAFFER |
General Member Since: May 1, 2005 Posts: 647 Last: Sep 17, 2011 [view latest posts] |
|
|
|
Category: CoDWW MP Mapping Posted: Saturday, Nov. 7, 2009 03:15 pm |
 |
rawfile/maps/mp/yourmapname.gsc
rawfile/maps/mp/yourmapname_fx.gsc
rawfile/maps/mp/createfx/mp_yourmapname_fx.gsc
rawfile/clientscripts/mp/createfx/mp_yourmapname_fx.csc
rawfile/clientscripts/mp/mp_yourmapname.csc
rawfile/clientscripts/mp/mp_yourmapname_fx.csc
this is wot your zonefile should say..
all files should be in corresponding folders and named the same way.
use this tut...
http://www.modsonwiki.com/index.php/World_at_War:_MP_Effects
|
 |
|
|
| SgtCortes69us |
General Member Since: Jul 27, 2006 Posts: 295 Last: Feb 5, 2010 [view latest posts] |
|
|
|
Category: CoDWW MP Mapping Posted: Saturday, Nov. 7, 2009 05:25 pm |
 |
FAFFER writes...Quote: rawfile/maps/mp/yourmapname.gsc
rawfile/maps/mp/yourmapname_fx.gsc
rawfile/maps/mp/createfx/mp_yourmapname_fx.gsc
rawfile/clientscripts/mp/createfx/mp_yourmapname_fx.csc
rawfile/clientscripts/mp/mp_yourmapname.csc
rawfile/clientscripts/mp/mp_yourmapname_fx.csc
this is wot your zonefile should say..
all files should be in corresponding folders and named the same way.
use this tut...
http://www.modsonwiki.com/index.php/World_at_War:_MP_Effects
I just dont get it, ![[banghead]](images/BBCode/smilies/banghead.gif) .
I did follow the tut as it say in the link you place but still having the same crap error.
Could not find script 'clientscripts/mp/_panzeriv'
I think its time for me to give-up. Theres toomany folders and files to create and everytime that I post a question, everybody rspond in diferent ways so I get confussed. I'm very nooby with this and I think thats why is so dificult to me to understand ![[duh]](images/BBCode/smilies/duh.gif) , But I want to learn.
My .gsc file:
Code: main()
{
//maps\mp\mp_omaha_beach1_fx::main();
//maps\mp\mp_last_stand_amb::main();
maps\mp\_load::main();
maps\mp\_compass::setupMiniMap("compass_map_mp_omaha_beach1");
//setVolFog(<startDist>, <halfwayDist>, <halfwayHeight>, <baseHeight>, <red>, <green>, <blue>, <transition time>)
//setVolFog(200, 400, 300, 600, 0, 0, 0, 0.5);
//VisionSetNaked( "mp_cargoship" );
//ambientPlay("ambient_cargoshipmp_ext");
// If the team nationalites change in this file,
// you must update the team nationality in the level's csc file as well!
game["allies"] = "marines";
game["axis"] = "japanese";
game["attackers"] = "axis";
game["defenders"] = "allies";
game["allies_soldiertype"] = "pacific";
game["axis_soldiertype"] = "pacific";
setdvar( "r_specularcolorscale", "1" );
setdvar("compassmaxrange","2100");
// enable new player spawning system
maps\mp\gametypes\_spawning::level_use_unified_spawning(true);
}
my .csv file:
Code: ignore,code_post_gfx_mp
ignore,common_mp
include,vehicles_drivable_mp
rawfile,clientscripts/mp/mp_omaha_beach1_amb.csc
rawfile,clientscripts/mp/mp_omaha_beach1.csc
rawfile,clientscripts/mp/mp_panzeriv_fx.csc
rawfile,clientscripts/mp/createfx/mp_panzeriv_fx.csc
rawfile,clientscripts/mp/mp_panzeriv_amb.csc
rawfile,clientscripts/mp/panzeriv_n.csc
sound,mp_airfield,mp_airfield,all_mp
sound,mp_omaha_beach1,mp_omaha_beach1,all_mp
sound,vehicles,veh_mp,all_mp
col_map_mp,maps/mp/mp_omaha_beach1.d3dbsp
rawfile,maps/mp/mp_omaha_beach1.gsc
rawfile,maps/mp/mp_omaha_beach1_fx.gsc
fx,maps/mp_maps/fx_mp_fire_medium
sound,common,mp_omaha_beach1,all_mp
sound,generic,mp_omaha_beach1,all_mp
sound,voiceovers,mp_omaha_beach1,all_mp
sound,multiplayer,mp_omaha_beach1,all_mp
include,mptypes_pacific
weapon,mp/mg42_bipod_crouch_mp
weapon,mp/mg42_bipod_stand_mp
weapon,mp/mg42_bipod_prone_mp
weapon,mp/mg42_bipod_mp
weapon,sp/50cal_turret_technical
xmodel,mounted_ger_mg42_bipod_mg
xmodel,mounted_ger_mg42_mg
xmodel,viewmodel_ger_mg42_mg
xmodel,viewmodel_ger_mg42_bipod_mg
xmodel,weapon_ger_mg42_mg
xmodel,weapon_ger_mg42_bipod_mg
xmodel,weapon_ger_mg_mg42
The map it just wont load.
Any help welcome. |
 |
|
|
| FAFFER |
General Member Since: May 1, 2005 Posts: 647 Last: Sep 17, 2011 [view latest posts] |
|
|
|
Category: CoDWW MP Mapping Posted: Saturday, Nov. 7, 2009 06:06 pm |
 |
your .csv is looking for this file
rawfile,clientscripts/mp/panzeriv_n.csc
and it can't find it....hence the error...
that line in your csv should be..
rawfile,clientscripts/mp/ mp_panzeriv.csc
the name of the scriptfile in that folder should be
"mp_panzeriv.csc"
i m not sure why u have "_n" in the filename...
edited on Nov. 7, 2009 01:08 pm by FAFFER
u also need to decide wot your maps called!
is it "mp_omaha_beach1" or "mp_panzeriv"
u can't have both!
|
 |
|
|
| SgtCortes69us |
General Member Since: Jul 27, 2006 Posts: 295 Last: Feb 5, 2010 [view latest posts] |
|
|
|
Category: CoDWW MP Mapping Posted: Saturday, Nov. 7, 2009 07:51 pm |
 |
FAFFER writes...Quote: your .csv is looking for this file
rawfile,clientscripts/mp/panzeriv_n.csc
and it can't find it....hence the error...
that line in your csv should be..
rawfile,clientscripts/mp/ mp_panzeriv.csc
the name of the scriptfile in that folder should be
"mp_panzeriv.csc"
i m not sure why u have "_n" in the filename...
edited on Nov. 7, 2009 01:08 pm by FAFFER
u also need to decide wot your maps called!
is it "mp_omaha_beach1" or "mp_panzeriv"
u can't have both!
I dont know whats going on. ![[banghead]](images/BBCode/smilies/banghead.gif)
I just change everything to my map name and still same.
Maybe is my clientscript csc file.
I have place a couple of tanks in the map and I follow a tut for that, so I added some stuff in my csc file.
This my .csc file in raw/clientscripts/mp folder:
Code: #include clientscripts\mp\_utility;
main()
{
clientscripts\mp\_panzeriv::main( "vehicle_ger_tracked_panzer4_mp" );
clientscripts\mp\_t34::main( "vehicle_rus_tracked_t34_mp" );
clientscripts\mp\_load::main();
clientscripts\mp\mp_omaha_beach1_fx::main();
thread clientscripts\mp\_fx::fx_init(0);
thread clientscripts\mp\_audio::audio_init(0);
thread clientscripts\mp\mp_omaha_beach1_amb::main();
println("*** Client : mp_omaha_beach1 running...");
}
So maybe thats why the game its calling the _panzeriv, I guess.
This is how my csv file looks now.:
Code: ignore,code_post_gfx_mp
ignore,common_mp
include,vehicles_drivable_mp
rawfile,maps/mp/mp_omaha_beach1.gsc
rawfile,maps/mp/mp_omaha_beach1_fx.gsc
rawfile,maps/mp/createFX/mp_omaha_beach1_fx.gsc
rawfile,clientscripts/mp/createFX/mp_omaha_beach1_fx.csc
rawfile,clientscripts/mp/mp_omaha_beach1_fx.csc
rawfile,clientscripts/mp/mp_omaha_beach1.csc
sound,mp_airfield,mp_airfield,all_mp
sound,mp_omaha_beach1,mp_omaha_beach1,all_mp
sound,vehicles,veh_mp,all_mp
col_map_mp,maps/mp/mp_omaha_beach1.d3dbsp
fx,maps/mp_maps/fx_mp_fire_medium
sound,common,mp_omaha_beach1,all_mp
sound,generic,mp_omaha_beach1,all_mp
sound,voiceovers,mp_omaha_beach1,all_mp
sound,multiplayer,mp_omaha_beach1,all_mp
include,mptypes_pacific
weapon,mp/mg42_bipod_crouch_mp
weapon,mp/mg42_bipod_stand_mp
weapon,mp/mg42_bipod_prone_mp
weapon,mp/mg42_bipod_mp
weapon,sp/50cal_turret_technical
xmodel,mounted_ger_mg42_bipod_mg
xmodel,mounted_ger_mg42_mg
xmodel,viewmodel_ger_mg42_mg
xmodel,viewmodel_ger_mg42_bipod_mg
xmodel,weapon_ger_mg42_mg
xmodel,weapon_ger_mg42_bipod_mg
xmodel,weapon_ger_mg_mg42
I hope this help. |
 |
|
|
| FAFFER |
General Member Since: May 1, 2005 Posts: 647 Last: Sep 17, 2011 [view latest posts] |
|
|
|
|
| SgtCortes69us |
General Member Since: Jul 27, 2006 Posts: 295 Last: Feb 5, 2010 [view latest posts] |
|
|
|
Category: CoDWW MP Mapping Posted: Saturday, Nov. 7, 2009 09:24 pm |
 |
FAFFER writes...Quote: ahhhhh sorry i thought this was for fx....
put it all back as it was in your second post in this topic...
then in your .csv change
"rawfile,clientscripts/mp/panzeriv_n.csc"
to "rawfile,clientscripts/mp/_panzeriv.csc"
Still the same crap! ![[sad]](images/BBCode/smilies/sad.gif)
Do I have to create a folder (mp_panzeriv) to make this work?, same as the map?, beacuse all this error start when I add those tanks and try to add adbient sound to my map.
I made the script_struc in the map, compile it and try to run but it just dont work.
The model I'm using in the map for tank is:
_prefabs/mp/veh_sherman.map
What I have to do to make this freaking map works.? |
 |
|
|
| FAFFER |
General Member Since: May 1, 2005 Posts: 647 Last: Sep 17, 2011 [view latest posts] |
|
|
|
Category: CoDWW MP Mapping Posted: Sunday, Nov. 8, 2009 12:52 am |
 |
hmmm...
if you've changed that line, and the file "_panzeriv.csc" exists in "clientscripts/mp/"
then it should find it!
i would start by concerntrating on your ambient sounds...
this post will help http://www.modsonline.com/Forums-top-93724-30.html
start at page one.
then go through your tanks again :) |
 |
|
|
| SgtCortes69us |
General Member Since: Jul 27, 2006 Posts: 295 Last: Feb 5, 2010 [view latest posts] |
|
|
|
Category: CoDWW MP Mapping Posted: Sunday, Nov. 8, 2009 04:34 am |
 |
FAFFER writes...Quote: hmmm...
if you've changed that line, and the file "_panzeriv.csc" exists in "clientscripts/mp/"
then it should find it!
i would start by concerntrating on your ambient sounds...
this post will help http://www.modsonline.com/Forums-top-93724-30.html
start at page one.
then go through your tanks again :)
I've checked that topic, but I have had all that already. All that is about the amb sounds, but i didnt see nothing realted to panzeriv, which is my problem, or vehicle sound.
I cant even check if my amb. sound is working because I cant run my map, I think I need to pullout the sound from somewhere and add it to my csv file or soundalias. Not so sure.
What do you think? |
 |
|
|
| DemonSeed |
General Member Since: Apr 30, 2009 Posts: 1362 Last: Feb 19, 2018 [view latest posts] |
|
|
 |
|
|