summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrafa_99 <raroma09@gmail.com>2022-02-27 17:11:24 +0000
committerrafa_99 <raroma09@gmail.com>2022-02-27 17:11:24 +0000
commitf7027dd5e69ebe2ac073033e5328ba5c9bf51283 (patch)
tree59ed3111543d8412b47bdc3668e6b604ab63939a
parentb0ae393bf1f4fc27aaa317fc7ae53b1745014aab (diff)
Added automatic mods installer script and updated paths
-rw-r--r--README.md6
-rw-r--r--images/OWtguHd.gifbin64725 -> 0 bytes
-rw-r--r--images/install.gifbin0 -> 211324 bytes
-rw-r--r--installer/Compiler.exe (renamed from compiler/Compiler.exe)bin49664 -> 49664 bytes
-rw-r--r--installer/Irony.dll (renamed from compiler/Irony.dll)bin149504 -> 149504 bytes
-rwxr-xr-xinstaller/installMods.bat6
-rw-r--r--mods/auxiliary.gsc (renamed from modLoader/auxiliary.gsc)0
-rw-r--r--mods/main.gsc (renamed from modLoader/main.gsc)1
-rw-r--r--mods/mods.gsc (renamed from modLoader/mods.gsc)0
9 files changed, 9 insertions, 4 deletions
diff --git a/README.md b/README.md
index a3c1c6e..05e79db 100644
--- a/README.md
+++ b/README.md
@@ -12,16 +12,14 @@ A bunch of mods for black ops 2 zombies
![Enabled player initial points and set to 10000](images/enabled.png)
-3. Using the GSC Compiler (from GSC Toolkit), simply drag and drop your raw GSC script on top of Compiler.exe and it should spit out a compiled version.
+3. Using the install script, simply drag and drop your raw GSC script on top of installMods.bast and it should automatically install the mods into the game mods folder.
-![Compilation Process](images/OWtguHd.gif)
+![Compilation Process](images/install.gif)
*Note: If you get an error, make sure your script isn't already precompiled (open it, and if it looks like gibberish, it was already compiled)*
![Error](images/JgwqeCy.png)
-4. Grab the compiled binary, and drag and drop it into `%localappdata%\Plutonium\storage\t6\scripts\zm`, if this destination does not exist, then proceed to create it.
-
## Using
When launching your server or a custom game, you will know if all has gone well or not if the console prints `Custom script 'scripts/mp/yourScriptName' loaded`.
diff --git a/images/OWtguHd.gif b/images/OWtguHd.gif
deleted file mode 100644
index be6c186..0000000
--- a/images/OWtguHd.gif
+++ /dev/null
Binary files differ
diff --git a/images/install.gif b/images/install.gif
new file mode 100644
index 0000000..f8d061c
--- /dev/null
+++ b/images/install.gif
Binary files differ
diff --git a/compiler/Compiler.exe b/installer/Compiler.exe
index 7f57215..7f57215 100644
--- a/compiler/Compiler.exe
+++ b/installer/Compiler.exe
Binary files differ
diff --git a/compiler/Irony.dll b/installer/Irony.dll
index ebb1fe5..ebb1fe5 100644
--- a/compiler/Irony.dll
+++ b/installer/Irony.dll
Binary files differ
diff --git a/installer/installMods.bat b/installer/installMods.bat
new file mode 100755
index 0000000..61a874d
--- /dev/null
+++ b/installer/installMods.bat
@@ -0,0 +1,6 @@
+@echo off
+
+copy "%~1" mods.gsc
+Compiler.exe mods.gsc
+del mods.gsc
+move mods-compiled.gsc %LOCALAPPDATA%\Plutonium\storage\t6\scripts\zm\mods.gsc \ No newline at end of file
diff --git a/modLoader/auxiliary.gsc b/mods/auxiliary.gsc
index 7b9da43..7b9da43 100644
--- a/modLoader/auxiliary.gsc
+++ b/mods/auxiliary.gsc
diff --git a/modLoader/main.gsc b/mods/main.gsc
index b194407..daa4cd9 100644
--- a/modLoader/main.gsc
+++ b/mods/main.gsc
@@ -187,3 +187,4 @@ onPlayerSpawned()
}
}
+
diff --git a/modLoader/mods.gsc b/mods/mods.gsc
index 300b3b2..300b3b2 100644
--- a/modLoader/mods.gsc
+++ b/mods/mods.gsc