Load more then one .Gsc zombie
-
Me too
-
damiano2233 Are you trying to run multiple mods with multiple GSC files, both different names?
-
Multiple mods with the same _clientids.gsc name. The only way to do it is editing in the code file?
-
mikey im trying to run multiple mods with different names but only the one named _clientids.gsc load i dont know what to name the other ones to get them to load
-
damiano2233 _clientids is the main one. I think if you are going to replace other files, you need to recreate what it does.
For example, maps/mp/gametypes_zm/_scoreboard.gsc can be replaced but before you do, you have to recreate what it does. (https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer/blob/master/patch_zm/maps/mp/gametypes_zm/_scoreboard.gsc)
So, if you were to replace it, you would keep its original code then modify it. Luckily, for scoreboard, it is only setting dvars so you could honestly just write up something like this for _scoreboard.gsc:
https://pastebin.com/qqadecLS
What I did above was rename the original init() to init_scoreboard() and then called it in the new init() i made which is for calling onplayerconnect() then onplayerspawned(). Acknowledge that the init_scoreboard() is still being called. -
mikey so i have to learn how to do gsc scripts if i want to run more then 1 mod
-
damiano2233 Not exactly. You just need to get the source of the mod you want, and then copy it into a new gsc file and make sure you don't break the gsc file in the process (aka, making sure dvars are still getting set). But yeah, learning basic gsc wou ld be benfitial
-
damiano2233 If you don't need special mods you can just use some base mod that i made for users. On this github there already combined mods to be used on a Server.
Github: Mods List -
Sorex i do like the one you just gave but i have zombies plus atm and just want to add no perk limit to it
-
mikey would you know how to add a no perk limit to zombies++?
if you dont mind taking a look it would be a big help i tried to learn the code but its a bit to confusing for me at the moment with how much i work i don't have much timehere are the files for the mod
_clientids.gsc: https://pastebin.com/ywQ8xt8F
_zm_chugabud.gsc: https://pastebin.com/RL5jx4LJ
_zm_powerups.gsc: https://pastebin.com/jNwx1Njf -
put this in your init() function
level.perk_purchase_limit = 9;
this makes the perk limit 9.
-
damiano2233 that's already in Z++ by default...
level.perk_purchase_limit = getDvarIntDefault( "perkLimit", 4 );
But chances are you didn't add anything into your dedicated_zm.cfg even though it says to use a different one for Z++.
Read the information on the Github page for Z++
if you had followed directions ENTIRELY, this wouldnt be an issue