Call of Duty: Black Ops 3 => Help Desk => Scripting => Topic started by: josemassacre on March 01, 2017, 12:23:38 am
Title: edit stock scripts?
Post by: josemassacre on March 01, 2017, 12:23:38 am
Are you able to edit stock scripts? i added the zombiemode and dog scripts into my map scripts folder and entered them in my zone file but any changes i make arent made. you can take usermaps from the same folder as zm and dogs and changes you make in it work. i just started messing with bo3 so i dont know if im doing something wrong or if you just have to make a work around like when it comes to setting your points
Title: Re: edit stock scripts?
Post by: MakeCents on March 02, 2017, 05:52:27 pm
Some require a mod to overwrite, not sure if that list is changing or not. I think a few since the beginning have been added to the list of being able to edit in your map folder.
Edit: Try and find pointer functions you can create to modify those scripts that you can't edit in map folders. They have a lot in there. For example:
Defining this as
will run your GameEndCheck function when it checks this in _zm.gsc like this:
When you assign pointers, or look for them, make sure you look at the arguments passed so you don't get errors in dev:
This one passes none so its not an issue.
But this one passes player.
So you would set it up like this:
Title: Re: edit stock scripts?
Post by: josemassacre on March 02, 2017, 07:44:22 pm
Some require a mod to overwrite, not sure if that list is changing or not. I think a few since the beginning have been added to the list of being able to edit in your map folder.
Edit: Try and find pointer functions you can create to modify those scripts that you can't edit in map folders. They have a lot in there. For example:
Defining this as
will run your GameEndCheck function when it checks this in _zm.gsc like this:
When you assign pointers, or look for them, make sure you look at the arguments passed so you don't get errors in dev:
This one passes none so its not an issue.
But this one passes player.
So you would set it up like this:
Thanks for the info man! That will help out a lot I appreciate it. Is there a list that has what scripts you can edit available somewhere in the tools? I found a lot of their documents they gave us to help us learn but I haven't seen anything in them that says what scripts you can and can't edit without a mod. I'll take a look again though. Thanks again
Title: Re: edit stock scripts?
Post by: MakeCents on March 02, 2017, 07:45:41 pm
NP. I'm not aware of a list.
Title: Re: edit stock scripts?
Post by: josemassacre on March 02, 2017, 07:47:22 pm