improve mapinfo documentation
[xonotic/xonotic.git] / Docs / say-esc.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2         "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6 <meta name="author" content="Tyler Mulligan of www.detrition.net a.k.a -z- of www.nexuizninjaz.com" />
7 <meta name="Description" content="Nexuiz is a free open-source fast paced first person shooter (FPS) that runs on Windows, Linux and OSX.  Nexuiz utilizes the darkplaces engine modeled after the Quake series." />
8 <meta name="Keywords" content="Nexuiz, Nexiuz, first person shooter, darkplaces, open-source game, open source game, free game, linux game, deathmatch, death match, ctf, quake, alientrap, alien trap, ninjaz" />
9 <title>Nexuiz - A free open-source fast paced first person shooter (FPS) for Windows, Linux and OSX</title>
10 <link rel="stylesheet" href="htmlfiles/style.css" type="text/css"></link>
11 <link rel="shortcut icon" href="favicon.ico"></link>
12 </head>
13 <body>
14 <div id="container">
15         <div id="left">
16                 <div id="logo">
17
18                         <a href="http://www.nexuiz.com" title="Nexuiz - Simple, fast, intense and completely free"><img src="htmlfiles/img/nexuiz_logo.jpg" alt="Nexuiz is a free open-source fast paced first person shooter that runs on Windows, Linux and OSX." width="201" height="193" border="0" title="Nexuiz is a free open-source fast paced first person shooter that runs on Windows, Linux and OSX." /></a>
19                 </div>
20                 <!-- Sidebar -->
21           <div id="sidebar">
22                         <a href="news.php" title="Latest Nexuiz News"><img src="htmlfiles/img/headers/latest_news.gif" alt="Latest News" width="168" height="16" border="0" class="imgHeader" style="margin-top:0;" title="Latest Nexuiz News" /></a>
23                         <div id="news">
24                           <div class="newsPost">
25                                                 <h1><a href="http://nexuiz.com/news.php" title="Two Nexuiz 1v1 Tourneys">nexuiz.com/news - for nexuiz news updates</a></h1>
26                           </div>
27                 </div>
28                         <!-- Downloads -->
29                         <a href="downloads.php" title="Nexuiz Downloads (Game, Maps)"><img src="htmlfiles/img/headers/downloads.gif" alt="Downloads" width="145" height="15" border="0" class="imgHeader" title="Downloads" /></a>
30                         <a id="download_nexuiz" href="http://www.sourceforge.net/projects/nexuiz/" title="Download Nexuiz from Source Forge - Left Click">&nbsp;</a>
31                         <!--<a id="download_q3_mappack" href="http://downloads.sourceforge.net/nexuiz/nexmappack_r2.zip" title="Download Nexuiz Q3 Mappack from Source
32                         Forge - Left Click">&nbsp;</a>-->
33                         <h2 class="page"><a href="http://nexuiz.comdownloads.php" title="Nexuiz Download Mirrors">Mirrors -&gt;</a></h2>
34                         <!-- Help Wanted -->
35
36                         <img src="htmlfiles/img/headers/help_wanted.gif" alt="Help Wanted" width="165" height="15" class="imgHeader" title="Help Wanted" />                     
37                         <form action="https://www.paypal.com/cgi-bin/webscr" method="post" name="donate_form"> <input name="cmd" value="_s-xclick" type="hidden" />
38                         <a id="donate" href="javascript:document.donate_form.submit();" title="Help The Aliens, Please Donate">&nbsp;</a>
39                         <noscript>
40                                 <!-- It not an elegant solution but I don't expect many users to arrive with JS turned off -->
41                                 <input name="submit" type="image" src="htmlfiles/img/donate_button_noscript.jpg" alt="Help this project - Donate to the aliens" width="166" height="43" /> 
42                         </noscript>
43                         <h2 class="page"><a href="http://nexuiz.com/donators.php" title="Those who have donated to Nexuiz">Donators -&gt;</a></h2>
44                         <input name="encrypted" value="-----BEGIN PKCS7-----MIIHBgYJKoZIhvcNAQcEoIIG9zCCBvMCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBfp40KRLmnxKPY06C4gjvE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                   <!-- Created By -->
47                   <img src="htmlfiles/img/headers/created_by.gif" alt="Created By" width="145" height="15" class="imgHeader" title="Created By" />
48
49           <a id="alien_trap" href="http://www.alientrap.org" title="Developed by Alien Trap" target="_blank">&nbsp;</a>   </div>
50                 <!-- end sidebar -->    </div><!-- end left -->
51         <div id="right">
52                 <div id="header">
53                         <a href="http://nexuiz.com" title="Nexuiz - Simple, fast, intense and completely free"><img src="htmlfiles/img/nexuiz_header.jpg" alt="Nexuiz is a free open-source fast paced first person shooter that runs on Windows, Linux and OSX." width="766" height="107" border="0" title="Nexuiz - Simple, fast, intense and completely free" /></a>
54                 </div>
55                 <div id="menu">
56                         <ul>
57
58                                 <li class="first"><a href="../readme.html" title="Nexuiz - Latest News">About </a></li>
59                                 <li><a href="basics.html" title="Nexuiz - Media (Screenshots, videos and graphics)">Nexuiz Basics</a></li>
60                                 <li><a href="say-esc.html" title="Nexuiz Information  (General, System Requirements)">Say Escapes</a></li>
61                                 <li><a href="irc.html" title="Nexuiz - Downloads (Game, Maps)">IRC</a></li>
62                                 <li><a href="faq.html" title="Official Nexuiz FAQ">FAQ</a></li>
63                                 <li class="first"></li>
64                                 <li class="first"></li>
65                                 <li class="first"></li>
66                                 <li class="first"></li>
67                   </ul>         </div>
68                 <p id="tagline">Nexuiz is a <b>free</b> open-source first person shooter that runs on <b>Windows</b>, <b>Linux</b> and <b>OSX</b>.</p>
69           <div id="content">
70                   <p>In a message you &quot;say&quot;, you can use the following escapes: </p>
71                   <ul>
72                     <li>%% literal percent sign</li>
73             <li>%a current armor value </li>
74             <li>%h current health </li>
75             <li>%w current weapon </li>
76             <li>%W current ammo type </li>
77             <li>%s current speed on XY axes</li>
78             <li>%S current speed on XYZ axes</li>
79             <li>%v accuracy stats of currently held weapon</li>
80             <li>%x name of entity pointed at </li>
81             <li>%p name of player you look at </li>
82             <li>%l current location</li>
83             <li>%y location pointed at </li>
84             <li>%d location last died at </li>
85             </ul>
86                   <p>The latter three need location data or use nearby weapons instead. Location data are entities of type target_location with a netname that replaces the escape. </p>
87                   <p>The location entity for a point is chosen by the following algorithm: </p>
88                   <p>&nbsp; </p>
89                   <ul>
90                     <li>- the closest four entities are found </li>
91             <li>- of these, the first one which is actually VISIBLE to the point is chosen </li>
92             <li>- if there is no line of sight from the point to any of the four location </li>
93             <li>entities, the closest one is chosen </li>
94             <li> </li>
95             </ul>
96                   <p>Of course you can use these escapes in key bindings and aliases; examples:</p>
97                   <ul>
98                     <li>alias asay_ctf_flagcarrier &quot;say_team flag carrier at %y&quot; </li>
99             <li>alias asay_ctf_haveflag &quot;say_team (%l) have the flag&quot; </li>
100             <li>alias asay_willgo &quot;say_team will go to %y&quot; </li>
101             <li>alias asay_support &quot;say_team (%l) need help, %h%%&quot; </li>
102             <li>alias asay_killed &quot;say_team got killed at %d&quot; </li>
103             <li>alias asay_noammo &quot;say_team (%l) need %W for %w&quot; </li>
104             <li>alias asay_drop &quot;say_team (%l) dropped %w ; impulse 17&quot; </li>
105             </ul>
106                   <p>&nbsp; </p>
107                   <p><br style="clear:left" />
108         </p>
109           </div>
110           <!-- end content -->
111                 <div id="footer">
112                         <p id="ninja"><a href="http://www.detrition.net" title="Tyler Mulligan's Working Portfolio" target="_blank">page created by</a> <a href="http://www.nexuizninjaz.com" title="Nexuiz Ninjaz - Practicing the ninja arts of Nexuiz" target="_blank">a ninja</a></p>
113                         <ul>
114
115                                 <li class="first"><a href="http://alientrap.org/nexuiz/news.php" title="Nexuiz - Latest News">News</a></li>
116                                 <li><a href="http://alientrap.org/nexuiz/media.php" title="Nexuiz - Media (Screenshots, videos and graphics)">Media</a></li>
117                                 <li><a href="http://alientrap.org/nexuiz/information.php" title="Nexuiz Information  (General, System Requirements)">Info</a></li>
118                                 <li><a href="http://alientrap.org/nexuiz/team.php" title="The Nexuiz Team">Team</a></li>
119                                 <li><a href="http://alientrap.org/nexuiz/links.php" title="Nexuiz Links">Links</a></li>
120                                 <li><a href="http://alientrap.org/forum/index.php?c=3" title="Official Nexuiz Forums" target="_blank">Forums</a></li>
121                                 <li><a href="http://planetnexuiz.com/ladder/" title="Nexuiz Ladder" target="_blank">Ladder</a></li>
122                                 <li><a href="http://planetnexuiz.com/tourney/" title="Nexuiz Tournaments" target="_blank">Tournament</a></li>
123                                 <li class="first"></li>
124                   </ul>         </div><p class="subFooter">Come to the Nexuiz IRC channel: <a href="irc://irc.quakenet.org/nexuiz" title="#nexuiz on irc.quakenet.org">#nexuiz on irc.quakenet.org</a> or the team channel: <a href="irc://irc.anynet.org/alientrap" title="#alientrap on irc.anynet.org">#alientrap on irc.anynet.org</a></p>
125
126                 <div id="valid">
127                         <a id="valid_css" href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Falientrap.org%2Fnexuiz%2Findex.php">&nbsp;</a>
128                         <a id="valid_xhtml" href="http://validator.w3.org/check?uri=http%3A%2F%2Falientrap.org%2Fnexuiz%2Findex.php">&nbsp;</a>
129                         <p>&copy; 2004-2008 Nexuiz.com</p>
130                 </div>
131         </div><!-- end right -->
132 </div>
133 </body>
134 </html>