[Support] [ZM] How To Add More Than One Script
-
I have _clientids but if i had another script the _clientids is gonna be replaced is there a way to had more?
-
-
ThrzModdingRMT people used _clientids because that gsc file is empty and is still loaded by the game but we have custom script loading as posted by Pistakilla
-
FragsAreUs 1so in this case are you saying that we dont need to use only one GSC file, so multiple of them no matter the names can be loded in the game? (of course one doesnt break the other and etc)
2im using all my free time to studying those things, and by the middle of it i just thought about how the game loads GSC differently when as Server or Client.
3at current state, clients can only load one GSC at a time regardless the name?
4the way that i thought multiple gsc could be loaded would be in the same way we see when we extract a fastfile and see all those files separated, wich make it looks like that the game can load them like that (a feature that would help alot when loading multiple of them)
(*just numbered everything so its easier to answer if you end up doing so, and im really sorry for bothering with all of this)
-
_clientids.gsc is the old method.
That gsc file is part of the base game that had no purpose so once gsc replacing was added it was the prime candidate to use as an entry point for mod loading.
Sure you could take two mods that make use of _clientids.gsc and combine them but you could only do that if you understand GSC enough to merge the two mods code wise into a single file.
But really _clientids.gsc is a trashy way to load mods now given we have support for loading custom scripts so there's no longer a need to use that _clientids.gsc file. Read the post pista links, it details the process of loading custom scripts:
https://forum.plutonium.pw/topic/10/tutorial-loading-custom-gsc-scripts
(Which is what you should be doing)