diff --git a/docs/commandline.xml b/docs/commandline.xml index d31e374b..23b14c13 100644 --- a/docs/commandline.xml +++ b/docs/commandline.xml @@ -4,15 +4,62 @@
-- If you open the file assaultcube.bat (or the respective .sh file in linux) with a text editor, you can add or - change command line options. Some of these settings can be set ingame as well using the menu. -
++ When launching AssaultCube, you need to use a small script file, irrespective of operating system. These script files can be modified + with "switches" to allow different settings to occur on startup. Note: Some of these options can be changed in-game through the menus + without the need to manually edit the script file. +
+ +
+ In the AssaultCube folder, there is a file named "assaultcube.bat". Right click this and open it with "notepad" to edit the clients launcher.
+
Also, after using the server wizard, in this folder will be "server_autoconfigured.bat".
+ Right click this and open it with "notepad" to edit the servers launcher.
+
+ All switches are placed after the phrase: bin_win32\ac_client.exe
+ (If you're editing the client, you'll need to add it before the phrase: %1 %2 %3 %4 %5).
+
+ Remember to save once you're finished! +
+
+ In the AssaultCube folder, there is a file named "assaultcube.sh". Open it with your favourite text editor, such as
+ Gedit, Nano, etc. to edit the clients launcher.
+
Also, after using the server wizard, in this folder will be "server_autogenerated.sh".
+ Open it with your favourite text editor to edit the servers launcher.
+
+ All switches for the client must be put inside the quote marks on this line: + CUBE_OPTIONS="--home=${HOME}/.assaultcube --init" +
++ All switches for the server must be placed after the phrase: ./server.sh. +
++ Remember to save once you're finished! +
+