Author |
Topic: Several errors |
jacslx |
|
General Member Since: Apr 19, 2007 Posts: 90 Last: Feb 19, 2018 [view latest posts] |
|
|
Category: CoD2 MP Mapping Posted: Wednesday, Feb. 14, 2018 03:37 am |
|
Howdy all.. last time I successfully created a map back in 2009. My friends and I played many hours on the map. After a bit of a vacation, my friends and I have decided to return to COD2. Anyways, I grabbed the old map I made that we loved, called "grasky". I found the .map file on my old rig and installed Radiant on the current machine. I loaded up the old map file in radiant just fine. Made a few changes, saved as "grasky2" and compiled. However, I am getting the "cod2map.exe has an error and must close" error when I compile, yet the compile is still working.
Before I started the compile, I made the necessary changes to the .gsc and .csv files. zipped them up following a tutorial i found here and made the mp_grasky.iwd . The IDW file was placed in the cod2>main folder with all the other IWD files.
I can run COD2MP and use the " ~ /map mp_grasky2" to call up the map to check my changes ... the load screen loads, then I get the "couldnt load the d3dbsp file" error. I copied the d3dbsp file that the compiler created and was placed in the maps>mp folder thats in the IWD
Any help is appreciated. Thanks! |
|
|
|
jacslx |
|
General Member Since: Apr 19, 2007 Posts: 90 Last: Feb 19, 2018 [view latest posts] |
|
|
Category: CoD2 MP Mapping Posted: Friday, Feb. 16, 2018 03:40 am |
|
Well... now Im getting the "missing key #ambiant value " in the csv.
I copied a CSV from a stock map, changed the mapname and such. Get the same error.
Here is my CSV:
name,sequence,file,vol_min,vol_max,vol_mod,pitch_min,pitch_max,dist_min,dist_max,channel,type,probability,loop,masterslave,loadspec,subtitle,compression,secondaryaliasname,volumefalloffcurve,startdelay,speakermap,reverb,lfe percentage
#Ambiance,,,,,,,,,,,,,,,
ambient_mp_france,,ambient/amb_france01b.mp3,0.63,,,,,,,local,streamed,,looping,,mp_grasky2
Here is my gsc file:
main()
{
maps\mp\mp_mp_grasky2_fx::main();
maps\mp\_load::main();
setExpFog(0.0001, 0.30, 0.31, 0.34, 0);
ambientPlay("ambient_france");
game["allies"] = "american";
game["axis"] = "german";
game["attackers"] = "allies";
game["defenders"] = "axis";
game["american_soldiertype"] = "normandy";
game["german_soldiertype"] = "normandy";
setcvar("r_glowbloomintensity0","1");
setcvar("r_glowbloomintensity1","1");
setcvar("r_glowskybleedintensity0",".25");
}
Any help is appreciated. Thanks.
Jac |
|
|
|
DemonSeed |
General Member Since: Apr 30, 2009 Posts: 1362 Last: Feb 19, 2018 [view latest posts] |
|
|
|
|
DemonSeed |
General Member Since: Apr 30, 2009 Posts: 1362 Last: Feb 19, 2018 [view latest posts] |
|
|
|
Category: CoD2 MP Mapping Posted: Friday, Feb. 16, 2018 10:51 am |
|
jacslx writes...Quote: Howdy all.. last time I successfully created a map back in 2009. My friends and I played many hours on the map. After a bit of a vacation, my friends and I have decided to return to COD2. Anyways, I grabbed the old map I made that we loved, called "grasky". I found the .map file on my old rig and installed Radiant on the current machine. I loaded up the old map file in radiant just fine. Made a few changes, saved as "grasky2" and compiled. However, I am getting the "cod2map.exe has an error and must close" error when I compile, yet the compile is still working.
Before I started the compile, I made the necessary changes to the .gsc and .csv files. zipped them up following a tutorial i found here and made the mp_grasky.iwd . The IDW file was placed in the cod2>main folder with all the other IWD files.
I can run COD2MP and use the " ~ /map mp_grasky2" to call up the map to check my changes ... the load screen loads, then I get the "couldnt load the d3dbsp file" error. I copied the d3dbsp file that the compiler created and was placed in the maps>mp folder thats in the IWD
Any help is appreciated. Thanks!
This error is caused by a incomplete d3dbsp compile. It might be caused by your version of Windows. What are you running? Windows 10? Have you got all the necessary .dll files needed to run COD2 on Win 10? You need the following:
msvcp71.dll
mfc71.dll
msvcr71.dll |
|
|
|
jacslx |
|
General Member Since: Apr 19, 2007 Posts: 90 Last: Feb 19, 2018 [view latest posts] |
|
|
Category: CoD2 MP Mapping Posted: Friday, Feb. 16, 2018 07:43 pm |
|
DemonSeed writes...Quote: You don't need a custom CSV file for ambient sounds if you are going to use stock ones. The game engine will find the ambient sound as long as the alias name in your GSC file matches a stock sound.
In your specific case, you have "ambient_france" in your ambientPlay() function, and "ambient_mp_france" in your sound alias file. Hence, why you are getting the "missing ambient token" error.
First, thanks for the reply, was hoping this place wasnt dead.
So, if I am using a stock ambient sound, what should the .csv look like ?
or, does the ambient line in the .gsc file need to be deleted?
|
|
|
|
jacslx |
|
General Member Since: Apr 19, 2007 Posts: 90 Last: Feb 19, 2018 [view latest posts] |
|
|
Category: CoD2 MP Mapping Posted: Friday, Feb. 16, 2018 07:47 pm |
|
DemonSeed writes...Quote: jacslx writes...Quote: Howdy all.. last time I successfully created a map back in 2009. My friends and I played many hours on the map. After a bit of a vacation, my friends and I have decided to return to COD2. Anyways, I grabbed the old map I made that we loved, called "grasky". I found the .map file on my old rig and installed Radiant on the current machine. I loaded up the old map file in radiant just fine. Made a few changes, saved as "grasky2" and compiled. However, I am getting the "cod2map.exe has an error and must close" error when I compile, yet the compile is still working.
Before I started the compile, I made the necessary changes to the .gsc and .csv files. zipped them up following a tutorial i found here and made the mp_grasky.iwd . The IDW file was placed in the cod2>main folder with all the other IWD files.
I can run COD2MP and use the " ~ /map mp_grasky2" to call up the map to check my changes ... the load screen loads, then I get the "couldnt load the d3dbsp file" error. I copied the d3dbsp file that the compiler created and was placed in the maps>mp folder thats in the IWD
Any help is appreciated. Thanks!
This error is caused by a incomplete d3dbsp compile. It might be caused by your version of Windows. What are you running? Windows 10? Have you got all the necessary .dll files needed to run COD2 on Win 10? You need the following:
msvcp71.dll
mfc71.dll
msvcr71.dll
I am on Win10, yes. I wasnt aware that I needed some files. Ill search for them and find where they go. I set to run COD2MP.exe in compatibility mode.
edited on Feb. 16, 2018 01:03 pm by jacslx
Edit:
I have downloaded the files and put them in the system32 folder. |
|
|
|
jacslx |
|
General Member Since: Apr 19, 2007 Posts: 90 Last: Feb 19, 2018 [view latest posts] |
|
|
Category: CoD2 MP Mapping Posted: Friday, Feb. 16, 2018 08:24 pm |
|
so i followed the ambiant sound tutorial by caretaker. Still getting the "key '#ambiance' missing value in 'maps/mp/mp_grasky2.csv'
here is my .csv : (which was copied and pasted from the tutorial)
Quote: name,sequence,file,vol_min,vol_max,vol_mod,pitch_min,pitch_max,dist_min,dist_max,channel,type,probability,loop,masterslave,loadspec,subtitle,compression,secondaryaliasname,volumefalloffcurve,startdelay,speakermap,reverb,lfe percentage
#Ambiance
ambient_mp_grasky2,,ambient/amb_france01b.mp3,0.63,,,,,,,local,streamed,,looping,,mp_grasky2
Here is my .gsc file , again updated with the caretaker ambiant sound tutorial.
Quote:
main()
{
maps\mp\_load::main();
setExpFog(0.0001, 0.30, 0.31, 0.34, 0);
ambientPlay("ambient_mp_grasky2");
game["allies"] = "american";
game["axis"] = "german";
game["attackers"] = "allies";
game["defenders"] = "axis";
game["american_soldiertype"] = "normandy";
game["german_soldiertype"] = "normandy";
setcvar("r_glowbloomintensity0","1");
setcvar("r_glowbloomintensity1","1");
setcvar("r_glowskybleedintensity0",".25");
}
edited on Feb. 16, 2018 01:31 pm by jacslx |
|
|
|
DemonSeed |
General Member Since: Apr 30, 2009 Posts: 1362 Last: Feb 19, 2018 [view latest posts] |
|
|
|
Category: CoD2 MP Mapping Posted: Saturday, Feb. 17, 2018 12:04 am |
|
Quote: maps/mp/mp_grasky2.csv
That is telling me you've put your soundalias CSV file in the wrong folder. It must go in a "soundalias" folder.
The only CSV file you can put in your maps/mp folders is your loadscreen CSV file.
If in doubt about where to put certain files and what folders they go in, always look through the stock IWD files and see how the folder system is structured. Just copy their structure, putting the right files in the right folders.
|
|
|
|
jacslx |
|
General Member Since: Apr 19, 2007 Posts: 90 Last: Feb 19, 2018 [view latest posts] |
|
|
Category: CoD2 MP Mapping Posted: Monday, Feb. 19, 2018 03:47 am |
|
DemonSeed writes...Quote: Quote: maps/mp/mp_grasky2.csv
That is telling me you've put your soundalias CSV file in the wrong folder. It must go in a "soundalias" folder.
The only CSV file you can put in your maps/mp folders is your loadscreen CSV file.
If in doubt about where to put certain files and what folders they go in, always look through the stock IWD files and see how the folder system is structured. Just copy their structure, putting the right files in the right folders.
The only .csv file I have is in the soundaliases folder. I do not have a .csv in maps/mp folder. Not using a load screen. Which is really boggling my mind why its asking for an #Ambiant key value in a .csv file path that does not exist.
Thank you for your patience and help.
|
|
|
|
jacslx |
|
General Member Since: Apr 19, 2007 Posts: 90 Last: Feb 19, 2018 [view latest posts] |
|
|
|