source: s10k/Vago/help/XMLSNDD.html@ 1140

Last change on this file since 1140 was 1054, checked in by s10k, 8 years ago

Vago 1.1

File size: 91.7 KB
Line 
1<!DOCTYPE html>
2<!-- saved from url=(0029)http://wiki.oni2.net/XML:SNDD -->
3<html lang="en" dir="ltr" class="client-js" style="-webkit-user-select: text;"><head style="-webkit-user-select: text;"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title style="-webkit-user-select: text;">XML:SNDD - OniGalore</title>
5
6<meta name="generator" content="MediaWiki 1.19.2" style="-webkit-user-select: text;">
7<link rel="alternate" type="application/x-wiki" title="Edit" href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit" style="-webkit-user-select: text;">
8<link rel="edit" title="Edit" href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit" style="-webkit-user-select: text;">
9<link rel="shortcut icon" href="http://wiki.oni2.net/favicon.ico" style="-webkit-user-select: text;">
10<link rel="search" type="application/opensearchdescription+xml" href="http://wiki.oni2.net/w/opensearch_desc.php" title="OniGalore (en)" style="-webkit-user-select: text;">
11<link rel="EditURI" type="application/rsd+xml" href="http://wiki.oni2.net/w/api.php?action=rsd" style="-webkit-user-select: text;">
12<link rel="copyright" href="http://www.gnu.org/copyleft/fdl.html" style="-webkit-user-select: text;">
13<link rel="alternate" type="application/atom+xml" title="OniGalore Atom feed" href="http://wiki.oni2.net/w/index.php?title=Special:RecentChanges&amp;feed=atom" style="-webkit-user-select: text;">
14<link rel="stylesheet" href="./XMLSNDD_files/load.php" style="-webkit-user-select: text;">
15<style type="text/css" media="all" style="-webkit-user-select: text;">.js-messagebox{margin:1em 5%;padding:0.5em 2.5%;border:1px solid #ccc;background-color:#fcfcfc;font-size:0.8em}.js-messagebox .js-messagebox-group{margin:1px;padding:0.5em 2.5%;border-bottom:1px solid #ddd}.js-messagebox .js-messagebox-group:last-child{border-bottom:thin none transparent}
16
17/* cache key: oni_wiki:resourceloader:filter:minify-css:7:8b08bdc91c52a9ffba396dccfb5b473c */
18
19
20.mw-collapsible-toggle{float:right} li .mw-collapsible-toggle{float:none} .mw-collapsible-toggle-li{list-style:none}
21
22/* cache key: oni_wiki:resourceloader:filter:minify-css:7:4250852ed2349a0d4d0fc6509a3e7d4c */
23</style><meta name="ResourceLoaderDynamicStyles" content="" style="-webkit-user-select: text;">
24<link rel="stylesheet" href="./XMLSNDD_files/load(1).php" style="-webkit-user-select: text;">
25<style style="-webkit-user-select: text;">a:lang(ar),a:lang(ckb),a:lang(fa),a:lang(kk-arab),a:lang(mzn),a:lang(ps),a:lang(ur){text-decoration:none}a.new,#quickbar a.new{color:#ba0000}
26
27/* cache key: oni_wiki:resourceloader:filter:minify-css:7:c88e2bcd56513749bec09a7e29cb3ffa */
28</style>
29
30<script src="./XMLSNDD_files/load(2).php" style="-webkit-user-select: text;"></script><script src="./XMLSNDD_files/load(3).php" style="-webkit-user-select: text;"></script>
31<script style="-webkit-user-select: text;">if(window.mw){
32mw.config.set({"wgCanonicalNamespace":"XML","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":110,"wgPageName":"XML:SNDD","wgTitle":"SNDD","wgCurRevisionId":25591,"wgArticleId":4759,"wgIsArticle":true,"wgAction":"view","wgUserName":"Script 10k","wgUserGroups":["*","user","autoconfirmed"],"wgCategories":["Articles that need finishing","XML data docs"],"wgBreakFrames":false,"wgPageContentLanguage":"en","wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgRelevantPageName":"XML:SNDD","wgRestrictionEdit":[],"wgRestrictionMove":[],"wgSearchNamespaces":[0,100,102,104,108,110],"wgCategoryTreePageCategoryOptions":"{\"mode\":20,\"hideprefix\":20,\"showcount\":true,\"namespaces\":false}"});
33}</script><script style="-webkit-user-select: text;">if(window.mw){
34mw.loader.implement("user.options",function($){mw.user.options.set({"ccmeonemails":0,"cols":80,"date":"0","diffonly":0,"disablemail":0,"disablesuggest":0,"editfont":"default","editondblclick":0,"editsection":1,"editsectiononrightclick":0,"enotifminoredits":0,"enotifrevealaddr":0,"enotifusertalkpages":1,"enotifwatchlistpages":0,"extendwatchlist":0,"externaldiff":0,"externaleditor":0,"fancysig":0,"forceeditsummary":0,"gender":"unknown","hideminor":0,"hidepatrolled":0,"highlightbroken":1,"imagesize":2,"justify":0,"math":1,"minordefault":0,"newpageshidepatrolled":0,"nocache":0,"noconvertlink":0,"norollbackdiff":0,"numberheadings":0,"previewonfirst":0,"previewontop":1,"quickbar":5,"rcdays":7,"rclimit":50,"rememberpassword":0,"rows":25,"searchlimit":20,"showhiddencats":0,"showjumplinks":1,"shownumberswatching":1,"showtoc":1,"showtoolbar":1,"skin":"vector","stubthreshold":0,"thumbsize":2,"underline":2,"uselivepreview":0,"usenewrc":0,"watchcreations":0,"watchdefault":0,"watchdeletion":0,
35"watchlistdays":3,"watchlisthideanons":0,"watchlisthidebots":0,"watchlisthideliu":0,"watchlisthideminor":0,"watchlisthideown":0,"watchlisthidepatrolled":0,"watchmoves":0,"wllimit":250,"variant":"en","language":"en","searchNs0":true,"searchNs1":false,"searchNs2":false,"searchNs3":false,"searchNs4":false,"searchNs5":false,"searchNs6":false,"searchNs7":false,"searchNs8":false,"searchNs9":false,"searchNs10":false,"searchNs11":false,"searchNs12":false,"searchNs13":false,"searchNs14":false,"searchNs15":false,"searchNs100":true,"searchNs101":false,"searchNs102":true,"searchNs103":false,"searchNs104":true,"searchNs105":false,"searchNs108":true,"searchNs109":false,"searchNs110":true,"searchNs111":false,"searchNs-1":"0","searchNs106":"1","searchNs107":"0","watchlisttoken":"792bb687f970780ab8efae83dbc62a988f4efce1"});;},{},{});mw.loader.implement("user.tokens",function($){mw.user.tokens.set({"editToken":"c08f1ac9c17fb24268eaa9fbc10859da+\\","watchToken":"eff14bb920245bf6e2b38662760b30a1+\\"});;},
36{},{});
37
38/* cache key: oni_wiki:resourceloader:filter:minify-js:7:cf16a59788b2fd441cb03d0c9d20778f */
39}</script>
40<script style="-webkit-user-select: text;">if(window.mw){
41mw.loader.load(["mediawiki.page.startup","mediawiki.legacy.wikibits","mediawiki.legacy.ajax"]);
42}</script><script type="text/javascript" src="./XMLSNDD_files/load(4).php" style="-webkit-user-select: text;"></script>
43<!--[if lt IE 7]><style type="text/css">body{behavior:url("/w/skins/vector/csshover.min.htc")}</style><![endif]--></head>
44<body class="mediawiki ltr sitedir-ltr ns-110 ns-subject page-XML_SNDD skin-vector action-view" style="-webkit-user-select: text;">
45 <div id="mw-page-base" class="noprint" style="-webkit-user-select: text;"></div>
46 <div id="mw-head-base" class="noprint" style="-webkit-user-select: text;"></div>
47 <!-- content -->
48 <div id="content" class="mw-body" style="-webkit-user-select: text;">
49 <a id="top" style="-webkit-user-select: text;"></a>
50 <div id="mw-js-message" style="display: none; -webkit-user-select: text;" class="js-messagebox"></div>
51 <!-- firstHeading -->
52 <h1 id="firstHeading" class="firstHeading" style="-webkit-user-select: text;">
53 <span dir="auto" style="-webkit-user-select: text;">XML:SNDD</span>
54 </h1>
55 <!-- /firstHeading -->
56 <!-- bodyContent -->
57 <div id="bodyContent" style="-webkit-user-select: text;">
58 <!-- tagline -->
59 <div id="siteSub" style="-webkit-user-select: text;">From OniGalore</div>
60 <!-- /tagline -->
61 <!-- subtitle -->
62 <div id="contentSub" style="-webkit-user-select: text;"></div>
63 <!-- /subtitle -->
64 <!-- jumpto -->
65 <div id="jump-to-nav" class="mw-jump" style="-webkit-user-select: text;">
66 Jump to: <a href="http://wiki.oni2.net/XML:SNDD#mw-head" style="-webkit-user-select: text;">navigation</a>,
67 <a href="http://wiki.oni2.net/XML:SNDD#p-search" style="-webkit-user-select: text;">search</a>
68 </div>
69 <!-- /jumpto -->
70 <!-- bodycontent -->
71 <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr" style="-webkit-user-select: text;"><table class="wikitable" style="width: 100%; border-width: 4px 1px; border-style: solid; border-collapse: collapse; border-spacing: 0px; empty-cells: show; text-align: center; -webkit-user-select: text;">
72<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
73<th style="width: 256px; -webkit-user-select: text;"> SNDD&nbsp;: Sound Data
74</th>
75<td rowspan="2" style="-webkit-user-select: text;">
76<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">XML modding tips</b>
77<ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> See <a href="http://wiki.oni2.net/XML" title="XML" class="mw-redirect" style="-webkit-user-select: text;">HERE</a> to start learning about XML modding.
78</li><li style="-webkit-user-select: text;"> See <a href="http://wiki.oni2.net/OBD_talk:BINA/OBJC" title="OBD talk:BINA/OBJC" style="-webkit-user-select: text;">HERE</a> if you are searching for information on how to handle object coordinates.
79</li><li style="-webkit-user-select: text;"> See <a href="http://wiki.oni2.net/Modding_errors" title="Modding errors" style="-webkit-user-select: text;">HERE</a> for some typical modding errors and their causes.
80</li></ul>
81</dd></dl>
82</td>
83<td rowspan="2" style="width: 128px; background-color: rgb(0, 0, 0); -webkit-user-select: text;"> <a href="http://wiki.oni2.net/File:XML.png" class="image" style="-webkit-user-select: text;"><img alt="XML.png" src="./XMLSNDD_files/XML.png" width="128" height="128" style="-webkit-user-select: text;"></a>
84</td></tr>
85<tr style="-webkit-user-select: text;">
86<td style="-webkit-user-select: text;"> <b style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML" title="XML" class="mw-redirect" style="-webkit-user-select: text;">XML</a></b>
87<p style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/w/index.php?title=XML:PSUI&amp;action=edit&amp;redlink=1" class="new" title="XML:PSUI (page does not exist)" style="-webkit-user-select: text;">PSUI</a> &lt;&lt; <a href="http://wiki.oni2.net/XML:File_types" title="XML:File types" style="-webkit-user-select: text;">Other file types</a> &gt;&gt; <a href="http://wiki.oni2.net/XML:TRAC" title="XML:TRAC" style="-webkit-user-select: text;">TRAC</a>
88</p><p style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/OBD:SNDD" title="OBD:SNDD" style="-webkit-user-select: text;">switch to OBD page</a>
89</p>
90</td></tr></tbody></table>
91<table cellpadding="0" style="border: 1px solid black; border-spacing: 0px; padding: 0px; empty-cells: show; margin-left: auto; margin-right: auto; text-align: center; width: 700pt; -webkit-user-select: text;">
92<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
93<td style="background-color: gray; width: 1%; -webkit-user-select: text;">
94</td>
95<td style="width: 1%; -webkit-user-select: text;"> <a href="http://wiki.oni2.net/File:Unfinished_building-60px.jpg" class="image" style="-webkit-user-select: text;"><img alt="Unfinished building-60px.jpg" src="./XMLSNDD_files/Unfinished_building-60px.jpg" width="60" height="60" style="-webkit-user-select: text;"></a>
96</td>
97<td style="width: 98%; -webkit-user-select: text;">
98<p style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">This page is unfinished. Can you fill in any missing information?</b><br style="-webkit-user-select: text;">If it is not clear which part of the page is unfinished, ask on the talk page.
99</p>
100</td></tr></tbody></table>
101<table border="0" cellspacing="20" cellpadding="0" style="margin-left: auto; margin-right: auto; -webkit-user-select: text;">
102<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
103<td style="-webkit-user-select: text;"> More OSBD .grp / .amb information could be useful and .imp is completely left out so far.
104<p style="-webkit-user-select: text;">The xml code on this page is based on onisplit <b style="-webkit-user-select: text;">v0.9.61.0</b>
105</p>
106</td></tr></tbody></table>
107<table id="toc" class="toc" style="-webkit-user-select: text;"><tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;"><td style="-webkit-user-select: text;"><div id="toctitle" style="-webkit-user-select: text;"><h2 style="-webkit-user-select: text;">Contents</h2><span class="toctoggle" style="-webkit-user-select: text;">&nbsp;[<a href="http://wiki.oni2.net/XML:SNDD#" class="internal" id="togglelink" style="-webkit-user-select: text;">hide</a>]&nbsp;</span></div>
108<ul style="-webkit-user-select: text;">
109<li class="toclevel-1 tocsection-1" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#Source_file_creation" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">1</span> <span class="toctext" style="-webkit-user-select: text;">Source file creation</span></a></li>
110<li class="toclevel-1 tocsection-2" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#Oni_file_creation" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">2</span> <span class="toctext" style="-webkit-user-select: text;">Oni file creation</span></a>
111<ul style="-webkit-user-select: text;">
112<li class="toclevel-2 tocsection-3" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#via_Vago" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">2.1</span> <span class="toctext" style="-webkit-user-select: text;">via Vago</span></a></li>
113<li class="toclevel-2 tocsection-4" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#via_batch_file" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">2.2</span> <span class="toctext" style="-webkit-user-select: text;">via batch file</span></a></li>
114<li class="toclevel-2 tocsection-5" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#via_command_line" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">2.3</span> <span class="toctext" style="-webkit-user-select: text;">via command line</span></a></li>
115</ul>
116</li>
117<li class="toclevel-1 tocsection-6" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#OSBD_information" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">3</span> <span class="toctext" style="-webkit-user-select: text;">OSBD information</span></a>
118<ul style="-webkit-user-select: text;">
119<li class="toclevel-2 tocsection-7" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#OSBDfile.imp.xml" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">3.1</span> <span class="toctext" style="-webkit-user-select: text;">OSBDfile.imp.xml</span></a></li>
120<li class="toclevel-2 tocsection-8" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#OSBDfile.amb.xml" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">3.2</span> <span class="toctext" style="-webkit-user-select: text;">OSBDfile.amb.xml</span></a></li>
121<li class="toclevel-2 tocsection-9" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#OSBDfile.grp.xml" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">3.3</span> <span class="toctext" style="-webkit-user-select: text;">OSBDfile.grp.xml</span></a></li>
122</ul>
123</li>
124<li class="toclevel-1 tocsection-10" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#BINACJBOSound.xml" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">4</span> <span class="toctext" style="-webkit-user-select: text;">BINACJBOSound.xml</span></a></li>
125<li class="toclevel-1 tocsection-11" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#sound-related_BSL_commands" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">5</span> <span class="toctext" style="-webkit-user-select: text;">sound-related BSL commands</span></a></li>
126<li class="toclevel-1 tocsection-12" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#OCF_thread_about_new_music" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">6</span> <span class="toctext" style="-webkit-user-select: text;">OCF thread about new music</span></a></li>
127<li class="toclevel-1 tocsection-13" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#How_to_register_sounds_to_characters" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">7</span> <span class="toctext" style="-webkit-user-select: text;">How to register sounds to characters</span></a>
128<ul style="-webkit-user-select: text;">
129<li class="toclevel-2 tocsection-14" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#step_1:_preparing_the_TRAM" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">7.1</span> <span class="toctext" style="-webkit-user-select: text;">step 1: preparing the TRAM</span></a></li>
130<li class="toclevel-2 tocsection-15" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#step_2:_preparing_the_ONCC" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">7.2</span> <span class="toctext" style="-webkit-user-select: text;">step 2: preparing the ONCC</span></a></li>
131<li class="toclevel-2 tocsection-16" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#step_3:_preparing_the_OSBD.amb" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">7.3</span> <span class="toctext" style="-webkit-user-select: text;">step 3: preparing the OSBD.amb</span></a></li>
132<li class="toclevel-2 tocsection-17" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#step_4:_preparing_the_OSBD.grp" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">7.4</span> <span class="toctext" style="-webkit-user-select: text;">step 4: preparing the OSBD.grp</span></a></li>
133<li class="toclevel-2 tocsection-18" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD#step_5:_everything_else_what.27s_left" style="-webkit-user-select: text;"><span class="tocnumber" style="-webkit-user-select: text;">7.5</span> <span class="toctext" style="-webkit-user-select: text;">step 5: everything else what's left</span></a></li>
134</ul>
135</li>
136</ul>
137</td></tr></tbody></table>
138<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
139</p>
140<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> <i style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">How do I get sounds into Oni?</b></i>
141</dd></dl>
142<p style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">In order to make your sounds available on both sides - pc and mac - you need to create them twice (one time from a wav source and another time from an aif/aifc/afc source).</b>
143</p><p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
144</p>
145<h2 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=1" title="Edit section: Source file creation" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="Source_file_creation" style="-webkit-user-select: text;">Source file creation</span></h2>
146<p style="-webkit-user-select: text;">These are the properties of the source files you want to create.
147</p>
148<table class="wikitable" style="width: 100%; -webkit-user-select: text;">
149<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
150<th style="-webkit-user-select: text;"> PC retail
151</th>
152<th style="-webkit-user-select: text;"> MAC
153</th></tr>
154<tr style="-webkit-user-select: text;">
155<td style="vertical-align: top; width: 50%; -webkit-user-select: text;">
156<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> .wav
157</dd><dd style="-webkit-user-select: text;"> 22.05KHz (mono / stereo) or 44.1KHz (mono)
158</dd><dd style="-webkit-user-select: text;"> 16-bit uncompressed (PCM) or compressed (MS-ADPCM)
159</dd></dl>
160</td>
161<td style="vertical-align: top; -webkit-user-select: text;">
162<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> .aif / .aifc / .afc
163</dd><dd style="-webkit-user-select: text;"> 22.05KHz (mono / stereo)
164</dd><dd style="-webkit-user-select: text;"> compressed (ima4)
165</dd></dl>
166</td></tr></tbody></table>
167<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
168To create suitable files you could use audacity and its ffmpeg Export Library.
169</p>
170<table class="wikitable" style="width: 100%; -webkit-user-select: text;">
171<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
172<th style="width: 33%; -webkit-user-select: text;">
173</th>
174<th style="-webkit-user-select: text;">PC version
175</th>
176<th style="-webkit-user-select: text;">Mac version
177</th></tr>
178<tr style="-webkit-user-select: text;">
179<td style="width: 33%; -webkit-user-select: text;">audacity
180</td>
181<td style="-webkit-user-select: text;"><a rel="nofollow" class="external text" href="http://audacity.sourceforge.net/download/beta_windows#recdown" style="-webkit-user-select: text;">link</a>
182</td>
183<td style="-webkit-user-select: text;"><a rel="nofollow" class="external text" href="http://audacity.sourceforge.net/download/beta_mac#recdown" style="-webkit-user-select: text;">link</a>
184</td></tr>
185<tr style="-webkit-user-select: text;">
186<td style="-webkit-user-select: text;">ffmpeg Export Library
187</td>
188<td style="-webkit-user-select: text;"><a rel="nofollow" class="external text" href="http://manual.audacityteam.org/index.php?title=FAQ:Installation_and_Plug-Ins#installffmpeg" style="-webkit-user-select: text;">link</a>
189</td>
190<td style="-webkit-user-select: text;"><a rel="nofollow" class="external text" href="http://manual.audacityteam.org/index.php?title=FAQ:Installation_and_Plug-Ins#installffmpeg" style="-webkit-user-select: text;">link</a>
191</td></tr>
192<tr style="-webkit-user-select: text;">
193<td style="-webkit-user-select: text;">mirror links
194</td>
195<td style="-webkit-user-select: text;"><a rel="nofollow" class="external text" href="http://dl.dropbox.com/u/139715/OniGalore/audacity%2BFFmpeg_library_for_PC.zip" style="-webkit-user-select: text;">audacity (1.3 beta) + library</a>
196</td>
197<td style="-webkit-user-select: text;"><a rel="nofollow" class="external text" href="http://dl.dropbox.com/u/139715/OniGalore/audacity%2BFFmpeg_library_for_MAC.zip" style="-webkit-user-select: text;">audacity (1.3 beta) + library</a>
198</td></tr>
199<tr style="-webkit-user-select: text;">
200<td style="vertical-align: top; -webkit-user-select: text;">installation
201</td>
202<td colspan="2" style="-webkit-user-select: text;">After you installed Audacity and the library goto <b style="-webkit-user-select: text;">Edit &gt; Preferences... &gt; Libraries</b> - click on Locate... button and find the installed library file.
203</td></tr>
204<tr style="-webkit-user-select: text;">
205<td style="vertical-align: top; -webkit-user-select: text;">source file creation
206</td>
207<td style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">wav</b> for PC oni file
208<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
209Open your sound file then goto File &gt; Export... &gt; Save As: <i style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">yourfile.<font color="#CC0000" style="-webkit-user-select: text;">wav</font></b></i>; Format: Custom FFmpeg Export; Options... &gt; wav; <b style="-webkit-user-select: text;">pcm_s16le</b>; Sample Rate: 22050; OK and save the file<br style="-webkit-user-select: text;">(adpcm_ms doesn't work with Audacity 1.3 Beta)
210</p><p style="-webkit-user-select: text;"><a rel="nofollow" class="external text hoverZoomLink" href="http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/Audacity_wav.png" style="-webkit-user-select: text;"><img src="./XMLSNDD_files/Audacity_wav_tn.png" alt="Audacity_wav_tn.png" style="-webkit-user-select: text;"></a>
211</p>
212</td>
213<td style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">aif</b> for Mac oni file
214<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
215Open your sound file then goto File &gt; Export... &gt; Save As: <i style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">yourfile.<font color="#CC0000" style="-webkit-user-select: text;">aif</font></b></i>; Format: Custom FFmpeg Export; Options... &gt; aiff; adpcm_ima_qt; Sample Rate: 22050; OK and save the file
216</p><p style="-webkit-user-select: text;"><a rel="nofollow" class="external text hoverZoomLink" href="http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/Audacity.png" style="-webkit-user-select: text;"><img src="./XMLSNDD_files/Audacity_tn.png" alt="Audacity_tn.png" style="-webkit-user-select: text;"></a>
217</p>
218</td></tr></tbody></table>
219<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
220</p>
221<h2 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=2" title="Edit section: Oni file creation" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="Oni_file_creation" style="-webkit-user-select: text;">Oni file creation</span></h2>
222<h3 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=3" title="Edit section: via Vago" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="via_Vago" style="-webkit-user-select: text;">via Vago</span></h3>
223<p style="-webkit-user-select: text;">Installation:
224</p>
225<ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> Oni/AE/<a href="http://wiki.oni2.net/Anniversary_Edition/Installer#Tools" title="Anniversary Edition/Installer" style="-webkit-user-select: text;">AEInstaller2.exe &gt; Tools &gt; Manage Tools</a>
226</li></ul>
227<p style="-webkit-user-select: text;">Usage: Oni/AE/Tools/VagoGUI/<a href="http://wiki.oni2.net/Vago_(tool)" title="Vago (tool)" style="-webkit-user-select: text;">Vago.exe</a>
228</p>
229<ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> Target Platform: choose the desired mode
230</li><li style="-webkit-user-select: text;"> Tools &gt; Sound Wizard
231</li></ul>
232<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
233</p>
234<h3 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=4" title="Edit section: via batch file" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="via_batch_file" style="-webkit-user-select: text;">via batch file</span></h3>
235<p style="-webkit-user-select: text;">Get them <a rel="nofollow" class="external text" href="http://dl.dropbox.com/u/139715/OniGalore/sound_creation_via_batch_files.zip" style="-webkit-user-select: text;">HERE</a>, includes a short readme.
236</p><p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
237</p>
238<h3 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=5" title="Edit section: via command line" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="via_command_line" style="-webkit-user-select: text;">via command line</span></h3>
239<p style="-webkit-user-select: text;">For those who want to do it on their own.
240</p><p style="-webkit-user-select: text;">onisplit
241</p>
242<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> -create output_directory_<b style="-webkit-user-select: text;">MAC</b> input_directory/<b style="-webkit-user-select: text;">*.aif</b>
243</dd><dd style="-webkit-user-select: text;"> -create output_directory_<b style="-webkit-user-select: text;">PC</b> input_directory/<b style="-webkit-user-select: text;">*.wav</b>
244</dd><dd style="-webkit-user-select: text;"> -create output_directory input_directory/*.xml
245</dd></dl>
246<p style="-webkit-user-select: text;">For fast xml text changes and naming give them all <i style="-webkit-user-select: text;">yourfile</i> as name if you have only one sound:
247</p>
248<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">SNDD</font>yourfile<font color="#AAAAAA" style="-webkit-user-select: text;">.oni</font>
249</dd><dd style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">OSBD</font>yourfile<font color="#AAAAAA" style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">.grp</b>.oni</font>
250</dd><dd style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">OSBD</font>yourfile<font color="#AAAAAA" style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">.amb</b>.oni</font>
251</dd></dl>
252<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
253</p>
254<h2 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=6" title="Edit section: OSBD information" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="OSBD_information" style="-webkit-user-select: text;">OSBD information</span></h2>
255<p style="-webkit-user-select: text;">OSBD files are stored globally (in level0_Final).
256</p><p style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">when use what</b>
257</p>
258<ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> OSBD*.<b style="-webkit-user-select: text;">amb</b>
259<ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> music (call OSBD from BSL)
260</li><li style="-webkit-user-select: text;"> sound dialogs (call OSBD from BSL)
261</li><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:BINA/PAR3" title="XML:BINA/PAR3" style="-webkit-user-select: text;">BINA3RAP</a> &lt;AmbientSound&gt; (action type)
262</li><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:SNDD#BINACJBOSound.xml" style="-webkit-user-select: text;">BINACJBOSound.xml</a> (area-fixed sounds)
263</li><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:TRIG" title="XML:TRIG" style="-webkit-user-select: text;">TRIG</a> &lt;ActiveSound&gt;
264</li><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:TURR" title="XML:TURR" style="-webkit-user-select: text;">TURR</a> &lt;ActiveSound&gt;
265</li></ul>
266</li></ul>
267<ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> OSBD*.<b style="-webkit-user-select: text;">imp</b>
268<ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:BINA/PAR3" title="XML:BINA/PAR3" style="-webkit-user-select: text;">BINA3RAP</a> &lt;FlyBySoundName&gt; and &lt;ImpulseSound&gt; (action type)
269</li><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:BINA/ONIE" title="XML:BINA/ONIE" style="-webkit-user-select: text;">BINA/ONIE</a> &lt;Sound&gt;&lt;Name&gt;
270</li><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:BINA/SABD" title="XML:BINA/SABD" style="-webkit-user-select: text;">BINADBAS</a> &lt;Sound&gt;
271</li><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:ONCC" title="XML:ONCC" style="-webkit-user-select: text;">ONCC</a> hurt sounds (also indirectly with chr_pain) and &lt;SoundConstants&gt;
272</li><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:ONWC" title="XML:ONWC" style="-webkit-user-select: text;">ONWC</a> &lt;EmptyWeaponSound&gt;
273</li><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:TRAM" title="XML:TRAM" style="-webkit-user-select: text;">TRAM</a> &lt;Sound&gt;&lt;Name&gt;
274</li><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:TRIG" title="XML:TRIG" style="-webkit-user-select: text;">TRIG</a> &lt;TriggerSound&gt;
275</li></ul>
276</li></ul>
277<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
278<b style="-webkit-user-select: text;">details on music</b>
279</p>
280<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> OSBD_newmusic.amb.oni (The main file, links to the group, intro and ending files)
281</dd><dd style="-webkit-user-select: text;"> OSBD_newmusic.grp.oni (Contain links to the music files)
282</dd><dd style="-webkit-user-select: text;"> OSBD_newmusic_in.grp.oni (Links to intro part of the music - Optional)
283</dd><dd style="-webkit-user-select: text;"> OSBD_newmusic_out.grp.oni (Links to the ending of the music - Optional)
284</dd><dd style="-webkit-user-select: text;"> SNDD_newmusic1.oni (The individual music files - Its best to break up the music into segments of perhaps 30 secs to a minute each - Oni may crash or become sluggish if you use a single file for the music -- EdT) (What are the limits? --<a href="http://wiki.oni2.net/User:Paradox-01" title="User:Paradox-01" style="-webkit-user-select: text;">Paradox-01</a>)
285</dd></dl>
286<p style="-webkit-user-select: text;">Music parts between intro and outro are played in a random order.
287</p><p style="-webkit-user-select: text;">Why would Bungie have wanted random parts? A fair guess can be made with the songs' purpose: giving fights more <i style="-webkit-user-select: text;">atmosphere</i>. But every player finishes the enemies in a different time: one wins in 2 minutes, the other in 6 minutes, etc. So 1) modular parts seem perfect to delay the outro part when it's necessary and 2) a random order adds more variety (making the loop less boring).
288</p><p style="-webkit-user-select: text;">grp files have a &lt;Weight&gt; tag under &lt;Permutation&gt;. <a href="http://en.wikipedia.org/wiki/Permutation" class="extiw" title="wikipedia:Permutation" style="-webkit-user-select: text;">Permutation</a> should have something to do how music parts get repeated. However, it's not clear what influence &lt;Weight&gt; has on the repetitions. Is it like TRAC's &lt;Weight&gt; used for probability?
289</p>
290<h3 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=7" title="Edit section: OSBDfile.imp.xml" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="OSBDfile.imp.xml" style="-webkit-user-select: text;">OSBDfile.imp.xml</span></h3>
291<p style="-webkit-user-select: text;">What is an impulse? Looking at the XML it seems unique in its spacial features: &lt;Volume&gt;&lt;Angle&gt; / &lt;Volume&gt;&lt;MinAttenuation&gt; / &lt;ImpactVelocity&gt; / &lt;MinOcclusion&gt;
292</p><p style="-webkit-user-select: text;">Hypothesis:
293</p>
294<ol style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> Impulses are preferably used by moving sources.
295</li><li style="-webkit-user-select: text;"> They cannot be stopped by BSL once triggered to play.
296</li><li style="-webkit-user-select: text;"> AI can hear them
297</li><li style="-webkit-user-select: text;"> Minimum and maximum volume angle seems to be always 360 degrees. Maybe artifact properties since sound should propagate through space in all directions and area of effect is mostly made by their volume distance.
298</li><li style="-webkit-user-select: text;"> File structure is always the same.
299</li></ol>
300<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
301</p>
302<table class="wikitable" style="width: 100%; -webkit-user-select: text;">
303<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
304<td style="width: 120px; -webkit-user-select: text;"> <b style="-webkit-user-select: text;">tag</b>
305</td>
306<td style="width: 100px; -webkit-user-select: text;"> <b style="-webkit-user-select: text;">type</b>
307</td>
308<td style="-webkit-user-select: text;"> <b style="-webkit-user-select: text;">description</b>
309</td></tr>
310<tr style="-webkit-user-select: text;">
311<td style="-webkit-user-select: text;"> &lt;ImpulseSound&gt;
312</td>
313<td style="-webkit-user-select: text;"> -
314</td>
315<td style="-webkit-user-select: text;">
316</td></tr>
317<tr style="-webkit-user-select: text;">
318<td style="-webkit-user-select: text;"> &lt;Group&gt;
319</td>
320<td style="-webkit-user-select: text;"> char[32]
321</td>
322<td style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">OSBD</font>name<font color="#AAAAAA" style="-webkit-user-select: text;">.grp.oni</font>, file prefix and suffix aren't used
323</td></tr>
324<tr style="-webkit-user-select: text;">
325<td style="vertical-align: top; -webkit-user-select: text;"> &lt;Priority&gt;
326</td>
327<td style="vertical-align: top; -webkit-user-select: text;"> flag
328</td>
329<td style="-webkit-user-select: text;"> When are these different flags used?
330<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> Low (default impact related? (ONIE concrete) + shell (ammunition)?)
331</dd><dd style="-webkit-user-select: text;"> Normal (AI, animation and impact related?)
332</dd><dd style="-webkit-user-select: text;"> High (OSBDtrigger_hit.imp.xml only?)
333</dd><dd style="-webkit-user-select: text;"> Highest (OSBDkonoko_gruesome_death.imp.xml only?)
334</dd></dl>
335</td></tr>
336<tr style="-webkit-user-select: text;">
337<td style="-webkit-user-select: text;"> &lt;Volume&gt;
338</td>
339<td style="-webkit-user-select: text;"> -
340</td>
341<td style="-webkit-user-select: text;">
342</td></tr>
343<tr style="-webkit-user-select: text;">
344<td style="-webkit-user-select: text;"> &lt;Distance&gt;
345</td>
346<td style="-webkit-user-select: text;"> -
347</td>
348<td style="-webkit-user-select: text;">
349</td></tr>
350<tr style="-webkit-user-select: text;">
351<td style="-webkit-user-select: text;"> &lt;Min&gt;
352</td>
353<td style="-webkit-user-select: text;"> float
354</td>
355<td style="-webkit-user-select: text;"> between min radius (distance) and sound origin the sound volume is equally strong
356</td></tr>
357<tr style="-webkit-user-select: text;">
358<td style="-webkit-user-select: text;"> &lt;Max&gt;
359</td>
360<td style="-webkit-user-select: text;"> float
361</td>
362<td style="-webkit-user-select: text;"> between max and min radius (distance) there's a transition of the sound volume, greater distance than max makes the sound unhearable
363</td></tr>
364<tr style="-webkit-user-select: text;">
365<td style="-webkit-user-select: text;"> &lt;Angle&gt;
366</td>
367<td style="-webkit-user-select: text;"> -
368</td>
369<td style="-webkit-user-select: text;"> Space angle? Does this work like the &lt;Distance&gt; tag?
370</td></tr>
371<tr style="-webkit-user-select: text;">
372<td style="-webkit-user-select: text;"> &lt;Min&gt;
373</td>
374<td style="-webkit-user-select: text;"> -
375</td>
376<td style="-webkit-user-select: text;">
377</td></tr>
378<tr style="-webkit-user-select: text;">
379<td style="-webkit-user-select: text;"> &lt;Max&gt;
380</td>
381<td style="-webkit-user-select: text;"> -
382</td>
383<td style="-webkit-user-select: text;">
384</td></tr>
385<tr style="-webkit-user-select: text;">
386<td style="-webkit-user-select: text;"> &lt;AlternateImpulse&gt;
387</td>
388<td style="-webkit-user-select: text;"> -
389</td>
390<td style="-webkit-user-select: text;">
391</td></tr>
392<tr style="-webkit-user-select: text;">
393<td style="-webkit-user-select: text;"> &lt;Treshold&gt;
394</td>
395<td style="-webkit-user-select: text;"> int32
396</td>
397<td style="-webkit-user-select: text;">
398</td></tr>
399<tr style="-webkit-user-select: text;">
400<td style="-webkit-user-select: text;"> &lt;Impulse&gt;
401</td>
402<td style="-webkit-user-select: text;"> char[32]
403</td>
404<td style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">OSBD</font>name<font color="#AAAAAA" style="-webkit-user-select: text;">.imp.oni</font>, file prefix and suffix aren't used
405</td></tr>
406<tr style="-webkit-user-select: text;">
407<td style="-webkit-user-select: text;"> &lt;ImpactVelocity&gt;
408</td>
409<td style="-webkit-user-select: text;"> float
410</td>
411<td style="-webkit-user-select: text;">
412</td></tr>
413<tr style="-webkit-user-select: text;">
414<td style="-webkit-user-select: text;"> &lt;MinOcclusion&gt;
415</td>
416<td style="-webkit-user-select: text;"> float
417</td>
418<td style="-webkit-user-select: text;">
419</td></tr></tbody></table>
420<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
421</p>
422<h3 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=8" title="Edit section: OSBDfile.amb.xml" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="OSBDfile.amb.xml" style="-webkit-user-select: text;">OSBDfile.amb.xml</span></h3>
423<p style="-webkit-user-select: text;">In case you want to create a simple sound file you can basically copy the code and change the red marked stuff in the examples.
424</p>
425<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> OSBDfile.grp.xml, OSBDfile.amb.xml, BINACJBOSound.xml are showing the code from the <a rel="nofollow" class="external text" href="http://mods.oni2.net/node/177" style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">nyan cat mod</b></a>.
426</dd></dl>
427<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
428</p>
429<table class="wikitable" style="width: 100%; -webkit-user-select: text;">
430<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
431<td style="width: 120px; -webkit-user-select: text;"> <b style="-webkit-user-select: text;">tag</b>
432</td>
433<td style="width: 100px; -webkit-user-select: text;"> <b style="-webkit-user-select: text;">type</b>
434</td>
435<td style="-webkit-user-select: text;"> <b style="-webkit-user-select: text;">description</b>
436</td></tr>
437<tr style="-webkit-user-select: text;">
438<td style="-webkit-user-select: text;"> &lt;AmbientSound&gt;
439</td>
440<td style="-webkit-user-select: text;"> -
441</td>
442<td style="-webkit-user-select: text;">
443</td></tr>
444<tr style="-webkit-user-select: text;">
445<td style="vertical-align: top; -webkit-user-select: text;"> &lt;Priority&gt;
446</td>
447<td style="vertical-align: top; -webkit-user-select: text;"> flag
448</td>
449<td style="-webkit-user-select: text;">
450<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> Low
451</dd><dd style="-webkit-user-select: text;"> Normal
452</dd><dd style="-webkit-user-select: text;"> High
453</dd><dd style="-webkit-user-select: text;"> Highest
454</dd></dl>
455</td></tr>
456<tr style="-webkit-user-select: text;">
457<td style="vertical-align: top; -webkit-user-select: text;"> &lt;Flags&gt;
458</td>
459<td style="vertical-align: top; -webkit-user-select: text;"> flag
460</td>
461<td style="-webkit-user-select: text;">
462<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> InterruptTracksOnStop - this flag must be set if you want to use BSL command <i style="-webkit-user-select: text;">sound_music_stop</i>
463</dd><dd style="-webkit-user-select: text;"> PlayOnce
464</dd><dd style="-webkit-user-select: text;"> CanPan
465</dd></dl>
466</td></tr>
467<tr style="-webkit-user-select: text;">
468<td style="-webkit-user-select: text;"> &lt;DetailTrackProperties&gt;
469</td>
470<td style="-webkit-user-select: text;"> -
471</td>
472<td style="-webkit-user-select: text;">
473</td></tr>
474<tr style="-webkit-user-select: text;">
475<td style="-webkit-user-select: text;"> &lt;SphereRadius&gt;
476</td>
477<td style="-webkit-user-select: text;"> float
478</td>
479<td style="-webkit-user-select: text;">
480</td></tr>
481<tr style="-webkit-user-select: text;">
482<td style="-webkit-user-select: text;"> &lt;ElapsedTime&gt;
483</td>
484<td style="-webkit-user-select: text;"> -
485</td>
486<td style="-webkit-user-select: text;">
487</td></tr>
488<tr style="-webkit-user-select: text;">
489<td style="-webkit-user-select: text;"> &lt;Min&gt;
490</td>
491<td style="-webkit-user-select: text;"> float
492</td>
493<td style="-webkit-user-select: text;">
494</td></tr>
495<tr style="-webkit-user-select: text;">
496<td style="-webkit-user-select: text;"> &lt;Max&gt;
497</td>
498<td style="-webkit-user-select: text;"> float
499</td>
500<td style="-webkit-user-select: text;">
501</td></tr>
502<tr style="-webkit-user-select: text;">
503<td style="-webkit-user-select: text;"> &lt;Volume&gt;
504</td>
505<td style="-webkit-user-select: text;"> -
506</td>
507<td style="-webkit-user-select: text;">
508</td></tr>
509<tr style="-webkit-user-select: text;">
510<td style="-webkit-user-select: text;"> &lt;Distance&gt;
511</td>
512<td style="-webkit-user-select: text;"> -
513</td>
514<td style="-webkit-user-select: text;">
515</td></tr>
516<tr style="-webkit-user-select: text;">
517<td style="-webkit-user-select: text;"> &lt;Min&gt;
518</td>
519<td style="-webkit-user-select: text;"> float
520</td>
521<td style="-webkit-user-select: text;">
522</td></tr>
523<tr style="-webkit-user-select: text;">
524<td style="-webkit-user-select: text;"> &lt;Max&gt;
525</td>
526<td style="-webkit-user-select: text;"> float
527</td>
528<td style="-webkit-user-select: text;">
529</td></tr>
530<tr style="-webkit-user-select: text;">
531<td style="-webkit-user-select: text;"> &lt;DetailTrack&gt;
532</td>
533<td style="-webkit-user-select: text;"> char[32]
534</td>
535<td style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">OSBD</font>name<font color="#AAAAAA" style="-webkit-user-select: text;">.grp.oni</font>, file prefix and suffix aren't used
536</td></tr>
537<tr style="-webkit-user-select: text;">
538<td style="-webkit-user-select: text;"> <b style="-webkit-user-select: text;">&lt;BaseTrack1&gt;</b>
539</td>
540<td style="-webkit-user-select: text;"> char[32]
541</td>
542<td style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">OSBD</font>name<font color="#AAAAAA" style="-webkit-user-select: text;">.grp.oni</font>, file prefix and suffix aren't used
543</td></tr>
544<tr style="-webkit-user-select: text;">
545<td style="-webkit-user-select: text;"> &lt;BaseTrack2&gt;
546</td>
547<td style="-webkit-user-select: text;"> char[32]
548</td>
549<td style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">OSBD</font>name<font color="#AAAAAA" style="-webkit-user-select: text;">.grp.oni</font>, file prefix and suffix aren't used
550</td></tr>
551<tr style="-webkit-user-select: text;">
552<td style="-webkit-user-select: text;"> &lt;InSound&gt;
553</td>
554<td style="-webkit-user-select: text;"> char[32]
555</td>
556<td style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">OSBD</font>name<font color="#AAAAAA" style="-webkit-user-select: text;">.grp.oni</font>, file prefix and suffix aren't used
557</td></tr>
558<tr style="-webkit-user-select: text;">
559<td style="-webkit-user-select: text;"> &lt;OutSound&gt;
560</td>
561<td style="-webkit-user-select: text;"> char[32]
562</td>
563<td style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">OSBD</font>name<font color="#AAAAAA" style="-webkit-user-select: text;">.grp.oni</font>, file prefix and suffix aren't used
564</td></tr>
565<tr style="-webkit-user-select: text;">
566<td style="-webkit-user-select: text;"> &lt;Treshold&gt;
567</td>
568<td style="-webkit-user-select: text;"> int32
569</td>
570<td style="-webkit-user-select: text;">
571</td></tr>
572<tr style="-webkit-user-select: text;">
573<td style="-webkit-user-select: text;"> &lt;MinOcclusion&gt;
574</td>
575<td style="-webkit-user-select: text;"> float
576</td>
577<td style="-webkit-user-select: text;">
578</td></tr></tbody></table>
579<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
580An example:
581</p>
582<pre style="-webkit-user-select: text;">&lt;?xml version="1.0" encoding="utf-8"?&gt;
583&lt;Oni&gt;
584 &lt;AmbientSound&gt;
585 &lt;Priority&gt;Normal&lt;/Priority&gt;
586 &lt;Flags&gt;InterruptTracksOnStop&lt;/Flags&gt;
587 &lt;DetailTrackProperties&gt;
588 &lt;SphereRadius&gt;10&lt;/SphereRadius&gt;
589 &lt;ElapsedTime&gt;
590 &lt;Min&gt;0&lt;/Min&gt;
591 &lt;Max&gt;0&lt;/Max&gt;
592 &lt;/ElapsedTime&gt;
593 &lt;/DetailTrackProperties&gt;
594 &lt;Volume&gt;
595 &lt;Distance&gt;
596 &lt;Min&gt;10&lt;/Min&gt;
597 &lt;Max&gt;50&lt;/Max&gt;
598 &lt;/Distance&gt;
599 &lt;/Volume&gt;
600 &lt;DetailTrack&gt;&lt;/DetailTrack&gt;
601 <b style="-webkit-user-select: text;">&lt;BaseTrack1&gt;<font color="#FF0000" style="-webkit-user-select: text;">nyan</font>&lt;/BaseTrack1&gt;</b>
602 &lt;BaseTrack2&gt;&lt;/BaseTrack2&gt;
603 &lt;InSound&gt;&lt;/InSound&gt;
604 &lt;OutSound&gt;&lt;/OutSound&gt;
605 &lt;Treshold&gt;3&lt;/Treshold&gt;
606 &lt;MinOcclusion&gt;0&lt;/MinOcclusion&gt;
607 &lt;/AmbientSound&gt;
608&lt;/Oni&gt;
609</pre>
610<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
611</p>
612<h3 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=9" title="Edit section: OSBDfile.grp.xml" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="OSBDfile.grp.xml" style="-webkit-user-select: text;">OSBDfile.grp.xml</span></h3>
613<table class="wikitable" style="width: 100%; -webkit-user-select: text;">
614<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
615<td style="width: 120px; -webkit-user-select: text;"> <b style="-webkit-user-select: text;">tag</b>
616</td>
617<td style="width: 100px; -webkit-user-select: text;"> <b style="-webkit-user-select: text;">type</b>
618</td>
619<td style="-webkit-user-select: text;"> <b style="-webkit-user-select: text;">description</b>
620</td></tr>
621<tr style="-webkit-user-select: text;">
622<td style="-webkit-user-select: text;"> &lt;SoundGroup&gt;
623</td>
624<td style="-webkit-user-select: text;"> -
625</td>
626<td style="-webkit-user-select: text;">
627</td></tr>
628<tr style="-webkit-user-select: text;">
629<td style="-webkit-user-select: text;"> &lt;Volume&gt;
630</td>
631<td style="-webkit-user-select: text;"> float
632</td>
633<td style="-webkit-user-select: text;">
634</td></tr>
635<tr style="-webkit-user-select: text;">
636<td style="-webkit-user-select: text;"> &lt;Pitch&gt;
637</td>
638<td style="-webkit-user-select: text;"> float
639</td>
640<td style="-webkit-user-select: text;">
641</td></tr>
642<tr style="-webkit-user-select: text;">
643<td style="-webkit-user-select: text;"> &lt;Flags&gt;
644</td>
645<td style="-webkit-user-select: text;"> flag
646</td>
647<td style="-webkit-user-select: text;"> PreventRepeat - forces to play different sounds if there are more than one permutations
648</td></tr>
649<tr style="-webkit-user-select: text;">
650<td style="vertical-align: top; -webkit-user-select: text;"> &lt;NumberOfChannels&gt;
651</td>
652<td style="vertical-align: top; -webkit-user-select: text;"> int32
653</td>
654<td style="-webkit-user-select: text;"> Here you tell Oni if your sound file is mono or stereo. Windows' 44.1 kHz is an exception.
655<table class="wikitable" style="width: 100%; -webkit-user-select: text;">
656<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
657<th style="-webkit-user-select: text;">
658</th>
659<th style="-webkit-user-select: text;"> 22.05 kHz, mono
660</th>
661<th style="-webkit-user-select: text;"> 22.05 kHz, stereo
662</th>
663<th style="-webkit-user-select: text;"> 44.1 kHz, mono <b style="-webkit-user-select: text;">(PC-only)</b>
664</th></tr>
665<tr style="-webkit-user-select: text;">
666<td style="text-align: center; -webkit-user-select: text;"> NumberOfChannels
667</td>
668<td style="text-align: center; -webkit-user-select: text;"> 1
669</td>
670<td style="text-align: center; -webkit-user-select: text;"> 2
671</td>
672<td style="text-align: center; -webkit-user-select: text;"> <b style="-webkit-user-select: text;">2</b>
673</td></tr></tbody></table>
674<dl style="-webkit-user-select: text;"><dt style="-webkit-user-select: text;">consequences of wrong imports</dt><dd style="-webkit-user-select: text;">
675</dd><dd style="-webkit-user-select: text;"> if grp's &lt;NumberOfChannels&gt; is 1 and sound file is 22.05 kHz, stereo then the sound won't get played
676</dd><dd style="-webkit-user-select: text;"> if grp's &lt;NumberOfChannels&gt; is 1 and sound file is 44.1 kHz, mono then the sound will play distorted
677</dd></dl>
678</td></tr>
679<tr style="-webkit-user-select: text;">
680<td style="-webkit-user-select: text;"> &lt;Permutations&gt;
681</td>
682<td style="-webkit-user-select: text;"> -
683</td>
684<td style="-webkit-user-select: text;"> int32 array for the &lt;Permutation&gt; tags.
685</td></tr>
686<tr style="-webkit-user-select: text;">
687<td style="-webkit-user-select: text;"> &lt;Permutation&gt;
688</td>
689<td style="-webkit-user-select: text;"> -
690</td>
691<td style="-webkit-user-select: text;">
692</td></tr>
693<tr style="-webkit-user-select: text;">
694<td style="-webkit-user-select: text;"> &lt;Weight&gt;
695</td>
696<td style="-webkit-user-select: text;"> int32
697</td>
698<td style="-webkit-user-select: text;">
699</td></tr>
700<tr style="-webkit-user-select: text;">
701<td style="-webkit-user-select: text;"> &lt;Volume&gt;
702</td>
703<td style="-webkit-user-select: text;"> -
704</td>
705<td style="-webkit-user-select: text;">
706</td></tr>
707<tr style="-webkit-user-select: text;">
708<td style="-webkit-user-select: text;"> &lt;Min&gt;
709</td>
710<td style="-webkit-user-select: text;"> float
711</td>
712<td style="-webkit-user-select: text;">
713</td></tr>
714<tr style="-webkit-user-select: text;">
715<td style="-webkit-user-select: text;"> &lt;Max&gt;
716</td>
717<td style="-webkit-user-select: text;"> float
718</td>
719<td style="-webkit-user-select: text;">
720</td></tr>
721<tr style="-webkit-user-select: text;">
722<td style="-webkit-user-select: text;"> &lt;Pitch&gt;
723</td>
724<td style="-webkit-user-select: text;"> -
725</td>
726<td style="-webkit-user-select: text;">
727</td></tr>
728<tr style="-webkit-user-select: text;">
729<td style="-webkit-user-select: text;"> &lt;Min&gt;
730</td>
731<td style="-webkit-user-select: text;"> float
732</td>
733<td style="-webkit-user-select: text;">
734</td></tr>
735<tr style="-webkit-user-select: text;">
736<td style="-webkit-user-select: text;"> &lt;Max&gt;
737</td>
738<td style="-webkit-user-select: text;"> float
739</td>
740<td style="-webkit-user-select: text;">
741</td></tr>
742<tr style="-webkit-user-select: text;">
743<td style="-webkit-user-select: text;"> &lt;Sound&gt;
744</td>
745<td style="-webkit-user-select: text;"> char[32]
746</td>
747<td style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">SNDD</font>name<font color="#AAAAAA" style="-webkit-user-select: text;">.oni</font>, file prefix and suffix aren't used
748</td></tr></tbody></table>
749<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
750An example:
751</p>
752<pre style="-webkit-user-select: text;">&lt;?xml version="1.0" encoding="utf-8"?&gt;
753&lt;Oni&gt;
754 &lt;SoundGroup&gt;
755 &lt;Volume&gt;1&lt;/Volume&gt;
756 &lt;Pitch&gt;1&lt;/Pitch&gt;
757 &lt;Flags&gt;PreventRepeat&lt;/Flags&gt;
758 &lt;NumberOfChannels&gt;2&lt;/NumberOfChannels&gt;
759 &lt;Permutations&gt;
760 &lt;Permutation&gt;
761 &lt;Weight&gt;10&lt;/Weight&gt;
762 &lt;Volume&gt;
763 &lt;Min&gt;1&lt;/Min&gt;
764 &lt;Max&gt;1&lt;/Max&gt;
765 &lt;/Volume&gt;
766 &lt;Pitch&gt;
767 &lt;Min&gt;1&lt;/Min&gt;
768 &lt;Max&gt;1&lt;/Max&gt;
769 &lt;/Pitch&gt;
770 <b style="-webkit-user-select: text;">&lt;Sound&gt;<font color="#FF0000" style="-webkit-user-select: text;">nyan</font>&lt;/Sound&gt;</b>
771 &lt;/Permutation&gt;
772 &lt;/Permutations&gt;
773 &lt;/SoundGroup&gt;
774&lt;/Oni&gt;
775</pre>
776<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
777</p>
778<h2 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=10" title="Edit section: BINACJBOSound.xml" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="BINACJBOSound.xml" style="-webkit-user-select: text;">BINACJBOSound.xml</span></h2>
779<p style="-webkit-user-select: text;">This is for area-fixed sounds.
780</p><p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
781</p>
782<table class="wikitable" style="width: 100%; -webkit-user-select: text;">
783<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
784<td style="width: 120px; -webkit-user-select: text;"> <b style="-webkit-user-select: text;">tag</b>
785</td>
786<td style="width: 100px; -webkit-user-select: text;"> <b style="-webkit-user-select: text;">type</b>
787</td>
788<td style="-webkit-user-select: text;"> <b style="-webkit-user-select: text;">description</b>
789</td></tr>
790<tr style="-webkit-user-select: text;">
791<td style="-webkit-user-select: text;"> &lt;Objects&gt;
792</td>
793<td style="-webkit-user-select: text;"> -
794</td>
795<td style="-webkit-user-select: text;"> This tag marks the file as BINACJBO.
796</td></tr>
797<tr style="-webkit-user-select: text;">
798<td style="-webkit-user-select: text;"> &lt;SNDG Id="..."&gt;
799</td>
800<td style="-webkit-user-select: text;"> integer
801</td>
802<td style="-webkit-user-select: text;"> This tag marks the file as a sound list. ID doesn't matter at import time.
803</td></tr>
804<tr style="-webkit-user-select: text;">
805<td style="-webkit-user-select: text;"> &lt;Header&gt;
806</td>
807<td style="-webkit-user-select: text;"> -
808</td>
809<td style="-webkit-user-select: text;">
810</td></tr>
811<tr style="-webkit-user-select: text;">
812<td style="vertical-align: top; -webkit-user-select: text;"> &lt;Flags&gt;
813</td>
814<td style="vertical-align: top; -webkit-user-select: text;"> flag
815</td>
816<td style="-webkit-user-select: text;"> Ignore it. Those flags were used in the past.
817<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> None
818</dd><dd style="-webkit-user-select: text;"> Locked
819</dd><dd style="-webkit-user-select: text;"> PlacedInGame
820</dd><dd style="-webkit-user-select: text;"> Temporary
821</dd><dd style="-webkit-user-select: text;"> Gunk
822</dd></dl>
823</td></tr>
824<tr style="-webkit-user-select: text;">
825<td style="-webkit-user-select: text;"> &lt;Position&gt;
826</td>
827<td style="-webkit-user-select: text;"> float x3
828</td>
829<td style="-webkit-user-select: text;"> here you tell Oni where you want the sound to be <a href="http://wiki.oni2.net/OBD_talk:BINA/OBJC" title="OBD talk:BINA/OBJC" style="-webkit-user-select: text;">located</a>
830</td></tr>
831<tr style="-webkit-user-select: text;">
832<td style="-webkit-user-select: text;"> &lt;Rotation&gt;
833</td>
834<td style="-webkit-user-select: text;"> float x3
835</td>
836<td style="-webkit-user-select: text;"> Not really important.
837</td></tr>
838<tr style="-webkit-user-select: text;">
839<td style="-webkit-user-select: text;"> &lt;OSD&gt;
840</td>
841<td style="-webkit-user-select: text;"> -
842</td>
843<td style="-webkit-user-select: text;">
844</td></tr>
845<tr style="-webkit-user-select: text;">
846<td style="-webkit-user-select: text;"> &lt;Class&gt;
847</td>
848<td style="-webkit-user-select: text;"> char[32]
849</td>
850<td style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">SNDD</font>name<font color="#AAAAAA" style="-webkit-user-select: text;">.amb.oni</font>, file prefix and suffix aren't used
851</td></tr>
852<tr style="-webkit-user-select: text;">
853<td style="-webkit-user-select: text;"> &lt;Sphere&gt;
854</td>
855<td style="-webkit-user-select: text;"> -
856</td>
857<td style="-webkit-user-select: text;">
858</td></tr>
859<tr style="-webkit-user-select: text;">
860<td style="-webkit-user-select: text;"> &lt;MinRadius&gt;
861</td>
862<td style="-webkit-user-select: text;"> float
863</td>
864<td style="-webkit-user-select: text;"> between min radius and sound origin (&lt;Position&gt;) the sound volume is equally strong
865</td></tr>
866<tr style="-webkit-user-select: text;">
867<td style="-webkit-user-select: text;"> &lt;MaxRadius&gt;
868</td>
869<td style="-webkit-user-select: text;"> float
870</td>
871<td style="-webkit-user-select: text;"> between max and min radius there is a transition of the sound volume, greater distance than max makes the sound unhearable
872</td></tr>
873<tr style="-webkit-user-select: text;">
874<td style="-webkit-user-select: text;"> &lt;Box&gt;
875</td>
876<td style="-webkit-user-select: text;"> -
877</td>
878<td style="-webkit-user-select: text;"> alternative to &lt;Sphere&gt;
879</td></tr>
880<tr style="-webkit-user-select: text;">
881<td style="-webkit-user-select: text;"> &lt;Min&gt;
882</td>
883<td style="-webkit-user-select: text;"> float x3
884</td>
885<td style="-webkit-user-select: text;"> X1 Y1 Z1
886</td></tr>
887<tr style="-webkit-user-select: text;">
888<td style="-webkit-user-select: text;"> &lt;Max&gt;
889</td>
890<td style="-webkit-user-select: text;"> float x3
891</td>
892<td style="-webkit-user-select: text;"> X2 Y2 Z2
893</td></tr></tbody></table>
894<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
895An example:
896</p>
897<pre style="-webkit-user-select: text;"> &lt;SNDG Id="8805"&gt;
898 &lt;Header&gt;
899 &lt;Flags&gt;&lt;/Flags&gt;
900 <b style="-webkit-user-select: text;">&lt;Position&gt;<font color="#FF0000" style="-webkit-user-select: text;">125 10 2231</font>&lt;/Position&gt;</b>
901 &lt;Rotation&gt;0 0 0&lt;/Rotation&gt;
902 &lt;/Header&gt;
903 &lt;OSD&gt;
904 <b style="-webkit-user-select: text;">&lt;Class&gt;<font color="#FF0000" style="-webkit-user-select: text;">nyan</font>&lt;/Class&gt;</b>
905 &lt;Sphere&gt;
906 &lt;MinRadius&gt;7&lt;/MinRadius&gt;
907 &lt;MaxRadius&gt;21&lt;/MaxRadius&gt;
908 &lt;/Sphere&gt;
909 &lt;Volume&gt;0.75&lt;/Volume&gt;
910 &lt;Pitch&gt;1&lt;/Pitch&gt;
911 &lt;/OSD&gt;
912 &lt;/SNDG&gt;
913</pre>
914<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
915</p>
916<h2 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=11" title="Edit section: sound-related BSL commands" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="sound-related_BSL_commands" style="-webkit-user-select: text;">sound-related BSL commands</span></h2>
917<ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/BSL:Functions#sound" title="BSL:Functions" style="-webkit-user-select: text;">on this wiki</a>
918</li><li style="-webkit-user-select: text;"> <a rel="nofollow" class="external text" href="http://ssg.oni2.net/commands.htm#sound" style="-webkit-user-select: text;">on ssg's website</a>
919</li></ul>
920<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
921sound_music_stop <i style="-webkit-user-select: text;">soundtrack</i> - can only be used if .amb file has the InterruptTracksOnStop flag<br style="-webkit-user-select: text;">
922sound_music_stop <i style="-webkit-user-select: text;">soundtrack</i> 1 - soundtrack stop after 1 second while it gets quieter
923</p><p style="-webkit-user-select: text;">You need a custom function if you want to fade out a soundtrack over more than one seconds. It could look like this:
924</p>
925<pre style="-webkit-user-select: text;">var float x = 1;
926var int y = 0;
927
928# don't test this function with the console, it could happen that the function stops working after 4 cycles
929func fade_music
930{
931 # if statement with float values doesn't seem to work therefore the int y
932 y = y + 1
933 x = x - .01
934 sound_music_volume (soundtrack, x)
935 sleep 10
936 if (y eq 99)
937 {
938 # dmsg "stop music"
939 sound_music_stop soundtrack
940 }
941 if (y &lt; 99)
942 {
943 fork fade_music
944 }
945}
946</pre>
947<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
948</p><p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
949</p>
950<h2 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=12" title="Edit section: OCF thread about new music" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="OCF_thread_about_new_music" style="-webkit-user-select: text;"><a rel="nofollow" class="external text" href="http://oni.bungie.org/community/forum/viewtopic.php?id=798" style="-webkit-user-select: text;">OCF thread about new music</a></span></h2>
951<h2 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=13" title="Edit section: How to register sounds to characters" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="How_to_register_sounds_to_characters" style="-webkit-user-select: text;">How to register sounds to characters</span></h2>
952<p style="-webkit-user-select: text;">... such as sounds of heavy attacks and taunts.
953</p><p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
954<b style="-webkit-user-select: text;">Let's see how sounds become picked up:</b><br style="-webkit-user-select: text;">Schemata:
955</p>
956<dl style="-webkit-user-select: text;"><dd style="-webkit-user-select: text;"> TRAM -&gt; ONCC -&gt; OSBD.amb -&gt; OSBD.grp -&gt; SNDD
957</dd></dl>
958<p style="-webkit-user-select: text;">Explanation:
959</p>
960<ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> The character performs a move / attack whereby the TRAM file holds a sound ID (&lt;Vocalization&gt;).
961</li><li style="-webkit-user-select: text;"> A link (OSBD.amb name) in ONCC file becomes looked up based on the sound ID.<br style="-webkit-user-select: text;">Note that the ONCC file has also a probability value that decides whether a sound becomes played or not.
962</li><li style="-webkit-user-select: text;"> The game engine looks into OSBD.amb and follows the link into OSBD.grp.
963</li><li style="-webkit-user-select: text;"> <b style="-webkit-user-select: text;">OSBD.grp can hold multiple links to SNDD files.</b> That's why Konoko can have multiple taunt sounds.
964</li></ul>
965<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
966</p>
967<h3 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=14" title="Edit section: step 1: preparing the TRAM" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="step_1:_preparing_the_TRAM" style="-webkit-user-select: text;">step 1: preparing the TRAM</span></h3>
968<p style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">Search for &lt;Vocalization&gt; in the TRAM file</b> and give it an ID according to the following table.
969</p><p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
970</p>
971<table class="wikitable" style="width: 100%; -webkit-user-select: text;">
972<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
973<th colspan="2" style="-webkit-user-select: text;"> TRAM &lt;Vocalization&gt; IDs refer to these ONCC SoundConstants tags
974</th></tr>
975<tr style="-webkit-user-select: text;">
976<td style="width: 30px; -webkit-user-select: text;"> ID
977</td>
978<td style="-webkit-user-select: text;"> link to ...
979</td></tr>
980<tr style="-webkit-user-select: text;">
981<td style="-webkit-user-select: text;"> 0
982</td>
983<td style="-webkit-user-select: text;"> &lt;TauntProbability&gt; - <b style="-webkit-user-select: text;">taunt(s)</b>
984</td></tr>
985<tr style="-webkit-user-select: text;">
986<td style="-webkit-user-select: text;"> 1
987</td>
988<td style="-webkit-user-select: text;"> &lt;AlertProbability&gt; - AI being surprised by a sound
989</td></tr>
990<tr style="-webkit-user-select: text;">
991<td style="-webkit-user-select: text;"> 2
992</td>
993<td style="-webkit-user-select: text;"> &lt;StartleProbability&gt; - AI being surprised by an enemy
994</td></tr>
995<tr style="-webkit-user-select: text;">
996<td style="-webkit-user-select: text;"> 3
997</td>
998<td style="-webkit-user-select: text;"> &lt;CheckBodyProbability&gt; - (AI only?) death taunt (when enemy / player dies)
999</td></tr>
1000<tr style="-webkit-user-select: text;">
1001<td style="-webkit-user-select: text;"> 4
1002</td>
1003<td style="-webkit-user-select: text;"> &lt;PursueProbability&gt; - sound when character lost track of enemy
1004</td></tr>
1005<tr style="-webkit-user-select: text;">
1006<td style="-webkit-user-select: text;"> 5
1007</td>
1008<td style="-webkit-user-select: text;"> &lt;CoverProbability&gt; - being afraid (E.g. "Dont't hurt me.")
1009</td></tr>
1010<tr style="-webkit-user-select: text;">
1011<td style="-webkit-user-select: text;"> 6
1012</td>
1013<td style="-webkit-user-select: text;"> &lt;SuperPunchSound&gt; - <b style="-webkit-user-select: text;">sound of ######punch_heavy.oni</b>, super punches don't have sound IDs
1014</td></tr>
1015<tr style="-webkit-user-select: text;">
1016<td style="-webkit-user-select: text;"> 7
1017</td>
1018<td style="-webkit-user-select: text;"> &lt;SuperKickSound&gt; - <b style="-webkit-user-select: text;">sound of ######kick_heavy.oni</b>, super kicks don't have sound IDs
1019</td></tr>
1020<tr style="-webkit-user-select: text;">
1021<td style="-webkit-user-select: text;"> 8
1022</td>
1023<td style="-webkit-user-select: text;"> &lt;Super3Sound&gt; - AI specialty, Mukade use it for his devil star attack (TRAMNINCOMfireball)
1024</td></tr>
1025<tr style="-webkit-user-select: text;">
1026<td style="-webkit-user-select: text;"> <font color="#777777" style="-webkit-user-select: text;">9</font>
1027</td>
1028<td style="-webkit-user-select: text;"> <font color="#777777" style="-webkit-user-select: text;">&lt;Super4Sound&gt; - unused</font>
1029</td></tr></tbody></table>
1030<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
1031</p>
1032<h3 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=15" title="Edit section: step 2: preparing the ONCC" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="step_2:_preparing_the_ONCC" style="-webkit-user-select: text;">step 2: preparing the ONCC</span></h3>
1033<p style="-webkit-user-select: text;">Search for &lt;SoundConstants&gt; and set a value between 0 and 100. 100 will make the engine play a sound always the taunt animation is played.
1034</p><p style="-webkit-user-select: text;">Let's compare with Konoko (and in the following steps especially the with her taunt files.)
1035In ONCCkonoko_generic.xml it looks like this:
1036</p>
1037<pre style="-webkit-user-select: text;"> &lt;SoundConstants&gt;
1038 &lt;TauntProbability&gt;100&lt;/TauntProbability&gt;
1039 &lt;AlertProbability&gt;0&lt;/AlertProbability&gt;
1040 &lt;StartleProbability&gt;0&lt;/StartleProbability&gt;
1041 &lt;CheckBodyProbability&gt;0&lt;/CheckBodyProbability&gt;
1042 &lt;PursueProbability&gt;0&lt;/PursueProbability&gt;
1043 &lt;CoverProbability&gt;0&lt;/CoverProbability&gt;
1044 &lt;SuperPunchProbability&gt;100&lt;/SuperPunchProbability&gt;
1045 &lt;SuperKickProbability&gt;100&lt;/SuperKickProbability&gt;
1046 &lt;Super3Probability&gt;0&lt;/Super3Probability&gt;
1047 &lt;Super4Probability&gt;0&lt;/Super4Probability&gt;
1048 &lt;TauntSound&gt;c17_99_28konoko&lt;/TauntSound&gt;
1049 &lt;AlertSound&gt;&lt;/AlertSound&gt;
1050 &lt;StartleSound&gt;&lt;/StartleSound&gt;
1051 &lt;CheckBodySound&gt;&lt;/CheckBodySound&gt;
1052 &lt;PursueSound&gt;&lt;/PursueSound&gt;
1053 &lt;CoverSound&gt;&lt;/CoverSound&gt;
1054 &lt;SuperPunchSound&gt;c18_79_14konoko&lt;/SuperPunchSound&gt;
1055 &lt;SuperKickSound&gt;c18_79_15konoko&lt;/SuperKickSound&gt;
1056 &lt;Super3Sound&gt;&lt;/Super3Sound&gt;
1057 &lt;Super4Sound&gt;&lt;/Super4Sound&gt;
1058 &lt;/SoundConstants&gt;
1059</pre>
1060<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
1061</p>
1062<h3 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=16" title="Edit section: step 3: preparing the OSBD.amb" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="step_3:_preparing_the_OSBD.amb" style="-webkit-user-select: text;">step 3: preparing the OSBD.amb</span></h3>
1063<p style="-webkit-user-select: text;">You basically need such a file...
1064</p><p style="-webkit-user-select: text;">Do you see the &lt;BaseTrack1&gt; tag? In this case it holds the link <font color="#AAAAAA" style="-webkit-user-select: text;">OSBD</font>c17_99_28konoko<font color="#AAAAAA" style="-webkit-user-select: text;">.grp.oni</font>.
1065</p><p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
1066</p>
1067<pre style="-webkit-user-select: text;">&lt;?xml version="1.0" encoding="utf-8"?&gt;
1068&lt;Oni&gt;
1069 &lt;AmbientSound&gt;
1070 &lt;Priority&gt;Highest&lt;/Priority&gt;
1071 &lt;Flags&gt;InterruptTracksOnStop PlayOnce&lt;/Flags&gt;
1072 &lt;DetailTrackProperties&gt;
1073 &lt;SphereRadius&gt;10&lt;/SphereRadius&gt;
1074 &lt;ElapsedTime&gt;
1075 &lt;Min&gt;0&lt;/Min&gt;
1076 &lt;Max&gt;0&lt;/Max&gt;
1077 &lt;/ElapsedTime&gt;
1078 &lt;/DetailTrackProperties&gt;
1079 &lt;Volume&gt;
1080 &lt;Distance&gt;
1081 &lt;Min&gt;10&lt;/Min&gt;
1082 &lt;Max&gt;50&lt;/Max&gt;
1083 &lt;/Distance&gt;
1084 &lt;/Volume&gt;
1085 &lt;DetailTrack&gt;&lt;/DetailTrack&gt;
1086 &lt;BaseTrack1&gt;c17_99_28konoko&lt;/BaseTrack1&gt;
1087 &lt;BaseTrack2&gt;&lt;/BaseTrack2&gt;
1088 &lt;InSound&gt;&lt;/InSound&gt;
1089 &lt;OutSound&gt;&lt;/OutSound&gt;
1090 &lt;Treshold&gt;3&lt;/Treshold&gt;
1091 &lt;MinOcclusion&gt;0&lt;/MinOcclusion&gt;
1092 &lt;/AmbientSound&gt;
1093&lt;/Oni&gt;
1094</pre>
1095<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
1096</p>
1097<h3 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=17" title="Edit section: step 4: preparing the OSBD.grp" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="step_4:_preparing_the_OSBD.grp" style="-webkit-user-select: text;">step 4: preparing the OSBD.grp</span></h3>
1098<p style="-webkit-user-select: text;">Since &lt;NumberOfChannels&gt; is only once presented all the SNDD files must have the same number of channels.
1099</p>
1100<table class="wikitable" style="width: 100%; -webkit-user-select: text;">
1101<tbody style="-webkit-user-select: text;"><tr style="-webkit-user-select: text;">
1102<th style="-webkit-user-select: text;">
1103</th>
1104<th style="-webkit-user-select: text;"> 22.05 kHz, mono
1105</th>
1106<th style="-webkit-user-select: text;"> 22.05 kHz, stereo
1107</th>
1108<th style="-webkit-user-select: text;"> 44.1 kHz, mono <b style="-webkit-user-select: text;">(PC-only)</b>
1109</th></tr>
1110<tr style="-webkit-user-select: text;">
1111<td style="text-align: center; -webkit-user-select: text;"> NumberOfChannels
1112</td>
1113<td style="text-align: center; -webkit-user-select: text;"> 1
1114</td>
1115<td style="text-align: center; -webkit-user-select: text;"> 2
1116</td>
1117<td style="text-align: center; -webkit-user-select: text;"> <b style="-webkit-user-select: text;">2</b>
1118</td></tr></tbody></table>
1119<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
1120(It's possible to speed up sounds with &lt;Pitch&gt;. E.g. Fury's taunt is speeded up by 1.14 to <i style="-webkit-user-select: text;">brighten</i> the voice. But in most cases you probably want to keep it as "1".)
1121</p>
1122<pre style="-webkit-user-select: text;">&lt;?xml version="1.0" encoding="utf-8"?&gt;
1123&lt;Oni&gt;
1124 &lt;SoundGroup&gt;
1125 &lt;Volume&gt;1&lt;/Volume&gt;
1126 &lt;Pitch&gt;1&lt;/Pitch&gt;
1127 &lt;Flags&gt;PreventRepeat&lt;/Flags&gt;
1128 &lt;NumberOfChannels&gt;1&lt;/NumberOfChannels&gt;
1129 &lt;Permutations&gt;
1130 &lt;Permutation&gt;
1131 &lt;Weight&gt;10&lt;/Weight&gt;
1132 &lt;Volume&gt;
1133 &lt;Min&gt;1&lt;/Min&gt;
1134 &lt;Max&gt;1&lt;/Max&gt;
1135 &lt;/Volume&gt;
1136 &lt;Pitch&gt;
1137 &lt;Min&gt;1&lt;/Min&gt;
1138 &lt;Max&gt;1&lt;/Max&gt;
1139 &lt;/Pitch&gt;
1140 &lt;Sound&gt;c17_99_28konoko.aif&lt;/Sound&gt;
1141 &lt;/Permutation&gt;
1142 &lt;Permutation&gt;
1143 &lt;Weight&gt;10&lt;/Weight&gt;
1144 &lt;Volume&gt;
1145 &lt;Min&gt;1&lt;/Min&gt;
1146 &lt;Max&gt;1&lt;/Max&gt;
1147 &lt;/Volume&gt;
1148 &lt;Pitch&gt;
1149 &lt;Min&gt;1&lt;/Min&gt;
1150 &lt;Max&gt;1&lt;/Max&gt;
1151 &lt;/Pitch&gt;
1152 &lt;Sound&gt;c17_99_29konoko.aif&lt;/Sound&gt;
1153 &lt;/Permutation&gt;
1154 <i style="-webkit-user-select: text;"><b style="-webkit-user-select: text;">[...]</b></i>
1155 &lt;/Permutations&gt;
1156 &lt;/SoundGroup&gt;
1157&lt;/Oni&gt;
1158</pre>
1159<p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
1160As you can see
1161</p>
1162<ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">SNDD</font>c17_99_28konoko.aif<font color="#AAAAAA" style="-webkit-user-select: text;">.oni</font> ("You're gonna get beat(en) by a girl!")
1163</li><li style="-webkit-user-select: text;"> <font color="#AAAAAA" style="-webkit-user-select: text;">SNDD</font>c17_99_29konoko.aif<font color="#AAAAAA" style="-webkit-user-select: text;">.oni</font> ("Ready to lose?") (You can play sounds with (PC) onisplit GUI or (Mac) AETools.
1164</li><li style="-webkit-user-select: text;"> <i style="-webkit-user-select: text;">[...]</i>
1165</li></ul>
1166<p style="-webkit-user-select: text;">are used for Konoko. ("aif" is here part of the name, don't get bothered by it.)
1167This file is the magic why Konoko has multiple sounds through one and the same taunt animation.
1168</p><p style="-webkit-user-select: text;"><br style="-webkit-user-select: text;">
1169</p>
1170<h3 style="-webkit-user-select: text;"><span class="editsection" style="-webkit-user-select: text;">[<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit&amp;section=18" title="Edit section: step 5: everything else what&#39;s left" style="-webkit-user-select: text;">edit</a>]</span> <span class="mw-headline" id="step_5:_everything_else_what.27s_left" style="-webkit-user-select: text;">step 5: everything else what's left</span></h3>
1171<ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"> <a href="http://wiki.oni2.net/XML:SNDD#Source_file_creation" style="-webkit-user-select: text;">create your SNDD</a> if you haven't yet
1172</li><li style="-webkit-user-select: text;"> put your files into a package
1173</li><li style="-webkit-user-select: text;"> test your stuff in-game
1174</li></ul>
1175
1176<!--
1177NewPP limit report
1178Preprocessor node count: 150/1000000
1179Post-expand include size: 1992/2097152 bytes
1180Template argument size: 223/2097152 bytes
1181Expensive parser function count: 0/100
1182-->
1183
1184<!-- Saved in parser cache with key oni_wiki:pcache:idhash:4759-0!*!0!!en!2!* and timestamp 20161012211450 -->
1185</div> <!-- /bodycontent -->
1186 <!-- printfooter -->
1187 <div class="printfooter" style="-webkit-user-select: text;">
1188 Retrieved from "<a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;oldid=25591" style="-webkit-user-select: text;">http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;oldid=25591</a>" </div>
1189 <!-- /printfooter -->
1190 <!-- catlinks -->
1191 <div id="catlinks" class="catlinks" style="-webkit-user-select: text;"><div id="mw-normal-catlinks" class="mw-normal-catlinks" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Special:Categories" title="Special:Categories" style="-webkit-user-select: text;">Categories</a>: <ul style="-webkit-user-select: text;"><li style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Category:Articles_that_need_finishing" title="Category:Articles that need finishing" style="-webkit-user-select: text;">Articles that need finishing</a></li><li style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Category:XML_data_docs" title="Category:XML data docs" style="-webkit-user-select: text;">XML data docs</a></li></ul></div></div> <!-- /catlinks -->
1192 <div class="visualClear" style="-webkit-user-select: text;"></div>
1193 <!-- debughtml -->
1194 <!-- /debughtml -->
1195 </div>
1196 <!-- /bodyContent -->
1197 </div>
1198 <!-- /content -->
1199 <!-- header -->
1200 <div id="mw-head" class="noprint" style="-webkit-user-select: text;">
1201
1202<!-- 0 -->
1203<div id="p-personal" class="" style="-webkit-user-select: text;">
1204 <h5 style="-webkit-user-select: text;">Personal tools</h5>
1205 <ul style="-webkit-user-select: text;">
1206 <li id="pt-userpage" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/User:Script_10k" title="Your user page [alt-shift-.]" accesskey="." style="-webkit-user-select: text;">Script 10k</a></li>
1207 <li id="pt-mytalk" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/User_talk:Script_10k" title="Your talk page [alt-shift-n]" accesskey="n" style="-webkit-user-select: text;">My talk</a></li>
1208 <li id="pt-preferences" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Special:Preferences" title="Your preferences" style="-webkit-user-select: text;">My preferences</a></li>
1209 <li id="pt-watchlist" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Special:Watchlist" title="A list of pages you are monitoring for changes [alt-shift-l]" accesskey="l" style="-webkit-user-select: text;">My watchlist</a></li>
1210 <li id="pt-mycontris" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Special:Contributions/Script_10k" title="A list of your contributions [alt-shift-y]" accesskey="y" style="-webkit-user-select: text;">My contributions</a></li>
1211 <li id="pt-logout" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/w/index.php?title=Special:UserLogout&amp;returnto=XML%3ASNDD" title="Log out" style="-webkit-user-select: text;">Log out</a></li>
1212 </ul>
1213</div>
1214
1215<!-- /0 -->
1216 <div id="left-navigation" style="-webkit-user-select: text;">
1217
1218<!-- 0 -->
1219<div id="p-namespaces" class="vectorTabs" style="-webkit-user-select: text;">
1220 <h5 style="-webkit-user-select: text;">Namespaces</h5>
1221 <ul style="-webkit-user-select: text;">
1222 <li id="ca-nstab-xml" class="selected" style="-webkit-user-select: text;"><span style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD" style="-webkit-user-select: text;">XML</a></span></li>
1223 <li id="ca-talk" class="new" style="-webkit-user-select: text;"><span style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/w/index.php?title=XML_talk:SNDD&amp;action=edit&amp;redlink=1" title="Discussion about the content page [alt-shift-t]" accesskey="t" style="-webkit-user-select: text;">Discussion</a></span></li>
1224 </ul>
1225</div>
1226
1227<!-- /0 -->
1228
1229<!-- 1 -->
1230<div id="p-variants" class="vectorMenu emptyPortlet" style="-webkit-user-select: text;">
1231 <h4 style="-webkit-user-select: text;">
1232 </h4>
1233 <h5 style="-webkit-user-select: text;"><span style="-webkit-user-select: text;">Variants</span><a href="http://wiki.oni2.net/XML:SNDD#" style="-webkit-user-select: text;"></a></h5>
1234 <div class="menu" style="-webkit-user-select: text;">
1235 <ul style="-webkit-user-select: text;">
1236 </ul>
1237 </div>
1238</div>
1239
1240<!-- /1 -->
1241 </div>
1242 <div id="right-navigation" style="-webkit-user-select: text;">
1243
1244<!-- 0 -->
1245<div id="p-views" class="vectorTabs" style="-webkit-user-select: text;">
1246 <h5 style="-webkit-user-select: text;">Views</h5>
1247 <ul style="-webkit-user-select: text;">
1248 <li id="ca-view" class="selected" style="-webkit-user-select: text;"><span style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/XML:SNDD" style="-webkit-user-select: text;">Read</a></span></li>
1249 <li id="ca-edit" style="-webkit-user-select: text;"><span style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=edit" title="You can edit this page. Please use the preview button before saving [alt-shift-e]" accesskey="e" style="-webkit-user-select: text;">Edit</a></span></li>
1250 <li id="ca-history" class="collapsible" style="-webkit-user-select: text;"><span style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=history" title="Past revisions of this page [alt-shift-h]" accesskey="h" style="-webkit-user-select: text;">View history</a></span></li>
1251 </ul>
1252</div>
1253
1254<!-- /0 -->
1255
1256<!-- 1 -->
1257<div id="p-cactions" class="vectorMenu" style="-webkit-user-select: text;">
1258 <h5 style="-webkit-user-select: text;"><span style="-webkit-user-select: text;">Actions</span><a href="http://wiki.oni2.net/XML:SNDD#" style="-webkit-user-select: text;"></a></h5>
1259 <div class="menu" style="-webkit-user-select: text;">
1260 <ul style="-webkit-user-select: text;">
1261 <li id="ca-move" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Special:MovePage/XML:SNDD" title="Move this page [alt-shift-m]" accesskey="m" style="-webkit-user-select: text;">Move</a></li>
1262 <li id="ca-watch" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;action=watch&amp;token=72ba62e3c6513b05dacc7f86045d9346%2B%5C" title="Add this page to your watchlist [alt-shift-w]" accesskey="w" style="-webkit-user-select: text;">Watch</a></li>
1263 </ul>
1264 </div>
1265</div>
1266
1267<!-- /1 -->
1268
1269<!-- 2 -->
1270<div id="p-search" style="-webkit-user-select: text;">
1271 <h5 style="-webkit-user-select: text;"><label for="searchInput" style="-webkit-user-select: text;">Search</label></h5>
1272 <form action="http://wiki.oni2.net/w/index.php" id="searchform" style="-webkit-user-select: text;">
1273 <div style="-webkit-user-select: text;">
1274 <input type="search" name="search" title="Search OniGalore [alt-shift-f]" accesskey="f" id="searchInput" style="-webkit-user-select: text;" autocomplete="off"> <input type="submit" name="go" value="Go" title="Go to a page with this exact name if exists" id="searchGoButton" class="searchButton" style="-webkit-user-select: text;"> <input type="submit" name="fulltext" value="Search" title="Search the pages for this text" id="mw-searchButton" class="searchButton" style="-webkit-user-select: text;"> <input type="hidden" name="title" value="Special:Search" style="-webkit-user-select: text;">
1275 </div>
1276 </form>
1277</div>
1278
1279<!-- /2 -->
1280 </div>
1281 </div>
1282 <!-- /header -->
1283 <!-- panel -->
1284 <div id="mw-panel" class="noprint" style="-webkit-user-select: text;">
1285 <!-- logo -->
1286 <div id="p-logo" style="-webkit-user-select: text;"><a style="background-image: url(&quot;/w/wiki.png&quot;); -webkit-user-select: text;" href="http://wiki.oni2.net/Main_Page" title="Visit the main page"></a></div>
1287 <!-- /logo -->
1288
1289<!-- navigation -->
1290<div class="portal" id="p-navigation" style="-webkit-user-select: text;">
1291 <h5 style="-webkit-user-select: text;">Navigation</h5>
1292 <div class="body" style="-webkit-user-select: text;">
1293 <ul style="-webkit-user-select: text;">
1294 <li id="n-mainpage" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Main_Page" title="Visit the main page [alt-shift-z]" accesskey="z" style="-webkit-user-select: text;">Main Page</a></li>
1295 <li id="n-Site-Map" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Site_Map" style="-webkit-user-select: text;">Site Map</a></li>
1296 <li id="n-portal" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/OniGalore:Community_portal" title="About the project, what you can do, where to find things" style="-webkit-user-select: text;">Community portal</a></li>
1297 <li id="n-currentevents" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/OniGalore:Current_events" title="Find background information on current events" style="-webkit-user-select: text;">Current events</a></li>
1298 <li id="n-recentchanges" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Special:RecentChanges" title="A list of recent changes in the wiki [alt-shift-r]" accesskey="r" style="-webkit-user-select: text;">Recent changes</a></li>
1299 <li id="n-randompage" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Special:Random" title="Load a random page [alt-shift-x]" accesskey="x" style="-webkit-user-select: text;">Random page</a></li>
1300 <li id="n-help" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Help:Contents" title="Learn about the wiki!" style="-webkit-user-select: text;">Help</a></li>
1301 </ul>
1302 </div>
1303</div>
1304
1305<!-- /navigation -->
1306
1307<!-- SEARCH -->
1308
1309<!-- /SEARCH -->
1310
1311<!-- TOOLBOX -->
1312<div class="portal" id="p-tb" style="-webkit-user-select: text;">
1313 <h5 style="-webkit-user-select: text;">Toolbox</h5>
1314 <div class="body" style="-webkit-user-select: text;">
1315 <ul style="-webkit-user-select: text;">
1316 <li id="t-whatlinkshere" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Special:WhatLinksHere/XML:SNDD" title="A list of all wiki pages that link here [alt-shift-j]" accesskey="j" style="-webkit-user-select: text;">What links here</a></li>
1317 <li id="t-recentchangeslinked" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Special:RecentChangesLinked/XML:SNDD" title="Recent changes in pages linked from this page [alt-shift-k]" accesskey="k" style="-webkit-user-select: text;">Related changes</a></li>
1318 <li id="t-upload" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Special:Upload" title="Upload files [alt-shift-u]" accesskey="u" style="-webkit-user-select: text;">Upload file</a></li>
1319 <li id="t-specialpages" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/Special:SpecialPages" title="A list of all special pages [alt-shift-q]" accesskey="q" style="-webkit-user-select: text;">Special pages</a></li>
1320 <li style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;printable=yes" rel="alternate" style="-webkit-user-select: text;">Printable version</a></li>
1321 <li id="t-permalink" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/w/index.php?title=XML:SNDD&amp;oldid=25591" title="Permanent link to this revision of the page" style="-webkit-user-select: text;">Permanent link</a></li>
1322 </ul>
1323 </div>
1324</div>
1325
1326<!-- /TOOLBOX -->
1327
1328<!-- LANGUAGES -->
1329
1330<!-- /LANGUAGES -->
1331 </div>
1332 <!-- /panel -->
1333 <!-- footer -->
1334 <div id="footer" style="-webkit-user-select: text;">
1335 <ul id="footer-info" style="-webkit-user-select: text;">
1336 <li id="footer-info-lastmod" style="-webkit-user-select: text;"> This page was last modified on 22 September 2016, at 21:40.</li>
1337 <li id="footer-info-viewcount" style="-webkit-user-select: text;">This page has been accessed 4,701 times.</li>
1338 <li id="footer-info-copyright" style="-webkit-user-select: text;">Content is available under <a class="external" href="http://www.gnu.org/copyleft/fdl.html" style="-webkit-user-select: text;">GNU Free Documentation License 1.2</a>.</li>
1339 </ul>
1340 <ul id="footer-places" style="-webkit-user-select: text;">
1341 <li id="footer-places-privacy" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/OniGalore:Privacy_policy" title="OniGalore:Privacy policy" style="-webkit-user-select: text;">Privacy policy</a></li>
1342 <li id="footer-places-about" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/OniGalore:About" title="OniGalore:About" style="-webkit-user-select: text;">About OniGalore</a></li>
1343 <li id="footer-places-disclaimer" style="-webkit-user-select: text;"><a href="http://wiki.oni2.net/OniGalore:General_disclaimer" title="OniGalore:General disclaimer" style="-webkit-user-select: text;">Disclaimers</a></li>
1344 </ul>
1345 <ul id="footer-icons" class="noprint" style="-webkit-user-select: text;">
1346 <li id="footer-copyrightico" style="-webkit-user-select: text;">
1347 <a href="http://www.gnu.org/copyleft/fdl.html" style="-webkit-user-select: text;"><img src="./XMLSNDD_files/gnu-fdl.png" alt="GNU Free Documentation License 1.2" width="88" height="31" style="-webkit-user-select: text;"></a>
1348 </li>
1349 <li id="footer-poweredbyico" style="-webkit-user-select: text;">
1350 <a href="http://www.mediawiki.org/" style="-webkit-user-select: text;"><img src="./XMLSNDD_files/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" width="88" height="31" style="-webkit-user-select: text;"></a>
1351 </li>
1352 </ul>
1353 <div style="clear: both; -webkit-user-select: text;"></div>
1354 </div>
1355 <!-- /footer -->
1356 <script src="./XMLSNDD_files/load(5).php" style="-webkit-user-select: text;"></script>
1357<script style="-webkit-user-select: text;">if(window.mw){
1358mw.loader.load(["mediawiki.user","mediawiki.page.ready","mediawiki.action.watch.ajax","mediawiki.legacy.mwsuggest"], null, true);
1359}</script><script src="./XMLSNDD_files/load(6).php" type="text/javascript" style="-webkit-user-select: text;"></script>
1360<script src="./XMLSNDD_files/load(7).php" style="-webkit-user-select: text;"></script>
1361<!-- Served in 0.211 secs. -->
1362
1363
1364<div id="ucss-style"><style>undefined</style></div></body></html>
Note: See TracBrowser for help on using the repository browser.