ef2-ubertools-gdk/Documentation/content/fakk2_clientsidecmds.html

585 lines
30 KiB
HTML
Raw Permalink Normal View History

2003-08-18 00:00:00 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><EFBFBD>berTools Game Development Kit</title>
<link rel="stylesheet" href="style.css">
<script type="text/javascript">
/***********************************************
* Switch Menu script- by Martial B of http://getElementById.com/
* Modified by Dynamic Drive for format & NS4/IE4 compatibility
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
if (document.getElementById){ //DynamicDrive.com change
document.write('<style type="text/css">\n')
document.write('.submenu{display: none;}\n')
document.write('</style>\n')
}
function SwitchMenu(obj){
if(document.getElementById){
var el = document.getElementById(obj);
var ar = document.getElementById("masterdiv").getElementsByTagName("span"); //DynamicDrive.com change
if(el.style.display != "block"){ //DynamicDrive.com change
for (var i=0; i<ar.length; i++){
if (ar[i].className=="submenu") //DynamicDrive.com change
ar[i].style.display = "none";
}
el.style.display = "block";
}else{
el.style.display = "none";
}
}
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<a name="top"></a>
<table width="702" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><img src="../images/header.jpg" width="702" height="101" border="0"></td>
</tr>
<tr>
<td width=158 valign="top"><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" class="menu">
<!-- Keep all menus within masterdiv-->
<div id="masterdiv">
<img src="../images/navigation.jpg" width="158" height="27"><br>
UberTools GDK
<div class="menutitle" onclick="SwitchMenu('sub0')">&raquo; Introduction &amp; Contents</div>
<span class="submenu" id="sub0">
&nbsp;&nbsp;&nbsp;&nbsp;<a href="../start.html">Introduction</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="../start.html#2">Utilities</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="../start.html#3">Source Files</a><br>
</span>
<br>Level Design<br>
<div class="menutitle" onclick="SwitchMenu('sub1')">&raquo; Setting Up UberRadiant</div>
<span class="submenu" id="sub1">
&nbsp;&nbsp;&nbsp;&nbsp;<a href="radiant_setup.html">That Scary Error Msg</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="radiant_setup.html#2">General Tab</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="radiant_setup.html#3">Display Tab</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="radiant_setup.html#4">User Interface Tab</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="radiant_setup.html#5">Keyboard Shortcuts Tab</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="radiant_setup.html#6">Colors Tab</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="radiant_setup.html#7">Game / Paths Tab</a><br>
</span>
<div class="menutitle" onclick="SwitchMenu('sub2')">&raquo; Building Your First Room</div>
<span class="submenu" id="sub2">
&nbsp;&nbsp;&nbsp;&nbsp;<a href="radiant_firstroom.html">Editor Interface Basics</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="radiant_firstroom.html#2">Choosing Your Textures</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="radiant_firstroom.html#3">Building The Room</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="radiant_firstroom.html#4">Adding a Light</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="radiant_firstroom.html#5">Adding a Player Start</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="radiant_firstroom.html#6">Compiling Your Level</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="radiant_firstroom.html#7">Viewing the Level</a><br>
</span>
<div class="menutitle" onclick="SwitchMenu('sub3')">&raquo; Constructing Terrain</div>
<span class="submenu" id="sub3">
&nbsp;&nbsp;&nbsp;&nbsp;<a href="radiant_terrain.html">Setting up the Tools</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="radiant_terrain.html#2">Creating Terrain</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="radiant_terrain.html#3">Modifying the Textures</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="radiant_terrain.html#4">Adding More Terrain</a><br>
</span>
<div class="menutitle" onclick="SwitchMenu('sub4')">&raquo; Additional Reference</div>
<span class="submenu" id="sub4">
&nbsp;&nbsp;&nbsp;&nbsp;<a href="ldesign_lighting.html">Lighting System</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="ldesign_terrain.html">Terrain Texture Blending</a><br>
</span>
<br>Scripting<br>
<div class="menutitle" onclick="SwitchMenu('sub5')">&raquo; Scripting Tutorials</div>
<span class="submenu" id="sub5">
&nbsp;&nbsp;&nbsp;&nbsp;<a href="scripting_syntax.html">Scripting Syntax</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="scripting_waves.html">Spawning Waves</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="scripting_flying.html">Creating Flying Creatures</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="scripting_tripwires.html">Setting Up Tripwires</a><br>
</span>
<div class="menutitle" onclick="SwitchMenu('sub6')">&raquo; Global Script Synopsis</div>
<span class="submenu" id="sub6">
&nbsp;&nbsp;&nbsp;&nbsp;<a href="scripting_globalscripts.html">Introduction</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="scripting_globalscripts_accelmove.html">global_accelerated</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="scripting_globalscripts_accelmove.html">Movement.scr</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="scripting_globalscripts_archetype.html">global_archetype.scr</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="scripting_globalscripts_array.html">global_array.scr</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="scripting_globalscripts_cinefx.html">global_cinematicFX.scr</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="scripting_globalscripts_common.html">global_common.scr</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="scripting_globalscripts_debug.html">global_debugUtils.scr</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="scripting_globalscripts_flyin.html">global_flyin.scr</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="scripting_globalscripts_math.html">global_math.scr</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="scripting_globalscripts_ploadout.html">global_playerLoadout.scr</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="scripting_globalscripts_soundpan.html">global_soundPan.scr</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="scripting_globalscripts_spawnwave.html">global_spawnWave.scr</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="scripting_globalscripts_transport.html">global_Transport.scr</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="scripting_globalscripts_tripwire.html">global_tripwire.scr</a><br>
</span>
<div class="menutitle" onclick="SwitchMenu('sub7')">&raquo; Classes Reference</div>
<span class="submenu" id="sub7">
&nbsp;&nbsp;&nbsp;&nbsp;<a href="allclasses_g.html">Game Module</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="allclasses_cl.html">Client Module</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="allclasses_cg.html">Client Game Module</a><br>
</span>
<br>Older Documentation<br>
<div class="menutitle" onclick="SwitchMenu('sub8')">&raquo; Heavy Metal FAKK2</div>
<span class="submenu" id="sub8">
&nbsp;&nbsp;&nbsp;&nbsp;<a href="fakk2_camera.html">Camera Documentation</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="fakk2_clientsidecmds.html">Client Side Commands</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="fakk2_gui.html">GUI Documentation</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="fakk2_ingameutils.html">In-Game Utilities</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="fakk2_max2skl.html">MAX2SKL Reference</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="fakk2_shadermanual.html">Shader Manual</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="fakk2_soundsystem.html">Sound System</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="fakk2_tiki.html">TIKI Model System</a><br>
</span>
<br>Other<br>
<div class="menutitle" onclick="SwitchMenu('sub9')">&raquo; Web Links &amp; Credits</div>
<span class="submenu" id="sub9">
&nbsp;&nbsp;&nbsp;&nbsp;<a href="other_links.html">Web Links</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="other_credits.html">Credits</a><br>
</span>
</div>
</td>
</tr>
</table></td>
<td width="13" background="../images/vert_line.jpg"><img src="../images/vert_line.jpg" width="13" height="1"></td>
<td valign="top" width="533"><p class="header"><br>
Client Commands Reference Guide</p>
<p class="subheader"> Overview</p>
<p> Client side commands refer to any commands that are used in the client
game DLL (cgame DLL). These commands are placed and executed on frames
of animation. When a TIKI model&#8217;s animation is played back on the
client, the commands associated with those frames are executed. This document
also contains a list of client INIT commands. These are commands that
are ony executed on the client when the model is initialized. These commands
deal with setting up emitters. </p>
<p class="subheader"> Example</p>
<p> This is a list of client commands and parameters for the client. These
commands can be placed in a TIKI file for execution. Here is an example
to get started:</p>
<blockquote>
<p class="menu">Animations<br>
&nbsp;&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;power power.tan<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;client<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;first
tagspawn tag_hand<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;count
50<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;model
models/flameball.tik<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;velocity
50<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;randvel
0 0 200<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;avelocity
random 360 random 360 random 360<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;life
1<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;accel
0 0 -100<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scale
0.1<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fade<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bouncefactor
0.8<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;offset
crandom 3 crandom 3 crandom 3<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
&nbsp;&nbsp;&nbsp;&nbsp;}</p>
</blockquote>
<p>Here is an explantion of what is going to happen when the first frame
of the &#8220;power&#8221; animation is executed.</p>
<p>After the definition of the animation &#8220;power power.tan&#8221; You
can list client and server side commands that will be executed on the
specified frames. In this case there is a client command on the first
frame of the power animation. Notice that the command is called &#8220;tagspawn&#8221;
and it has one parameter on the same line called &#8220;hand&#8221;. This
command allows you to spawn things ( particles, models, sprites ) from
the tag that is built into the model ( in this case it&#8217;s the hand
tag ). </p>
<p>The &#8220;(&#8220; on the next line starts a block of modifiers and
parameters that will affect the spawning properties of the command. There
are 11 lines of parameters after the &#8220;(&#8220; and then there is
a closing &#8220;)&#8221;. The &#8220;)&#8221; signifies the end of the
parameters/modifiers and finishes off the command. Each one of the modifiers
is explained below, along with the commands like &#8220;tagspawn&#8221;.</p>
<p class="subheader">Client Animation Commands </p>
<p>These commands can be executed on any frame of any animation on the client.
These are placed in the client frame commands of the TIKI file.</p>
<ul type="square">
<li><b>alias &lt;path&gt; &lt;alias&gt;</b><br>
Creates an alias to to the specified path.<br>
<br>
</li>
<li> <b>aliascache &lt;aliasname&gt; &lt;resourcename&gt;</b><br>
Caches in the specified resource name and creates the creates the alias
specified to reference it.<br>
<br>
</li>
<li> <b>cache &lt;resourcename&gt;</b><br>
Caches in the specified resource name<br>
<br>
</li>
<li> <b>client &lt;arg1&gt; &lt;arg2&gt;&#8230; </b><br>
Execute the specified arguments on the client. This is for use in global
scripts.<br>
<br>
</li>
<li> <b>commanddelay &lt;time&gt; &lt;commandnum&gt; &lt;command&gt; [arg1]&#8230;[argN]</b><br>
Delays the &lt;command&gt; by the &lt;time&gt; specified. There wll
be a delay between the execution of the command. The &lt;commandnum&gt;
must be provided by the user, It is used to keep track of the different
commands and the times they are executed.<br>
<br>
</li>
<li> <b>dlight &lt;red&gt; &lt;green&gt; &lt;blue&gt; &lt;intensity&gt;
&lt;life&gt; &lt;type&gt;</b><br>
Spawn a dlight from the origin of the model. The &lt;type&gt; of the
light can be normal, lensflare, or viewlensflare<br>
<br>
</li>
<li> <b>emitteroff &lt;emittername&gt;</b><br>
Turns &#8220;off&#8221; the specified emitter<br>
<br>
</li>
<li> <b>emitteron &lt;emittername&gt;</b><br>
Turns &#8220;on&#8221; the specified emitter<br>
<br>
</li>
<li> <b>entcolor</b><br>
Set the color(modulate) of the model.<br>
<br>
</li>
<li><b> loopsound &lt;soundfile&gt; [volume] [mindistance]</b><br>
Plays the specified sound in a loop.<br>
<br>
</li>
<li> <b>originspawn([parameter list]&#8230;)</b><br>
Spawn &#8220;things&#8221; from the origin of the model. The parameter
list after the command specify modifiers on the command.<br>
<br>
</li>
<li><b> randomchance &lt;amount&gt; &lt;command&gt; [arg1]&#8230;[argN]</b><br>
This will randomly execute the specified command. The amount ranges
from 0 to 1 and is the percentage chance that the command will execute.<br>
<br>
</li>
<li> <b>sound &lt;soundfile&gt; [channel number] [volume] [mindistance]</b><br>
Plays the specified sound. Channel, volume, and mindistance are optional<br>
<br>
</li>
<li> <b>swipe</b><br>
Add a segment to the swipe.<br>
<br>
</li>
<li> <b>swipeoff</b><br>
Signal the end of a swipe<br>
<br>
</li>
<li> <b>swipeon &lt;tagname&gt; &lt;size&gt; &lt;life&gt;</b><br>
Signal the start of a swipe.<br>
<br>
</li>
<li> <b>tagdlight &lt;tagname&gt; &lt;red&gt; &lt;green&gt; &lt;blue&gt;
&lt;intensity&gt; &lt;life&gt; &lt;type&gt;</b><br>
Spawn a dlight from the specified tag of the model. The &lt;type&gt;
of the light can be normal, lensflare, or viewlensflare.<br>
<br>
</li>
<li><b> tagspawn &lt;tagname&gt;([parameter list]&#8230;)</b><br>
Spawn &#8220;things&#8221; from the tag specified on the model. The
parameter list after the command specify modifiers on the command.<br>
<br>
</li>
<li><b> tagbeamspawn &lt;tagname_start&gt; &lt;length&gt;</b><br>
Spawns a beam from &lt;tagname_start&gt; of the specified &lt;length&gt;.
The direction is derived from the tag.</li>
</ul>
<p class="subheader">Client Initialization Commands </p>
<p>These commands set up client side effects that are not associated with
animations These are placed in the client init section of the TIKI file.</p>
<ul type="square">
<li><b>tagemitter &lt;tagname&gt; &lt;emittername&gt;(&lt;parameter list&gt;&#8230;)</b><br>
Creates a tag emitter named &lt;emittername&gt; that spawns out models
from &lt;tagname&gt;. This is not associated with animation frames,
so it can be used for static things that emit models without animating.
<br>
<br>
</li>
<li><b> tagbeamemitter &lt;tagname_start&gt; &lt;tagname_end&gt; &lt;emittername&gt;{&lt;parameter
list&gt;}</b><br>
Creates a beam emitter named &lt;emittername&gt; that spawns beams from
tagname_start to tagname_end. This is not associated with animation
frames, so it can be used for static things that have beam effects on
them.</li>
</ul>
<p class="subheader">Parameters for Spawning stuff</p>
<p>These are used in the above commands to modify the &#8220;things&#8221;(
tempmodels ) that are spawned from the emitters/spawn points.</p>
<ul type="square">
<li><b>accel &lt;accelx&gt; &lt;accely&gt; &lt;accelz&gt;</b><br>
Sets the acceleration for the tempmodel. You can simulate gravity by
setting the accelz component to a negative value (E.g. accel 0 0 &#8211;200)<br>
<br>
</li>
<li> <b>align</b><br>
Aligns the tempmodel in the direction it is traveling<br>
<br>
</li>
<li> <b>alpha &lt;alpha_value&gt;</b><br>
Sets the alpha value of the tempmodel<br>
<br>
</li>
<li><b> angles (crandom|random) &lt;yaw&gt; (crandom|random) &lt;pitch&gt;
(crandom|random) &lt;roll&gt;</b><br>
Sets the angular velocity of the tempmodel. Use the keywords random
or crandom as stated in the randvel command.<br>
<br>
</li>
<li> <b>anim &lt;anim_name&gt;</b><br>
Set the anim of the spawned tempmodel.<br>
<br>
</li>
<li> <b>animateonce</b><br>
Animate the tempmodel once before killing it<br>
<br>
</li>
<li> <b>avelocity (crandom|random) &lt;yaw&gt; (crandom|random) &lt;pitch&gt;
(crandom|random) &lt;roll&gt;</b><br>
Sets the angular velocity of the tempmodel. Use the keywords random
or crandom as stated in the randvel command.<br>
<br>
</li>
<li> <b>bouncefactor &lt;bounce_value&gt;</b><br>
Sets the bounciness of the tempmodel. Values greater than 1 will make
the model gain speed when it bounces.<br>
<br>
</li>
<li> <b>circle</b><br>
Spawns the tempmodels in a circlular pattern on the XY plane<br>
<br>
</li>
<li> <b>collision [&#8216;water&#8217;]</b><br>
Turns on collision for the tempmodels (saves CPU if you don&#8217;t
need collision ). Add the water keyword if you want the particles to
collide with water.<br>
<br>
</li>
<li> <b>color &lt;red&gt; &lt;green&gt; &lt;blue&gt; &lt;alpha&gt;</b><br>
Sets the color of the tempmodel. This color is modulated with the tempmodel
when it is drawn.<br>
<br>
</li>
<li> <b>colorrange &lt;startRed&gt; &lt;startGreen&gt; &lt;startBlue&gt;
&lt;endRed&gt; &lt;endGreen&gt; &lt;endBlue&gt;</b><br>
Set the color range to be interpolated over the life of the tempmodel.<br>
<br>
</li>
<li> <b>count &lt;number&gt;</b><br>
The number of tempmodels to be spawned.<br>
<br>
</li>
<li> <b>dietouch</b><br>
Kills the tempmodel when it touches a solid surface.<br>
<br>
</li>
<li> <b>dlight &lt;r&gt; &lt;g&gt; &lt;b&gt; &lt;intensity&gt;</b><br>
Makes the emitter a dynamic light source of color (r,g,b) and the specified
intensity ( radius ).<br>
<br>
</li>
<li> <b>fade</b><br>
Fades the tempmodel to complete translucency over the life.<br>
<br>
</li>
<li> <b>fadein &lt;time&gt;</b><br>
Fades the tempmodel in over the amount of time specified.<br>
<br>
</li>
<li> <b>flicker</b><br>
Causes the tempmodel to flicker randomly<br>
<br>
</li>
<li><b> globalfade &lt;&#8221;in&#8221; | &#8220;out&gt;</b><br>
Makes the spawned tempmodels fade in or out at the same rate based on
the number of frames in the animation of the parent animation.<br>
<br>
</li>
<li><b> inwardsphere &lt;radius&gt;</b><br>
Spawns the tempmodel at radius distance from the origin and moves them
inward towards it.<br>
<br>
</li>
<li> <b>life &lt;seconds&gt;</b><br>
The life of the spawned tempmodel.<br>
<br>
</li>
<li> <b>model &lt;modelname1&gt; [modelname2] [modelname3] &#8230;</b>
<br>
The name of the model you want to spawn. If more than one model is specified
then the model is chosen randomly from the list<br>
<br>
</li>
<li> <b>offset (crandom|random) &lt;offsetx&gt; (crandom|random) &lt;offsety&gt;
(crandom|random) &lt;offsetz&gt;</b><br>
Sets an offset of the tempmodel. Use the keywords random or crandom
as stated in the randvel command.<br>
<br>
</li>
<li> <b>offsetalongaxis (crandom|random) &lt;offsetx&gt; (crandom|random)
&lt;offsety&gt; (crandom|random) &lt;offsetz&gt;</b><br>
Sets an offset of the tempmodel. Use the keywords random or crandom
as stated in the randvel command. The offset is applied in the coordinate
system of the parent.<br>
<br>
</li>
<li> <b>parentlink</b><br>
Links the spawned tempmodel to the parent. If the parent moves, so does
the spawned tempmodel.<br>
<br>
</li>
<li> <b>randvel (crandom|random) &lt;speedx&gt; (crandom|random) &lt;speedy&gt;
(crandom|random) &lt;speedz&gt;</b><br>
Adds a random velocity to the tempmodel in the x, y, and z axis. Use
the keyword random to make the value between 0 and speed. Use the keyword
crandom to make the value between &#8211;speed and speed. If you don&#8217;t
use the random or crandom keywords, then the added velocity will be
constant.<br>
<br>
</li>
<li><b> scale &lt;scale_value&gt;</b><br>
Sets the scale of the tempmodel to value.<br>
<br>
</li>
<li><b> scalemax &lt;scale_value&gt;</b><br>
Sets the maximum scale of the tempmodel to value.<br>
<br>
</li>
<li> <b>scalemin &lt;scale_value&gt;</b><br>
Sets the minimum scale of the temp model to value. By setting this,
the spawned model will be randomly scaled to a value between scalemin
and scalemax.<br>
<br>
</li>
<li><b> scalerate &lt;scale_value&gt;</b><br>
Animates the tempmodel by scaling it in size according to the specified
scalerate value.<br>
<br>
</li>
<li> <b>spawnrate &lt;rate_value&gt;</b><br>
Sets the rate of spawning for an emitter. This parameter is only valid
for emitters that have been defined for the model.<br>
<br>
</li>
<li> <b>sphere</b><br>
Spawns the tempmodels traveling in in an outward sphere pattern from
the origin.<br>
<br>
</li>
<li> <b>startoff</b><br>
Starts an emitter in the &#8220;off&#8221; state.<br>
<br>
</li>
<li> <b>swarm &lt;freq&gt; &lt;maxspeed&gt; &lt;delta&gt;</b><br>
Causes a swarming effect on the tempmodels. freq is the frequency at
which the tempmodel changes direction. maxspeed is the maximum speed
of the tempmodel. delta is the amount the tempmodel moves toward the
origin to get the swarming effect.<br>
<br>
</li>
<li> <b>texanimtime &lt;time&gt;</b><br>
If you are spawning animated texture sprites, this sets the animation
time for that sprite.<br>
<br>
</li>
<li><b> trailcolor &lt;red&gt; &lt;green&gt; &lt;blue&gt; &lt;alpha&gt;</b><br>
Sets the color of the trail for the tempmodel.<br>
<br>
</li>
<li> <b>trailradius &lt;radius&gt;</b><br>
Sets the width of the trail<br>
<br>
</li>
<li><b> trailtime &lt;seconds&gt;</b><br>
Sets the life of the trail in seconds<br>
<br>
</li>
<li> <b>velocity &lt;speed&gt;</b><br>
The speed of the tempmodel. It will travel in the direction based on
the orientation of the parent.<br>
<br>
</li>
<li> <b>wavy &lt;amount&gt;</b><br>
Causes the tempmodel to move in a wavy effect. amount sets the amount
of the wavieness.</li>
</ul>
<p class="subheader">Beam Specific Parameters</p>
<p>These parameters are only applicable to beamemitters and tagbeamspawn.</p>
<ul type="square">
<li> <b>numsegments &lt;num&gt;</b><br>
Set the number of segments in the beam.<br>
<br>
</li>
<li> <b>minoffset &lt;offset&gt;</b><br>
Set the minimum offset from center that the beam will move.<br>
<br>
</li>
<li> <b>maxoffset &lt;offset&gt;</b><br>
Set the maximum offset from center that the beam will move.<br>
<br>
</li>
<li> <b>beamshader &lt;shader_name&gt;</b><br>
Set the shader that the beam will use.<br>
<br>
</li>
<li> <b>beamdelay &lt;delay&gt;</b><br>
Set the delay (in seconds) between the drawing of beams.<br>
<br>
</li>
<li><b> beamtoggledelay [random] &lt;delay&gt;</b><br>
Set the delay (in seconds) that is used to toggle the beams off and
on. If random is used, then the delay will be between 0 and delay.<br>
<br>
</li>
<li> <b>beampersist</b><br>
Effect that makes the beams persist and fade out over time<br>
<br>
</li>
<li> <b>beamsphere &lt;count&gt;</b><br>
Shoot the beams out in a sphere pattern. If the radius (see above) is
set, beams will be drawn at this distance from center. </li>
</ul>
<p>&nbsp;</p>
</td>
</tr>
<tr>
<td colspan="3"><img src="../images/footer.jpg" width="702" height="36" border="0" usemap="#Map"><br>
<img src="../images/hor_line.jpg" width="702" height="1"></td>
</tr>
<tr>
<td colspan="3" class="legal"><table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td class="legal"> Copyright &copy;2003 Ritual Entertainment, Inc. All rights reserved.<br>
Please do not email Ritual Entertainment with questions about the
UberTools Game Development Kit. It is provided as is and is not supported by Ritual Entertainment.</td>
<td><a href="http://www.ritual.com/tech/overview.html" target="_blank"><img src="../images/uber_logo.jpg" width="43" height="56" hspace="4" border="0"></a></td>
<td><a href="http://www.ritual.com" target="_blank"><img src="../images/ritual_logo.jpg" width="100" height="56" hspace="4" border="0"></a></td>
</tr>
</table>
<p align="center">&nbsp;</p></td>
</tr>
</table>
<map name="Map">
<area shape="rect" coords="601,10,693,28" href="#top">
</map>
</body>
</html>