Tutorial Black Ops 3 Multiplayer GSC Modding - How to start coding a mod? Startup Mod +Download

CabCon

Head Administrator
Staff member
Head Staff Team
Messages
4,614
Points
828
Hello guys,
in this tutorial I want to assist every old GSC coder from a older Call of Duty. I will show you here how to make a mod which will call a function on any spawn of the player. You can continue with your code after that. :grinning: So let's get started.

You want to create a zombie mod?
Zombie version of this tutorial: Tutorial - Black Ops 3 Zombie GSC Modding - How to start coding a mod? Startup Mod +Download | CabConModding
  1. First of all you need to download my startup mod file, here.
  2. After you download the file, go to your Black Ops 3 Game file directory. And create a Folder called 'mods' inside of it.
  3. Unpack the download .rar-file and place the folder 'mp_startup_mod' inside of the 'mods' folder.
  4. After that open the folder 'mp_startup_mod' and go to -> scripts\mp\gametypes and open the file '_clientids.gsc'.
  5. Here you can see now the file _clientids.gsc:
    You can start your mod here in the on_player_spawned function. But before I will show you how to load this mod now.
  6. First launch 'modtools_launcher.bat' in the Black Ops 3 directory. And select the following items:
  7. Click on Build and wait while the game is building your mod:
    If you get the done, you can start Black Ops 3!
  8. Go in the Main Menu of it in 'Mods' and select 'mp_startup_mod':
  9. After that start a custom private match in the multiplayer:
    You will see that we get our println at every spawn! :grinning: You can start coding your own project now! :grinning:
That's all I hope this helped everyone to start coding with Black Ops 3! If you used our tutorial it would be really great if you give us credits, but you do not need! :grinning: Thank you!

If you have any question, problem or suggestion -> write it below!

Regards,
CabCon!
 

Attachments

Last edited:

CabCon

Head Administrator
Staff member
Head Staff Team
Messages
4,614
Points
828
Do we have to re-do the modtools everytime we make a change to the menu?
Yes, you need to rebuild the mod and load the mod everytime new if you changed something and you want to see the effect. :smile: This is caused by the linker... I hope they will find a better solution soon... but I don't thing they will find or make one :smile:

Regards,
CabCon.
 

Scrappy

New Member
Messages
1
Points
1
First of all, thanks for the clear tutorial!

I've got one little problem thou. I tried building the mod, loaded the mod etc. Works like a charm. Point is that I made a custom gametype, but can't seem to load it through the console with /set_gametype test; map_restart

How should I load new gametype or do I need to build them in another way?

Thanks in advance
 

CabCon

Head Administrator
Staff member
Head Staff Team
Messages
4,614
Points
828
First of all, thanks for the clear tutorial!

I've got one little problem thou. I tried building the mod, loaded the mod etc. Works like a charm. Point is that I made a custom gametype, but can't seem to load it through the console with /set_gametype test; map_restart

How should I load new gametype or do I need to build them in another way?

Thanks in advance
Hello Scrappy,
nice to hear that It helped you to develope your mod! :smile: Generally we are answering questions/requests and problems in our support section: Call of Duty: Black Ops 3 Scripts Question | CabConModding

But I think you just need to enable the developer mode here to activate the '/set_gametype test; map_restart'! Simple type into the console (open with ^) '/developer 2'! And try it again!

If you have another question or problem do not hesitate to create a topic about it here! You're welcome!

Regards,
CabCon!
 

CabCon

Head Administrator
Staff member
Head Staff Team
Messages
4,614
Points
828
Hi why i got this :
There is something wrong with your deffiles. I recommend you to try these thinks to fix it:
  1. Verify your game cache
  2. If the game cache verification didn't fix the problem, download my deffiles and try with them:
    You do not have permission to view link Log in or register now.
  3. If booth didn't fix the problem reinstall the mod tools!
Regards,
CabCon.
 

FMpwnd

Insane-Known Member
Messages
19
Points
358
There is something wrong with your deffiles. I recommend you to try these thinks to fix it:
  1. Verify your game cache
  2. If the game cache verification didn't fix the problem, download my deffiles and try with them:
    You do not have permission to view link Log in or register now.
  3. If booth didn't fix the problem reinstall the mod tools!
Regards,
CabCon.
Thx for ur help but i do all 3 step but didn't fix the problem
 

Top