Modme Forums
Menu:

Can’t get a script working in a mod

Game Modding | Call of Duty: Black Ops 3 | Scripting


ModmeBot:

Thread By: The Black Death
I am calling them using _load. When I was using just clientids and calling a gsc (before I needed a csc), it worked completely fine, but since calling them via _load I cannot load any map (it crashes). I'll pastebin my scripts below.

_load.gsc
https://pastebin.com/033V4iQR

_load.csc
https://pastebin.com/9fgpHGUk

zm_moreguns.gsc
https://pastebin.com/r8eRX217

zm_moreguns.csc
https://pastebin.com/7fii410h

The stuff that moreguns.csc is doing is not being kept (I basically copied a csc from one of my maps)

Besides that, I'm intending on using these scripts in order to add weapons in a mod to the box etc. I'm investigating the scripts further still.

Any ideas?


ModmeBot:

Reply By: ZoekMeMaar

The Black Death
I am calling them using _load. When I was using just clientids and calling a gsc (before I needed a csc), it worked completely fine, but since calling them via _load I cannot load any map (it crashes). I'll pastebin my scripts below. _load.gsc https://pastebin.com/033V4iQR _load.csc https://pastebin.com/9fgpHGUk zm_moreguns.gsc https://pastebin.com/r8eRX217 zm_moreguns.csc https://pastebin.com/7fii410h The stuff that moreguns.csc is doing is not being kept (I basically copied a csc from one of my maps) Besides that, I'm intending on using these scripts in order to add weapons in a mod to the box etc. I'm investigating the scripts further still. Any ideas?


Couldn't you just keep using clientids, and extend it to another script?


ModmeBot:

Reply By: The Black Death

ZoekMeMaar
The Black Death I am calling them using _load. When I was using just clientids and calling a gsc (before I needed a csc), it worked completely fine, but since calling them via _load I cannot load any map (it crashes). I'll pastebin my scripts below. _load.gsc https://pastebin.com/033V4iQR _load.csc https://pastebin.com/9fgpHGUk zm_moreguns.gsc https://pastebin.com/r8eRX217 zm_moreguns.csc https://pastebin.com/7fii410h The stuff that moreguns.csc is doing is not being kept (I basically copied a csc from one of my maps) Besides that, I'm intending on using these scripts in order to add weapons in a mod to the box etc. I'm investigating the scripts further still. Any ideas? Couldn't you just keep using clientids, and extend it to another script?

I don't think so, as clientids doesn't have a csc version


ModmeBot:

Reply By: The Black Death

The Black Death
ZoekMeMaar The Black Death I am calling them using _load. When I was using just clientids and calling a gsc (before I needed a csc), it worked completely fine, but since calling them via _load I cannot load any map (it crashes). I'll pastebin my scripts below. _load.gsc https://pastebin.com/033V4iQR _load.csc https://pastebin.com/9fgpHGUk zm_moreguns.gsc https://pastebin.com/r8eRX217 zm_moreguns.csc https://pastebin.com/7fii410h The stuff that moreguns.csc is doing is not being kept (I basically copied a csc from one of my maps) Besides that, I'm intending on using these scripts in order to add weapons in a mod to the box etc. I'm investigating the scripts further still. Any ideas? Couldn't you just keep using clientids, and extend it to another script? I don't think so, as clientids doesn't have a csc version

While I could change the starting pistol with just a gsc, I need a csc also if I want to change box weapons or wall weapons without overriding pre-existing ones.


ModmeBot:

Reply By: The Black Death
Turns out my scripts were broken lmao, can close thread now