Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 74fbd0eb33bb08f719b79951bc4e329e > files > 102

xconq-7.5.0-1.20050612.5mdv2009.1.i586.rpm

<HTML>
<HEAD>
<!-- This HTML file has been created by texi2html 1.39
     from ./xcdesign.texi on 12 June 2005 -->

<TITLE>Designing Games with Xconq - Game End</TITLE>
</HEAD>
<BODY>
Go to the <A HREF="xcdesign_1.html">first</A>, <A HREF="xcdesign_52.html">previous</A>, <A HREF="xcdesign_54.html">next</A>, <A HREF="xcdesign_61.html">last</A> section, <A HREF="xcdesign_toc.html">table of contents</A>.
<HR>


<H2><A NAME="SEC276" HREF="xcdesign_toc.html#SEC276">Game End</A></H2>

<P>
When a side loses, its units may suffer a variety of fates, including
revolt, surrender, wrecking, or disappearance.  Disappearance is the
default fate.  Each type of test is independent, but run in the order
wreck, vanish, surrender, revolt.

</P>
<P>
<U>UnitTypeProperty:</U> <B><CODE>lost-wreck-chance</CODE></B> <I>.01n%</I><P>
<A NAME="IDX976"></A>
This property is the .01% chance that a unit will be wrecked, as if it
had been hit in combat.  Once a unit is wrecked, it will not be
re-wrecked, even if the wrecked type has itself a nonzero
<CODE>lost-wreck-chance</CODE> property.  The other loss chances still apply,
however.

</P>
<P>
<U>UnitTypeProperty:</U> <B><CODE>lost-vanish-chance</CODE></B> <I>.01n%</I><P>
<A NAME="IDX977"></A>
This property is the .01% chance that a unit will vanish when the side
loses.  Defaults to <CODE>10000</CODE>.

</P>
<P>
<U>TableUU:</U> <B><CODE>lost-surrender-chance</CODE></B> <I>u1 u2 -&#62; .01n%</I><P>
<A NAME="IDX978"></A>
This table is the .01% chance that a unit of type <VAR>u1</VAR> on a losing
side will surrender to an adjacent unit of type <VAR>u2</VAR>.

</P>
<P>
<U>UnitTypeProperty:</U> <B><CODE>lost-revolt-chance</CODE></B> <I>.01n%</I><P>
<A NAME="IDX979"></A>
This property is the .01% chance that a unit on a losing side will
revolt and go over to some other side, as per the backdrop activity.

</P>

<HR>
Go to the <A HREF="xcdesign_1.html">first</A>, <A HREF="xcdesign_52.html">previous</A>, <A HREF="xcdesign_54.html">next</A>, <A HREF="xcdesign_61.html">last</A> section, <A HREF="xcdesign_toc.html">table of contents</A>.
</BODY>
</HTML>