Help with installing BO2 Bonus Tranzit Surival Maps mod?
-
Hi, it's my first post here, hope this is the right place!
I've been trying to install github[.]com/JezuzLizard/Bonus-Survival-Maps-for-BO2 for the better part of an hour now. I've followed the steps to copy across the scripts to
AppData\Local\Plutonium\storage\t6\scripts\zm
.I haven't made any changes to the
dedicated_zm.cfg
file as I'm not running a server and don't have this file, but I don't think this should impact things? I have been running the given commands via the CLI on start-up.When trying to run the mod I'm getting repeated syntax errors, such as
[ERROR]:compiler:scripts/zm/bsm_main.gsc:1:14: syntax error, unexpected /, expecting ;
The line in question:
#include maps/mp/zombies/_zm_utility;
I'm think that this is a filepath and it's erroring because Windows uses
\
and not/
as a folder separator? Though the base game includes use/
afaik...If anyone else has installed this on Windows, what did they do?
-
that's an old script and will likely need a LOT of changes to get working. that particular error means you need to change all the / to \ in all the folder paths (includes, etc). you can't do a search and replace though because you don't want to replace any of the //.
-
pls call of duty bo2
-
what? this is a thread someone made asking for help on a broken script...
-
Thanks DirkRockface, do you know if there's a newer version of this script or is the mod dead?
I didn't recompile any of the .gsc files given in the github repo, should I have? Sorry this is literally my first time installing custom scripts.
If it is an issue with the filepaths then I can manually fix it (looks to only be ~50 files total with only a few hits per file...
-
-
I don't know if there is a new version... i'm guessing no if it's not on that github site. but i don't know for sure...
no, you don't have to recompile... plutonium will compile it for you on start.
-
It took me a few hours but I got it working!
Fixes needed
Replace all "/" filepaths with "\" (wrote a Python script to automatically do this for all gsc files - can share if others will benefit)
bsm_main.gsc - change line 48 to the below (remove parenthesis around GetPlayerAngles() )
angles = (0, self GetPlayerAngles()[1] + 90, 0);bsm_transit_weapons.gsc - remove duplicate include line:
#include maps\mp\zombies_zm_weapons;bsm_transit_main.gsc - comment out the below line 63 due to unrecognised "player" variable. I think this means that placing the hatch will likely crash/cause issues but at least it compiles! Will check later to see what the correct variable should be
player maps\mp\zombies_zm_buildables::track_placed_buildables( "dinerhatch" );Diner is now playable! Thanks for your help!