git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@970 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-04-23 22:26:34 +00:00
parent 5df637f1f9
commit accd363994
6 changed files with 82 additions and 32 deletions
+2 -2
View File
@@ -48,7 +48,7 @@
<p>
<span class="code">-mM</span> sets the master server to use for either server (registering) and
client (updating) to M. M is the base url of the master server and has to end in
a / and without a http:// prefix, the default is wouter.fov120.com/cube/masterserver/.
a / and without a http:// prefix, the default is masterserver.cubers.net/cgi-bin/actioncube.pl/.
If you want your server to be private and not report to the masterserver, use -mlocalhost.
</p>
<p>
@@ -57,7 +57,7 @@
</p>
<p>
<span class="code">-cN</span> sets the maximum number of players that can play on this server
to N (default 4). If more players try to connect they will get a "server full" message.
to N (default 6). If more players try to connect they will get a "server full" message.
</p>
<p>
+4 -5
View File
@@ -1,4 +1,4 @@
/* (C) Adrian Henke 2007 - ZLIB License */
body
{
@@ -106,6 +106,8 @@ a, a:hover, a:visited
color: #333333;
}
/* code */
div.code
{
font-family: Courier New, Sans-Serif;
@@ -152,7 +154,4 @@ table#gunstats td
table.items td
{
vertical-align: top;
}
}
+6 -7
View File
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="transformcubescript.xslt"?>
<?xml-stylesheet type="text/xsl" href="transformxhtml.xslt"?>
<cubescriptreference xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="cubescriptreference.xsd">
<section name="Editing Reference">
@@ -11,23 +10,23 @@
<command name="edittex">
<description><![CDATA[Changes the texture on current selection by browsing through a list of textures directly shown on the cubes. ]]></description>
<arguments>
<argument token="T" description="an integer denoting the type" values="floor = 0, lower or wall = 1, ceiling = 2, upper wall = 3"/>
<argument token="D" description="D is the direction you want to cycle the textures in" values="1 = forwards, -1 = backwards"/>
<argument token="T" description="an integer denoting the type" values="0 (floor), 1 (lower or wall), 2 (ceiling), 3 (upper wall)"/>
<argument token="D" description="the direction you want to cycle the textures in" values="1 (forwards), -1 (backwards)"/>
</arguments>
<remarks><![CDATA[Default keys are the six keys above the cursor keys, which each 2 of them cycle one type (and numpad 7/4 for upper). The way this works is slightly strange at first, but allows for very fast texture assignment. All textures are in 3 individual lists for each type (both wall kinds treated the same), and each time a texture is used, it is moved to the top of the list. So after a bit of editing, all your most frequently used textures will come first when pressing these keys, and the most recently used texture is set immediately when you press the forward key for the type. These lists are saved with the map. make a selection (including wall bits) and press these keys to get a feel for what they do.]]></remarks>
</command>
<command name="editheight">
<description><![CDATA[Changes the height of the current selection.]]></description>
<arguments>
<argument token="T" description="an integer denoting the type" values="floor = 0, lower or wall = 1, ceiling = 2"/>
<argument token="D" description="the delta value to move it in" values="1 = forwards, -1 = backwards"/>
<argument token="T" description="an integer denoting the type" values="0 (floor), 1 (lower or wall), 2 (ceiling)"/>
<argument token="D" description="the delta value to move it in" values="1 (forwards), -1 (backwards)"/>
</arguments>
<remarks><![CDATA[Default keys are [ and ] for floor level, and o/p for ceiling.]]></remarks>
</command>
<command name="newent">
<description>adds a new entity</description>
<arguments>
<argument token="type" description="the entity type" values="light,playerstart,shells,bullets,rockets,health,ammo,clips,mapmodel,ctf-flag,ladder"/>
<argument token="type" description="the entity type" values="light, playerstart, shells, bullets, rockets, health, ammo, clips, mapmodel, ctf-flag, ladder"/>
<argument token="value1" description="see documentation: newent 'type'"/>
<argument token="value2" description="see documentation: newent 'type'"/>
<argument token="value3" description="see documentation: newent 'type'"/>
+2 -2
View File
@@ -41,7 +41,7 @@
<img src="pics/flag_rvsf.jpg" alt="RVSF" style="float:right"/>
An elite group of armed special forces, but not the kind you´d expect. These guys are battle worn fighters
and mercenairies, who might have been just a little too trigger happy and up for glory to fit into any other
and mercenaries, who might have been just a little too trigger happy and up for glory to fit into any other
kind of elite squad. Not suitable where lives are to be spared and private or public property to remain
unharmed. The backgrounds and funders of this extravagant task-force remain well concealed, for obvious
reasons. Their primary targets are highly unpredictable terrorists and organized criminals such as the CLA
@@ -136,7 +136,7 @@
<td>
<b>Swiss Tech Combat Blade DR-88</b><br />
<p>
A sharp and swift blade. Your last ressort when you ran out of ammo and your best friend
A sharp and swift blade. It is your last resort when you ran out of ammo as well as your best friend
in humiliating snipers and campers. Frags done using this weapon count twice. (0)
</p>
</td>
-1
View File
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
+68 -15
View File
@@ -12,29 +12,82 @@
<head>
<title>Command Reference</title>
<meta http-equiv="content-type" content="application/xhtml+xml;charset=utf-8" />
<link rel="stylesheet" href="docs.css" />
<link rel="stylesheet" href="reference.css"/>
<link rel="stylesheet" href="docs.css" /> <!-- additional stuff -->
</head>
<body>
<div align="center">
<div align="center" class="cubescriptference">
<div id="header">Rabid Viper Productions</div>
<div id="main">
<!-- section -->
<xsl:for-each select="section">
<h2><xsl:value-of select="@name"/></h2>
<xsl:for-each select="command">
<div class="code">
<xsl:value-of select="@name"/>
<xsl:text> </xsl:text>
<xsl:for-each select="arguments/argument">
<xsl:value-of select="@token"/>
<xsl:text> </xsl:text>
</xsl:for-each>
</div>
<xsl:value-of select="description"/>
</xsl:for-each>
</xsl:for-each>
<div class="section">
<h2><xsl:value-of select="@name"/></h2>
<!-- command -->
<xsl:for-each select="command">
<div class="command">
<!-- display name -->
<div class="displayname">
<xsl:value-of select="@name"/>
<xsl:text> </xsl:text>
<xsl:for-each select="arguments/argument">
<xsl:value-of select="@token"/>
<xsl:text> </xsl:text>
</xsl:for-each>
</div>
<!-- description -->
<div class="description">
<xsl:value-of select="description"/>
</div>
<!-- arguments -->
<xsl:if test="arguments/argument">
<div class="arguments">
<table class="arguments">
<tr>
<th>
Arg
</th>
<th>
Description
</th>
<th>
Values
</th>
</tr>
<xsl:for-each select="arguments/argument">
<tr>
<td class="token">
<xsl:value-of select="@token"/>
</td>
<td class="description">
<xsl:value-of select="@description"/>
</td>
<td class="values">
<xsl:value-of select="@values"/>
</td>
</tr>
</xsl:for-each>
</table>
</div>
</xsl:if>
<!-- remarks -->
<xsl:if test="remarks">
<div class="remarks">
<xsl:value-of select="remarks"/>
</div>
</xsl:if>
</div>
</xsl:for-each>
</div>
</xsl:for-each>
</div>
</div>
</body>