diff options
author | Stijn Buys <ingar@osirion.org> | 2010-11-07 16:58:46 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-11-07 16:58:46 +0000 |
commit | 072ca3b59474a5a923009168be0d854fe8afd3ae (patch) | |
tree | 822df7fe6cfa41544b046cf31574cc1ec64ada8b | |
parent | 8066ffd0103df87ee32eaf24326188993c4d3638 (diff) |
updated documentation, expanded user manual
removed unnecessary subdirectories
-rw-r--r-- | doc/guide.html | 7 | ||||
-rw-r--r-- | doc/index.html | 33 | ||||
-rw-r--r-- | doc/main.css | 3 | ||||
-rw-r--r-- | doc/manual.html | 97 | ||||
-rw-r--r-- | templates/cpp | 4 | ||||
-rw-r--r-- | templates/h | 4 |
6 files changed, 112 insertions, 36 deletions
diff --git a/doc/guide.html b/doc/guide.html index 33262b8..69c94f4 100644 --- a/doc/guide.html +++ b/doc/guide.html @@ -35,7 +35,11 @@ </div> <div class="text"> - <div class="rfloater"><img src="images/main_menu.jpg" alt=""></div> + <div class="rfloater"> + <img src="images/main_menu.jpg" alt=""> + <br> + Main menu + </div> <p> When the client has started it will show you the main menu. Click the <span class="fixed">Start</span> button to start a game, or click the <span class="fixed">Internet</span> @@ -98,7 +102,6 @@ Flight Controls </div> <div class="text"> -<div class="rfloater"><img src="images/hud.png" alt=""></div> <p> Your spacecraft can be controlled with the mouse and the keyboard. Joystick support is disabled by default but can be enabled from the command console. The keyboard controls can be used in any camera view. diff --git a/doc/index.html b/doc/index.html index 4ba9621..172dd10 100644 --- a/doc/index.html +++ b/doc/index.html @@ -18,27 +18,18 @@ <div class="text"> <p> - Project::OSiRiON is a 3D space game under development. Its goal is to create an emersive - universe with open gameplay inspired by classic titles such as Privateer and Freelancer. -</p> -<p> - The basic components are already in place: the game supports network multiplayer, - an ingame command console, 3D models in a Radiant compatible .map format and a - renderer that should provide an acceptable framerate, even on older systems. -</p> -<p> - All game world data is loaded from easy to edit text files and each server can - offer its own customized game world. -</p> -<p> - The main gameplay elements have not yet been implemented: players are able to purchase new ships and - visit many places across the galaxy, but important features like collision detection, - weapons and cargo are still missing. -</p> -<p> - The engine is written in C++ and uses portable libraries like SDL, OpenGL, OpenAL and zlib. - Both linux and windows versions are supported but it probably compiles on most systems - supported by gcc and SDL. + Project::OSiRiON is a 3D space game under development. Its goal is to create an emersive + universe with open gameplay inspired by classic titles such as + <a href="http://en.wikipedia.org/wiki/Wing_Commander:_Privateer">Privateer</a> and + <a href="http://en.wikipedia.org/wiki/Freelancer_(video_game)">Freelancer</a>. +</p><p> + The game uses a custom engine, written from scratch in C++ and + uses portable libraries like SDL, OpenGL, OpenAL and zlib. Physics and collision + are implemented using the <a href="http://bulletphysics.org/">Bullet physics library</a>. +</p><p> + The basic components are already in place: players are able to visit multiple star systems, + buy ships, trade cargo or join a game on a network server, but important features like + weapons and player saving are have yet to be implemented. </p> </div> diff --git a/doc/main.css b/doc/main.css index e4321ea..efcc412 100644 --- a/doc/main.css +++ b/doc/main.css @@ -33,6 +33,9 @@ img { margin-right: 48px; padding-left: 16px; float: right; + text-align: center; + font-size: 10pt; + font-weight: italic; } .lfloater { diff --git a/doc/manual.html b/doc/manual.html index f89cdca..df74842 100644 --- a/doc/manual.html +++ b/doc/manual.html @@ -85,18 +85,102 @@ sv_name osirion server [string] server name </pre> <p> - TODO: variable flags A=Archive G=Game R=ReadOnly + To change the value of a variable, type its name and the new value on the console + followed by <b>enter</b>. The console will show the new value: </p> +<pre class="code"> +>sv_name My Osirion Server + sv_name My Osirion Server [string] server name +</pre> +<p> + Some variables have special flags, as shown in the first column of the output + of the <span class="fixed">list_var</span> function. + <dl> + <dt>Archive</dt> + <dd>The value of this variable will automaticly be saved on exit</dd> + <dt>Game</dt> + <dd>This variable is a game setting</dd> + <dt>ReadOnly<dt> + <dd>The value of this variable can not be changed</dd> + </dl> +</p><p> + On exit, both the client and the server will save variables with + the Archive flag to their config file, <span class="fixed">client.cfg</span> or <span class="fixed">server.cfg</span>. + Variables with the Game flag set will be saved to the file <span class="fixed">game.cfg</span>. + If you run into trouble, you can delete these files to restore the default values. +<p> + On Linux and other UNIX-like systems you can find these files in the directory <span class="fixed">~/.osirion/base</span>. +</p><p> + On windows you can find these files in <span class="fixed">My Documents/My Games/Osirion/base</span>. <p> - TODO: changing variable value -</p> </div> <div class="subtitle"> Functions </div> <div class="text"> - TODO Concerning commands +<p> + Besides variables, the engine also support functions that can be executed. These are commands + that can be typed into the console that will trigger some kind of response. +</p><p> + In the previous section we had already met the <span class="fixed">list_var</span> function, + which will print a list of available variables to the console. Similar, the + <span class="fixed">list_var</span> function, wich will print a list of available functions: +</p> +<pre class="code"> +>list_func + bind [key] [str] bind a command to a key + connect [ip] without ip, create a game + disconnect leave the current game + G intro [int] view specified introduction + . + . + . + view_next switch to next view + view_prev switch to previous view + S who get a list of connected players +Flags: G=Game S=Shared + 61 registered functions +</pre> +<p> + Type a function's name into the console followed by <b>enter</b> to execute it. Some functions + require aditional parameters to work currectly. +</p><p> + + Like variables, functions can have special flags that indicates their type: + <dl> + <dt>Game</dt> + <dd>This is a game function and can only be executed by players. These functions + are used to interact with the game and includes commands like + <span class="fixed">buy</span> and <span class="fixed">trade</span>. + </dd> + <dt>Shared</dt> + <dd>These functions can be executed by both players and server administrators.</dd> + </dl><dl> + <dt></dt> + <dd>Functions without flags can only be executed through the local console.</dd> + </dl> +</p><p> + To understand the flow of commands we illustrate three different situations: + <dl> + <dt>Playing a local game</dt> + <dd>In this case you're not connected to a remote server but are, in fact, + running your own, private server. You're both the player and the server administrator + and you'll be able to execute any function.</dd> + <dt>Playing on a remote server</dt> + <dd>If you're connected to a remote server and you execute a function, the engine will + first check if the function exists locally. The function you want to execute + could be client releated, like <span class="fixed">screenshot</span>. Only functions + without flags can be executed this way. If the function does not exist, the engine will + send the command to the remote server. The remote server will check if the functions + exists and has the game flag set. If this is the case, the function will get executed + on the server.</dd> + <dt>Running a dedicated server</dt> + <dd>If you're using the dedicated server's command console, you can only execute + functions with the Shared flag set, and functions without the Game flag set. It doesn't + make sense or administrators to execute game functions, since they do not participate + as players in the game.</dd> +</p> </div> <div class="subtitle"> @@ -111,7 +195,10 @@ Client </div> <div class="text"> - <div class="rfloater"><img src="images/client_console.png" alt=""></div> + <div class="rfloater"> + <img src="images/client_console.png" alt=""><br> + Client console + </div> <p> Starting the client will show the loader screen and open the client console. The console will stay open until you are connected diff --git a/templates/cpp b/templates/cpp deleted file mode 100644 index 99b52be..0000000 --- a/templates/cpp +++ /dev/null @@ -1,4 +0,0 @@ -/* $FILE$ - This file is part of the Osirion project and is distributed under - the terms of the GNU General Public License version 2 -*/ diff --git a/templates/h b/templates/h deleted file mode 100644 index 99b52be..0000000 --- a/templates/h +++ /dev/null @@ -1,4 +0,0 @@ -/* $FILE$ - This file is part of the Osirion project and is distributed under - the terms of the GNU General Public License version 2 -*/ |