scripting for a zm_mod
Game Modding | Call of Duty: Black Ops 3 | Scripting
ModmeBot:
Thread By: m1cke
What .gsc i need to add to change starting weapon on my mod
i've tried so mutch like the _clientids.gsc adding a script for the change weapon in another .gsc and
scripts\shared\callbacks_shared;
ModmeBot:
Reply By: Koan
Here is a guide in our Wiki explaining how to change your starting weapon. http://phabricator.aviacreations.com/w/black_ops_3/basics/change_start_weapon/
Also, for future reference, please make sure you put all code in code tags, I've done it for you this time. Thanks.
ModmeBot:
Reply By: m1cke
you can se my function giveweapon i use the code on the wiki and i call it from init but it dosen't work
ModmeBot:
Reply By: DTZxPorter
m1ckeyou can se my function giveweapon i use the code on the wiki and i call it from init but it dosen't work
You should be calling it from where It says in the wiki, not some script you make.
ModmeBot:
Reply By: m1cke
DTZxPorterm1ckeyou can se my function giveweapon i use the code on the wiki and i call it from init but it dosen't work
You should be calling it from where It says in the wiki, not some script you make.
okay porter so i call it from main?
ModmeBot:
Reply By: m1cke
Im using zm_gametype main for the change starting weapon and change starting points for my gun mod
ModmeBot:
Reply By: Koan
m1cke(code)
Im using zm_gametype main for the change starting weapon and change starting points for my gun mod
No, that's wrong. Follow the tutorial properly.
In your
mapname.gsc (for example zm_giant.gsc), find the line "zm_usermap::main();", then add the code provided underneath it.
You're calling it from some other main function. Nowhere in the tutorial does it ask you to do this.
ModmeBot:
Reply By: m1cke
Koanm1cke(code)
Im using zm_gametype main for the change starting weapon and change starting points for my gun mod
No, that's wrong. Follow the tutorial properly.
In your mapname.gsc (for example zm_giant.gsc), find the line "zm_usermap::main();", then add the code provided underneath it.
You're calling it from some other main function. Nowhere in the tutorial does it ask you to do this.
I don't have a mapname.gsc becuse im making a mod so what .gsc should i use