UGX-Mods

Call of Duty: Black Ops 3 => General => Topic started by: kingneo on October 23, 2016, 12:33:47 am

Title: Error using custom zm_levelcommon_weapons.csv to change prices of guns
Post by: kingneo on October 23, 2016, 12:33:47 am
Hi guys.

I have copied the zm_levelcommon_weapons.csv file into my custom map's scripts file. I have added this line of code to the map file's zone file (zm_tutorial.zone):
Code Snippet
Plaintext
scriptparsetree,scripts/zm/zm_levelcommon_weapons.csv
Now, when I try to link the map in the Mod Tools Launcher, it gives me this error:
Spoiler: click to open...
==================================================

^1
^1----------^
^1ERR(0) scripts/zm/zm_levelcommon_weapons.csv.csv (1,11)  : syntax error, unexpected TOKEN_IDENTIFIER, expecting $end : 
For reference sake, here is the entire log:
Spoiler: click to open...
E:\Steam\steamapps\common\Call of Duty Black Ops III\\gdtdb\gdtdb.exe /update

gdtDB: updating

processed (0 GDTs) (0 assets) in 1.292 sec

gdtDB: successfully updated database.

E:\Steam\steamapps\common\Call of Duty Black Ops III\\bin\linker_modtools.exe -language english -modsource zm_tutorial

Linking "zm_tutorial" (usermaps\zm_tutorial stable 2535893 v593):
processing...

^1ERROR: 'p7_debris_metal_scrap_02' is not a valid physpreset asset

  physpreset:p7_debris_metal_scrap_02
    xmodel:p7_debris_metal_scrap_02
      col_map:maps/zm/zm_tutorial.d3dbsp


********************************************************************************
UNRECOVERABLE ERROR:
  ^1SCRIPT ERROR: No generated data for 'scripts/zm/zm_levelcommon_weapons.csv'



Linker will now terminate.
********************************************************************************

==================================================
Linker summary:

There were 0 warnings and 1 error.

Errors:
  ^1ERROR: 'p7_debris_metal_scrap_02' is not a valid physpreset asset

Arguments passed to linker:
  -language english -modsource zm_tutorial

==================================================

^1
^1----------^
^1ERR(0) scripts/zm/zm_levelcommon_weapons.csv.csv (1,11)  : syntax error, unexpected TOKEN_IDENTIFIER, expecting $end : 

Any idea why this would be happening? Much appreciated!