Game Modding | Call of Duty: Black Ops 3 | Scripting
BruhMomentum:
Hello everyone,
I recently downloaded Harry's mystery box pack, set everything up correctly from the instructions, but when I compile, light and link im met with this linking issue:
UNRECOVERABLE ERROR:
^1SCRIPT ERROR: Preprocessor error, No generated data for 'scripts\zm\_zm_magicbox.gsh'
:13 : (-8) Error: Macro name already defined MOTD_MYSTERY_BOX_FX_USE
Linker will now terminate.
********************************************************************************
==================================================
Linker summary:
There were no errors or warnings.
==================================================
I have done the installation many times and idk whats going on. I am using the MOTD box for reference. The .gsh file is in my map scripts folder too. If anyone knows a solution please let me know. Thanks! :)
Brodie3750:
are you sure youve put everything in?
i tested the same set and works fine for me
youve defs included "include,hb21_mystery_boxes" in your ZONE file?
Have you commented out these lines in your zm_patch.csv?
scriptparsetree,scripts/zm/_zm_magicbox.csc
scriptparsetree,scripts/zm/_zm_magicbox.gsc
and are you putting in the correct number for the prefabs?
remember it needs to be in order (0, 1, 2, 3, etc)
BruhMomentum:
are you sure youve put everything in?
i tested the same set and works fine for me
youve defs included "include,hb21_mystery_boxes" in your ZONE file?
Have you commented out these lines in your zm_patch.csv?
scriptparsetree,scripts/zm/_zm_magicbox.csc
scriptparsetree,scripts/zm/_zm_magicbox.gsc
and are you putting in the correct number for the prefabs?
remember it needs to be in order (0, 1, 2, 3, etc)
Brodie3750:
Yes, I’m doing everything perfectly fine. But, are we supposed to put the “include,hb21” in a more specific space? I put it somewhere towards the top of the zone file, like maybe 8 lines in under something else.
Harry Bo21:
Sounds like the gsh is in a script twice
BruhMomentum:
Sounds like the gsh is in a script twice
D-2-K:
what can I do to remove the apparent second script? The .gsh file is only in my scripts folder one time. Im a noob at scripting and really have no clue what to look for
Harry Bo21:
the file isnt in there twice, youve got the #insert line to it in a script twice
you shouldnt have had to add this line at all so fuck knows what youve done lol
BruhMomentum:
the file isnt in there twice, youve got the #insert line to it in a script twice
you shouldnt have had to add this line at all so fuck knows what youve done lol