Desperately trying to change starting points
-
Alright, so I want to set a new value for the amount of points you start with whenever you play solo or host a room with friends.
I tried to compile the stock scripts and JezuzLizard 's "Recompilable-gscs", more specifically a filed named "_zm.gsc" that you can find in their source code on github, but the files cannot be compiled at all (I haven't even made any changes to any file yet, lol), so I'm kinda stuck.
I have zero coding knowledge and I'm just doing this for fun, so if someone could explain to me how to compile that file or how to write a script like that from scratch I would appreciate it. -
@Madara-Uchiha586 My repo is outdated you should use this one: https://github.com/plutoniummod/t6-scripts
Make sure you are using this compiler: https://github.com/xensik/gsc-tool/releases/tag/1.0.379
-
JezuzLizard
gsc-tool.exe is not working, it launches briefly then closes instantly and I get no new files -
@Madara-Uchiha586 You have to use a batch file to use it.
gsc-tool.exe comp t6 scripts pause
Make a batch file with that code above and rename the "scripts" parameter to a folder or file you want to compile.
-
@Madara-Uchiha586 it works just fine. I use it all the time. Could be your antivirus or you use it wrong
-
Holy heck, that actually worked!
Thank you very much, now I can compile the files, I think I was just using an outdated compiler, I just followed the tutorial on plutonium's website and it has a link to download the older compiler.
Could someone update that tutorial or something?
Edit: Used this link as reference https://plutonium.pw/docs/modding/loading-mods/ -
uh, now I cannot compile "_zm_perks.gsc", the compiler says "2758:13: illegal break statement".
I haven't even made any changes yet, any solution for that? -
@Madara-Uchiha586 you need to show the code around this line or provide the file. This simply means you should not have a break here. Could be because there is a return right after for example
-
Resxt
I download the file JezzuzLizard told me to https://github.com/plutoniummod/t6-scripts
The file I'm trying to compile is "_zm_perks.gsc", haven't done any changes at all, also I have no idea what a return is or how to fix it, as I'm just trying to compile the file as is with no editing done form my part. -
@Madara-Uchiha586 I think that is a decompiler error so you need to remove the breaks after each return in that switch statement and then the file should compile.
-
@Madara-Uchiha586 this is what Jezuz and I are saying.
Here there is a return and after a break. The new compiler refuses to compile because of this since a return already breaks the loop afaik.https://github.com/plutoniummod/t6-scripts/blob/main/ZM/Core/maps/mp/zombies/_zm_perks.gsc#L2758
In this function simply remove all thebreak
and try again