Q4: Fix links within Wiki

it's more or less usable now!

all images (except for the ones of moinmoin itself) are still missing.

possibly articles are missing as well, haven't checked yet

(and the lost downloads are missing, of course)
This commit is contained in:
Daniel Gibson 2021-04-10 16:00:23 +02:00
parent 361f9d16e5
commit 5a7e5cbe45
162 changed files with 2027 additions and 2027 deletions

File diff suppressed because it is too large Load diff

View file

@ -88,7 +88,7 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./Adding_Fonts_to_use_in_Quake_4_GUIs?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./Adding_Fonts_to_use_in_Quake_4_GUIs?action=print">
<link rel="Appendix" title="guied_ansi.jpg" href="./Adding_Fonts_to_use_in_Quake_4_GUIs?action=AttachFile&amp;do=view&amp;target=guied_ansi.jpg">
@ -96,16 +96,16 @@ function actionsMenuInit(title) {
<link rel="Appendix" title="marine_ansi.zip" href="./Adding_Fonts_to_use_in_Quake_4_GUIs?action=AttachFile&amp;do=view&amp;target=marine_ansi.zip">
<link rel="Appendix" title="marine_symbol.zip" href="./Adding_Fonts_to_use_in_Quake_4_GUIs?action=AttachFile&amp;do=view&amp;target=marine_symbol.zip">
<link rel="Appendix" title="q4font.zip" href="./Adding_Fonts_to_use_in_Quake_4_GUIs?action=AttachFile&amp;do=view&amp;target=q4font.zip">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -143,7 +143,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./Adding_Fonts_to_use_in_Quake_4_GUIs">Adding Font...uake 4 GUIs</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./Adding_Fonts_to_use_in_Quake_4_GUIs.html">Adding Font...uake 4 GUIs</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -192,7 +192,7 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-2"></span>
<h3 id="head-1e72f0b89776bcb319254de7664b13914ebcb2ba">&gt;Download q4font.exe font program</h3>
<span class="anchor" id="line-3"></span><span class="anchor" id="line-4"></span><p class="line867"><a class="attachment" href="./Adding_Fonts_to_use_in_Quake_4_GUIs?action=AttachFile&amp;do=get&amp;target=q4font.zip" title="attachment:q4font.zip">q4font.zip</a> <span class="anchor" id="line-5"></span><span class="anchor" id="line-6"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-7"></span>Quake 4 uses a specific font program to generate the <a href="./Font_Information">font files needed by the GUIs</a>. <span class="anchor" id="line-8"></span><span class="anchor" id="line-9"></span><p class="line874">To generate fonts: <span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span><ul><li>Place q4font.exe in a folder alongside of any *.ttf files you wish to import. <span class="anchor" id="line-12"></span></li><li><p class="line862">From the Start menu, hit Run, type <strong>cmd</strong> and hit ok to start a DOS command prompt. <span class="anchor" id="line-13"></span></li><li><p class="line862">Change to the directory that q4font.exe is in. <a class="http" href="http://en.wikipedia.org/wiki/List_of_DOS_commands">Help on DOS commands</a> <span class="anchor" id="line-14"></span></li><li>Enter commands to export your font: <span class="anchor" id="line-15"></span><span class="anchor" id="line-16"></span></li></ul><p class="line867">
<span class="anchor" id="line-3"></span><span class="anchor" id="line-4"></span><p class="line867"><a class="attachment" href="./Adding_Fonts_to_use_in_Quake_4_GUIs?action=AttachFile&amp;do=get&amp;target=q4font.zip" title="attachment:q4font.zip">q4font.zip</a> <span class="anchor" id="line-5"></span><span class="anchor" id="line-6"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-7"></span>Quake 4 uses a specific font program to generate the <a href="./Font_Information.html">font files needed by the GUIs</a>. <span class="anchor" id="line-8"></span><span class="anchor" id="line-9"></span><p class="line874">To generate fonts: <span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span><ul><li>Place q4font.exe in a folder alongside of any *.ttf files you wish to import. <span class="anchor" id="line-12"></span></li><li><p class="line862">From the Start menu, hit Run, type <strong>cmd</strong> and hit ok to start a DOS command prompt. <span class="anchor" id="line-13"></span></li><li><p class="line862">Change to the directory that q4font.exe is in. <a class="http" href="http://en.wikipedia.org/wiki/List_of_DOS_commands">Help on DOS commands</a> <span class="anchor" id="line-14"></span></li><li>Enter commands to export your font: <span class="anchor" id="line-15"></span><span class="anchor" id="line-16"></span></li></ul><p class="line867">
<h4 id="head-366943dfdbe2acb1428dca98e5c428f24d1669ef">Format:</h4>
<span class="anchor" id="line-17"></span><p class="line867"><span class="anchor" id="line-18"></span><pre>q4font &lt;fontname excluding '.ttf'&gt; -symbol -pointsize &lt;value&gt; -width &lt;value&gt; -height &lt;value&gt;
<span class="anchor" id="line-19"></span></pre><span class="anchor" id="line-20"></span><span class="anchor" id="line-21"></span><p class="line867">
@ -205,8 +205,8 @@ actionsMenuInit('More Actions:');
<h4 id="head-518ae4464f664a3ca325aa9c301bed2e90e6015d">Typical ANSI codepage: Image from Font Lab</h4>
<span class="anchor" id="line-45"></span><span class="anchor" id="line-46"></span><p class="line867"><img class="attachment" src="./Adding_Fonts_to_use_in_Quake_4_GUIs?action=AttachFile&amp;do=get&amp;target=guied_ansi.jpg" title="attachment:guied_ansi.jpg" /> <span class="anchor" id="line-47"></span><span class="anchor" id="line-48"></span><p class="line867">
<h4 id="head-bab1479909dff0bf5780aa5f44e3d7b34c5fde22">Altered Symbol codepage: Image from Font Lab</h4>
<span class="anchor" id="line-49"></span><span class="anchor" id="line-50"></span><p class="line867"><img class="attachment" src="./Adding_Fonts_to_use_in_Quake_4_GUIs?action=AttachFile&amp;do=get&amp;target=guied_symbol.jpg" title="attachment:guied_symbol.jpg" /> <span class="anchor" id="line-51"></span><span class="anchor" id="line-52"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-53"></span>The list of fonts is populated when the <a href="./GUIEditor">GUIEditor</a> is started, so if you add a font you must restart the <a href="./GUIEditor">GUIEditor</a>. Add fonts to the following folder within Quake4: <span class="anchor" id="line-54"></span><span class="anchor" id="line-55"></span><p class="line867"><span class="anchor" id="line-56"></span><pre>../q4base/fonts/
<span class="anchor" id="line-57"></span></pre><span class="anchor" id="line-58"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Adding Fonts to use in Quake 4 GUIs (last edited 2006-04-27 21:26:21 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-49"></span><span class="anchor" id="line-50"></span><p class="line867"><img class="attachment" src="./Adding_Fonts_to_use_in_Quake_4_GUIs?action=AttachFile&amp;do=get&amp;target=guied_symbol.jpg" title="attachment:guied_symbol.jpg" /> <span class="anchor" id="line-51"></span><span class="anchor" id="line-52"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-53"></span>The list of fonts is populated when the <a href="./GUIEditor.html">GUIEditor</a> is started, so if you add a font you must restart the <a href="./GUIEditor.html">GUIEditor</a>. Add fonts to the following folder within Quake4: <span class="anchor" id="line-54"></span><span class="anchor" id="line-55"></span><p class="line867"><span class="anchor" id="line-56"></span><pre>../q4base/fonts/
<span class="anchor" id="line-57"></span></pre><span class="anchor" id="line-58"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Adding Fonts to use in Quake 4 GUIs (last edited 2006-04-27 21:26:21 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./AdvancedScriptTutorial?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./AdvancedScriptTutorial?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./AdvancedScriptTutorial">AdvancedScriptTutorial</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./AdvancedScriptTutorial.html">AdvancedScriptTutorial</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -185,7 +185,7 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867"><img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <strong>UNDER CONSTRUCTION - COMING SOON</strong> <img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <span class="anchor" id="line-2"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">AdvancedScriptTutorial (last edited 2005-11-07 20:27:09 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<span class="anchor" id="line-1"></span><p class="line867"><img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <strong>UNDER CONSTRUCTION - COMING SOON</strong> <img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <span class="anchor" id="line-2"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">AdvancedScriptTutorial (last edited 2005-11-07 20:27:09 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman.html" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,20 +88,20 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./AnimationExamples?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./AnimationExamples?action=print">
<link rel="Appendix" title="animations.zip" href="./AnimationExamples?action=AttachFile&amp;do=view&amp;target=animations.zip">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -139,7 +139,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./AnimationExamples">AnimationExamples</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./AnimationExamples.html">AnimationExamples</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -188,7 +188,7 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867">
<h1 id="head-d7ff72c424282ed8f4075e80f294dd8fcaafeb6f">Quake 4 Animation Examples</h1>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line862">Included in this zip file are the multiplayer rig, animations, and 2 creatures with base animations. Basic information on what you can do with these can be found in the <a href="./Animations">Animations</a> section. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line867"><a class="attachment" href="./AnimationExamples?action=AttachFile&amp;do=get&amp;target=animations.zip" title="attachment:animations.zip">animations.zip</a> <span class="anchor" id="line-6"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">AnimationExamples (last edited 2005-11-07 16:34:40 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line862">Included in this zip file are the multiplayer rig, animations, and 2 creatures with base animations. Basic information on what you can do with these can be found in the <a href="./Animations.html">Animations</a> section. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line867"><a class="attachment" href="./AnimationExamples?action=AttachFile&amp;do=get&amp;target=animations.zip" title="attachment:animations.zip">animations.zip</a> <span class="anchor" id="line-6"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">AnimationExamples (last edited 2005-11-07 16:34:40 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman.html" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./Animations?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./Animations?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink current"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink current"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -253,7 +253,7 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-106"></span>C:\Program Files\Alias\Maya6.0\
<span class="anchor" id="line-107"></span></pre><span class="anchor" id="line-108"></span><p class="line874">When ready to export, access the console and type: <span class="anchor" id="line-109"></span><span class="anchor" id="line-110"></span><pre>exportmodels ai/new_character.def
<span class="anchor" id="line-111"></span></pre><span class="anchor" id="line-112"></span><p class="line874">Be sure to include any subdirectories below the def directory. This command will export any animation or mesh in the export block that has been updated since the last time the models from that .def file were exported. Animations and meshes that havent been updated will be ignored. Using the command reexportmodels will export every animation and mesh within the def file, whether or not they have been updated. <span class="anchor" id="line-113"></span><span class="anchor" id="line-114"></span><p class="line874">Unless specifically defined in the export block, the frame range of the md5anim is pulled from the Time Slider of the source file. However, the engine assumes that every animation begins with frame 1 regardless of where the Time Slider range happens to lie. If the Time Slider starts on frame 10 and ends on frame 20, the .md5anim will start with frame 1 and end with frame 11. Therefore, its a good idea to have every source animation begin at frame 1. <span class="anchor" id="line-115"></span><span class="anchor" id="line-116"></span><p class="line874">To define the range in the export block: <span class="anchor" id="line-117"></span><span class="anchor" id="line-118"></span><pre>anim walk.ma -range 10 20 -dest walk
<span class="anchor" id="line-119"></span></pre><span class="anchor" id="line-120"></span><p class="line874">If there are any errors with the mesh or animations, etc., the engine will list the errors and the export will fail. A common mistake is to make a syntax error in the .def file which will either cause an error on export, or cause a successful export where the character wont actually appear in the game (a simple box shows up in its place). If this occurs, scour the .def file for any misspellings, invalid paths, open braces, etc. Otherwise, if the export is successful, the new .md5s will be available to use in both the game Editor and Modview. <span class="anchor" id="line-121"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Animations (last edited 2005-11-04 17:29:52 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<span class="anchor" id="line-119"></span></pre><span class="anchor" id="line-120"></span><p class="line874">If there are any errors with the mesh or animations, etc., the engine will list the errors and the export will fail. A common mistake is to make a syntax error in the .def file which will either cause an error on export, or cause a successful export where the character wont actually appear in the game (a simple box shows up in its place). If this occurs, scour the .def file for any misspellings, invalid paths, open braces, etc. Otherwise, if the export is successful, the new .md5s will be available to use in both the game Editor and Modview. <span class="anchor" id="line-121"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Animations (last edited 2005-11-04 17:29:52 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman.html" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,22 +88,22 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./ArtExamples?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./ArtExamples?action=print">
<link rel="Appendix" title="Quake_4_Model_Reference.zip" href="./ArtExamples?action=AttachFile&amp;do=view&amp;target=Quake_4_Model_Reference.zip">
<link rel="Appendix" title="Quake_4_Modeling_Parts_Junkyard.zip" href="./ArtExamples?action=AttachFile&amp;do=view&amp;target=Quake_4_Modeling_Parts_Junkyard.zip">
<link rel="Appendix" title="Quake_4_Texture_Reference.zip" href="./ArtExamples?action=AttachFile&amp;do=view&amp;target=Quake_4_Texture_Reference.zip">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -141,7 +141,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./ArtExamples">ArtExamples</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./ArtExamples.html">ArtExamples</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -190,7 +190,7 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867">
<h1 id="head-16febfb5cabf567cd57093cb15e46632eebaa589">Quake 4 Art Examples</h1>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line874">We've included several files that should illustrate how to implement art content in Quake 4. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-6"></span>Included in this .zip file are everything you need to see how two textures from Quake 4 were made. For more information on making textures, check out our <a href="./ArtReference_CreatingTextures">Creating Textures</a> page. <span class="anchor" id="line-7"></span><span class="anchor" id="line-8"></span><p class="line867"><a class="attachment" href="./ArtExamples?action=AttachFile&amp;do=get&amp;target=Quake_4_Texture_Reference.zip" title="attachment:Quake_4_Texture_Reference.zip">Quake_4_Texture_Reference.zip</a> <span class="anchor" id="line-9"></span><span class="anchor" id="line-10"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-11"></span>To see one of the pillar models created for Quake 4, grab this file. For more information on making models, check out our <a href="./ArtReference_CreatingModels">Creating Models</a> page. <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><p class="line867"><a class="attachment" href="./ArtExamples?action=AttachFile&amp;do=get&amp;target=Quake_4_Model_Reference.zip" title="attachment:Quake_4_Model_Reference.zip">Quake_4_Model_Reference.zip</a> <span class="anchor" id="line-14"></span><span class="anchor" id="line-15"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-16"></span>This handy reference file has all of the little bits used to add details to textures, models and creatures. They really help to speed the process up and to unify the look of the game. Use these when you are <a href="./ArtReference_CreatingModels">Creating Models</a> <span class="anchor" id="line-17"></span><span class="anchor" id="line-18"></span><p class="line867"><a class="attachment" href="./ArtExamples?action=AttachFile&amp;do=get&amp;target=Quake_4_Modeling_Parts_Junkyard.zip" title="attachment:Quake_4_Modeling_Parts_Junkyard.zip">Quake_4_Modeling_Parts_Junkyard.zip</a> <span class="anchor" id="line-19"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">ArtExamples (last edited 2005-11-04 22:51:00 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line874">We've included several files that should illustrate how to implement art content in Quake 4. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-6"></span>Included in this .zip file are everything you need to see how two textures from Quake 4 were made. For more information on making textures, check out our <a href="./ArtReference_CreatingTextures.html">Creating Textures</a> page. <span class="anchor" id="line-7"></span><span class="anchor" id="line-8"></span><p class="line867"><a class="attachment" href="./ArtExamples?action=AttachFile&amp;do=get&amp;target=Quake_4_Texture_Reference.zip" title="attachment:Quake_4_Texture_Reference.zip">Quake_4_Texture_Reference.zip</a> <span class="anchor" id="line-9"></span><span class="anchor" id="line-10"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-11"></span>To see one of the pillar models created for Quake 4, grab this file. For more information on making models, check out our <a href="./ArtReference_CreatingModels.html">Creating Models</a> page. <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><p class="line867"><a class="attachment" href="./ArtExamples?action=AttachFile&amp;do=get&amp;target=Quake_4_Model_Reference.zip" title="attachment:Quake_4_Model_Reference.zip">Quake_4_Model_Reference.zip</a> <span class="anchor" id="line-14"></span><span class="anchor" id="line-15"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-16"></span>This handy reference file has all of the little bits used to add details to textures, models and creatures. They really help to speed the process up and to unify the look of the game. Use these when you are <a href="./ArtReference_CreatingModels.html">Creating Models</a> <span class="anchor" id="line-17"></span><span class="anchor" id="line-18"></span><p class="line867"><a class="attachment" href="./ArtExamples?action=AttachFile&amp;do=get&amp;target=Quake_4_Modeling_Parts_Junkyard.zip" title="attachment:Quake_4_Modeling_Parts_Junkyard.zip">Quake_4_Modeling_Parts_Junkyard.zip</a> <span class="anchor" id="line-19"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">ArtExamples (last edited 2005-11-04 22:51:00 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman.html" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./ArtReference?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./ArtReference?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink current"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink current"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -187,7 +187,7 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867">
<h1 id="head-94b0ee3bd45e674e3d360d682dbc689d5158991d">Quake 4 Art Reference</h1>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><ul><li><p class="line891"><a href="./ArtReference_CreatingModels">Creating Models</a> <span class="anchor" id="line-4"></span></li><li><p class="line891"><a href="./ArtReference_SpecularMaps">Specular Maps</a> <span class="anchor" id="line-5"></span></li><li><p class="line891"><a href="./ArtReference_CreatingTextures">Creating Textures</a> <span class="anchor" id="line-6"></span></li><li><p class="line891"><a href="./ArtReference_Q4Shaders">Quake 4 Shaders</a> <span class="anchor" id="line-7"></span></li><li><p class="line891"><a href="./ModView">Using ModView</a> <span class="anchor" id="line-8"></span></li><li><p class="line891"><a href="./ArtReference_playerModels">playerModel Definitions</a> (Q4 1.1+) <span class="anchor" id="line-9"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">ArtReference (last edited 2006-02-22 22:10:41 by <span title="AndrewWeldon @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./AndrewWeldon" title="AndrewWeldon @ 67.129.250.254[67.129.250.254]">AndrewWeldon</a></span>)</p>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><ul><li><p class="line891"><a href="./ArtReference_CreatingModels.html">Creating Models</a> <span class="anchor" id="line-4"></span></li><li><p class="line891"><a href="./ArtReference_SpecularMaps.html">Specular Maps</a> <span class="anchor" id="line-5"></span></li><li><p class="line891"><a href="./ArtReference_CreatingTextures.html">Creating Textures</a> <span class="anchor" id="line-6"></span></li><li><p class="line891"><a href="./ArtReference_Q4Shaders.html">Quake 4 Shaders</a> <span class="anchor" id="line-7"></span></li><li><p class="line891"><a href="./ModView.html">Using ModView</a> <span class="anchor" id="line-8"></span></li><li><p class="line891"><a href="./ArtReference_playerModels.html">playerModel Definitions</a> (Q4 1.1+) <span class="anchor" id="line-9"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">ArtReference (last edited 2006-02-22 22:10:41 by <span title="AndrewWeldon @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./AndrewWeldon.html" title="AndrewWeldon @ 67.129.250.254[67.129.250.254]">AndrewWeldon</a></span>)</p>
<div id="pagebottom"></div>
</div>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./ArtReference_Q4Shaders?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./ArtReference_Q4Shaders?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./ArtReference_Q4Shaders">ArtReference Q4Shaders</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./ArtReference_Q4Shaders.html">ArtReference Q4Shaders</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -187,9 +187,9 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867">
<h2 id="head-1ab58a6e522f9b7804f32a3891adf55af7450010">How to make the Shader System work for you, a basic guide</h2>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line862">In this document, were going to go over basic shader issues and definitions, how to write them as well as what you can and cant do with shaders. Ill be going over mostly basics, i.e.: getting things in game issues. <strong>Materials</strong> are the same as <strong>Shaders</strong>, and the term is used interchangeably throughout the Quake 4 SDK. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line867"><strong>In this document you will find:</strong> <span class="anchor" id="line-6"></span><ul><li><p class="line891"><strong>Section 1</strong>: <a href="./ArtReference_Q4Shaders_Definitions">Definitions</a> <span class="anchor" id="line-7"></span></li><li><p class="line891"><strong>Section 2</strong>: <a href="./ArtReference_Q4Shaders_Textures">How to write a shader for textures (longhand)</a> <span class="anchor" id="line-8"></span></li><li><p class="line891"><strong>Section 3</strong>: <a href="./ArtReference_Q4Shaders_Guides">Texture Guides</a> <span class="anchor" id="line-9"></span></li><li><p class="line891"><strong>Section 4</strong>: <a href="./ArtReference_Q4Shaders_Models">How to write a shader for models</a> <span class="anchor" id="line-10"></span></li><li><p class="line891"><strong>Section 5</strong>: <a href="./ArtReference_Q4Shaders_SkinFiles">.skin files</a> <span class="anchor" id="line-11"></span></li><li><p class="line891"><strong>Section 6</strong>: <a href="./ArtReference_Q4Shaders_Extra_Passes">Extra passes, additive and alpha</a> <span class="anchor" id="line-12"></span></li><li><p class="line891"><strong>Section 7</strong>: <a href="./ArtReference_Q4Shaders_Tables">Modulation with tables</a> <span class="anchor" id="line-13"></span></li><li><p class="line891"><strong>Section 8</strong>: <a href="./ArtReference_Q4Shaders_AnimatedStrips">Special Case:Animated shaders</a> <span class="anchor" id="line-14"></span><span class="anchor" id="line-15"></span></li></ul><p class="line874">Please understand that this document covers the bare-bones of the shader system. Fortunately, the bare-bones is sufficient for a lot of what the artist needs to do and its the basics that can lead to more complex shaders. <span class="anchor" id="line-16"></span><span class="anchor" id="line-17"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-18"></span><span class="anchor" id="line-19"></span><p class="line867">
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line862">In this document, were going to go over basic shader issues and definitions, how to write them as well as what you can and cant do with shaders. Ill be going over mostly basics, i.e.: getting things in game issues. <strong>Materials</strong> are the same as <strong>Shaders</strong>, and the term is used interchangeably throughout the Quake 4 SDK. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line867"><strong>In this document you will find:</strong> <span class="anchor" id="line-6"></span><ul><li><p class="line891"><strong>Section 1</strong>: <a href="./ArtReference_Q4Shaders_Definitions.html">Definitions</a> <span class="anchor" id="line-7"></span></li><li><p class="line891"><strong>Section 2</strong>: <a href="./ArtReference_Q4Shaders_Textures.html">How to write a shader for textures (longhand)</a> <span class="anchor" id="line-8"></span></li><li><p class="line891"><strong>Section 3</strong>: <a href="./ArtReference_Q4Shaders_Guides.html">Texture Guides</a> <span class="anchor" id="line-9"></span></li><li><p class="line891"><strong>Section 4</strong>: <a href="./ArtReference_Q4Shaders_Models.html">How to write a shader for models</a> <span class="anchor" id="line-10"></span></li><li><p class="line891"><strong>Section 5</strong>: <a href="./ArtReference_Q4Shaders_SkinFiles.html">.skin files</a> <span class="anchor" id="line-11"></span></li><li><p class="line891"><strong>Section 6</strong>: <a href="./ArtReference_Q4Shaders_Extra_Passes.html">Extra passes, additive and alpha</a> <span class="anchor" id="line-12"></span></li><li><p class="line891"><strong>Section 7</strong>: <a href="./ArtReference_Q4Shaders_Tables.html">Modulation with tables</a> <span class="anchor" id="line-13"></span></li><li><p class="line891"><strong>Section 8</strong>: <a href="./ArtReference_Q4Shaders_AnimatedStrips.html">Special Case:Animated shaders</a> <span class="anchor" id="line-14"></span><span class="anchor" id="line-15"></span></li></ul><p class="line874">Please understand that this document covers the bare-bones of the shader system. Fortunately, the bare-bones is sufficient for a lot of what the artist needs to do and its the basics that can lead to more complex shaders. <span class="anchor" id="line-16"></span><span class="anchor" id="line-17"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-18"></span><span class="anchor" id="line-19"></span><p class="line867">
<h2 id="head-9069596f72b521c8aeae0e01c9f85f05d85669d6">Troubleshooting</h2>
<span class="anchor" id="line-20"></span><span class="anchor" id="line-21"></span><p class="line874">Troubleshooting shaders can be a little bit like finding a needled in a haystack. Unfortunately, I cant go through every instance of what can happen, because this document would be immense. So Ill go over some stuff to look for in a shader: <span class="anchor" id="line-22"></span><span class="anchor" id="line-23"></span><ol type="1"><li>Make sure all of your shader passes have an open and close brace. <span class="anchor" id="line-24"></span><span class="anchor" id="line-25"></span></li><li class="gap">Check your spelling <span class="anchor" id="line-26"></span><span class="anchor" id="line-27"></span></li><li class="gap">Check your path names. <span class="anchor" id="line-28"></span><span class="anchor" id="line-29"></span><ol type="i"><li>Make sure path names dont have spaces. <span class="anchor" id="line-30"></span><span class="anchor" id="line-31"></span></li><li class="gap">Make sure the path actually exists. <span class="anchor" id="line-32"></span><span class="anchor" id="line-33"></span></li></ol></li></ol><p class="line874">The key to learning the shaders is experimenting, so the best thing to do is dive into the deep end and see what you get. <span class="anchor" id="line-34"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">ArtReference Q4Shaders (last edited 2005-11-09 20:30:30 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-20"></span><span class="anchor" id="line-21"></span><p class="line874">Troubleshooting shaders can be a little bit like finding a needled in a haystack. Unfortunately, I cant go through every instance of what can happen, because this document would be immense. So Ill go over some stuff to look for in a shader: <span class="anchor" id="line-22"></span><span class="anchor" id="line-23"></span><ol type="1"><li>Make sure all of your shader passes have an open and close brace. <span class="anchor" id="line-24"></span><span class="anchor" id="line-25"></span></li><li class="gap">Check your spelling <span class="anchor" id="line-26"></span><span class="anchor" id="line-27"></span></li><li class="gap">Check your path names. <span class="anchor" id="line-28"></span><span class="anchor" id="line-29"></span><ol type="i"><li>Make sure path names dont have spaces. <span class="anchor" id="line-30"></span><span class="anchor" id="line-31"></span></li><li class="gap">Make sure the path actually exists. <span class="anchor" id="line-32"></span><span class="anchor" id="line-33"></span></li></ol></li></ol><p class="line874">The key to learning the shaders is experimenting, so the best thing to do is dive into the deep end and see what you get. <span class="anchor" id="line-34"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">ArtReference Q4Shaders (last edited 2005-11-09 20:30:30 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,21 +88,21 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./ArtReference_Q4Shaders_AnimatedStrips?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./ArtReference_Q4Shaders_AnimatedStrips?action=print">
<link rel="Appendix" title="shader_stripimage1.jpg" href="./ArtReference_Q4Shaders_AnimatedStrips?action=AttachFile&amp;do=view&amp;target=shader_stripimage1.jpg">
<link rel="Appendix" title="shader_stripimage2.jpg" href="./ArtReference_Q4Shaders_AnimatedStrips?action=AttachFile&amp;do=view&amp;target=shader_stripimage2.jpg">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -140,7 +140,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./ArtReference_Q4Shaders_AnimatedStrips">ArtReferenc...matedStrips</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./ArtReference_Q4Shaders_AnimatedStrips.html">ArtReferenc...matedStrips</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -187,7 +187,7 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line862">Animated strips are <a href="./ArtReference_Q4Shaders">materials</a> that scroll in steps across an image simulated animation. Below are example <a href="./ArtReference_Q4Shaders">shaders</a> and images from a fire animated <a href="./ArtReference_Q4Shaders">shader</a> used in Quake 4. <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line867">
<span class="anchor" id="line-1"></span><p class="line862">Animated strips are <a href="./ArtReference_Q4Shaders.html">materials</a> that scroll in steps across an image simulated animation. Below are example <a href="./ArtReference_Q4Shaders.html">shaders</a> and images from a fire animated <a href="./ArtReference_Q4Shaders.html">shader</a> used in Quake 4. <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line867">
<h3 id="head-478b7a36426c1864a8e8b6de508bc7f97188bd57">Shader</h3>
<span class="anchor" id="line-4"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-5"></span><span class="anchor" id="line-6"></span><p class="line867"><span class="anchor" id="line-7"></span><pre>gfx/effects/fire/flame1
<span class="anchor" id="line-8"></span>{
@ -206,7 +206,7 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-21"></span> }
<span class="anchor" id="line-22"></span>}
<span class="anchor" id="line-23"></span></pre><span class="anchor" id="line-24"></span><span class="anchor" id="line-25"></span><p class="line874">The important lines to notice are: <span class="anchor" id="line-26"></span><span class="anchor" id="line-27"></span><ul><li style="list-style-type:none"><p class="line891"><strong>scale 1 / 32 , 1</strong> <span class="anchor" id="line-28"></span><span class="anchor" id="line-29"></span>This adjusts the scale of the image to only show 1/32th of its width. The image has exactly 32 parts. The height stays at the default of 1. <span class="anchor" id="line-30"></span><span class="anchor" id="line-31"></span></li></ul><p class="line867"><br />
<span class="anchor" id="line-32"></span><ul><li style="list-style-type:none"><p class="line891"><strong>scroll table32[ time * .6 ] , 0</strong> <span class="anchor" id="line-33"></span><span class="anchor" id="line-34"></span><p class="line862">This scrolls the image horizontally using a <a href="./ArtReference_Q4Shaders_Tables">table</a> named <strong>table32</strong>: <span class="anchor" id="line-35"></span><span class="anchor" id="line-36"></span></li></ul><p class="line867"><span class="anchor" id="line-37"></span><pre>table table32
<span class="anchor" id="line-32"></span><ul><li style="list-style-type:none"><p class="line891"><strong>scroll table32[ time * .6 ] , 0</strong> <span class="anchor" id="line-33"></span><span class="anchor" id="line-34"></span><p class="line862">This scrolls the image horizontally using a <a href="./ArtReference_Q4Shaders_Tables.html">table</a> named <strong>table32</strong>: <span class="anchor" id="line-35"></span><span class="anchor" id="line-36"></span></li></ul><p class="line867"><span class="anchor" id="line-37"></span><pre>table table32
<span class="anchor" id="line-38"></span>{
<span class="anchor" id="line-39"></span> snap
<span class="anchor" id="line-40"></span> {
@ -216,7 +216,7 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-44"></span>}
<span class="anchor" id="line-45"></span></pre><span class="anchor" id="line-46"></span><span class="anchor" id="line-47"></span><ul><li style="list-style-type:none">The table used must match exactly the scale dimensions to animate correctly. If you are using an image with 16 parts, you need a scale of 1/16 and a table that works in 16 steps. <span class="anchor" id="line-48"></span><span class="anchor" id="line-49"></span></li></ul><p class="line867">
<h3 id="head-c2152e255e7cd1377ab20fde4df49c19b3e9cb35">Images</h3>
<span class="anchor" id="line-50"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-51"></span><span class="anchor" id="line-52"></span><p class="line874">The animated fire image has 32 parts to it, each 128 pixels wide. This image has been resized to fit. <span class="anchor" id="line-53"></span><span class="anchor" id="line-54"></span><p class="line867"><img class="attachment" src="./ArtReference_Q4Shaders_AnimatedStrips?action=AttachFile&amp;do=get&amp;target=shader_stripimage1.jpg" title="attachment:shader_stripimage1.jpg" /> <span class="anchor" id="line-55"></span><span class="anchor" id="line-56"></span><p class="line874">Here is a close-up of a part of the image. <span class="anchor" id="line-57"></span><span class="anchor" id="line-58"></span><p class="line867"><img class="attachment" src="./ArtReference_Q4Shaders_AnimatedStrips?action=AttachFile&amp;do=get&amp;target=shader_stripimage2.jpg" title="attachment:shader_stripimage2.jpg" /> <span class="anchor" id="line-59"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">ArtReference Q4Shaders AnimatedStrips (last edited 2005-11-09 21:33:14 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-50"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-51"></span><span class="anchor" id="line-52"></span><p class="line874">The animated fire image has 32 parts to it, each 128 pixels wide. This image has been resized to fit. <span class="anchor" id="line-53"></span><span class="anchor" id="line-54"></span><p class="line867"><img class="attachment" src="./ArtReference_Q4Shaders_AnimatedStrips?action=AttachFile&amp;do=get&amp;target=shader_stripimage1.jpg" title="attachment:shader_stripimage1.jpg" /> <span class="anchor" id="line-55"></span><span class="anchor" id="line-56"></span><p class="line874">Here is a close-up of a part of the image. <span class="anchor" id="line-57"></span><span class="anchor" id="line-58"></span><p class="line867"><img class="attachment" src="./ArtReference_Q4Shaders_AnimatedStrips?action=AttachFile&amp;do=get&amp;target=shader_stripimage2.jpg" title="attachment:shader_stripimage2.jpg" /> <span class="anchor" id="line-59"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">ArtReference Q4Shaders AnimatedStrips (last edited 2005-11-09 21:33:14 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

File diff suppressed because one or more lines are too long

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./ArtReference_Q4Shaders_Extra_Passes?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./ArtReference_Q4Shaders_Extra_Passes?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./ArtReference_Q4Shaders_Extra_Passes">ArtReferenc...xtra Passes</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./ArtReference_Q4Shaders_Extra_Passes.html">ArtReferenc...xtra Passes</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -193,10 +193,10 @@ actionsMenuInit('More Actions:');
<h3 id="head-79a228e0846d8088559b08318baa87f3dc5b1dea">Destination Blend Modes</h3>
<span class="anchor" id="line-58"></span><span class="anchor" id="line-59"></span><p class="line867"><strong>GL_ONE</strong>: Take whatever colors are already there, and add it into the scene. <span class="anchor" id="line-60"></span><span class="anchor" id="line-61"></span><p class="line867"><strong>GL_ZERO</strong>: Do not draw the images behind the color. <span class="anchor" id="line-62"></span><span class="anchor" id="line-63"></span><p class="line867"><strong>GL_SRC_ALPHA</strong>: Draw the background in, according the source alpha. <span class="anchor" id="line-64"></span><span class="anchor" id="line-65"></span><p class="line867"><strong>GL_ONE_MINUS_SRC_ALPHA</strong>: Draw the background in according to the inverse of the source alpha. <span class="anchor" id="line-66"></span><span class="anchor" id="line-67"></span><p class="line867"><strong>GL_DST_ALPHA</strong>: Draw the background based on the destination alpha. <span class="anchor" id="line-68"></span><span class="anchor" id="line-69"></span><p class="line867"><strong>GL_ONE_MINUS_DST_ALPHA</strong>: Draw the background based on the inverse of the background alpha <span class="anchor" id="line-70"></span><span class="anchor" id="line-71"></span><p class="line867"><strong>GL_SRC_COLOR</strong>: Draw the background based on the source color. (makes transparent, good for glass) <span class="anchor" id="line-72"></span><span class="anchor" id="line-73"></span><p class="line867"><strong>GL_ONE_MINUS_SRC_COLOR</strong>: Fill in whatever is not being used by the source color. <span class="anchor" id="line-74"></span><span class="anchor" id="line-75"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-76"></span><span class="anchor" id="line-77"></span><p class="line867">
<h3 id="head-8ba85be6beac4ceddc6f230f1fb915b1215299e1">Shorcuts</h3>
<span class="anchor" id="line-78"></span><p class="line874">There are shortcuts. If you know youre going to be writing a lot of these, or if you want to avoid the GL stuff, use these: <span class="anchor" id="line-79"></span><span class="anchor" id="line-80"></span><p class="line867"><strong>Blend add</strong>: GL_ONE, GL_ONE: typical glow pass. Draw the background and add the foreground onto it. Set up the file so that your colors are the glow pass and the black are dropped out. <span class="anchor" id="line-81"></span><span class="anchor" id="line-82"></span><p class="line867"><strong>Blend blend</strong>: GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA = Draw as much of your source as your alpha will allow and make up the rest with your background colors. Set up your .tga with an alpha. <span class="anchor" id="line-83"></span><span class="anchor" id="line-84"></span><p class="line867"><strong>Blend filter</strong>: GL_DST_COLOR, GL_ZERO : Drops out the White of the file, darkening to the degree of black in the image. Basic multiply parameter. <span class="anchor" id="line-85"></span><span class="anchor" id="line-86"></span><p class="line867"><strong>Blend None</strong>: Only when writing to the depth buffer… For <a class="nonexistent" href="./MaskAlpha">MaskAlpha</a>. <span class="anchor" id="line-87"></span><span class="anchor" id="line-88"></span><p class="line867"><strong>Shader Parameters</strong>: These options affect the whole shader entry, do not use these in individual shader passes. Its best to place these at the top of the shader after you open the initial pass. Nonsolid: Makes the texture or model surface non-solid. All shots and characters pass through it. <span class="anchor" id="line-89"></span><span class="anchor" id="line-90"></span><p class="line867"><strong>Noimpact</strong>: Makes the texture or model surface non-solid. All shots pass through the texture. <span class="anchor" id="line-91"></span><span class="anchor" id="line-92"></span><p class="line867"><strong>Noshadows</strong>: The texture or model will not cast a shadow. <span class="anchor" id="line-93"></span><span class="anchor" id="line-94"></span><p class="line867"><strong>Noselfshadows</strong>: The model will not cast a shadow on itself. <span class="anchor" id="line-95"></span><span class="anchor" id="line-96"></span><p class="line867"><strong>Playerclip</strong>: Texture blocks the player but nothing else. <span class="anchor" id="line-97"></span><span class="anchor" id="line-98"></span><p class="line867"><strong>Monsterclip</strong>: Texture blocks monsters but nothing else. <span class="anchor" id="line-99"></span><span class="anchor" id="line-100"></span><p class="line867"><strong>Unsmoothedtangents</strong>: This has to functions. The first thing it does is, average the normals during a _local.tga render. The second is, it must stay in the shader to mark it as using averaged normals. Used for animated or moving models. <span class="anchor" id="line-101"></span><span class="anchor" id="line-102"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-103"></span><span class="anchor" id="line-104"></span><p class="line867">
<span class="anchor" id="line-78"></span><p class="line874">There are shortcuts. If you know youre going to be writing a lot of these, or if you want to avoid the GL stuff, use these: <span class="anchor" id="line-79"></span><span class="anchor" id="line-80"></span><p class="line867"><strong>Blend add</strong>: GL_ONE, GL_ONE: typical glow pass. Draw the background and add the foreground onto it. Set up the file so that your colors are the glow pass and the black are dropped out. <span class="anchor" id="line-81"></span><span class="anchor" id="line-82"></span><p class="line867"><strong>Blend blend</strong>: GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA = Draw as much of your source as your alpha will allow and make up the rest with your background colors. Set up your .tga with an alpha. <span class="anchor" id="line-83"></span><span class="anchor" id="line-84"></span><p class="line867"><strong>Blend filter</strong>: GL_DST_COLOR, GL_ZERO : Drops out the White of the file, darkening to the degree of black in the image. Basic multiply parameter. <span class="anchor" id="line-85"></span><span class="anchor" id="line-86"></span><p class="line867"><strong>Blend None</strong>: Only when writing to the depth buffer… For <a class="nonexistent" href="./MaskAlpha.html">MaskAlpha</a>. <span class="anchor" id="line-87"></span><span class="anchor" id="line-88"></span><p class="line867"><strong>Shader Parameters</strong>: These options affect the whole shader entry, do not use these in individual shader passes. Its best to place these at the top of the shader after you open the initial pass. Nonsolid: Makes the texture or model surface non-solid. All shots and characters pass through it. <span class="anchor" id="line-89"></span><span class="anchor" id="line-90"></span><p class="line867"><strong>Noimpact</strong>: Makes the texture or model surface non-solid. All shots pass through the texture. <span class="anchor" id="line-91"></span><span class="anchor" id="line-92"></span><p class="line867"><strong>Noshadows</strong>: The texture or model will not cast a shadow. <span class="anchor" id="line-93"></span><span class="anchor" id="line-94"></span><p class="line867"><strong>Noselfshadows</strong>: The model will not cast a shadow on itself. <span class="anchor" id="line-95"></span><span class="anchor" id="line-96"></span><p class="line867"><strong>Playerclip</strong>: Texture blocks the player but nothing else. <span class="anchor" id="line-97"></span><span class="anchor" id="line-98"></span><p class="line867"><strong>Monsterclip</strong>: Texture blocks monsters but nothing else. <span class="anchor" id="line-99"></span><span class="anchor" id="line-100"></span><p class="line867"><strong>Unsmoothedtangents</strong>: This has to functions. The first thing it does is, average the normals during a _local.tga render. The second is, it must stay in the shader to mark it as using averaged normals. Used for animated or moving models. <span class="anchor" id="line-101"></span><span class="anchor" id="line-102"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-103"></span><span class="anchor" id="line-104"></span><p class="line867">
<h3 id="head-5a96fb734a23b44e3e8d9ed9cea2fa6b4db92bf1">Image Rendering</h3>
<span class="anchor" id="line-105"></span><span class="anchor" id="line-106"></span><p class="line867"><strong>Clamp</strong>: Disables the tiling of a texture on a polygon. Used in stages <span class="anchor" id="line-107"></span><span class="anchor" id="line-108"></span><p class="line867"><strong>Zeroclamp</strong>: Same as Clamp, except a black border on of one pixel will be preserves on all mip levels. Used in stages. <span class="anchor" id="line-109"></span><span class="anchor" id="line-110"></span><p class="line867"><strong><a class="nonexistent" href="./AlphaZeroClamp">AlphaZeroClamp</a></strong>: Same as Clamp, except a translucent white border on of one pixel will be preserves on all mip levels. <span class="anchor" id="line-111"></span><span class="anchor" id="line-112"></span><p class="line867"><strong>Smoothnormals</strong>: Effects the bumpmap line only. Can smooth the local and height, or local or height. Should be used sparingly, since it can drastically alter the normal. Example: <span class="anchor" id="line-113"></span><span class="anchor" id="line-114"></span><pre>Bumpmap addnormals ((smoothnormals models/blah_local.tga), heightmap (models/blah_h.tga, 3)) This would smooth the local but not the height.
<span class="anchor" id="line-115"></span></pre><span class="anchor" id="line-116"></span><span class="anchor" id="line-117"></span><p class="line867"><strong>Deforms</strong>: <span class="anchor" id="line-118"></span><strong>Deform Flare</strong>: Must be a quad. (2 tris) Creates new set of polygons around the original edges of the quad. Pushes them away from the corners, perpendicular to the camera, by the amount placed in the shader line. By default, the original polygon is assigned a white shader and the new border edges are mapped with a quadratic falloff. (Example: Deform flare 50) <span class="anchor" id="line-119"></span><span class="anchor" id="line-120"></span><p class="line867"><strong>Deform Sprite</strong>: Rotates the polygon to the camera. Must be a quad. (2 tris) <span class="anchor" id="line-121"></span><span class="anchor" id="line-122"></span><p class="line867"><strong>Deform Expand</strong>: Takes the polygons and scales them by the amount listed. They can be use a table and be modulated over time. (Example : Deform Expand 30) <span class="anchor" id="line-123"></span>(On a table: deform expand sintable [time] ) <span class="anchor" id="line-124"></span><span class="anchor" id="line-125"></span><p class="line867"><strong>Alpha</strong>: <span class="anchor" id="line-126"></span><strong>Alphatest</strong>: Hard edged alpha. Goes through each pixel and determines whether the alpha value is greater or equal to the number, and draws it. (Example <a class="nonexistent" href="./AlphaTest">AlphaTest</a> .5) Bilinear filtering happens after the Alphatest. Example: <span class="anchor" id="line-127"></span><span class="anchor" id="line-128"></span><p class="line867"><strong><a class="nonexistent" href="./IgnoreAlphatest">IgnoreAlphatest</a></strong>: Ignores Alpha test for that stage. <span class="anchor" id="line-129"></span><span class="anchor" id="line-130"></span><p class="line867"><strong><a class="nonexistent" href="./MaskAlpha">MaskAlpha</a></strong>: Current pass is not allowed to change the alpha values. <span class="anchor" id="line-131"></span><span class="anchor" id="line-132"></span><p class="line867"><strong><a class="nonexistent" href="./InverseAlpha">InverseAlpha</a></strong>: Inverts the previous alpha pass in this stage. <span class="anchor" id="line-133"></span><span class="anchor" id="line-134"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-135"></span><span class="anchor" id="line-136"></span><p class="line867">
<span class="anchor" id="line-105"></span><span class="anchor" id="line-106"></span><p class="line867"><strong>Clamp</strong>: Disables the tiling of a texture on a polygon. Used in stages <span class="anchor" id="line-107"></span><span class="anchor" id="line-108"></span><p class="line867"><strong>Zeroclamp</strong>: Same as Clamp, except a black border on of one pixel will be preserves on all mip levels. Used in stages. <span class="anchor" id="line-109"></span><span class="anchor" id="line-110"></span><p class="line867"><strong><a class="nonexistent" href="./AlphaZeroClamp.html">AlphaZeroClamp</a></strong>: Same as Clamp, except a translucent white border on of one pixel will be preserves on all mip levels. <span class="anchor" id="line-111"></span><span class="anchor" id="line-112"></span><p class="line867"><strong>Smoothnormals</strong>: Effects the bumpmap line only. Can smooth the local and height, or local or height. Should be used sparingly, since it can drastically alter the normal. Example: <span class="anchor" id="line-113"></span><span class="anchor" id="line-114"></span><pre>Bumpmap addnormals ((smoothnormals models/blah_local.tga), heightmap (models/blah_h.tga, 3)) This would smooth the local but not the height.
<span class="anchor" id="line-115"></span></pre><span class="anchor" id="line-116"></span><span class="anchor" id="line-117"></span><p class="line867"><strong>Deforms</strong>: <span class="anchor" id="line-118"></span><strong>Deform Flare</strong>: Must be a quad. (2 tris) Creates new set of polygons around the original edges of the quad. Pushes them away from the corners, perpendicular to the camera, by the amount placed in the shader line. By default, the original polygon is assigned a white shader and the new border edges are mapped with a quadratic falloff. (Example: Deform flare 50) <span class="anchor" id="line-119"></span><span class="anchor" id="line-120"></span><p class="line867"><strong>Deform Sprite</strong>: Rotates the polygon to the camera. Must be a quad. (2 tris) <span class="anchor" id="line-121"></span><span class="anchor" id="line-122"></span><p class="line867"><strong>Deform Expand</strong>: Takes the polygons and scales them by the amount listed. They can be use a table and be modulated over time. (Example : Deform Expand 30) <span class="anchor" id="line-123"></span>(On a table: deform expand sintable [time] ) <span class="anchor" id="line-124"></span><span class="anchor" id="line-125"></span><p class="line867"><strong>Alpha</strong>: <span class="anchor" id="line-126"></span><strong>Alphatest</strong>: Hard edged alpha. Goes through each pixel and determines whether the alpha value is greater or equal to the number, and draws it. (Example <a class="nonexistent" href="./AlphaTest.html">AlphaTest</a> .5) Bilinear filtering happens after the Alphatest. Example: <span class="anchor" id="line-127"></span><span class="anchor" id="line-128"></span><p class="line867"><strong><a class="nonexistent" href="./IgnoreAlphatest.html">IgnoreAlphatest</a></strong>: Ignores Alpha test for that stage. <span class="anchor" id="line-129"></span><span class="anchor" id="line-130"></span><p class="line867"><strong><a class="nonexistent" href="./MaskAlpha.html">MaskAlpha</a></strong>: Current pass is not allowed to change the alpha values. <span class="anchor" id="line-131"></span><span class="anchor" id="line-132"></span><p class="line867"><strong><a class="nonexistent" href="./InverseAlpha.html">InverseAlpha</a></strong>: Inverts the previous alpha pass in this stage. <span class="anchor" id="line-133"></span><span class="anchor" id="line-134"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-135"></span><span class="anchor" id="line-136"></span><p class="line867">
<h3 id="head-5bf20a871ea6a10aa1972ae016f98986c873e3af">Some Common shader passes</h3>
<span class="anchor" id="line-137"></span><span class="anchor" id="line-138"></span><p class="line867"><strong>Glow pass: (additive passes)</strong> <span class="anchor" id="line-139"></span>The glow pass is the most common extra pass. Through this entry we can fake a lighting effect without adding a dynamic light in game. <span class="anchor" id="line-140"></span><span class="anchor" id="line-141"></span><pre> {
<span class="anchor" id="line-142"></span> blend add
@ -211,7 +211,7 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-159"></span> blend blend
<span class="anchor" id="line-160"></span> map textures/glass/dirty2_d.tga
<span class="anchor" id="line-161"></span> }
<span class="anchor" id="line-162"></span></pre><span class="anchor" id="line-163"></span><span class="anchor" id="line-164"></span><p class="line874">Well…thats all. There are a lot of different combinations of shaders you can use to get different effects. A lot of shaders have been written, so if there is something youd want to try in a shader, nine times out of ten there are examples in the *.mtr files. <span class="anchor" id="line-165"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">ArtReference Q4Shaders Extra Passes (last edited 2005-11-04 21:51:06 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-162"></span></pre><span class="anchor" id="line-163"></span><span class="anchor" id="line-164"></span><p class="line874">Well…thats all. There are a lot of different combinations of shaders you can use to get different effects. A lot of shaders have been written, so if there is something youd want to try in a shader, nine times out of ten there are examples in the *.mtr files. <span class="anchor" id="line-165"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">ArtReference Q4Shaders Extra Passes (last edited 2005-11-04 21:51:06 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./ArtReference_Q4Shaders_Guides?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./ArtReference_Q4Shaders_Guides?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./ArtReference_Q4Shaders_Guides">ArtReferenc...ders Guides</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./ArtReference_Q4Shaders_Guides.html">ArtReferenc...ders Guides</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -196,7 +196,7 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-29"></span> diffusemap textures/TextureParm_d
<span class="anchor" id="line-30"></span> specularmap textures/TextureParm_s
<span class="anchor" id="line-31"></span>}
<span class="anchor" id="line-32"></span></pre><span class="anchor" id="line-33"></span><p class="line862">As you can see, they look exactly like a long hand version of a texture shader, but the targa entries use a <strong><a class="nonexistent" href="./TextureParm">TextureParm</a></strong> entry. Place the shader title between the guide and generic_shader entries. That entry will be what appears in the editor. The <a class="nonexistent" href="./TextureParm">TextureParm</a> in the shader title replaces all of the <a class="nonexistent" href="./TextureParm">TextureParm</a> entries in the body of the shader. So in the terminal/t1_wall1 example above it would do the following: <span class="anchor" id="line-34"></span><span class="anchor" id="line-35"></span><pre>guide textures/terminal/t1_wall1 generic_shader("terminal/t1_wall1")
<span class="anchor" id="line-32"></span></pre><span class="anchor" id="line-33"></span><p class="line862">As you can see, they look exactly like a long hand version of a texture shader, but the targa entries use a <strong><a class="nonexistent" href="./TextureParm.html">TextureParm</a></strong> entry. Place the shader title between the guide and generic_shader entries. That entry will be what appears in the editor. The <a class="nonexistent" href="./TextureParm.html">TextureParm</a> in the shader title replaces all of the <a class="nonexistent" href="./TextureParm.html">TextureParm</a> entries in the body of the shader. So in the terminal/t1_wall1 example above it would do the following: <span class="anchor" id="line-34"></span><span class="anchor" id="line-35"></span><pre>guide textures/terminal/t1_wall1 generic_shader("terminal/t1_wall1")
<span class="anchor" id="line-36"></span>{
<span class="anchor" id="line-37"></span> qer_editorimage textures/terminal/t1_wall1_d
<span class="anchor" id="line-38"></span>
@ -221,26 +221,26 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-61"></span> }
<span class="anchor" id="line-62"></span>}
<span class="anchor" id="line-63"></span></pre><span class="anchor" id="line-64"></span><span class="anchor" id="line-65"></span><p class="line874">It would be written as a texture guide like this: <span class="anchor" id="line-66"></span><span class="anchor" id="line-67"></span><pre>guide textures/terminal/t_shaft1 generic_glow("terminal/t_shaft1", "terminal/t_shaft1_g")
<span class="anchor" id="line-68"></span></pre><span class="anchor" id="line-69"></span><p class="line874">If you have Multiple Parameters in the shader guide they must be separated by a comma and a space, all parameters need to be in quotes and the whole parameter section must be opened and closed by parentheses. <span class="anchor" id="line-70"></span><span class="anchor" id="line-71"></span><p class="line862">The first entry is the <a class="nonexistent" href="./TextureParm">TextureParm</a> while the second is the <a class="nonexistent" href="./GlowParm">GlowParm</a>. If youre writing a new shader guide or using an existing guide, you should take a look at how theyve been written, since sometimes the parameters may have been switched or moved. If you decide to write a shader guide try to name it something fairly descriptive, since generic_1 isnt a good way to keep things in order. Generic_1 tells me nothing of what the shader can do at a glance, but generic_glow does. <span class="anchor" id="line-72"></span><span class="anchor" id="line-73"></span><p class="line874">Heres a listing of the current shader guides: <span class="anchor" id="line-74"></span><span class="anchor" id="line-75"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-76"></span><span class="anchor" id="line-77"></span><p class="line867">
<span class="anchor" id="line-68"></span></pre><span class="anchor" id="line-69"></span><p class="line874">If you have Multiple Parameters in the shader guide they must be separated by a comma and a space, all parameters need to be in quotes and the whole parameter section must be opened and closed by parentheses. <span class="anchor" id="line-70"></span><span class="anchor" id="line-71"></span><p class="line862">The first entry is the <a class="nonexistent" href="./TextureParm.html">TextureParm</a> while the second is the <a class="nonexistent" href="./GlowParm.html">GlowParm</a>. If youre writing a new shader guide or using an existing guide, you should take a look at how theyve been written, since sometimes the parameters may have been switched or moved. If you decide to write a shader guide try to name it something fairly descriptive, since generic_1 isnt a good way to keep things in order. Generic_1 tells me nothing of what the shader can do at a glance, but generic_glow does. <span class="anchor" id="line-72"></span><span class="anchor" id="line-73"></span><p class="line874">Heres a listing of the current shader guides: <span class="anchor" id="line-74"></span><span class="anchor" id="line-75"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-76"></span><span class="anchor" id="line-77"></span><p class="line867">
<h3 id="head-b80655f9b7db4b7944f093c7755ab8cffc2dd013">Generic guides:</h3>
<span class="anchor" id="line-78"></span><span class="anchor" id="line-79"></span><p class="line862">guide generic_shader(<a class="nonexistent" href="./TextureParm">TextureParm</a>) <em>base generic shader</em><br />
<span class="anchor" id="line-80"></span>guide generic_shader2sided(<a class="nonexistent" href="./TextureParm">TextureParm</a>) <em>generic 2 sided shader</em><br />
<span class="anchor" id="line-81"></span>guide generic_shader_mi(<a class="nonexistent" href="./TextureParm">TextureParm</a>) <em>generic shader with an impact image.</em><br />
<span class="anchor" id="line-82"></span>guide generic_typeshader(<a class="nonexistent" href="./TextureParm">TextureParm</a>, <a class="nonexistent" href="./TypeParm">TypeParm</a> ) <em>generic shader with one impact surface. Youll need to enter a type impact name.</em> <span class="anchor" id="line-83"></span><span class="anchor" id="line-84"></span><p class="line862">guide generic_full_noheight(<a class="nonexistent" href="./TextureParm">TextureParm</a>) <em>a shader that uses no height map</em> <span class="anchor" id="line-85"></span><span class="anchor" id="line-86"></span><p class="line862">guide generic_shader_heightmap(<a class="nonexistent" href="./TextureParm">TextureParm</a>, Heightparm) <em>a shader with a height parameter variable.</em> <span class="anchor" id="line-87"></span><span class="anchor" id="line-88"></span><p class="line862">guide generic_nonormal(<a class="nonexistent" href="./TextureParm">TextureParm</a>) <em>a shader with no normal map</em><br />
<span class="anchor" id="line-89"></span>guide generic_nonormal_height(<a class="nonexistent" href="./TextureParm">TextureParm</a>, Heightparm) <em>a shader with no normal and can change the numerical entry of the height pass.</em><br />
<span class="anchor" id="line-90"></span>guide generic_nonormal_height_type(<a class="nonexistent" href="./TextureParm">TextureParm</a>, Heightparm, <a class="nonexistent" href="./TypeParm">TypeParm</a> ) <em>no local map, with a height variable, and can call out an impact type</em> <span class="anchor" id="line-91"></span><span class="anchor" id="line-92"></span><p class="line862">guide generic_Localvariant(<a class="nonexistent" href="./LocalParm">LocalParm</a>, <a class="nonexistent" href="./TextureParm">TextureParm</a>) <em>a shader that uses a different local map</em> <br />
<span class="anchor" id="line-93"></span>guide generic_Localvariant_mi(<a class="nonexistent" href="./LocalParm">LocalParm</a>, <a class="nonexistent" href="./TextureParm">TextureParm</a>) - <em>local variant with a material image</em> <span class="anchor" id="line-94"></span><span class="anchor" id="line-95"></span><p class="line862">guide generic_colorvariant(<a class="nonexistent" href="./VariantParm">VariantParm</a>, <a class="nonexistent" href="./TextureParm">TextureParm</a>) <em>shader that uses a different diffuse variant</em><br />
<span class="anchor" id="line-96"></span>guide generic_colorvariant_mi(<a class="nonexistent" href="./VariantParm">VariantParm</a>, <a class="nonexistent" href="./TextureParm">TextureParm</a>) <em>generic shader using a different diffuse with a material image</em> <span class="anchor" id="line-97"></span><span class="anchor" id="line-98"></span><p class="line867">
<span class="anchor" id="line-78"></span><span class="anchor" id="line-79"></span><p class="line862">guide generic_shader(<a class="nonexistent" href="./TextureParm.html">TextureParm</a>) <em>base generic shader</em><br />
<span class="anchor" id="line-80"></span>guide generic_shader2sided(<a class="nonexistent" href="./TextureParm.html">TextureParm</a>) <em>generic 2 sided shader</em><br />
<span class="anchor" id="line-81"></span>guide generic_shader_mi(<a class="nonexistent" href="./TextureParm.html">TextureParm</a>) <em>generic shader with an impact image.</em><br />
<span class="anchor" id="line-82"></span>guide generic_typeshader(<a class="nonexistent" href="./TextureParm.html">TextureParm</a>, <a class="nonexistent" href="./TypeParm.html">TypeParm</a> ) <em>generic shader with one impact surface. Youll need to enter a type impact name.</em> <span class="anchor" id="line-83"></span><span class="anchor" id="line-84"></span><p class="line862">guide generic_full_noheight(<a class="nonexistent" href="./TextureParm.html">TextureParm</a>) <em>a shader that uses no height map</em> <span class="anchor" id="line-85"></span><span class="anchor" id="line-86"></span><p class="line862">guide generic_shader_heightmap(<a class="nonexistent" href="./TextureParm.html">TextureParm</a>, Heightparm) <em>a shader with a height parameter variable.</em> <span class="anchor" id="line-87"></span><span class="anchor" id="line-88"></span><p class="line862">guide generic_nonormal(<a class="nonexistent" href="./TextureParm.html">TextureParm</a>) <em>a shader with no normal map</em><br />
<span class="anchor" id="line-89"></span>guide generic_nonormal_height(<a class="nonexistent" href="./TextureParm.html">TextureParm</a>, Heightparm) <em>a shader with no normal and can change the numerical entry of the height pass.</em><br />
<span class="anchor" id="line-90"></span>guide generic_nonormal_height_type(<a class="nonexistent" href="./TextureParm.html">TextureParm</a>, Heightparm, <a class="nonexistent" href="./TypeParm.html">TypeParm</a> ) <em>no local map, with a height variable, and can call out an impact type</em> <span class="anchor" id="line-91"></span><span class="anchor" id="line-92"></span><p class="line862">guide generic_Localvariant(<a class="nonexistent" href="./LocalParm.html">LocalParm</a>, <a class="nonexistent" href="./TextureParm.html">TextureParm</a>) <em>a shader that uses a different local map</em> <br />
<span class="anchor" id="line-93"></span>guide generic_Localvariant_mi(<a class="nonexistent" href="./LocalParm.html">LocalParm</a>, <a class="nonexistent" href="./TextureParm.html">TextureParm</a>) - <em>local variant with a material image</em> <span class="anchor" id="line-94"></span><span class="anchor" id="line-95"></span><p class="line862">guide generic_colorvariant(<a class="nonexistent" href="./VariantParm.html">VariantParm</a>, <a class="nonexistent" href="./TextureParm.html">TextureParm</a>) <em>shader that uses a different diffuse variant</em><br />
<span class="anchor" id="line-96"></span>guide generic_colorvariant_mi(<a class="nonexistent" href="./VariantParm.html">VariantParm</a>, <a class="nonexistent" href="./TextureParm.html">TextureParm</a>) <em>generic shader using a different diffuse with a material image</em> <span class="anchor" id="line-97"></span><span class="anchor" id="line-98"></span><p class="line867">
<h3 id="head-d47358b29b6404dbdbabec1bc51225ae68808c5c">Alpha</h3>
<span class="anchor" id="line-99"></span><span class="anchor" id="line-100"></span><p class="line862">guide generic_alpha(<a class="nonexistent" href="./TextureParm">TextureParm</a>) <em>hard edged alpha</em><br />
<span class="anchor" id="line-101"></span>guide generic_alpha_mi(<a class="nonexistent" href="./TextureParm">TextureParm</a>) <em>hard edged alpha with a material image</em><br />
<span class="anchor" id="line-102"></span>guide generic_alpha_type(<a class="nonexistent" href="./TextureParm">TextureParm</a>, <a class="nonexistent" href="./TypeParm">TypeParm</a>) <em>hard edged alpha with an impact type.</em> <span class="anchor" id="line-103"></span><span class="anchor" id="line-104"></span><p class="line862">guide generic_shader2sidedalpha_mi(<a class="nonexistent" href="./TextureParm">TextureParm</a>) <em>2 sided hard edged alpha with material image</em><br />
<span class="anchor" id="line-105"></span>guide generic_shader2sidedalpha(<a class="nonexistent" href="./TextureParm">TextureParm</a>) <em>2 sided hard edged alpha</em> <span class="anchor" id="line-106"></span><span class="anchor" id="line-107"></span><p class="line862">guide generic_alpha_lv(<a class="nonexistent" href="./TextureParm">TextureParm</a>, <a class="nonexistent" href="./LocalParm">LocalParm</a>) <em>hard edged alpha local variable</em><br />
<span class="anchor" id="line-108"></span>guide generic_shader2sidedalpha_lv(<a class="nonexistent" href="./TextureParm">TextureParm</a>, <a class="nonexistent" href="./LocalParm">LocalParm</a>) <em>2 sided hard edged alpha with a local variant.</em> <span class="anchor" id="line-109"></span><span class="anchor" id="line-110"></span><p class="line862">guide generic_alphaNoShadow2S(<a class="nonexistent" href="./TextureParm">TextureParm</a>) <em>hard edged alpha, no shadow, 2 sided.</em> <span class="anchor" id="line-111"></span><span class="anchor" id="line-112"></span><p class="line867">
<span class="anchor" id="line-99"></span><span class="anchor" id="line-100"></span><p class="line862">guide generic_alpha(<a class="nonexistent" href="./TextureParm.html">TextureParm</a>) <em>hard edged alpha</em><br />
<span class="anchor" id="line-101"></span>guide generic_alpha_mi(<a class="nonexistent" href="./TextureParm.html">TextureParm</a>) <em>hard edged alpha with a material image</em><br />
<span class="anchor" id="line-102"></span>guide generic_alpha_type(<a class="nonexistent" href="./TextureParm.html">TextureParm</a>, <a class="nonexistent" href="./TypeParm.html">TypeParm</a>) <em>hard edged alpha with an impact type.</em> <span class="anchor" id="line-103"></span><span class="anchor" id="line-104"></span><p class="line862">guide generic_shader2sidedalpha_mi(<a class="nonexistent" href="./TextureParm.html">TextureParm</a>) <em>2 sided hard edged alpha with material image</em><br />
<span class="anchor" id="line-105"></span>guide generic_shader2sidedalpha(<a class="nonexistent" href="./TextureParm.html">TextureParm</a>) <em>2 sided hard edged alpha</em> <span class="anchor" id="line-106"></span><span class="anchor" id="line-107"></span><p class="line862">guide generic_alpha_lv(<a class="nonexistent" href="./TextureParm.html">TextureParm</a>, <a class="nonexistent" href="./LocalParm.html">LocalParm</a>) <em>hard edged alpha local variable</em><br />
<span class="anchor" id="line-108"></span>guide generic_shader2sidedalpha_lv(<a class="nonexistent" href="./TextureParm.html">TextureParm</a>, <a class="nonexistent" href="./LocalParm.html">LocalParm</a>) <em>2 sided hard edged alpha with a local variant.</em> <span class="anchor" id="line-109"></span><span class="anchor" id="line-110"></span><p class="line862">guide generic_alphaNoShadow2S(<a class="nonexistent" href="./TextureParm.html">TextureParm</a>) <em>hard edged alpha, no shadow, 2 sided.</em> <span class="anchor" id="line-111"></span><span class="anchor" id="line-112"></span><p class="line867">
<h3 id="head-854c188b76acf8529e0945700d122013293c32d6">Glow passes</h3>
<span class="anchor" id="line-113"></span><span class="anchor" id="line-114"></span><p class="line862">guide generic_glow(<a class="nonexistent" href="./TextureParm">TextureParm</a>, Glowparm) <em>a shader with a glow pass</em><br />
<span class="anchor" id="line-115"></span>guide generic_glow_mi(<a class="nonexistent" href="./TextureParm">TextureParm</a>, Glowparm) <em>glow pass with a material image</em> <span class="anchor" id="line-116"></span><span class="anchor" id="line-117"></span><p class="line862">guide generic_alphaglow(<a class="nonexistent" href="./TextureParm">TextureParm</a>, Glowparm) <em>hard edged alpha with a glow pass</em> <span class="anchor" id="line-118"></span><span class="anchor" id="line-119"></span><p class="line862">guide generic_glowflicker(<a class="nonexistent" href="./TextureParm">TextureParm</a>, Glowparm, Flickerparm) <em>glow pass with a flicker table</em><br />
<span class="anchor" id="line-120"></span>guide generic_glowflicker2(<a class="nonexistent" href="./TextureParm">TextureParm</a>, Glowparm1, Flickerparm1, Glowparm2, Flickerparm2) <em>2 glow passes, 2 tables (should probably write it long hand)</em> <span class="anchor" id="line-121"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">ArtReference Q4Shaders Guides (last edited 2006-01-22 23:56:06 by <span title="MattBreit @ 24-241-228-159.dhcp.mdsn.wi.charter.com[24.241.228.159]"><a class="nonexistent" href="./MattBreit" title="MattBreit @ 24-241-228-159.dhcp.mdsn.wi.charter.com[24.241.228.159]">MattBreit</a></span>)</p>
<span class="anchor" id="line-113"></span><span class="anchor" id="line-114"></span><p class="line862">guide generic_glow(<a class="nonexistent" href="./TextureParm.html">TextureParm</a>, Glowparm) <em>a shader with a glow pass</em><br />
<span class="anchor" id="line-115"></span>guide generic_glow_mi(<a class="nonexistent" href="./TextureParm.html">TextureParm</a>, Glowparm) <em>glow pass with a material image</em> <span class="anchor" id="line-116"></span><span class="anchor" id="line-117"></span><p class="line862">guide generic_alphaglow(<a class="nonexistent" href="./TextureParm.html">TextureParm</a>, Glowparm) <em>hard edged alpha with a glow pass</em> <span class="anchor" id="line-118"></span><span class="anchor" id="line-119"></span><p class="line862">guide generic_glowflicker(<a class="nonexistent" href="./TextureParm.html">TextureParm</a>, Glowparm, Flickerparm) <em>glow pass with a flicker table</em><br />
<span class="anchor" id="line-120"></span>guide generic_glowflicker2(<a class="nonexistent" href="./TextureParm.html">TextureParm</a>, Glowparm1, Flickerparm1, Glowparm2, Flickerparm2) <em>2 glow passes, 2 tables (should probably write it long hand)</em> <span class="anchor" id="line-121"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">ArtReference Q4Shaders Guides (last edited 2006-01-22 23:56:06 by <span title="MattBreit @ 24-241-228-159.dhcp.mdsn.wi.charter.com[24.241.228.159]"><a class="nonexistent" href="./MattBreit.html" title="MattBreit @ 24-241-228-159.dhcp.mdsn.wi.charter.com[24.241.228.159]">MattBreit</a></span>)</p>
<div id="pagebottom"></div>
</div>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./ArtReference_Q4Shaders_Tables?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./ArtReference_Q4Shaders_Tables?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./ArtReference_Q4Shaders_Tables">ArtReferenc...ders Tables</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./ArtReference_Q4Shaders_Tables.html">ArtReferenc...ders Tables</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -185,7 +185,7 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line862">Tables are a way to add variables into a modulation over time. There are 5 types of tables. Table, Snaptable, <a class="nonexistent" href="./ClampTable">ClampTable</a>, <a class="nonexistent" href="./SnapClampTable">SnapClampTable</a>, <a class="nonexistent" href="./SoundTable">SoundTable</a>. When using tables youll need 2 parts, the table and the table referenced in the shader. Use the tables.mtr when writing them. <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line867"><strong>Table</strong>: This is a string of numbers that can be referenced as a smooth modulation. If you use a table it will continue to loop. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><pre>Example: table decalFade { clamp { 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 } }
<span class="anchor" id="line-1"></span><p class="line862">Tables are a way to add variables into a modulation over time. There are 5 types of tables. Table, Snaptable, <a class="nonexistent" href="./ClampTable.html">ClampTable</a>, <a class="nonexistent" href="./SnapClampTable.html">SnapClampTable</a>, <a class="nonexistent" href="./SoundTable.html">SoundTable</a>. When using tables youll need 2 parts, the table and the table referenced in the shader. Use the tables.mtr when writing them. <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line867"><strong>Table</strong>: This is a string of numbers that can be referenced as a smooth modulation. If you use a table it will continue to loop. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><pre>Example: table decalFade { clamp { 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 } }
<span class="anchor" id="line-6"></span></pre><span class="anchor" id="line-7"></span><p class="line867"><strong>Snaptable</strong>: This is a string of numbers that can be referenced as a non-smooth modulation. Example: <span class="anchor" id="line-8"></span><span class="anchor" id="line-9"></span><pre>table table32
<span class="anchor" id="line-10"></span>{
<span class="anchor" id="line-11"></span> snap
@ -195,7 +195,7 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-15"></span> }
<span class="anchor" id="line-16"></span>}
<span class="anchor" id="line-17"></span></pre><span class="anchor" id="line-18"></span><span class="anchor" id="line-19"></span><p class="line867"><strong>Clamptable</strong>: are like tables, except they only go through their numeric string once, and remain at the last number. <span class="anchor" id="line-20"></span><span class="anchor" id="line-21"></span><pre>Example: table brassScale { clamp { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } }
<span class="anchor" id="line-22"></span></pre><span class="anchor" id="line-23"></span><span class="anchor" id="line-24"></span><p class="line867"><strong><a class="nonexistent" href="./SnapClampTables">SnapClampTables</a></strong>: are like <a class="nonexistent" href="./ClampTables">ClampTables</a>, except they are non-smooth modulation. <span class="anchor" id="line-25"></span><span class="anchor" id="line-26"></span><pre>Example: table RouterOnOff { SnapClamp { 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0 } }
<span class="anchor" id="line-22"></span></pre><span class="anchor" id="line-23"></span><span class="anchor" id="line-24"></span><p class="line867"><strong><a class="nonexistent" href="./SnapClampTables.html">SnapClampTables</a></strong>: are like <a class="nonexistent" href="./ClampTables.html">ClampTables</a>, except they are non-smooth modulation. <span class="anchor" id="line-25"></span><span class="anchor" id="line-26"></span><pre>Example: table RouterOnOff { SnapClamp { 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0 } }
<span class="anchor" id="line-27"></span></pre><span class="anchor" id="line-28"></span><span class="anchor" id="line-29"></span><p class="line874">An example of a table being used in a shader, this material modulates the Red, Green and Blue values of the texture by the specified table. The table is stepped through once every second (time * .5) <span class="anchor" id="line-30"></span><span class="anchor" id="line-31"></span><pre>textures/terminal/t3_htrim_01glow
<span class="anchor" id="line-32"></span>{
<span class="anchor" id="line-33"></span> qer_editorimage textures/terminal/t3_htrim_01c_glowed.tga
@ -211,7 +211,7 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-43"></span> }
<span class="anchor" id="line-44"></span>
<span class="anchor" id="line-45"></span>}
<span class="anchor" id="line-46"></span></pre><span class="anchor" id="line-47"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">ArtReference Q4Shaders Tables (last edited 2005-11-04 21:47:58 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-46"></span></pre><span class="anchor" id="line-47"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">ArtReference Q4Shaders Tables (last edited 2005-11-04 21:47:58 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./ArtReference_Q4Shaders_Textures?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./ArtReference_Q4Shaders_Textures?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./ArtReference_Q4Shaders_Textures">ArtReferenc...rs Textures</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./ArtReference_Q4Shaders_Textures.html">ArtReferenc...rs Textures</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -193,7 +193,7 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-37"></span> bumpmap addnormals ( textures/terminal/t1_wall1_local.tga, heightmap ( textures/terminal/t1_wall1_h.tga, 1 ) )
<span class="anchor" id="line-38"></span> specularmap textures/terminal/t1_wall1_s.tga
<span class="anchor" id="line-39"></span>}
<span class="anchor" id="line-40"></span></pre><span class="anchor" id="line-41"></span><span class="anchor" id="line-42"></span><span class="anchor" id="line-43"></span><p class="line874">Nine times out of ten you wont be writing textures this way, but by doing this, youll be able to understand how texture guides work, (shortcuts) and be able to write them yourself. Otherwise, youve added a new texture entry in the textures/terminal/directory called t1_wall1_d, which will appear in the editor at textures/terminal/t1_wall1_d. <span class="anchor" id="line-44"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">ArtReference Q4Shaders Textures (last edited 2005-11-04 21:37:27 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-40"></span></pre><span class="anchor" id="line-41"></span><span class="anchor" id="line-42"></span><span class="anchor" id="line-43"></span><p class="line874">Nine times out of ten you wont be writing textures this way, but by doing this, youll be able to understand how texture guides work, (shortcuts) and be able to write them yourself. Otherwise, youve added a new texture entry in the textures/terminal/directory called t1_wall1_d, which will appear in the editor at textures/terminal/t1_wall1_d. <span class="anchor" id="line-44"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">ArtReference Q4Shaders Textures (last edited 2005-11-04 21:37:27 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

File diff suppressed because one or more lines are too long

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./ArtReference_playerModels?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./ArtReference_playerModels?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./ArtReference_playerModels">ArtReference playerModels</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./ArtReference_playerModels.html">ArtReference playerModels</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -203,7 +203,7 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-30"></span> "inherit" "char_marinehead_cortez_mp"
<span class="anchor" id="line-31"></span> "spawnclass" "rvClientAFAttachment"
<span class="anchor" id="line-32"></span>}
<span class="anchor" id="line-33"></span></pre><span class="anchor" id="line-34"></span><span class="anchor" id="line-35"></span><p class="line874">And that's it. Your custom model can now be inserted straight into the selection menu. <span class="anchor" id="line-36"></span><span class="anchor" id="line-37"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-38"></span><span class="anchor" id="line-39"></span><p class="line862">Back to <a href="./ArtReference">ArtReference</a> <span class="anchor" id="line-40"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">ArtReference playerModels (last edited 2006-02-22 20:26:08 by <span title="AndrewWeldon @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./AndrewWeldon" title="AndrewWeldon @ 67.129.250.254[67.129.250.254]">AndrewWeldon</a></span>)</p>
<span class="anchor" id="line-33"></span></pre><span class="anchor" id="line-34"></span><span class="anchor" id="line-35"></span><p class="line874">And that's it. Your custom model can now be inserted straight into the selection menu. <span class="anchor" id="line-36"></span><span class="anchor" id="line-37"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-38"></span><span class="anchor" id="line-39"></span><p class="line862">Back to <a href="./ArtReference.html">ArtReference</a> <span class="anchor" id="line-40"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">ArtReference playerModels (last edited 2006-02-22 20:26:08 by <span title="AndrewWeldon @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./AndrewWeldon.html" title="AndrewWeldon @ 67.129.250.254[67.129.250.254]">AndrewWeldon</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./AutoDownload?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./AutoDownload?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./AutoDownload">AutoDownload</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./AutoDownload.html">AutoDownload</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -189,7 +189,7 @@ actionsMenuInit('More Actions:');
<h1 id="head-7cc6903c08c3da87aa8e8cf8bc084b1f5b0819b9">Client download configuration</h1>
<span class="anchor" id="line-5"></span><span class="anchor" id="line-6"></span><p class="line862">Download behaviour on the client side is configured with the <em>net_clientDownload</em> cvar: <span class="anchor" id="line-7"></span><span class="anchor" id="line-8"></span><ul><li>0: no downloads. if the server you are connecting to requires paks that you don't have, the connection will fail with an error message <span class="anchor" id="line-9"></span></li><li>1: ask. any time some pak files would need to be downloaded, you will get prompted about it. this is the default <span class="anchor" id="line-10"></span></li><li>2: always download. you will still get prompted if the server wants to send you binary game code. ( which you should only ever agree to if you really trust the server admin ) <span class="anchor" id="line-11"></span><span class="anchor" id="line-12"></span></li></ul><p class="line867">
<h1 id="head-c9dea200cb0b460d33e0d7e2a2a775fd7b3fcdba">Server download configuration</h1>
<span class="anchor" id="line-13"></span><span class="anchor" id="line-14"></span><p class="line874">There are no builtin downloads. All downloads are done through http/ftp URLs handed over to the clients. The clients however can stay connected while downloading your files before joining the game. The base game provides a simple backend to setup downloads. Mods can modify and extend how the server decides how and for who to provide downloads. <span class="anchor" id="line-15"></span><span class="anchor" id="line-16"></span><p class="line867"><em>net_serverDownload</em>: <span class="anchor" id="line-17"></span><span class="anchor" id="line-18"></span><ul><li>0: this server doesn't provide any downloads <span class="anchor" id="line-19"></span></li><li><p class="line862">1: any download request will simply forward the client to a web page defined by <em>si_serverURL</em> ( client will shutdown and open the page) <span class="anchor" id="line-20"></span></li><li>2: provide a number of downloads for the files this server is running. See other cvars below <span class="anchor" id="line-21"></span><span class="anchor" id="line-22"></span></li></ul><p class="line867"><em>net_serverDlBaseURL</em>: holds the base URL to the files to be downloaded. The final URLs will be constructed as <em>net_serverDlBaseURL</em>/<em>pakfilepath</em> ( where pakfilepath is defined by <em>net_serverDlTable</em> ) <span class="anchor" id="line-23"></span><span class="anchor" id="line-24"></span><p class="line867"><em>net_serverDlTable</em>: a list of pak files for which download is provided, seperated by ;. The paths should include the fs_game path ( 'base/', or your mod path .. 'base/myd3map.pk4;d3xp/myroemap.pk4' ). You can also set <em>net_serverDlTable</em> to <em>*</em> to mark all paks that may be requested for download. <span class="anchor" id="line-25"></span><span class="anchor" id="line-26"></span><p class="line862">You will need to be running an ftp or http server to serve those files. Currently the Quake4 server doesn't provide an integrated way to serve the files itself. If you are looking for a lightweight simple http server, I recommend <a class="http" href="http://www.acme.com/software/thttpd/">thttpd</a>. <span class="anchor" id="line-27"></span><span class="anchor" id="line-28"></span><p class="line867"><strong>NOTE</strong>: AutoDownload <strong>will not work</strong> on files that are named like official assets paks ( pak[0-9]*.pk4 ). You should use a different naming in your mods and custom maps. <span class="anchor" id="line-29"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">AutoDownload (last edited 2006-12-03 19:08:18 by <span title="TimotheeBesset @ pool-71-164-173-18.dllstx.fios.verizon.net[71.164.173.18]"><a class="nonexistent" href="./TimotheeBesset" title="TimotheeBesset @ pool-71-164-173-18.dllstx.fios.verizon.net[71.164.173.18]">TimotheeBesset</a></span>)</p>
<span class="anchor" id="line-13"></span><span class="anchor" id="line-14"></span><p class="line874">There are no builtin downloads. All downloads are done through http/ftp URLs handed over to the clients. The clients however can stay connected while downloading your files before joining the game. The base game provides a simple backend to setup downloads. Mods can modify and extend how the server decides how and for who to provide downloads. <span class="anchor" id="line-15"></span><span class="anchor" id="line-16"></span><p class="line867"><em>net_serverDownload</em>: <span class="anchor" id="line-17"></span><span class="anchor" id="line-18"></span><ul><li>0: this server doesn't provide any downloads <span class="anchor" id="line-19"></span></li><li><p class="line862">1: any download request will simply forward the client to a web page defined by <em>si_serverURL</em> ( client will shutdown and open the page) <span class="anchor" id="line-20"></span></li><li>2: provide a number of downloads for the files this server is running. See other cvars below <span class="anchor" id="line-21"></span><span class="anchor" id="line-22"></span></li></ul><p class="line867"><em>net_serverDlBaseURL</em>: holds the base URL to the files to be downloaded. The final URLs will be constructed as <em>net_serverDlBaseURL</em>/<em>pakfilepath</em> ( where pakfilepath is defined by <em>net_serverDlTable</em> ) <span class="anchor" id="line-23"></span><span class="anchor" id="line-24"></span><p class="line867"><em>net_serverDlTable</em>: a list of pak files for which download is provided, seperated by ;. The paths should include the fs_game path ( 'base/', or your mod path .. 'base/myd3map.pk4;d3xp/myroemap.pk4' ). You can also set <em>net_serverDlTable</em> to <em>*</em> to mark all paks that may be requested for download. <span class="anchor" id="line-25"></span><span class="anchor" id="line-26"></span><p class="line862">You will need to be running an ftp or http server to serve those files. Currently the Quake4 server doesn't provide an integrated way to serve the files itself. If you are looking for a lightweight simple http server, I recommend <a class="http" href="http://www.acme.com/software/thttpd/">thttpd</a>. <span class="anchor" id="line-27"></span><span class="anchor" id="line-28"></span><p class="line867"><strong>NOTE</strong>: AutoDownload <strong>will not work</strong> on files that are named like official assets paks ( pak[0-9]*.pk4 ). You should use a different naming in your mods and custom maps. <span class="anchor" id="line-29"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">AutoDownload (last edited 2006-12-03 19:08:18 by <span title="TimotheeBesset @ pool-71-164-173-18.dllstx.fios.verizon.net[71.164.173.18]"><a class="nonexistent" href="./TimotheeBesset.html" title="TimotheeBesset @ pool-71-164-173-18.dllstx.fios.verizon.net[71.164.173.18]">TimotheeBesset</a></span>)</p>
<div id="pagebottom"></div>
</div>

File diff suppressed because one or more lines are too long

View file

@ -88,21 +88,21 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./Basic_FX_file_structure?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./Basic_FX_file_structure?action=print">
<link rel="Appendix" title="fx_check.jpg" href="./Basic_FX_file_structure?action=AttachFile&amp;do=view&amp;target=fx_check.jpg">
<link rel="Appendix" title="fx_sortorder.jpg" href="./Basic_FX_file_structure?action=AttachFile&amp;do=view&amp;target=fx_sortorder.jpg">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -140,7 +140,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./Basic_FX_file_structure">Basic FX file structure</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./Basic_FX_file_structure.html">Basic FX file structure</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -209,13 +209,13 @@ actionsMenuInit('More Actions:');
<h3 id="head-f7c7a1aaa884d29771808d40a86141262dc9d35c">Light</h3>
<span class="anchor" id="line-47"></span><ul><li style="list-style-type:none">A pointlight within the effect that has size/color/light shader/timing options <span class="anchor" id="line-48"></span><span class="anchor" id="line-49"></span></li></ul><p class="line867"><span class="anchor" id="debris"></span> <span class="anchor" id="line-50"></span>
<h3 id="head-baaa2cb0acfcfaa10e39f693420711135261555d">Debris</h3>
<span class="anchor" id="line-51"></span><ul><li style="list-style-type:none"><p class="line862">Debris defined in <a href="./DefinitionFile">.def files</a> can be used in place of models, in the event of more complex debris interactions. This segment allows the placement of Debris in an effect. <span class="anchor" id="line-52"></span><span class="anchor" id="line-53"></span></li></ul><p class="line867"><span class="anchor" id="effect"></span> <span class="anchor" id="line-54"></span>
<span class="anchor" id="line-51"></span><ul><li style="list-style-type:none"><p class="line862">Debris defined in <a href="./DefinitionFile.html">.def files</a> can be used in place of models, in the event of more complex debris interactions. This segment allows the placement of Debris in an effect. <span class="anchor" id="line-52"></span><span class="anchor" id="line-53"></span></li></ul><p class="line867"><span class="anchor" id="effect"></span> <span class="anchor" id="line-54"></span>
<h3 id="head-f1066880b8e433473c106e2dc8a3586384d6cf2c">Effect</h3>
<span class="anchor" id="line-55"></span><ul><li style="list-style-type:none">Effects can be nested inside one another. By pressing the + plus button in the properties for this effect you can add complete effects to this segment, while the minus button removes effects. <span class="anchor" id="line-56"></span><span class="anchor" id="line-57"></span></li></ul><p class="line867"><span class="anchor" id="visioneffect"></span> <span class="anchor" id="line-58"></span>
<h3 id="head-f44a351a240b815cd9103c1255f5f81ce073cc31">Vision Effect</h3>
<span class="anchor" id="line-59"></span><ul><li style="list-style-type:none">Camera Shake, Double Vision and Tunnel Vision can all be added to an effect. <span class="anchor" id="line-60"></span><span class="anchor" id="line-61"></span></li></ul><p class="line867"><span class="anchor" id="delay"></span> <span class="anchor" id="line-62"></span>
<h3 id="head-9651469caa6dbf4fd3bc8db12cdbcd8e0ed9c11e">Delay</h3>
<span class="anchor" id="line-63"></span><ul><li style="list-style-type:none">By using a delay, an entire effect can have its looping state altered to include a delay. A delay segment affects every segment within an effect. <span class="anchor" id="line-64"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Basic FX file structure (last edited 2005-11-04 00:31:34 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-63"></span><ul><li style="list-style-type:none">By using a delay, an entire effect can have its looping state altered to include a delay. A delay segment affects every segment within an effect. <span class="anchor" id="line-64"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Basic FX file structure (last edited 2005-11-04 00:31:34 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

File diff suppressed because one or more lines are too long

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./CommunityResources?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./CommunityResources?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./CommunityResources">CommunityResources</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./CommunityResources.html">CommunityResources</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -201,7 +201,7 @@ actionsMenuInit('More Actions:');
<h2 id="head-33bdd5076ad09aef7af62423546c92ce8effd4e3">User-created Tools</h2>
<span class="anchor" id="line-27"></span><span class="anchor" id="line-28"></span><p class="line867">
<h2 id="head-a2361760aa1854c5a3b327eec70ba269fe20c396">Linux</h2>
<span class="anchor" id="line-29"></span><ul><li><p class="line891"><strong><a class="http" href="http://zerowing.idsoftware.com/linux/quake4/">Quake4 Linux FAQ</a></strong> <span class="anchor" id="line-30"></span><span class="anchor" id="line-31"></span><span class="anchor" id="line-32"></span></li></ul><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-33"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">CommunityResources (last edited 2006-03-05 03:08:08 by <span title="TimotheeBesset @ h-68-165-10-205.dllatx37.covad.net[68.165.10.205]"><a class="nonexistent" href="./TimotheeBesset" title="TimotheeBesset @ h-68-165-10-205.dllatx37.covad.net[68.165.10.205]">TimotheeBesset</a></span>)</p>
<span class="anchor" id="line-29"></span><ul><li><p class="line891"><strong><a class="http" href="http://zerowing.idsoftware.com/linux/quake4/">Quake4 Linux FAQ</a></strong> <span class="anchor" id="line-30"></span><span class="anchor" id="line-31"></span><span class="anchor" id="line-32"></span></li></ul><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-33"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">CommunityResources (last edited 2006-03-05 03:08:08 by <span title="TimotheeBesset @ h-68-165-10-205.dllatx37.covad.net[68.165.10.205]"><a class="nonexistent" href="./TimotheeBesset.html" title="TimotheeBesset @ h-68-165-10-205.dllatx37.covad.net[68.165.10.205]">TimotheeBesset</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./ConsoleCommand_ReloadScript?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./ConsoleCommand_ReloadScript?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./ConsoleCommand_ReloadScript">ConsoleComm...eloadScript</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./ConsoleCommand_ReloadScript.html">ConsoleComm...eloadScript</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -190,7 +190,7 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-7"></span><span class="anchor" id="line-8"></span><ul><li>reloadScript will exit you from the map and send you to the console. If reloadScript works successfully, you will see this message: <span class="anchor" id="line-9"></span><span class="anchor" id="line-10"></span></li></ul><p class="line867"><span class="anchor" id="line-11"></span><pre>***********************************************
<span class="anchor" id="line-12"></span>ERROR: Exiting map to reload scripts
<span class="anchor" id="line-13"></span>***********************************************
<span class="anchor" id="line-14"></span></pre><span class="anchor" id="line-15"></span><span class="anchor" id="line-16"></span><ul><li style="list-style-type:none"><p class="line891"><img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> That is the only error that indicates a success condition. If you see a different error, your script did not compile and the game will not run. <span class="anchor" id="line-17"></span><span class="anchor" id="line-18"></span></li><li class="gap">Note that reloadScript will cause you to exit the map, and you must reload the map from the console. <span class="anchor" id="line-19"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">ConsoleCommand ReloadScript (last edited 2005-11-02 00:18:20 by <span title="JimShepard @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./JimShepard" title="JimShepard @ 67.129.250.254[67.129.250.254]">JimShepard</a></span>)</p>
<span class="anchor" id="line-14"></span></pre><span class="anchor" id="line-15"></span><span class="anchor" id="line-16"></span><ul><li style="list-style-type:none"><p class="line891"><img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> That is the only error that indicates a success condition. If you see a different error, your script did not compile and the game will not run. <span class="anchor" id="line-17"></span><span class="anchor" id="line-18"></span></li><li class="gap">Note that reloadScript will cause you to exit the map, and you must reload the map from the console. <span class="anchor" id="line-19"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">ConsoleCommand ReloadScript (last edited 2005-11-02 00:18:20 by <span title="JimShepard @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./JimShepard.html" title="JimShepard @ 67.129.250.254[67.129.250.254]">JimShepard</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./Contact?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./Contact?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./Contact">Contact</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./Contact.html">Contact</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -187,7 +187,7 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867">
<h1 id="head-cb8430015d44aafbf41d174bffddfb9c61e41fdd">Contact Raven</h1>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line874">If you can't find the answer to your questions here, we welcome you to contact us directly for more information. Our editing e-mail address currently forwards directly to 16 members of the Raven team across all departments, one (or sometimes more!) of whom will try to field your question as quickly as possible. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line874">A few notes: <span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span><ul><li>This e-mail address is for modmaking questions only. <span class="anchor" id="line-8"></span></li><li>We will make our best effort to respond to all questions, but depending on volume, our schedule on other projects, and the calendar (around holidays, for example, or on weekends when some of us don't check our work e-mail) we may not always be able to respond quickly or at all. If you do go some time without a response, don't be afraid to shoot us a follow-up to remind us. <span class="anchor" id="line-9"></span></li><li>We ask that, outside of replies to our responses, you do not directly contact anyone from this list directly without their permission, and use this e-mail address for all questions. Each of us can receive dozens of internal e-mails per day, often more, and single e-mails run a much higher risk of being lost in the shuffle. <span class="anchor" id="line-10"></span></li><li><p class="line891"><strong>THIS E-MAIL ADDRESS IS FOR MODMAKING QUESTIONS ONLY.</strong> <span class="anchor" id="line-11"></span><span class="anchor" id="line-12"></span></li></ul><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-13"></span><span class="anchor" id="line-14"></span><p class="line862">With that in mind... contact us at <a class="mailto" href="mailto:q4editing@ravensoft.com">q4editing@ravensoft.com</a> <span class="anchor" id="line-15"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Contact (last edited 2006-01-26 20:09:15 by <span title="TimotheeBesset @ hellstorm.idsoftware.com[192.246.40.8]"><a class="nonexistent" href="./TimotheeBesset" title="TimotheeBesset @ hellstorm.idsoftware.com[192.246.40.8]">TimotheeBesset</a></span>)</p>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line874">If you can't find the answer to your questions here, we welcome you to contact us directly for more information. Our editing e-mail address currently forwards directly to 16 members of the Raven team across all departments, one (or sometimes more!) of whom will try to field your question as quickly as possible. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line874">A few notes: <span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span><ul><li>This e-mail address is for modmaking questions only. <span class="anchor" id="line-8"></span></li><li>We will make our best effort to respond to all questions, but depending on volume, our schedule on other projects, and the calendar (around holidays, for example, or on weekends when some of us don't check our work e-mail) we may not always be able to respond quickly or at all. If you do go some time without a response, don't be afraid to shoot us a follow-up to remind us. <span class="anchor" id="line-9"></span></li><li>We ask that, outside of replies to our responses, you do not directly contact anyone from this list directly without their permission, and use this e-mail address for all questions. Each of us can receive dozens of internal e-mails per day, often more, and single e-mails run a much higher risk of being lost in the shuffle. <span class="anchor" id="line-10"></span></li><li><p class="line891"><strong>THIS E-MAIL ADDRESS IS FOR MODMAKING QUESTIONS ONLY.</strong> <span class="anchor" id="line-11"></span><span class="anchor" id="line-12"></span></li></ul><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-13"></span><span class="anchor" id="line-14"></span><p class="line862">With that in mind... contact us at <a class="mailto" href="mailto:q4editing@ravensoft.com">q4editing@ravensoft.com</a> <span class="anchor" id="line-15"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Contact (last edited 2006-01-26 20:09:15 by <span title="TimotheeBesset @ hellstorm.idsoftware.com[192.246.40.8]"><a class="nonexistent" href="./TimotheeBesset.html" title="TimotheeBesset @ hellstorm.idsoftware.com[192.246.40.8]">TimotheeBesset</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./DamageDefinition?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./DamageDefinition?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./DamageDefinition">DamageDefinition</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./DamageDefinition.html">DamageDefinition</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -185,7 +185,7 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867"><img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <strong>UNDER CONSTRUCTION - COMING SOON</strong> <img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <span class="anchor" id="line-2"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">DamageDefinition (last edited 2005-11-07 20:31:25 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<span class="anchor" id="line-1"></span><p class="line867"><img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <strong>UNDER CONSTRUCTION - COMING SOON</strong> <img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <span class="anchor" id="line-2"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">DamageDefinition (last edited 2005-11-07 20:31:25 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman.html" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,21 +88,21 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./DebugHud?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./DebugHud?action=print">
<link rel="Appendix" title="debug_huds.zip" href="./DebugHud?action=AttachFile&amp;do=view&amp;target=debug_huds.zip">
<link rel="Appendix" title="debughud.jpg" href="./DebugHud?action=AttachFile&amp;do=view&amp;target=debughud.jpg">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -140,7 +140,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./DebugHud">DebugHud</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./DebugHud.html">DebugHud</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -189,7 +189,7 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867">
<h1 id="head-22c118f2c50fb53c40b49f0b989408606a553acc">Quake 4 Debug Hud</h1>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line867"><img class="attachment" src="./DebugHud?action=AttachFile&amp;do=get&amp;target=debughud.jpg" title="attachment:debughud.jpg" /> <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line874">The debug hud is a series of 11 guis used to monitor various aspects of development. These files were not included with the retail install and may be downloaded for your convenience here: <span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span><p class="line867"><strong>Download:</strong> <a class="attachment" href="./DebugHud?action=AttachFile&amp;do=get&amp;target=debug_huds.zip" title="attachment:debug_huds.zip">debug_huds.zip</a> <span class="anchor" id="line-8"></span><hr /><p class="line874"> <span class="anchor" id="line-9"></span><strong><span class="u">Using the Debug HUD</span></strong> <span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span><p class="line874">Extract debug_huds.zip to your q4base/ folder (the files will automatically place themselves in GUIs/debug/). <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><p class="line874">To use the Debug HUD, use the g_showDebugHud console command followed by a number 1-11 to select the desired HUD (listed below). All versions of the Debug HUD include the map path, world location, and current build revision in the lower right corner. <span class="anchor" id="line-14"></span><hr /><p class="line874"> <span class="anchor" id="line-15"></span><strong><span class="u">Debug HUDs</span></strong> <span class="anchor" id="line-16"></span><span class="anchor" id="line-17"></span><ul><li><p class="line891"><strong>g_showDebugHud 1:</strong> Player Debug HUD <span class="anchor" id="line-18"></span></li><li><p class="line891"><strong>g_showDebugHud 2:</strong> Physics Debug HUD <span class="anchor" id="line-19"></span></li><li><p class="line891"><strong>g_showDebugHud 3:</strong> AI Debug HUD <span class="anchor" id="line-20"></span></li><li><p class="line891"><strong>g_showDebugHud 4:</strong> Vehicle Debug HUD <span class="anchor" id="line-21"></span></li><li><p class="line891"><strong>g_showDebugHud 5:</strong> Performance HUD <span class="anchor" id="line-22"></span></li><li><p class="line891"><strong>g_showDebugHud 6:</strong> FX Debug HUD <span class="anchor" id="line-23"></span></li><li><p class="line891"><strong>g_showDebugHud 7:</strong> Map Info <span class="anchor" id="line-24"></span></li><li><p class="line891"><strong>g_showDebugHud 8:</strong> AI Performance HUD <span class="anchor" id="line-25"></span></li><li><p class="line891"><strong>g_showDebugHud 9:</strong> MP Info HUD <span class="anchor" id="line-26"></span></li><li><p class="line891"><strong>g_showDebugHud 10:</strong> Sound HUD <span class="anchor" id="line-27"></span></li><li><p class="line891"><strong>g_showDebugHud 11:</strong> MP Info HUD #2 <span class="anchor" id="line-28"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">DebugHud (last edited 2005-11-16 23:04:58 by <span title="AndrewWeldon @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./AndrewWeldon" title="AndrewWeldon @ 67.129.250.254[67.129.250.254]">AndrewWeldon</a></span>)</p>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line867"><img class="attachment" src="./DebugHud?action=AttachFile&amp;do=get&amp;target=debughud.jpg" title="attachment:debughud.jpg" /> <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line874">The debug hud is a series of 11 guis used to monitor various aspects of development. These files were not included with the retail install and may be downloaded for your convenience here: <span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span><p class="line867"><strong>Download:</strong> <a class="attachment" href="./DebugHud?action=AttachFile&amp;do=get&amp;target=debug_huds.zip" title="attachment:debug_huds.zip">debug_huds.zip</a> <span class="anchor" id="line-8"></span><hr /><p class="line874"> <span class="anchor" id="line-9"></span><strong><span class="u">Using the Debug HUD</span></strong> <span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span><p class="line874">Extract debug_huds.zip to your q4base/ folder (the files will automatically place themselves in GUIs/debug/). <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><p class="line874">To use the Debug HUD, use the g_showDebugHud console command followed by a number 1-11 to select the desired HUD (listed below). All versions of the Debug HUD include the map path, world location, and current build revision in the lower right corner. <span class="anchor" id="line-14"></span><hr /><p class="line874"> <span class="anchor" id="line-15"></span><strong><span class="u">Debug HUDs</span></strong> <span class="anchor" id="line-16"></span><span class="anchor" id="line-17"></span><ul><li><p class="line891"><strong>g_showDebugHud 1:</strong> Player Debug HUD <span class="anchor" id="line-18"></span></li><li><p class="line891"><strong>g_showDebugHud 2:</strong> Physics Debug HUD <span class="anchor" id="line-19"></span></li><li><p class="line891"><strong>g_showDebugHud 3:</strong> AI Debug HUD <span class="anchor" id="line-20"></span></li><li><p class="line891"><strong>g_showDebugHud 4:</strong> Vehicle Debug HUD <span class="anchor" id="line-21"></span></li><li><p class="line891"><strong>g_showDebugHud 5:</strong> Performance HUD <span class="anchor" id="line-22"></span></li><li><p class="line891"><strong>g_showDebugHud 6:</strong> FX Debug HUD <span class="anchor" id="line-23"></span></li><li><p class="line891"><strong>g_showDebugHud 7:</strong> Map Info <span class="anchor" id="line-24"></span></li><li><p class="line891"><strong>g_showDebugHud 8:</strong> AI Performance HUD <span class="anchor" id="line-25"></span></li><li><p class="line891"><strong>g_showDebugHud 9:</strong> MP Info HUD <span class="anchor" id="line-26"></span></li><li><p class="line891"><strong>g_showDebugHud 10:</strong> Sound HUD <span class="anchor" id="line-27"></span></li><li><p class="line891"><strong>g_showDebugHud 11:</strong> MP Info HUD #2 <span class="anchor" id="line-28"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">DebugHud (last edited 2005-11-16 23:04:58 by <span title="AndrewWeldon @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./AndrewWeldon.html" title="AndrewWeldon @ 67.129.250.254[67.129.250.254]">AndrewWeldon</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,21 +88,21 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./Debugging?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./Debugging?action=print">
<link rel="Appendix" title="debug-settings.jpg" href="./Debugging?action=AttachFile&amp;do=view&amp;target=debug-settings.jpg">
<link rel="Appendix" title="post-build.jpg" href="./Debugging?action=AttachFile&amp;do=view&amp;target=post-build.jpg">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -140,7 +140,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./Debugging">Debugging</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./Debugging.html">Debugging</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -191,7 +191,7 @@ actionsMenuInit('More Actions:');
<h2 id="head-87570010b169c1df6ef210910c09fd9149b6dc21">Contents</h2>
<span class="anchor" id="line-2"></span><ol type="1"><li><p class="line891"><a href="#gamecode">Debugging Game Code</a> <span class="anchor" id="line-3"></span><span class="anchor" id="line-4"></span></li></ol><p class="line867"><span class="anchor" id="gamecode"></span> <span class="anchor" id="line-5"></span>
<h3 id="head-cc7cf73ce2874e17eabbe4ae489cd5a3a94c7338">Debugging Game Code</h3>
<span class="anchor" id="line-6"></span><p class="line874">If you're working with the game code, you can quickly setup Visual Studio to debug your code as a regular application. There are several ways to do this, here's one of them. <span class="anchor" id="line-7"></span><span class="anchor" id="line-8"></span><p class="line867"><strong>The following assumes you've installed Quake 4 to C:\Quake4, and the SDK to C:\Quake4_SDK</strong> <span class="anchor" id="line-9"></span><span class="anchor" id="line-10"></span><ol type="1"><li><p class="line862">Right click the <em>Game</em> project in the Solution Explorer and select Properties. <span class="anchor" id="line-11"></span></li><li><p class="line862">Setup a post-build step to copy your gamex86.dll to your Quake 4 root directory; you can use the commandline <em>xcopy $(Target<tt class="backtick"></tt>Path) c:\quake4</em>: <span class="anchor" id="line-12"></span><ul><li style="list-style-type:none"><p class="line891"><a class="attachment" href="./Debugging?action=AttachFile&amp;do=get&amp;target=post-build.jpg" title="attachment:post-build.jpg">Post Build Step Settings</a> <span class="anchor" id="line-13"></span></li></ul></li><li><p class="line862">Configure your debugging settings. Right click the <em>Game</em> project in the Solution Explorer, select Properties, then click Debugging <span class="anchor" id="line-14"></span><ul><li><p class="line891"><strong>Command</strong>: This is the command to run from the debugger. Set it to C:\Quake4\Quake4.exe <span class="anchor" id="line-15"></span></li><li><p class="line891"><strong>Command Arguments</strong>: Arguments to pass to the game. Set this to <em>+set si_pure 0</em> <span class="anchor" id="line-16"></span></li><li><p class="line891"><strong>Working Directory</strong>: Specify where the game will be run from. Set this to C:\Quake4 <span class="anchor" id="line-17"></span><ul><li style="list-style-type:none"><p class="line891"><a class="attachment" href="./Debugging?action=AttachFile&amp;do=get&amp;target=debug-settings.jpg" title="attachment:debug-settings.jpg">Debug Settings</a> <span class="anchor" id="line-18"></span></li></ul></li></ul></li><li>Re-build your game DLL to make sure the post-build step is performed, and you should be all set hit F5 and start debugging (default settings) <span class="anchor" id="line-19"></span></li></ol><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Debugging (last edited 2005-12-05 20:57:54 by <span title="DavidDynerman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./DavidDynerman" title="DavidDynerman @ 67.129.250.254[67.129.250.254]">DavidDynerman</a></span>)</p>
<span class="anchor" id="line-6"></span><p class="line874">If you're working with the game code, you can quickly setup Visual Studio to debug your code as a regular application. There are several ways to do this, here's one of them. <span class="anchor" id="line-7"></span><span class="anchor" id="line-8"></span><p class="line867"><strong>The following assumes you've installed Quake 4 to C:\Quake4, and the SDK to C:\Quake4_SDK</strong> <span class="anchor" id="line-9"></span><span class="anchor" id="line-10"></span><ol type="1"><li><p class="line862">Right click the <em>Game</em> project in the Solution Explorer and select Properties. <span class="anchor" id="line-11"></span></li><li><p class="line862">Setup a post-build step to copy your gamex86.dll to your Quake 4 root directory; you can use the commandline <em>xcopy $(Target<tt class="backtick"></tt>Path) c:\quake4</em>: <span class="anchor" id="line-12"></span><ul><li style="list-style-type:none"><p class="line891"><a class="attachment" href="./Debugging?action=AttachFile&amp;do=get&amp;target=post-build.jpg" title="attachment:post-build.jpg">Post Build Step Settings</a> <span class="anchor" id="line-13"></span></li></ul></li><li><p class="line862">Configure your debugging settings. Right click the <em>Game</em> project in the Solution Explorer, select Properties, then click Debugging <span class="anchor" id="line-14"></span><ul><li><p class="line891"><strong>Command</strong>: This is the command to run from the debugger. Set it to C:\Quake4\Quake4.exe <span class="anchor" id="line-15"></span></li><li><p class="line891"><strong>Command Arguments</strong>: Arguments to pass to the game. Set this to <em>+set si_pure 0</em> <span class="anchor" id="line-16"></span></li><li><p class="line891"><strong>Working Directory</strong>: Specify where the game will be run from. Set this to C:\Quake4 <span class="anchor" id="line-17"></span><ul><li style="list-style-type:none"><p class="line891"><a class="attachment" href="./Debugging?action=AttachFile&amp;do=get&amp;target=debug-settings.jpg" title="attachment:debug-settings.jpg">Debug Settings</a> <span class="anchor" id="line-18"></span></li></ul></li></ul></li><li>Re-build your game DLL to make sure the post-build step is performed, and you should be all set hit F5 and start debugging (default settings) <span class="anchor" id="line-19"></span></li></ol><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Debugging (last edited 2005-12-05 20:57:54 by <span title="DavidDynerman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./DavidDynerman.html" title="DavidDynerman @ 67.129.250.254[67.129.250.254]">DavidDynerman</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./Declaration?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./Declaration?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./Declaration">Declaration</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./Declaration.html">Declaration</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -187,11 +187,11 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line862">A <em>Declaration</em> is a block of text data the engine reads in. There are 18 <em>Declaration Types</em> <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line867">
<h3 id="head-915890a9c8d3bf9a2a41b886849ce401e76c5820">Common Declarations</h3>
<span class="anchor" id="line-4"></span><ul><li><p class="line891"><a href="./EntityDefinition">EntityDefinition</a> - Entity definitions. Example: The player's entity definition defines the player's max health, starting weapons, etc. <span class="anchor" id="line-5"></span></li><li><p class="line891"><a href="./ModelDefinition">ModelDefinition</a> - Model definition. Defines mesh information, animation information, etc <span class="anchor" id="line-6"></span></li><li><p class="line891"><a class="nonexistent" href="./MaterialDeclaration">MaterialDeclaration</a> - Defines a material. <span class="anchor" id="line-7"></span></li><li><p class="line891"><a class="nonexistent" href="./SoundDeclaration">SoundDeclaration</a> - Defines a sound. <span class="anchor" id="line-8"></span></li><li><p class="line891"><a class="nonexistent" href="./EffectDeclaration">EffectDeclaration</a> - Defines an effect. Created using the <a href="./FXEditor">FXEditor</a>. <span class="anchor" id="line-9"></span></li><li><p class="line891"><a class="nonexistent" href="./ModelExportDeclaration">ModelExportDeclaration</a> - Defines model export parameters. <span class="anchor" id="line-10"></span></li><li><p class="line891"><a href="./MapDefinition">MapDefinition</a> - Defines information about maps. Example: A map's file size, which multiplayer gametypes it supports, etc. <span class="anchor" id="line-11"></span><span class="anchor" id="line-12"></span></li></ul><p class="line867">
<span class="anchor" id="line-4"></span><ul><li><p class="line891"><a href="./EntityDefinition.html">EntityDefinition</a> - Entity definitions. Example: The player's entity definition defines the player's max health, starting weapons, etc. <span class="anchor" id="line-5"></span></li><li><p class="line891"><a href="./ModelDefinition.html">ModelDefinition</a> - Model definition. Defines mesh information, animation information, etc <span class="anchor" id="line-6"></span></li><li><p class="line891"><a class="nonexistent" href="./MaterialDeclaration.html">MaterialDeclaration</a> - Defines a material. <span class="anchor" id="line-7"></span></li><li><p class="line891"><a class="nonexistent" href="./SoundDeclaration.html">SoundDeclaration</a> - Defines a sound. <span class="anchor" id="line-8"></span></li><li><p class="line891"><a class="nonexistent" href="./EffectDeclaration.html">EffectDeclaration</a> - Defines an effect. Created using the <a href="./FXEditor.html">FXEditor</a>. <span class="anchor" id="line-9"></span></li><li><p class="line891"><a class="nonexistent" href="./ModelExportDeclaration.html">ModelExportDeclaration</a> - Defines model export parameters. <span class="anchor" id="line-10"></span></li><li><p class="line891"><a href="./MapDefinition.html">MapDefinition</a> - Defines information about maps. Example: A map's file size, which multiplayer gametypes it supports, etc. <span class="anchor" id="line-11"></span><span class="anchor" id="line-12"></span></li></ul><p class="line867">
<h3 id="head-ae3373ab00ed575ca7853015891efcce9d2c9d05">Less Common Declarations</h3>
<span class="anchor" id="line-13"></span><ul><li><p class="line891"><a class="nonexistent" href="./TableDeclaration">TableDeclaration</a> - Defines a lookup table of values. Example: Materials can use the <em>sintable</em> lookup table to modulate texture coordinates based on a sine wave. <span class="anchor" id="line-14"></span></li><li><p class="line891"><a class="nonexistent" href="./SkinDeclaration">SkinDeclaration</a> - Defines a skin, which maps a new material onto a given surface. <span class="anchor" id="line-15"></span></li><li><p class="line891"><a class="nonexistent" href="./MaterialTypeDeclaration">MaterialTypeDeclaration</a> - Defines types of materials. <span class="anchor" id="line-16"></span></li><li><p class="line891"><a class="nonexistent" href="./LipsyncDeclaration">LipsyncDeclaration</a> - Defines lipsync information. <span class="anchor" id="line-17"></span></li><li><p class="line891"><a class="nonexistent" href="./AFDeclaration">AFDeclaration</a> - Defines an articulated figure. Created using the <a class="nonexistent" href="./AFEditor">AFEditor</a>. <span class="anchor" id="line-18"></span><span class="anchor" id="line-19"></span></li></ul><p class="line867">
<span class="anchor" id="line-13"></span><ul><li><p class="line891"><a class="nonexistent" href="./TableDeclaration.html">TableDeclaration</a> - Defines a lookup table of values. Example: Materials can use the <em>sintable</em> lookup table to modulate texture coordinates based on a sine wave. <span class="anchor" id="line-14"></span></li><li><p class="line891"><a class="nonexistent" href="./SkinDeclaration.html">SkinDeclaration</a> - Defines a skin, which maps a new material onto a given surface. <span class="anchor" id="line-15"></span></li><li><p class="line891"><a class="nonexistent" href="./MaterialTypeDeclaration.html">MaterialTypeDeclaration</a> - Defines types of materials. <span class="anchor" id="line-16"></span></li><li><p class="line891"><a class="nonexistent" href="./LipsyncDeclaration.html">LipsyncDeclaration</a> - Defines lipsync information. <span class="anchor" id="line-17"></span></li><li><p class="line891"><a class="nonexistent" href="./AFDeclaration.html">AFDeclaration</a> - Defines an articulated figure. Created using the <a class="nonexistent" href="./AFEditor.html">AFEditor</a>. <span class="anchor" id="line-18"></span><span class="anchor" id="line-19"></span></li></ul><p class="line867">
<h3 id="head-2d11f9690a1678f3164611add442c1a5b469a505">Legacy/Unused Declarations</h3>
<span class="anchor" id="line-20"></span><ul><li><p class="line891"><a class="nonexistent" href="./PlaybackDeclaration">PlaybackDeclaration</a> - Player movement playback definition. <span class="anchor" id="line-21"></span></li><li><p class="line891"><a class="nonexistent" href="./CameraDefinition">CameraDefinition</a> - Cinematic camera definitions. Defines parameters for cameras used in in-game cinematics. <span class="anchor" id="line-22"></span></li><li><p class="line891"><a class="nonexistent" href="./PDADeclaration">PDADeclaration</a> - PDA definition. Doom 3 legacy. <span class="anchor" id="line-23"></span></li><li><p class="line891"><a class="nonexistent" href="./VideoDeclaration">VideoDeclaration</a> - Video Disc definition. Doom 3 legacy. <span class="anchor" id="line-24"></span></li><li><p class="line891"><a class="nonexistent" href="./AudioDeclaration">AudioDeclaration</a> - Audio Disc definition. Doom 3 legacy. <span class="anchor" id="line-25"></span></li><li><p class="line891"><a class="nonexistent" href="./EMailDeclaration">EMailDeclaration</a> - E-mail definition. <span class="anchor" id="line-26"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Declaration (last edited 2005-11-01 21:33:52 by <span title="DavidDynerman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./DavidDynerman" title="DavidDynerman @ 67.129.250.254[67.129.250.254]">DavidDynerman</a></span>)</p>
<span class="anchor" id="line-20"></span><ul><li><p class="line891"><a class="nonexistent" href="./PlaybackDeclaration.html">PlaybackDeclaration</a> - Player movement playback definition. <span class="anchor" id="line-21"></span></li><li><p class="line891"><a class="nonexistent" href="./CameraDefinition.html">CameraDefinition</a> - Cinematic camera definitions. Defines parameters for cameras used in in-game cinematics. <span class="anchor" id="line-22"></span></li><li><p class="line891"><a class="nonexistent" href="./PDADeclaration.html">PDADeclaration</a> - PDA definition. Doom 3 legacy. <span class="anchor" id="line-23"></span></li><li><p class="line891"><a class="nonexistent" href="./VideoDeclaration.html">VideoDeclaration</a> - Video Disc definition. Doom 3 legacy. <span class="anchor" id="line-24"></span></li><li><p class="line891"><a class="nonexistent" href="./AudioDeclaration.html">AudioDeclaration</a> - Audio Disc definition. Doom 3 legacy. <span class="anchor" id="line-25"></span></li><li><p class="line891"><a class="nonexistent" href="./EMailDeclaration.html">EMailDeclaration</a> - E-mail definition. <span class="anchor" id="line-26"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Declaration (last edited 2005-11-01 21:33:52 by <span title="DavidDynerman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./DavidDynerman.html" title="DavidDynerman @ 67.129.250.254[67.129.250.254]">DavidDynerman</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./Declaration?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./Declaration?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./Declaration">Declaration</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./Declaration.html">Declaration</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -192,11 +192,11 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line862">A <em>Declaration</em> is a block of text data the engine reads in. There are 18 <em>Declaration Types</em> <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line867">
<h3 id="head-915890a9c8d3bf9a2a41b886849ce401e76c5820">Common Declarations</h3>
<span class="anchor" id="line-4"></span><ul><li><p class="line891"><a href="./EntityDefinition">EntityDefinition</a> - Entity definitions. Example: The player's entity definition defines the player's max health, starting weapons, etc. <span class="anchor" id="line-5"></span></li><li><p class="line891"><a href="./ModelDefinition">ModelDefinition</a> - Model definition. Defines mesh information, animation information, etc <span class="anchor" id="line-6"></span></li><li><p class="line891"><a class="nonexistent" href="./MaterialDeclaration">MaterialDeclaration</a> - Defines a material. <span class="anchor" id="line-7"></span></li><li><p class="line891"><a class="nonexistent" href="./SoundDeclaration">SoundDeclaration</a> - Defines a sound. <span class="anchor" id="line-8"></span></li><li><p class="line891"><a class="nonexistent" href="./EffectDeclaration">EffectDeclaration</a> - Defines an effect. Created using the <a href="./FXEditor">FXEditor</a>. <span class="anchor" id="line-9"></span></li><li><p class="line891"><a class="nonexistent" href="./ModelExportDeclaration">ModelExportDeclaration</a> - Defines model export parameters. <span class="anchor" id="line-10"></span></li><li><p class="line891"><a href="./MapDefinition">MapDefinition</a> - Defines information about maps. Example: A map's file size, which multiplayer gametypes it supports, etc. <span class="anchor" id="line-11"></span><span class="anchor" id="line-12"></span></li></ul><p class="line867">
<span class="anchor" id="line-4"></span><ul><li><p class="line891"><a href="./EntityDefinition.html">EntityDefinition</a> - Entity definitions. Example: The player's entity definition defines the player's max health, starting weapons, etc. <span class="anchor" id="line-5"></span></li><li><p class="line891"><a href="./ModelDefinition.html">ModelDefinition</a> - Model definition. Defines mesh information, animation information, etc <span class="anchor" id="line-6"></span></li><li><p class="line891"><a class="nonexistent" href="./MaterialDeclaration.html">MaterialDeclaration</a> - Defines a material. <span class="anchor" id="line-7"></span></li><li><p class="line891"><a class="nonexistent" href="./SoundDeclaration.html">SoundDeclaration</a> - Defines a sound. <span class="anchor" id="line-8"></span></li><li><p class="line891"><a class="nonexistent" href="./EffectDeclaration.html">EffectDeclaration</a> - Defines an effect. Created using the <a href="./FXEditor.html">FXEditor</a>. <span class="anchor" id="line-9"></span></li><li><p class="line891"><a class="nonexistent" href="./ModelExportDeclaration.html">ModelExportDeclaration</a> - Defines model export parameters. <span class="anchor" id="line-10"></span></li><li><p class="line891"><a href="./MapDefinition.html">MapDefinition</a> - Defines information about maps. Example: A map's file size, which multiplayer gametypes it supports, etc. <span class="anchor" id="line-11"></span><span class="anchor" id="line-12"></span></li></ul><p class="line867">
<h3 id="head-ae3373ab00ed575ca7853015891efcce9d2c9d05">Less Common Declarations</h3>
<span class="anchor" id="line-13"></span><ul><li><p class="line891"><a class="nonexistent" href="./TableDeclaration">TableDeclaration</a> - Defines a lookup table of values. Example: Materials can use the <em>sintable</em> lookup table to modulate texture coordinates based on a sine wave. <span class="anchor" id="line-14"></span></li><li><p class="line891"><a class="nonexistent" href="./SkinDeclaration">SkinDeclaration</a> - Defines a skin, which maps a new material onto a given surface. <span class="anchor" id="line-15"></span></li><li><p class="line891"><a class="nonexistent" href="./MaterialTypeDeclaration">MaterialTypeDeclaration</a> - Defines types of materials. <span class="anchor" id="line-16"></span></li><li><p class="line891"><a class="nonexistent" href="./LipsyncDeclaration">LipsyncDeclaration</a> - Defines lipsync information. <span class="anchor" id="line-17"></span></li><li><p class="line891"><a class="nonexistent" href="./AFDeclaration">AFDeclaration</a> - Defines an articulated figure. Created using the <a class="nonexistent" href="./AFEditor">AFEditor</a>. <span class="anchor" id="line-18"></span><span class="anchor" id="line-19"></span></li></ul><p class="line867">
<span class="anchor" id="line-13"></span><ul><li><p class="line891"><a class="nonexistent" href="./TableDeclaration.html">TableDeclaration</a> - Defines a lookup table of values. Example: Materials can use the <em>sintable</em> lookup table to modulate texture coordinates based on a sine wave. <span class="anchor" id="line-14"></span></li><li><p class="line891"><a class="nonexistent" href="./SkinDeclaration.html">SkinDeclaration</a> - Defines a skin, which maps a new material onto a given surface. <span class="anchor" id="line-15"></span></li><li><p class="line891"><a class="nonexistent" href="./MaterialTypeDeclaration.html">MaterialTypeDeclaration</a> - Defines types of materials. <span class="anchor" id="line-16"></span></li><li><p class="line891"><a class="nonexistent" href="./LipsyncDeclaration.html">LipsyncDeclaration</a> - Defines lipsync information. <span class="anchor" id="line-17"></span></li><li><p class="line891"><a class="nonexistent" href="./AFDeclaration.html">AFDeclaration</a> - Defines an articulated figure. Created using the <a class="nonexistent" href="./AFEditor.html">AFEditor</a>. <span class="anchor" id="line-18"></span><span class="anchor" id="line-19"></span></li></ul><p class="line867">
<h3 id="head-2d11f9690a1678f3164611add442c1a5b469a505">Legacy/Unused Declarations</h3>
<span class="anchor" id="line-20"></span><ul><li><p class="line891"><a class="nonexistent" href="./PlaybackDeclaration">PlaybackDeclaration</a> - Player movement playback definition. <span class="anchor" id="line-21"></span></li><li><p class="line891"><a class="nonexistent" href="./CameraDefinition">CameraDefinition</a> - Cinematic camera definitions. Defines parameters for cameras used in in-game cinematics. <span class="anchor" id="line-22"></span></li><li><p class="line891"><a class="nonexistent" href="./PDADeclaration">PDADeclaration</a> - PDA definition. Doom 3 legacy. <span class="anchor" id="line-23"></span></li><li><p class="line891"><a class="nonexistent" href="./VideoDeclaration">VideoDeclaration</a> - Video Disc definition. Doom 3 legacy. <span class="anchor" id="line-24"></span></li><li><p class="line891"><a class="nonexistent" href="./AudioDeclaration">AudioDeclaration</a> - Audio Disc definition. Doom 3 legacy. <span class="anchor" id="line-25"></span></li><li><p class="line891"><a class="nonexistent" href="./EMailDeclaration">EMailDeclaration</a> - E-mail definition. <span class="anchor" id="line-26"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Declaration (last edited 2005-11-01 21:33:52 by <span title="DavidDynerman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./DavidDynerman" title="DavidDynerman @ 67.129.250.254[67.129.250.254]">DavidDynerman</a></span>)</p>
<span class="anchor" id="line-20"></span><ul><li><p class="line891"><a class="nonexistent" href="./PlaybackDeclaration.html">PlaybackDeclaration</a> - Player movement playback definition. <span class="anchor" id="line-21"></span></li><li><p class="line891"><a class="nonexistent" href="./CameraDefinition.html">CameraDefinition</a> - Cinematic camera definitions. Defines parameters for cameras used in in-game cinematics. <span class="anchor" id="line-22"></span></li><li><p class="line891"><a class="nonexistent" href="./PDADeclaration.html">PDADeclaration</a> - PDA definition. Doom 3 legacy. <span class="anchor" id="line-23"></span></li><li><p class="line891"><a class="nonexistent" href="./VideoDeclaration.html">VideoDeclaration</a> - Video Disc definition. Doom 3 legacy. <span class="anchor" id="line-24"></span></li><li><p class="line891"><a class="nonexistent" href="./AudioDeclaration.html">AudioDeclaration</a> - Audio Disc definition. Doom 3 legacy. <span class="anchor" id="line-25"></span></li><li><p class="line891"><a class="nonexistent" href="./EMailDeclaration.html">EMailDeclaration</a> - E-mail definition. <span class="anchor" id="line-26"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Declaration (last edited 2005-11-01 21:33:52 by <span title="DavidDynerman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./DavidDynerman.html" title="DavidDynerman @ 67.129.250.254[67.129.250.254]">DavidDynerman</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./DeclarationType?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./DeclarationType?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./DeclarationType">DeclarationType</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./DeclarationType.html">DeclarationType</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -190,7 +190,7 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-2"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">DeclarationType (last edited 2005-11-01 21:14:06 by <span title="DavidDynerman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./DavidDynerman" title="DavidDynerman @ 67.129.250.254[67.129.250.254]">DavidDynerman</a></span>)</p>
<span class="anchor" id="line-2"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">DeclarationType (last edited 2005-11-01 21:14:06 by <span title="DavidDynerman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./DavidDynerman.html" title="DavidDynerman @ 67.129.250.254[67.129.250.254]">DavidDynerman</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./Declaration?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./Declaration?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./Declaration">Declaration</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./Declaration.html">Declaration</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -192,11 +192,11 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line862">A <em>Declaration</em> is a block of text data the engine reads in. There are 18 <em>Declaration Types</em> <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line867">
<h3 id="head-915890a9c8d3bf9a2a41b886849ce401e76c5820">Common Declarations</h3>
<span class="anchor" id="line-4"></span><ul><li><p class="line891"><a href="./EntityDefinition">EntityDefinition</a> - Entity definitions. Example: The player's entity definition defines the player's max health, starting weapons, etc. <span class="anchor" id="line-5"></span></li><li><p class="line891"><a href="./ModelDefinition">ModelDefinition</a> - Model definition. Defines mesh information, animation information, etc <span class="anchor" id="line-6"></span></li><li><p class="line891"><a class="nonexistent" href="./MaterialDeclaration">MaterialDeclaration</a> - Defines a material. <span class="anchor" id="line-7"></span></li><li><p class="line891"><a class="nonexistent" href="./SoundDeclaration">SoundDeclaration</a> - Defines a sound. <span class="anchor" id="line-8"></span></li><li><p class="line891"><a class="nonexistent" href="./EffectDeclaration">EffectDeclaration</a> - Defines an effect. Created using the <a href="./FXEditor">FXEditor</a>. <span class="anchor" id="line-9"></span></li><li><p class="line891"><a class="nonexistent" href="./ModelExportDeclaration">ModelExportDeclaration</a> - Defines model export parameters. <span class="anchor" id="line-10"></span></li><li><p class="line891"><a href="./MapDefinition">MapDefinition</a> - Defines information about maps. Example: A map's file size, which multiplayer gametypes it supports, etc. <span class="anchor" id="line-11"></span><span class="anchor" id="line-12"></span></li></ul><p class="line867">
<span class="anchor" id="line-4"></span><ul><li><p class="line891"><a href="./EntityDefinition.html">EntityDefinition</a> - Entity definitions. Example: The player's entity definition defines the player's max health, starting weapons, etc. <span class="anchor" id="line-5"></span></li><li><p class="line891"><a href="./ModelDefinition.html">ModelDefinition</a> - Model definition. Defines mesh information, animation information, etc <span class="anchor" id="line-6"></span></li><li><p class="line891"><a class="nonexistent" href="./MaterialDeclaration.html">MaterialDeclaration</a> - Defines a material. <span class="anchor" id="line-7"></span></li><li><p class="line891"><a class="nonexistent" href="./SoundDeclaration.html">SoundDeclaration</a> - Defines a sound. <span class="anchor" id="line-8"></span></li><li><p class="line891"><a class="nonexistent" href="./EffectDeclaration.html">EffectDeclaration</a> - Defines an effect. Created using the <a href="./FXEditor.html">FXEditor</a>. <span class="anchor" id="line-9"></span></li><li><p class="line891"><a class="nonexistent" href="./ModelExportDeclaration.html">ModelExportDeclaration</a> - Defines model export parameters. <span class="anchor" id="line-10"></span></li><li><p class="line891"><a href="./MapDefinition.html">MapDefinition</a> - Defines information about maps. Example: A map's file size, which multiplayer gametypes it supports, etc. <span class="anchor" id="line-11"></span><span class="anchor" id="line-12"></span></li></ul><p class="line867">
<h3 id="head-ae3373ab00ed575ca7853015891efcce9d2c9d05">Less Common Declarations</h3>
<span class="anchor" id="line-13"></span><ul><li><p class="line891"><a class="nonexistent" href="./TableDeclaration">TableDeclaration</a> - Defines a lookup table of values. Example: Materials can use the <em>sintable</em> lookup table to modulate texture coordinates based on a sine wave. <span class="anchor" id="line-14"></span></li><li><p class="line891"><a class="nonexistent" href="./SkinDeclaration">SkinDeclaration</a> - Defines a skin, which maps a new material onto a given surface. <span class="anchor" id="line-15"></span></li><li><p class="line891"><a class="nonexistent" href="./MaterialTypeDeclaration">MaterialTypeDeclaration</a> - Defines types of materials. <span class="anchor" id="line-16"></span></li><li><p class="line891"><a class="nonexistent" href="./LipsyncDeclaration">LipsyncDeclaration</a> - Defines lipsync information. <span class="anchor" id="line-17"></span></li><li><p class="line891"><a class="nonexistent" href="./AFDeclaration">AFDeclaration</a> - Defines an articulated figure. Created using the <a class="nonexistent" href="./AFEditor">AFEditor</a>. <span class="anchor" id="line-18"></span><span class="anchor" id="line-19"></span></li></ul><p class="line867">
<span class="anchor" id="line-13"></span><ul><li><p class="line891"><a class="nonexistent" href="./TableDeclaration.html">TableDeclaration</a> - Defines a lookup table of values. Example: Materials can use the <em>sintable</em> lookup table to modulate texture coordinates based on a sine wave. <span class="anchor" id="line-14"></span></li><li><p class="line891"><a class="nonexistent" href="./SkinDeclaration.html">SkinDeclaration</a> - Defines a skin, which maps a new material onto a given surface. <span class="anchor" id="line-15"></span></li><li><p class="line891"><a class="nonexistent" href="./MaterialTypeDeclaration.html">MaterialTypeDeclaration</a> - Defines types of materials. <span class="anchor" id="line-16"></span></li><li><p class="line891"><a class="nonexistent" href="./LipsyncDeclaration.html">LipsyncDeclaration</a> - Defines lipsync information. <span class="anchor" id="line-17"></span></li><li><p class="line891"><a class="nonexistent" href="./AFDeclaration.html">AFDeclaration</a> - Defines an articulated figure. Created using the <a class="nonexistent" href="./AFEditor.html">AFEditor</a>. <span class="anchor" id="line-18"></span><span class="anchor" id="line-19"></span></li></ul><p class="line867">
<h3 id="head-2d11f9690a1678f3164611add442c1a5b469a505">Legacy/Unused Declarations</h3>
<span class="anchor" id="line-20"></span><ul><li><p class="line891"><a class="nonexistent" href="./PlaybackDeclaration">PlaybackDeclaration</a> - Player movement playback definition. <span class="anchor" id="line-21"></span></li><li><p class="line891"><a class="nonexistent" href="./CameraDefinition">CameraDefinition</a> - Cinematic camera definitions. Defines parameters for cameras used in in-game cinematics. <span class="anchor" id="line-22"></span></li><li><p class="line891"><a class="nonexistent" href="./PDADeclaration">PDADeclaration</a> - PDA definition. Doom 3 legacy. <span class="anchor" id="line-23"></span></li><li><p class="line891"><a class="nonexistent" href="./VideoDeclaration">VideoDeclaration</a> - Video Disc definition. Doom 3 legacy. <span class="anchor" id="line-24"></span></li><li><p class="line891"><a class="nonexistent" href="./AudioDeclaration">AudioDeclaration</a> - Audio Disc definition. Doom 3 legacy. <span class="anchor" id="line-25"></span></li><li><p class="line891"><a class="nonexistent" href="./EMailDeclaration">EMailDeclaration</a> - E-mail definition. <span class="anchor" id="line-26"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Declaration (last edited 2005-11-01 21:33:52 by <span title="DavidDynerman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./DavidDynerman" title="DavidDynerman @ 67.129.250.254[67.129.250.254]">DavidDynerman</a></span>)</p>
<span class="anchor" id="line-20"></span><ul><li><p class="line891"><a class="nonexistent" href="./PlaybackDeclaration.html">PlaybackDeclaration</a> - Player movement playback definition. <span class="anchor" id="line-21"></span></li><li><p class="line891"><a class="nonexistent" href="./CameraDefinition.html">CameraDefinition</a> - Cinematic camera definitions. Defines parameters for cameras used in in-game cinematics. <span class="anchor" id="line-22"></span></li><li><p class="line891"><a class="nonexistent" href="./PDADeclaration.html">PDADeclaration</a> - PDA definition. Doom 3 legacy. <span class="anchor" id="line-23"></span></li><li><p class="line891"><a class="nonexistent" href="./VideoDeclaration.html">VideoDeclaration</a> - Video Disc definition. Doom 3 legacy. <span class="anchor" id="line-24"></span></li><li><p class="line891"><a class="nonexistent" href="./AudioDeclaration.html">AudioDeclaration</a> - Audio Disc definition. Doom 3 legacy. <span class="anchor" id="line-25"></span></li><li><p class="line891"><a class="nonexistent" href="./EMailDeclaration.html">EMailDeclaration</a> - E-mail definition. <span class="anchor" id="line-26"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Declaration (last edited 2005-11-01 21:33:52 by <span title="DavidDynerman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./DavidDynerman.html" title="DavidDynerman @ 67.129.250.254[67.129.250.254]">DavidDynerman</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./Def_Flags?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./Def_Flags?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./Def_Flags">Def Flags</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./Def_Flags.html">Def Flags</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -185,7 +185,7 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line862">Most flags can be used by all <a href="./Def_Types">*Def Types</a>, but some are used only by certain <a href="./Def_Types">*Def elements</a>. The following is an example of a <a href="./Def_Types#choicedef">choiceDef</a> and some of its flags to show the general set up: <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line867"><span class="anchor" id="line-4"></span><pre> choiceDef gametype_selection
<span class="anchor" id="line-1"></span><p class="line862">Most flags can be used by all <a href="./Def_Types.html">*Def Types</a>, but some are used only by certain <a href="./Def_Types.html">*Def elements</a>. The following is an example of a <a href="./Def_Types#choicedef.html">choiceDef</a> and some of its flags to show the general set up: <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line867"><span class="anchor" id="line-4"></span><pre> choiceDef gametype_selection
<span class="anchor" id="line-5"></span> {
<span class="anchor" id="line-6"></span> rect 118,4,170,22
<span class="anchor" id="line-7"></span> visible 1
@ -199,71 +199,71 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-15"></span> }
<span class="anchor" id="line-16"></span></pre><span class="anchor" id="line-17"></span><span class="anchor" id="line-18"></span><p class="line867">
<h3 id="head-ec0f4e4c06f926b03bcba8158719bab22e5b9873">backcolor</h3>
<span class="anchor" id="line-19"></span><ul><li style="list-style-type:none"><p class="line862">Defines the background color of the <a href="./Def_Types">windowDef</a>. Colors are normalized RGB and alpha values. A backcolor set to 1,1,0,1 would be yellow with no transparency. This flag can also reference the individual R,G,B and alpha values in the following way: backcolor_x, backcolor_y, backcolor_z, backcolor_w. <span class="anchor" id="line-20"></span><span class="anchor" id="line-21"></span></li></ul><p class="line867">
<span class="anchor" id="line-19"></span><ul><li style="list-style-type:none"><p class="line862">Defines the background color of the <a href="./Def_Types.html">windowDef</a>. Colors are normalized RGB and alpha values. A backcolor set to 1,1,0,1 would be yellow with no transparency. This flag can also reference the individual R,G,B and alpha values in the following way: backcolor_x, backcolor_y, backcolor_z, backcolor_w. <span class="anchor" id="line-20"></span><span class="anchor" id="line-21"></span></li></ul><p class="line867">
<h3 id="head-3be910c1fa0062918544db4fffa24637cd0d37d0">background</h3>
<span class="anchor" id="line-22"></span><ul><li style="list-style-type:none"><p class="line862">The path to the image to be displayed in the <a href="./Def_Types">windowDef</a>. Paths are referenced from q4base, so a typical path would be gfx/guis/mapname/imagename . <span class="anchor" id="line-23"></span><span class="anchor" id="line-24"></span></li></ul><p class="line867">
<span class="anchor" id="line-22"></span><ul><li style="list-style-type:none"><p class="line862">The path to the image to be displayed in the <a href="./Def_Types.html">windowDef</a>. Paths are referenced from q4base, so a typical path would be gfx/guis/mapname/imagename . <span class="anchor" id="line-23"></span><span class="anchor" id="line-24"></span></li></ul><p class="line867">
<h3 id="head-ef85c63cb3086bcb21256f9ea54a0a684b5b4003">bind</h3>
<span class="anchor" id="line-25"></span><ul><li style="list-style-type:none"><p class="line862">Used in <a href="./Def_Types#binddef">bindDefs</a>. Sets the bind that will be changed when the player edits their key bindings. <span class="anchor" id="line-26"></span><span class="anchor" id="line-27"></span></li></ul><p class="line867">
<span class="anchor" id="line-25"></span><ul><li style="list-style-type:none"><p class="line862">Used in <a href="./Def_Types#binddef.html">bindDefs</a>. Sets the bind that will be changed when the player edits their key bindings. <span class="anchor" id="line-26"></span><span class="anchor" id="line-27"></span></li></ul><p class="line867">
<h3 id="head-24e7571b74f5453740b145b42c823b3ba496875c">bordercolor</h3>
<span class="anchor" id="line-28"></span><ul><li style="list-style-type:none"><p class="line862">Defines the color of the border on a <a href="./Def_Types">windowDef</a>. Colors are normalized RGB and alpha values. A bordercolor set to 1,1,0,1 would be yellow with no transparency. The bordersize flag must be set for a bordercolor to show. This flag can also reference the individual R,G,B and alpha values in the following way: bordercolor_x, bordercolor_y, bordercolor_z, bordercolor_w. <span class="anchor" id="line-29"></span><span class="anchor" id="line-30"></span></li></ul><p class="line867">
<span class="anchor" id="line-28"></span><ul><li style="list-style-type:none"><p class="line862">Defines the color of the border on a <a href="./Def_Types.html">windowDef</a>. Colors are normalized RGB and alpha values. A bordercolor set to 1,1,0,1 would be yellow with no transparency. The bordersize flag must be set for a bordercolor to show. This flag can also reference the individual R,G,B and alpha values in the following way: bordercolor_x, bordercolor_y, bordercolor_z, bordercolor_w. <span class="anchor" id="line-29"></span><span class="anchor" id="line-30"></span></li></ul><p class="line867">
<h3 id="head-b3c20397900e320b25bb92a5f172a0ac812512eb">bordersize</h3>
<span class="anchor" id="line-31"></span><ul><li style="list-style-type:none"><p class="line862">Defines the size in pixels of the <a href="./Def_Types">windowDef's</a> border. <span class="anchor" id="line-32"></span><span class="anchor" id="line-33"></span></li></ul><p class="line867">
<span class="anchor" id="line-31"></span><ul><li style="list-style-type:none"><p class="line862">Defines the size in pixels of the <a href="./Def_Types.html">windowDef's</a> border. <span class="anchor" id="line-32"></span><span class="anchor" id="line-33"></span></li></ul><p class="line867">
<h3 id="head-fa0511eeeeadd02021b3e4cd696570577b4bd510">choices</h3>
<span class="anchor" id="line-34"></span><ul><li style="list-style-type:none"><p class="line862">Defines the choices to be shown in a <a href="./Def_Types#choicedef">choiceDef</a>. Each choice is separated by a semicolon. <span class="anchor" id="line-35"></span><span class="anchor" id="line-36"></span></li></ul><p class="line867">
<span class="anchor" id="line-34"></span><ul><li style="list-style-type:none"><p class="line862">Defines the choices to be shown in a <a href="./Def_Types#choicedef.html">choiceDef</a>. Each choice is separated by a semicolon. <span class="anchor" id="line-35"></span><span class="anchor" id="line-36"></span></li></ul><p class="line867">
<h3 id="head-93e8937f0d74ac003bf1c7235d9605132b6aa27b">choicetype</h3>
<span class="anchor" id="line-37"></span><ul><li style="list-style-type:none">Takes values of 0 and 1. Choicetype 0 is a boolean value. Choicetype 1 is a multiple choice value. <span class="anchor" id="line-38"></span><span class="anchor" id="line-39"></span></li></ul><p class="line867">
<h3 id="head-a2cb6e8711cb6d59585126dfc4f2778e45ece566">comment</h3>
<span class="anchor" id="line-40"></span><ul><li style="list-style-type:none">Used to mark a comment. This is often used in the Desktop to refer to gui parms that may be used by the GUI to operate on scripts. <span class="anchor" id="line-41"></span><span class="anchor" id="line-42"></span></li></ul><p class="line867">
<h3 id="head-46b3e106a6161dbed98366f506fd0ddeaaf65bce">cvar</h3>
<span class="anchor" id="line-43"></span><ul><li style="list-style-type:none"><p class="line862">Defines the cvar that the <a href="./Def_Types">windowDef</a> is bound to. This can be used for <a href="./Def_Types#editdef">editDef</a>, <a href="./Def_Types#choicedef">choiceDef</a>, and <a href="./Def_Types#sliderdef">sliderDef</a>. <span class="anchor" id="line-44"></span><span class="anchor" id="line-45"></span></li></ul><p class="line867">
<span class="anchor" id="line-43"></span><ul><li style="list-style-type:none"><p class="line862">Defines the cvar that the <a href="./Def_Types.html">windowDef</a> is bound to. This can be used for <a href="./Def_Types#editdef.html">editDef</a>, <a href="./Def_Types#choicedef.html">choiceDef</a>, and <a href="./Def_Types#sliderdef.html">sliderDef</a>. <span class="anchor" id="line-44"></span><span class="anchor" id="line-45"></span></li></ul><p class="line867">
<h3 id="head-c883d951e8d7288abe1d94d023468e0e9f231c37">descriptions</h3>
<span class="anchor" id="line-46"></span><ul><li style="list-style-type:none"><p class="line862">Sets the text to be displayed alongside each choice in a <a href="./Def_Types#popupdef">popupDef</a>. Descriptions are separated by semicolons. <span class="anchor" id="line-47"></span><span class="anchor" id="line-48"></span></li></ul><p class="line867">
<span class="anchor" id="line-46"></span><ul><li style="list-style-type:none"><p class="line862">Sets the text to be displayed alongside each choice in a <a href="./Def_Types#popupdef.html">popupDef</a>. Descriptions are separated by semicolons. <span class="anchor" id="line-47"></span><span class="anchor" id="line-48"></span></li></ul><p class="line867">
<h3 id="head-2262fd66b5ea43b5f20bb5d6a4c10549078c12d5">dpadgui</h3>
<span class="anchor" id="line-49"></span><ul><li style="list-style-type:none">When set to 1 on a world GUI, this marks it as having navigable elements via the D-pad. <span class="anchor" id="line-50"></span><span class="anchor" id="line-51"></span></li></ul><p class="line867">
<h3 id="head-fc415dd77c38c5e3598047ef6b22f5ecf07782da">font</h3>
<span class="anchor" id="line-52"></span><ul><li style="list-style-type:none"><p class="line862">Sets the font to be used for the text in that <a href="./Def_Types">windowDef</a>. <span class="anchor" id="line-53"></span><span class="anchor" id="line-54"></span></li></ul><p class="line867">
<span class="anchor" id="line-52"></span><ul><li style="list-style-type:none"><p class="line862">Sets the font to be used for the text in that <a href="./Def_Types.html">windowDef</a>. <span class="anchor" id="line-53"></span><span class="anchor" id="line-54"></span></li></ul><p class="line867">
<h3 id="head-01b8e5c0839c67e0270afdd20d0944d4b288cb2d">forecolor</h3>
<span class="anchor" id="line-55"></span><ul><li style="list-style-type:none"><p class="line862">Defines the color of the text in a <a href="./Def_Types">windowDef</a>. Colors are normalized RGB and alpha values. A forecolor set to 1,1,0,1 would be yellow with no transparency. This flag can also reference the individual R,G,B and alpha values in the following way: forecolor_x, forecolor_y, forecolor_z, forecolor_w. <span class="anchor" id="line-56"></span><span class="anchor" id="line-57"></span></li></ul><p class="line867">
<span class="anchor" id="line-55"></span><ul><li style="list-style-type:none"><p class="line862">Defines the color of the text in a <a href="./Def_Types.html">windowDef</a>. Colors are normalized RGB and alpha values. A forecolor set to 1,1,0,1 would be yellow with no transparency. This flag can also reference the individual R,G,B and alpha values in the following way: forecolor_x, forecolor_y, forecolor_z, forecolor_w. <span class="anchor" id="line-56"></span><span class="anchor" id="line-57"></span></li></ul><p class="line867">
<h3 id="head-5069314559d9e1a74253b2e5d99160eb942f72d0">high</h3>
<span class="anchor" id="line-58"></span><ul><li style="list-style-type:none"><p class="line862">Used in <a href="./Def_Types#sliderdef">sliderDefs</a> as the upper boundary for a slider cvar value. <span class="anchor" id="line-59"></span><span class="anchor" id="line-60"></span></li></ul><p class="line867">
<span class="anchor" id="line-58"></span><ul><li style="list-style-type:none"><p class="line862">Used in <a href="./Def_Types#sliderdef.html">sliderDefs</a> as the upper boundary for a slider cvar value. <span class="anchor" id="line-59"></span><span class="anchor" id="line-60"></span></li></ul><p class="line867">
<h3 id="head-419d3ad5e4e22a3b381b1826b8b77692a83e5568">listname</h3>
<span class="anchor" id="line-61"></span><ul><li style="list-style-type:none"><p class="line862">Used in <a href="./Def_Types#listdef">listDefs</a> only. Sets the name of the list to be displayed in the <a href="./Def_Types#listdef">listDef</a>. This listname value is referenced by the code and may or may not be different from the <a href="./Def_Types#listdef">listDef's</a> actual name. <span class="anchor" id="line-62"></span><span class="anchor" id="line-63"></span></li></ul><p class="line867">
<span class="anchor" id="line-61"></span><ul><li style="list-style-type:none"><p class="line862">Used in <a href="./Def_Types#listdef.html">listDefs</a> only. Sets the name of the list to be displayed in the <a href="./Def_Types#listdef.html">listDef</a>. This listname value is referenced by the code and may or may not be different from the <a href="./Def_Types#listdef.html">listDef's</a> actual name. <span class="anchor" id="line-62"></span><span class="anchor" id="line-63"></span></li></ul><p class="line867">
<h3 id="head-14a4930dfd2a41c5daf1c9a9fe45a90fb2a6cfb1">low</h3>
<span class="anchor" id="line-64"></span><ul><li style="list-style-type:none"><p class="line862">Used in <a href="./Def_Types#sliderdef">sliderDefs</a> as the lower boundary for a slider cvar value. <span class="anchor" id="line-65"></span><span class="anchor" id="line-66"></span></li></ul><p class="line867">
<span class="anchor" id="line-64"></span><ul><li style="list-style-type:none"><p class="line862">Used in <a href="./Def_Types#sliderdef.html">sliderDefs</a> as the lower boundary for a slider cvar value. <span class="anchor" id="line-65"></span><span class="anchor" id="line-66"></span></li></ul><p class="line867">
<h3 id="head-7b0925ce9ac3eac9dd3f2f41b77d92a296b11b06">matcolor</h3>
<span class="anchor" id="line-67"></span><ul><li style="list-style-type:none"><p class="line862">Defines the color of the image displayed in the “background” flag for a <a href="./Def_Types">windowDef</a>. This flag can also reference only the R, G, B, and alpha values of a <a href="./Def_Types">windowDef</a> accordingly: matcolor_x, matcolor_y, matcolor_z, matcolor_w. <span class="anchor" id="line-68"></span><span class="anchor" id="line-69"></span></li></ul><p class="line867">
<span class="anchor" id="line-67"></span><ul><li style="list-style-type:none"><p class="line862">Defines the color of the image displayed in the “background” flag for a <a href="./Def_Types.html">windowDef</a>. This flag can also reference only the R, G, B, and alpha values of a <a href="./Def_Types.html">windowDef</a> accordingly: matcolor_x, matcolor_y, matcolor_z, matcolor_w. <span class="anchor" id="line-68"></span><span class="anchor" id="line-69"></span></li></ul><p class="line867">
<h3 id="head-edfd248b4ac6393350d427d294e36ae26f8145cf">menugui</h3>
<span class="anchor" id="line-70"></span><ul><li style="list-style-type:none">Used in the Desktop. A value of 1 marks the gui as a menu gui. This adjusts the cursor pointer size. Without this flag, menus will have giant cursors similar to world guis. <span class="anchor" id="line-71"></span><span class="anchor" id="line-72"></span></li></ul><p class="line867">
<h3 id="head-85e2dc97e0ca21663ac1b91989e4c14eeffd8744">name</h3>
<span class="anchor" id="line-73"></span><ul><li style="list-style-type:none"><p class="line862">Defines the name of the <a href="./Def_Types">windowDef</a>. Each <a href="./Def_Types">windowDef</a> in a GUI must have a unique name. <span class="anchor" id="line-74"></span><span class="anchor" id="line-75"></span></li></ul><p class="line867">
<span class="anchor" id="line-73"></span><ul><li style="list-style-type:none"><p class="line862">Defines the name of the <a href="./Def_Types.html">windowDef</a>. Each <a href="./Def_Types.html">windowDef</a> in a GUI must have a unique name. <span class="anchor" id="line-74"></span><span class="anchor" id="line-75"></span></li></ul><p class="line867">
<h3 id="head-c5e3f388eaa5b8ab2cf4d6d0e4d2fe7480301d20">nocursor</h3>
<span class="anchor" id="line-76"></span><ul><li style="list-style-type:none">Used in the Desktop. A value of 1 will display no cursor over the gui. This can be used for noninteractive GUIs such as monitors. <span class="anchor" id="line-77"></span><span class="anchor" id="line-78"></span></li></ul><p class="line867">
<h3 id="head-48f2ef6a2c321190508f707105088a68c94bbb9e">noevents</h3>
<span class="anchor" id="line-79"></span><ul><li style="list-style-type:none"><p class="line862">A value of 1 disables any <a href="./Scripting_Actions_and_Animations#onaction">onAction</a> scripts in the <a href="./Def_Types">windowDef</a>. <span class="anchor" id="line-80"></span><span class="anchor" id="line-81"></span></li></ul><p class="line867">
<span class="anchor" id="line-79"></span><ul><li style="list-style-type:none"><p class="line862">A value of 1 disables any <a href="./Scripting_Actions_and_Animations#onaction.html">onAction</a> scripts in the <a href="./Def_Types.html">windowDef</a>. <span class="anchor" id="line-80"></span><span class="anchor" id="line-81"></span></li></ul><p class="line867">
<h3 id="head-07b829561a09977a8cb985bf3066120aa19cf7ef">notime</h3>
<span class="anchor" id="line-82"></span><ul><li style="list-style-type:none"><p class="line862">Used for <a href="./Def_Types">windowDefs</a> holding <a href="./Scripting_Actions_and_Animations#animations">animation</a> scripts. A value of 1 stops the <a href="./Def_Types">windowDefs</a> onTime scripts from running. <span class="anchor" id="line-83"></span><span class="anchor" id="line-84"></span></li></ul><p class="line867">
<span class="anchor" id="line-82"></span><ul><li style="list-style-type:none"><p class="line862">Used for <a href="./Def_Types.html">windowDefs</a> holding <a href="./Scripting_Actions_and_Animations#animations.html">animation</a> scripts. A value of 1 stops the <a href="./Def_Types.html">windowDefs</a> onTime scripts from running. <span class="anchor" id="line-83"></span><span class="anchor" id="line-84"></span></li></ul><p class="line867">
<h3 id="head-9636a3713557506d82884fe520efd4aa5867c07b">rect</h3>
<span class="anchor" id="line-85"></span><ul><li style="list-style-type:none"><p class="line862">Defines the location, width and height of a <a href="./Def_Types">windowDef</a> as x1,y1,width,height. 0,0,640,480 would be a <a class="nonexistent" href="./Def_types">windowDef</a> of 640 by 480 pixels whose top left corner is at coordinate 0,0. The first two values always represent the upper left corner of a <a href="./Def_Types">windowDef</a>. <span class="anchor" id="line-86"></span><span class="anchor" id="line-87"></span></li></ul><p class="line867">
<span class="anchor" id="line-85"></span><ul><li style="list-style-type:none"><p class="line862">Defines the location, width and height of a <a href="./Def_Types.html">windowDef</a> as x1,y1,width,height. 0,0,640,480 would be a <a class="nonexistent" href="./Def_types.html">windowDef</a> of 640 by 480 pixels whose top left corner is at coordinate 0,0. The first two values always represent the upper left corner of a <a href="./Def_Types.html">windowDef</a>. <span class="anchor" id="line-86"></span><span class="anchor" id="line-87"></span></li></ul><p class="line867">
<h3 id="head-b34c46f0e75d6d1f5addeab89ddf67b8f9b165f7">rotate</h3>
<span class="anchor" id="line-88"></span><ul><li style="list-style-type:none"><p class="line862">Defines the angle that the image refenced by the <a href="./Def_Types">windowDef</a> will be rotated. This property can also be used in a <a href="./Scripting_Actions_and_Animations#animations">transition</a> statement to rotate an image in a <a href="./Def_Types">windowDef</a> over time. <span class="anchor" id="line-89"></span><span class="anchor" id="line-90"></span></li></ul><p class="line867">
<span class="anchor" id="line-88"></span><ul><li style="list-style-type:none"><p class="line862">Defines the angle that the image refenced by the <a href="./Def_Types.html">windowDef</a> will be rotated. This property can also be used in a <a href="./Scripting_Actions_and_Animations#animations.html">transition</a> statement to rotate an image in a <a href="./Def_Types.html">windowDef</a> over time. <span class="anchor" id="line-89"></span><span class="anchor" id="line-90"></span></li></ul><p class="line867">
<h3 id="head-9969909670dc74bfa42db7b92a3c383d7de21845">scrollbar</h3>
<span class="anchor" id="line-91"></span><ul><li style="list-style-type:none"><p class="line862">A value of 1 enables scrollbars in a <a href="./Def_Types#listdef">listDef</a>. <span class="anchor" id="line-92"></span><span class="anchor" id="line-93"></span></li></ul><p class="line867">
<span class="anchor" id="line-91"></span><ul><li style="list-style-type:none"><p class="line862">A value of 1 enables scrollbars in a <a href="./Def_Types#listdef.html">listDef</a>. <span class="anchor" id="line-92"></span><span class="anchor" id="line-93"></span></li></ul><p class="line867">
<h3 id="head-b3e1a8558ecff894fc6ad6cb49ba57c9d02962eb">step</h3>
<span class="anchor" id="line-94"></span><ul><li style="list-style-type:none"><p class="line862">Used in <a href="./Def_Types#sliderdef">sliderDefs</a> to define the interval that a slider will move. <span class="anchor" id="line-95"></span><span class="anchor" id="line-96"></span></li></ul><p class="line867">
<span class="anchor" id="line-94"></span><ul><li style="list-style-type:none"><p class="line862">Used in <a href="./Def_Types#sliderdef.html">sliderDefs</a> to define the interval that a slider will move. <span class="anchor" id="line-95"></span><span class="anchor" id="line-96"></span></li></ul><p class="line867">
<h3 id="head-8db7c754c5c5f425f249806a4ab218f2300186f3">text</h3>
<span class="anchor" id="line-97"></span><ul><li style="list-style-type:none"><p class="line862">The text to be displayed in the <a href="./Def_Types">windowDef</a>. The character limit is 1024. <span class="anchor" id="line-98"></span><span class="anchor" id="line-99"></span></li></ul><p class="line867">
<span class="anchor" id="line-97"></span><ul><li style="list-style-type:none"><p class="line862">The text to be displayed in the <a href="./Def_Types.html">windowDef</a>. The character limit is 1024. <span class="anchor" id="line-98"></span><span class="anchor" id="line-99"></span></li></ul><p class="line867">
<h3 id="head-5612003b2b62b20954aeffbe5e6f3e2e91dd0775">textalign</h3>
<span class="anchor" id="line-100"></span><ul><li style="list-style-type:none"><p class="line862">Defines the alignment within the <a href="./Def_Types">windowDef</a> of the text. A value of 0 left-aligns the text. A value of 1 center-aligns the text. A value of 2 right-aligns the text. When this flag is not set, the text defaults to left-aligned. <span class="anchor" id="line-101"></span><span class="anchor" id="line-102"></span></li></ul><p class="line867"><span class="anchor" id="textscale"></span> <span class="anchor" id="line-103"></span>
<span class="anchor" id="line-100"></span><ul><li style="list-style-type:none"><p class="line862">Defines the alignment within the <a href="./Def_Types.html">windowDef</a> of the text. A value of 0 left-aligns the text. A value of 1 center-aligns the text. A value of 2 right-aligns the text. When this flag is not set, the text defaults to left-aligned. <span class="anchor" id="line-101"></span><span class="anchor" id="line-102"></span></li></ul><p class="line867"><span class="anchor" id="textscale"></span> <span class="anchor" id="line-103"></span>
<h3 id="head-774af106537b73de103a4d31f6d578d5f6e0e372">textscale</h3>
<span class="anchor" id="line-104"></span><ul><li style="list-style-type:none"><p class="line862">Defines the font size of the text in the <a href="./Def_Types">windowDef</a>. The range is general from 0.0 to 1.0 but can exceed 1.0. <span class="anchor" id="line-105"></span><span class="anchor" id="line-106"></span></li></ul><p class="line867">
<span class="anchor" id="line-104"></span><ul><li style="list-style-type:none"><p class="line862">Defines the font size of the text in the <a href="./Def_Types.html">windowDef</a>. The range is general from 0.0 to 1.0 but can exceed 1.0. <span class="anchor" id="line-105"></span><span class="anchor" id="line-106"></span></li></ul><p class="line867">
<h3 id="head-21f9ea441255c6c471d6af4d5a9fa8f5fcf7ec45">thumbShader</h3>
<span class="anchor" id="line-107"></span><ul><li style="list-style-type:none"><p class="line862">Used only for <a href="./Def_Types#sliderdef">sliderDefs</a>. This references an image to be used as the slider element. <span class="anchor" id="line-108"></span><span class="anchor" id="line-109"></span></li></ul><p class="line867">
<span class="anchor" id="line-107"></span><ul><li style="list-style-type:none"><p class="line862">Used only for <a href="./Def_Types#sliderdef.html">sliderDefs</a>. This references an image to be used as the slider element. <span class="anchor" id="line-108"></span><span class="anchor" id="line-109"></span></li></ul><p class="line867">
<h3 id="head-8244539c3e69d20481d9c04fc0c88e700a576790">visible</h3>
<span class="anchor" id="line-110"></span><ul><li style="list-style-type:none"><p class="line862">Takes values of 0 or 1. Defines whether or not the <a href="./Def_Types">windowDef</a> is visible. <a href="./Def_Types">windowDefs</a> have a visible set to 1 by default. <span class="anchor" id="line-111"></span><span class="anchor" id="line-112"></span></li></ul><p class="line867">
<span class="anchor" id="line-110"></span><ul><li style="list-style-type:none"><p class="line862">Takes values of 0 or 1. Defines whether or not the <a href="./Def_Types.html">windowDef</a> is visible. <a href="./Def_Types.html">windowDefs</a> have a visible set to 1 by default. <span class="anchor" id="line-111"></span><span class="anchor" id="line-112"></span></li></ul><p class="line867">
<h3 id="head-ead78180d1f31f4441334013d550c282a0d46fd3">matscalex</h3>
<span class="anchor" id="line-113"></span><ul><li style="list-style-type:none"><p class="line862">When set to -1, this will flip the texture in the <a href="./Def_Types">windowDef</a> along the horizontal axis. <span class="anchor" id="line-114"></span><span class="anchor" id="line-115"></span></li></ul><p class="line867">
<span class="anchor" id="line-113"></span><ul><li style="list-style-type:none"><p class="line862">When set to -1, this will flip the texture in the <a href="./Def_Types.html">windowDef</a> along the horizontal axis. <span class="anchor" id="line-114"></span><span class="anchor" id="line-115"></span></li></ul><p class="line867">
<h3 id="head-65417469bd01b8dbbc931752d3ebd01650dbdad5">matscaley</h3>
<span class="anchor" id="line-116"></span><ul><li style="list-style-type:none"><p class="line862">When set to -1, this will flip the texture in the <a href="./Def_Types">windowDef</a> along the vertical axis. <span class="anchor" id="line-117"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Def Flags (last edited 2005-11-07 19:41:06 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-116"></span><ul><li style="list-style-type:none"><p class="line862">When set to -1, this will flip the texture in the <a href="./Def_Types.html">windowDef</a> along the vertical axis. <span class="anchor" id="line-117"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Def Flags (last edited 2005-11-07 19:41:06 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./Def_Types?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./Def_Types?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./Def_Types">Def Types</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./Def_Types.html">Def Types</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -203,7 +203,7 @@ actionsMenuInit('More Actions:');
<h3 id="head-4a340742c2a88d01e67e0cdde664351c17a071ad">graphDef</h3>
<span class="anchor" id="line-31"></span><ul><li style="list-style-type:none">Used for displaying items like the lag-o-meter. <span class="anchor" id="line-32"></span><span class="anchor" id="line-33"></span></li></ul><p class="line867"><span class="anchor" id="popupDef"></span> <span class="anchor" id="line-34"></span>
<h3 id="head-eaec8645f0ffa1a5e17982006582a6d5e40a1741">popupDef</h3>
<span class="anchor" id="line-35"></span><ul><li style="list-style-type:none">Used to pop up a window to allow the player to select options. <span class="anchor" id="line-36"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Def Types (last edited 2005-11-04 23:27:12 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-35"></span><ul><li style="list-style-type:none">Used to pop up a window to allow the player to select options. <span class="anchor" id="line-36"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Def Types (last edited 2005-11-04 23:27:12 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,20 +88,20 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./DefinitionFile?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./DefinitionFile?action=print">
<link rel="Appendix" title="player.def" href="./DefinitionFile?action=AttachFile&amp;do=view&amp;target=player.def">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -139,7 +139,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./DefinitionFile">DefinitionFile</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./DefinitionFile.html">DefinitionFile</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -186,21 +186,21 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line862">A <strong>Definition File</strong> (<em>def file</em> for short) is a text file with the .def extension that defines various properties of the game. There are four types of <a href="./Declarations">Declarations</a> you will find in def files. <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><ul><li><p class="line891"><a href="./EntityDefinition">EntityDefinition</a> - Blocks of the form <span class="anchor" id="line-4"></span><ul><li style="list-style-type:none"><pre>entityDef defName {
<span class="anchor" id="line-1"></span><p class="line862">A <strong>Definition File</strong> (<em>def file</em> for short) is a text file with the .def extension that defines various properties of the game. There are four types of <a href="./Declarations.html">Declarations</a> you will find in def files. <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><ul><li><p class="line891"><a href="./EntityDefinition.html">EntityDefinition</a> - Blocks of the form <span class="anchor" id="line-4"></span><ul><li style="list-style-type:none"><pre>entityDef defName {
<span class="anchor" id="line-5"></span> ...
<span class="anchor" id="line-6"></span>}
<span class="anchor" id="line-7"></span></pre><span class="anchor" id="line-8"></span></li></ul></li><li><p class="line891"><a href="./ModelDefinition">ModelDefinition</a> - Blocks of the form <span class="anchor" id="line-9"></span><ul><li style="list-style-type:none"><pre>model modelName {
<span class="anchor" id="line-7"></span></pre><span class="anchor" id="line-8"></span></li></ul></li><li><p class="line891"><a href="./ModelDefinition.html">ModelDefinition</a> - Blocks of the form <span class="anchor" id="line-9"></span><ul><li style="list-style-type:none"><pre>model modelName {
<span class="anchor" id="line-10"></span> ...
<span class="anchor" id="line-11"></span>}
<span class="anchor" id="line-12"></span></pre><span class="anchor" id="line-13"></span></li></ul></li><li><p class="line891"><a href="./ModelExportBlock">ModelExportBlock</a> - Blocks of the form <span class="anchor" id="line-14"></span><ul><li style="list-style-type:none"><pre>export exportName {
<span class="anchor" id="line-12"></span></pre><span class="anchor" id="line-13"></span></li></ul></li><li><p class="line891"><a href="./ModelExportBlock.html">ModelExportBlock</a> - Blocks of the form <span class="anchor" id="line-14"></span><ul><li style="list-style-type:none"><pre>export exportName {
<span class="anchor" id="line-15"></span> ...
<span class="anchor" id="line-16"></span>}
<span class="anchor" id="line-17"></span></pre><span class="anchor" id="line-18"></span></li></ul></li><li><p class="line891"><a href="./MapDefinition">MapDefinition</a> - Blocks of the form <span class="anchor" id="line-19"></span><ul><li style="list-style-type:none"><pre>mapDef mapName {
<span class="anchor" id="line-17"></span></pre><span class="anchor" id="line-18"></span></li></ul></li><li><p class="line891"><a href="./MapDefinition.html">MapDefinition</a> - Blocks of the form <span class="anchor" id="line-19"></span><ul><li style="list-style-type:none"><pre>mapDef mapName {
<span class="anchor" id="line-20"></span> ...
<span class="anchor" id="line-21"></span>}
<span class="anchor" id="line-22"></span></pre><span class="anchor" id="line-23"></span><span class="anchor" id="line-24"></span></li></ul></li></ul><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-25"></span>
<h3 id="head-0dcec2a3d79e0f87610520dfebf22011d5e3f70e">Examples</h3>
<span class="anchor" id="line-26"></span><ul><li><p class="line891"><a class="attachment" href="./DefinitionFile?action=AttachFile&amp;do=get&amp;target=player.def" title="attachment:player.def">player.def</a> Quake 4's Player Definition File. This file defines almost all information pertaining to the player in Quake 4. Max health, starting weapons, what models are valid in multiplayer, etc. <span class="anchor" id="line-27"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">DefinitionFile (last edited 2005-11-02 00:05:19 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-26"></span><ul><li><p class="line891"><a class="attachment" href="./DefinitionFile?action=AttachFile&amp;do=get&amp;target=player.def" title="attachment:player.def">player.def</a> Quake 4's Player Definition File. This file defines almost all information pertaining to the player in Quake 4. Max health, starting weapons, what models are valid in multiplayer, etc. <span class="anchor" id="line-27"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">DefinitionFile (last edited 2005-11-02 00:05:19 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,22 +88,22 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./DefinitionFileExamples?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./DefinitionFileExamples?action=print">
<link rel="Appendix" title="monster_slimy_lobber.def" href="./DefinitionFileExamples?action=AttachFile&amp;do=view&amp;target=monster_slimy_lobber.def">
<link rel="Appendix" title="monster_strogg_marine_rocket.def" href="./DefinitionFileExamples?action=AttachFile&amp;do=view&amp;target=monster_strogg_marine_rocket.def">
<link rel="Appendix" title="monster_strogg_marine_rocket.jpg" href="./DefinitionFileExamples?action=AttachFile&amp;do=view&amp;target=monster_strogg_marine_rocket.jpg">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -141,7 +141,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./DefinitionFileExamples">DefinitionFileExamples</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./DefinitionFileExamples.html">DefinitionFileExamples</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -192,9 +192,9 @@ actionsMenuInit('More Actions:');
<h1 id="head-9e8e84c85b131c25a882b52c1e94f9ef0c9b74ea">Example Definition Files</h1>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line867"><br />
<img class="attachment" src="./DefinitionFileExamples?action=AttachFile&amp;do=get&amp;target=monster_strogg_marine_rocket.jpg" title="attachment:monster_strogg_marine_rocket.jpg" /> <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line867"><br />
The following two files are examples of how to bring 'new' monsters into the game using only <a href="./DefinitionFile">def</a> files. Each displays how to incorporate a new attack behavior to an existing monster using their existing AI and just a few numerical and path tweaks on the entityDef itself. <span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span><p class="line867"><br />
The following two files are examples of how to bring 'new' monsters into the game using only <a href="./DefinitionFile.html">def</a> files. Each displays how to incorporate a new attack behavior to an existing monster using their existing AI and just a few numerical and path tweaks on the entityDef itself. <span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span><p class="line867"><br />
While only examples, feel free to use (and improve!) these in your own mods - just be sure to include the def files (particularly if you do modify them) in your mod directory, as not all users will have SDK content installed. <span class="anchor" id="line-8"></span><span class="anchor" id="line-9"></span><p class="line867"><br />
We've tried to comment each file to give a better understanding of what is going on and what changes we made. <span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><p class="line867"><a class="attachment" href="./DefinitionFileExamples?action=AttachFile&amp;do=get&amp;target=monster_strogg_marine_rocket.def" title="attachment:monster_strogg_marine_rocket.def">monster_strogg_marine_rocket.def</a> <span class="anchor" id="line-14"></span><span class="anchor" id="line-15"></span><p class="line867"><a class="attachment" href="./DefinitionFileExamples?action=AttachFile&amp;do=get&amp;target=monster_slimy_lobber.def" title="attachment:monster_slimy_lobber.def">monster_slimy_lobber.def</a> <span class="anchor" id="line-16"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">DefinitionFileExamples (last edited 2005-11-09 14:36:17 by <span title="AndrewWeldon @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./AndrewWeldon" title="AndrewWeldon @ 67.129.250.254[67.129.250.254]">AndrewWeldon</a></span>)</p>
We've tried to comment each file to give a better understanding of what is going on and what changes we made. <span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><p class="line867"><a class="attachment" href="./DefinitionFileExamples?action=AttachFile&amp;do=get&amp;target=monster_strogg_marine_rocket.def" title="attachment:monster_strogg_marine_rocket.def">monster_strogg_marine_rocket.def</a> <span class="anchor" id="line-14"></span><span class="anchor" id="line-15"></span><p class="line867"><a class="attachment" href="./DefinitionFileExamples?action=AttachFile&amp;do=get&amp;target=monster_slimy_lobber.def" title="attachment:monster_slimy_lobber.def">monster_slimy_lobber.def</a> <span class="anchor" id="line-16"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">DefinitionFileExamples (last edited 2005-11-09 14:36:17 by <span title="AndrewWeldon @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./AndrewWeldon.html" title="AndrewWeldon @ 67.129.250.254[67.129.250.254]">AndrewWeldon</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,20 +88,20 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./DefinitionFile?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./DefinitionFile?action=print">
<link rel="Appendix" title="player.def" href="./DefinitionFile?action=AttachFile&amp;do=view&amp;target=player.def">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -139,7 +139,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./DefinitionFile">DefinitionFile</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./DefinitionFile.html">DefinitionFile</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -191,21 +191,21 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line862">A <strong>Definition File</strong> (<em>def file</em> for short) is a text file with the .def extension that defines various properties of the game. There are four types of <a href="./Declarations">Declarations</a> you will find in def files. <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><ul><li><p class="line891"><a href="./EntityDefinition">EntityDefinition</a> - Blocks of the form <span class="anchor" id="line-4"></span><ul><li style="list-style-type:none"><pre>entityDef defName {
<span class="anchor" id="line-1"></span><p class="line862">A <strong>Definition File</strong> (<em>def file</em> for short) is a text file with the .def extension that defines various properties of the game. There are four types of <a href="./Declarations.html">Declarations</a> you will find in def files. <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><ul><li><p class="line891"><a href="./EntityDefinition.html">EntityDefinition</a> - Blocks of the form <span class="anchor" id="line-4"></span><ul><li style="list-style-type:none"><pre>entityDef defName {
<span class="anchor" id="line-5"></span> ...
<span class="anchor" id="line-6"></span>}
<span class="anchor" id="line-7"></span></pre><span class="anchor" id="line-8"></span></li></ul></li><li><p class="line891"><a href="./ModelDefinition">ModelDefinition</a> - Blocks of the form <span class="anchor" id="line-9"></span><ul><li style="list-style-type:none"><pre>model modelName {
<span class="anchor" id="line-7"></span></pre><span class="anchor" id="line-8"></span></li></ul></li><li><p class="line891"><a href="./ModelDefinition.html">ModelDefinition</a> - Blocks of the form <span class="anchor" id="line-9"></span><ul><li style="list-style-type:none"><pre>model modelName {
<span class="anchor" id="line-10"></span> ...
<span class="anchor" id="line-11"></span>}
<span class="anchor" id="line-12"></span></pre><span class="anchor" id="line-13"></span></li></ul></li><li><p class="line891"><a href="./ModelExportBlock">ModelExportBlock</a> - Blocks of the form <span class="anchor" id="line-14"></span><ul><li style="list-style-type:none"><pre>export exportName {
<span class="anchor" id="line-12"></span></pre><span class="anchor" id="line-13"></span></li></ul></li><li><p class="line891"><a href="./ModelExportBlock.html">ModelExportBlock</a> - Blocks of the form <span class="anchor" id="line-14"></span><ul><li style="list-style-type:none"><pre>export exportName {
<span class="anchor" id="line-15"></span> ...
<span class="anchor" id="line-16"></span>}
<span class="anchor" id="line-17"></span></pre><span class="anchor" id="line-18"></span></li></ul></li><li><p class="line891"><a href="./MapDefinition">MapDefinition</a> - Blocks of the form <span class="anchor" id="line-19"></span><ul><li style="list-style-type:none"><pre>mapDef mapName {
<span class="anchor" id="line-17"></span></pre><span class="anchor" id="line-18"></span></li></ul></li><li><p class="line891"><a href="./MapDefinition.html">MapDefinition</a> - Blocks of the form <span class="anchor" id="line-19"></span><ul><li style="list-style-type:none"><pre>mapDef mapName {
<span class="anchor" id="line-20"></span> ...
<span class="anchor" id="line-21"></span>}
<span class="anchor" id="line-22"></span></pre><span class="anchor" id="line-23"></span><span class="anchor" id="line-24"></span></li></ul></li></ul><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-25"></span>
<h3 id="head-0dcec2a3d79e0f87610520dfebf22011d5e3f70e">Examples</h3>
<span class="anchor" id="line-26"></span><ul><li><p class="line891"><a class="attachment" href="./DefinitionFile?action=AttachFile&amp;do=get&amp;target=player.def" title="attachment:player.def">player.def</a> Quake 4's Player Definition File. This file defines almost all information pertaining to the player in Quake 4. Max health, starting weapons, what models are valid in multiplayer, etc. <span class="anchor" id="line-27"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">DefinitionFile (last edited 2005-11-02 00:05:19 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-26"></span><ul><li><p class="line891"><a class="attachment" href="./DefinitionFile?action=AttachFile&amp;do=get&amp;target=player.def" title="attachment:player.def">player.def</a> Quake 4's Player Definition File. This file defines almost all information pertaining to the player in Quake 4. Max health, starting weapons, what models are valid in multiplayer, etc. <span class="anchor" id="line-27"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">DefinitionFile (last edited 2005-11-02 00:05:19 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./DownloadableContent?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./DownloadableContent?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink current"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink current"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -187,9 +187,9 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867">
<h1 id="head-9791f46089877dbb264366ef0ba412d99040f82c">Quake 4 Example Files</h1>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><ul><li><p class="line891"><a href="./AnimationExamples">AnimationExamples</a> - Including the multiplayer rig, animations, and 2 creatures with base animations <span class="anchor" id="line-4"></span></li><li><p class="line891"><a href="./FontExamples">FontExamples</a> - Two example fonts and a font importer for Quake 4 <span class="anchor" id="line-5"></span></li><li><p class="line891"><a href="./MakeAMod-DMSP">MakeAMod-DMSP</a> - Implement slews of monsters in a deathmatch map using only script and a slightly updated .map <span class="anchor" id="line-6"></span></li><li><p class="line891"><a href="./MakeAMod-InstaGib">MakeAMod-InstaGib</a> - Modify some <a href="./DefinitionFiles">DefinitionFiles</a> to create an insta-gib Multiplayer mod <span class="anchor" id="line-7"></span></li><li><p class="line891"><a href="./DefinitionFileExamples">DefinitionFileExamples</a> - Here's two creature tweaks for a twist on Quake 4 gameplay <span class="anchor" id="line-8"></span></li><li><p class="line891"><a href="./ExampleMaps">ExampleMaps</a> - Download useful example maps and maps that are great for testing <span class="anchor" id="line-9"></span></li><li><p class="line891"><a href="./ArtExamples">ArtExamples</a> - Check out some simple models, textures and a great assortment of parts for creating your own models and creatures <span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span></li></ul><p class="line867">
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><ul><li><p class="line891"><a href="./AnimationExamples.html">AnimationExamples</a> - Including the multiplayer rig, animations, and 2 creatures with base animations <span class="anchor" id="line-4"></span></li><li><p class="line891"><a href="./FontExamples.html">FontExamples</a> - Two example fonts and a font importer for Quake 4 <span class="anchor" id="line-5"></span></li><li><p class="line891"><a href="./MakeAMod-DMSP.html">MakeAMod-DMSP</a> - Implement slews of monsters in a deathmatch map using only script and a slightly updated .map <span class="anchor" id="line-6"></span></li><li><p class="line891"><a href="./MakeAMod-InstaGib.html">MakeAMod-InstaGib</a> - Modify some <a href="./DefinitionFiles.html">DefinitionFiles</a> to create an insta-gib Multiplayer mod <span class="anchor" id="line-7"></span></li><li><p class="line891"><a href="./DefinitionFileExamples.html">DefinitionFileExamples</a> - Here's two creature tweaks for a twist on Quake 4 gameplay <span class="anchor" id="line-8"></span></li><li><p class="line891"><a href="./ExampleMaps.html">ExampleMaps</a> - Download useful example maps and maps that are great for testing <span class="anchor" id="line-9"></span></li><li><p class="line891"><a href="./ArtExamples.html">ArtExamples</a> - Check out some simple models, textures and a great assortment of parts for creating your own models and creatures <span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span></li></ul><p class="line867">
<h1 id="head-d5ad7bb121ee8895f686e979ad4ce416d2559f40">Quake 4 Tools</h1>
<span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><ul><li><p class="line891"><a href="./DebugHud">DebugHud</a> - The general debug hud used in Quake 4's development. <span class="anchor" id="line-14"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">DownloadableContent (last edited 2005-11-16 22:44:35 by <span title="AndrewWeldon @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./AndrewWeldon" title="AndrewWeldon @ 67.129.250.254[67.129.250.254]">AndrewWeldon</a></span>)</p>
<span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><ul><li><p class="line891"><a href="./DebugHud.html">DebugHud</a> - The general debug hud used in Quake 4's development. <span class="anchor" id="line-14"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">DownloadableContent (last edited 2005-11-16 22:44:35 by <span title="AndrewWeldon @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./AndrewWeldon.html" title="AndrewWeldon @ 67.129.250.254[67.129.250.254]">AndrewWeldon</a></span>)</p>
<div id="pagebottom"></div>
</div>

File diff suppressed because one or more lines are too long

View file

@ -88,21 +88,21 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./Effects_Performance?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./Effects_Performance?action=print">
<link rel="Appendix" title="fx_overdraw_bad.jpg" href="./Effects_Performance?action=AttachFile&amp;do=view&amp;target=fx_overdraw_bad.jpg">
<link rel="Appendix" title="fx_overdraw_good.jpg" href="./Effects_Performance?action=AttachFile&amp;do=view&amp;target=fx_overdraw_good.jpg">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -140,7 +140,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./Effects_Performance">Effects Performance</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./Effects_Performance.html">Effects Performance</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -191,11 +191,11 @@ actionsMenuInit('More Actions:');
<h2 id="head-420e8e00558abb3a7a7b390f3c342fb3a7a3127a">Segment count</h2>
<span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span><p class="line874">Less segments are cheaper. Instead of 4 segments each with 10 particles, can you accomplish the same effect with 2 segments of 20 particles each? Every segment is a separate draw call to your video card and another set of particles for the game to process. Try unchecking segments of a complex effect and see if you notice a different. Many times a layered effect can have a segment or two removed that are just not noticeable within the big picture. <span class="anchor" id="line-8"></span><span class="anchor" id="line-9"></span><p class="line867">
<h2 id="head-2546098bdf1b336c7aa4933ad38da11c9ba16a27">Overdraw</h2>
<span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span><p class="line862">Overdraw is how many layers of shaders are in a scene. This can be turned on with <strong>r_showoverdraw 1</strong> at the console or by going to <strong>View&gt;Show&gt;Show Overdraw</strong> in the <a href="./FXEditor">FXEditor</a>. The range of color represents the severity of overdraw. From least overdraw to most overdraw: <strong>Blue -&gt; Green -&gt; Yellow -&gt; Orange -&gt; Red -&gt; Purple</strong>. <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><p class="line867"><img class="attachment" src="./Effects_Performance?action=AttachFile&amp;do=get&amp;target=fx_overdraw_bad.jpg" title="attachment:fx_overdraw_bad.jpg" /> <span class="anchor" id="line-14"></span><span class="anchor" id="line-15"></span><p class="line867"><img class="attachment" src="./Effects_Performance?action=AttachFile&amp;do=get&amp;target=fx_overdraw_good.jpg" title="attachment:fx_overdraw_good.jpg" /> <span class="anchor" id="line-16"></span><span class="anchor" id="line-17"></span><p class="line867"><a href="./FXEditor_Tab_-_Sprite">Sprites</a> can be very expensive when viewed in a line like a rocket trail. In some cases you might want to try using <a href="./FXEditor_Tab_-_Sprite">line segments</a> instead of <a href="./FXEditor_Tab_-_Sprite">sprites</a>. Since they always rotate to face the user, they can have much less overdraw than <a href="./FXEditor_Tab_-_Sprite">sprites</a>. <span class="anchor" id="line-18"></span><span class="anchor" id="line-19"></span><p class="line867">
<span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span><p class="line862">Overdraw is how many layers of shaders are in a scene. This can be turned on with <strong>r_showoverdraw 1</strong> at the console or by going to <strong>View&gt;Show&gt;Show Overdraw</strong> in the <a href="./FXEditor.html">FXEditor</a>. The range of color represents the severity of overdraw. From least overdraw to most overdraw: <strong>Blue -&gt; Green -&gt; Yellow -&gt; Orange -&gt; Red -&gt; Purple</strong>. <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><p class="line867"><img class="attachment" src="./Effects_Performance?action=AttachFile&amp;do=get&amp;target=fx_overdraw_bad.jpg" title="attachment:fx_overdraw_bad.jpg" /> <span class="anchor" id="line-14"></span><span class="anchor" id="line-15"></span><p class="line867"><img class="attachment" src="./Effects_Performance?action=AttachFile&amp;do=get&amp;target=fx_overdraw_good.jpg" title="attachment:fx_overdraw_good.jpg" /> <span class="anchor" id="line-16"></span><span class="anchor" id="line-17"></span><p class="line867"><a href="./FXEditor_Tab_-_Sprite.html">Sprites</a> can be very expensive when viewed in a line like a rocket trail. In some cases you might want to try using <a href="./FXEditor_Tab_-_Sprite.html">line segments</a> instead of <a href="./FXEditor_Tab_-_Sprite.html">sprites</a>. Since they always rotate to face the user, they can have much less overdraw than <a href="./FXEditor_Tab_-_Sprite.html">sprites</a>. <span class="anchor" id="line-18"></span><span class="anchor" id="line-19"></span><p class="line867">
<h2 id="head-65cdf23e8fb9c2e135668e1daeff744d9166c91e">Physics</h2>
<span class="anchor" id="line-20"></span><span class="anchor" id="line-21"></span><p class="line874">Physics on segments is very, very expensive. If you must apply physics, consider applying it to only 1 of a few segments instead of all. An example of this would be if you have rock chunks fly out of a wall when shot. Make 2 rock chunk segments, one with physics and 3 particles and another without physics that has 9 particles. When the whole effect is played, seeing the 3 rock chunks bounce adds to the effect without being as expensive as 12 particles with physics. <span class="anchor" id="line-22"></span><span class="anchor" id="line-23"></span><p class="line867">
<h2 id="head-76c0789664393f14dcff02c112b870753d8501b9">Particle Count</h2>
<span class="anchor" id="line-24"></span><span class="anchor" id="line-25"></span><p class="line874">Try to lower the count on effects and see if it really makes the effect look that much worse. Lower counts is less overdraw and lower poly counts in a given scene. Try to use less (more opaque) images rather than stacking higher counts of images that are partially translucent. <span class="anchor" id="line-26"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Effects Performance (last edited 2005-11-08 23:41:16 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-24"></span><span class="anchor" id="line-25"></span><p class="line874">Try to lower the count on effects and see if it really makes the effect look that much worse. Lower counts is less overdraw and lower poly counts in a given scene. Try to use less (more opaque) images rather than stacking higher counts of images that are partially translucent. <span class="anchor" id="line-26"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Effects Performance (last edited 2005-11-08 23:41:16 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./EntityDefinition?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./EntityDefinition?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./EntityDefinition">EntityDefinition</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./EntityDefinition.html">EntityDefinition</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -185,7 +185,7 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867"><img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <strong>UNDER CONSTRUCTION - COMING SOON</strong> <img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <span class="anchor" id="line-2"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">EntityDefinition (last edited 2005-11-07 20:28:42 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<span class="anchor" id="line-1"></span><p class="line867"><img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <strong>UNDER CONSTRUCTION - COMING SOON</strong> <img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <span class="anchor" id="line-2"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">EntityDefinition (last edited 2005-11-07 20:28:42 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman.html" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<div id="pagebottom"></div>
</div>

File diff suppressed because one or more lines are too long

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./Entity_FuncElevator?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./Entity_FuncElevator?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./Entity_FuncElevator">Entity FuncElevator</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./Entity_FuncElevator.html">Entity FuncElevator</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -187,7 +187,7 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867">
<h1 id="head-ecc762d336d3f2644e27d5625c8df286966f0de7">func_elevator</h1>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><ul><li><p class="line891"><strong>usage:</strong> Elevators move to predefined floors and activate door teams based on floor number. Use the default elevator gui to control them. Repeat floor1_ height and door info with floor2_ etc.. for as many floors as you want <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span></li><li class="gap"><p class="line891"><strong>move_speed:</strong> World units per second to move between floors, use this or move_time. <span class="anchor" id="line-6"></span></li><li><p class="line891"><strong>move_time:</strong> Time in seconds to move between floors. <span class="anchor" id="line-7"></span></li><li><p class="line891"><strong>accel_time:</strong> Time in seconds to accelerate. <span class="anchor" id="line-8"></span></li><li><p class="line891"><strong>decel_time:</strong> Time in seconds to decelerate. <span class="anchor" id="line-9"></span></li><li><p class="line891"><strong>snd_accel:</strong> Sound to play when elevator starts moving. <span class="anchor" id="line-10"></span></li><li><p class="line891"><strong>snd_move:</strong> Sound to play when elevator is moving. <span class="anchor" id="line-11"></span></li><li><p class="line891"><strong>snd_decel:</strong> Sound to play when elevator stops moving. <span class="anchor" id="line-12"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Entity FuncElevator (last edited 2005-11-08 00:12:43 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><ul><li><p class="line891"><strong>usage:</strong> Elevators move to predefined floors and activate door teams based on floor number. Use the default elevator gui to control them. Repeat floor1_ height and door info with floor2_ etc.. for as many floors as you want <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span></li><li class="gap"><p class="line891"><strong>move_speed:</strong> World units per second to move between floors, use this or move_time. <span class="anchor" id="line-6"></span></li><li><p class="line891"><strong>move_time:</strong> Time in seconds to move between floors. <span class="anchor" id="line-7"></span></li><li><p class="line891"><strong>accel_time:</strong> Time in seconds to accelerate. <span class="anchor" id="line-8"></span></li><li><p class="line891"><strong>decel_time:</strong> Time in seconds to decelerate. <span class="anchor" id="line-9"></span></li><li><p class="line891"><strong>snd_accel:</strong> Sound to play when elevator starts moving. <span class="anchor" id="line-10"></span></li><li><p class="line891"><strong>snd_move:</strong> Sound to play when elevator is moving. <span class="anchor" id="line-11"></span></li><li><p class="line891"><strong>snd_decel:</strong> Sound to play when elevator stops moving. <span class="anchor" id="line-12"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Entity FuncElevator (last edited 2005-11-08 00:12:43 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./Entity_FuncFX?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./Entity_FuncFX?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./Entity_FuncFX">Entity FuncFX</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./Entity_FuncFX.html">Entity FuncFX</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -187,7 +187,7 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867">
<h1 id="head-2c83eb619777a4e4831a7076a9b57e75b731a561">func_fx</h1>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line867"><strong><a href="./LevelEditor">LevelEditor</a> Info:</strong> <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><ul><li><p class="line891"><strong>Usage:</strong> Spawns a special effect when triggered. <span class="anchor" id="line-6"></span></li><li><p class="line891"><strong>FX:</strong> The .fx file to spawn when triggered <span class="anchor" id="line-7"></span></li><li><p class="line891"><strong>Restart:</strong> Once triggered, how often do you want it to re-trigger itself? (usefull for fx/sparks.fx) <span class="anchor" id="line-8"></span></li><li><p class="line891"><strong>Triggered:</strong> Start effect when triggered. <span class="anchor" id="line-9"></span></li><li><p class="line891"><strong>Start:</strong> If set, starts effect as soon as it's spawned (unless 'triggered' is set) <span class="anchor" id="line-10"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Entity FuncFX (last edited 2005-11-08 00:10:10 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line867"><strong><a href="./LevelEditor.html">LevelEditor</a> Info:</strong> <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><ul><li><p class="line891"><strong>Usage:</strong> Spawns a special effect when triggered. <span class="anchor" id="line-6"></span></li><li><p class="line891"><strong>FX:</strong> The .fx file to spawn when triggered <span class="anchor" id="line-7"></span></li><li><p class="line891"><strong>Restart:</strong> Once triggered, how often do you want it to re-trigger itself? (usefull for fx/sparks.fx) <span class="anchor" id="line-8"></span></li><li><p class="line891"><strong>Triggered:</strong> Start effect when triggered. <span class="anchor" id="line-9"></span></li><li><p class="line891"><strong>Start:</strong> If set, starts effect as soon as it's spawned (unless 'triggered' is set) <span class="anchor" id="line-10"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Entity FuncFX (last edited 2005-11-08 00:10:10 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./Entity_FuncMover?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./Entity_FuncMover?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./Entity_FuncMover">Entity FuncMover</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./Entity_FuncMover.html">Entity FuncMover</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -185,7 +185,7 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867"><img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <strong>UNDER CONSTRUCTION - COMING SOON</strong> <img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <span class="anchor" id="line-2"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Entity FuncMover (last edited 2005-11-07 20:33:17 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<span class="anchor" id="line-1"></span><p class="line867"><img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <strong>UNDER CONSTRUCTION - COMING SOON</strong> <img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <span class="anchor" id="line-2"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Entity FuncMover (last edited 2005-11-07 20:33:17 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman.html" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<div id="pagebottom"></div>
</div>

File diff suppressed because one or more lines are too long

View file

@ -88,20 +88,20 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./Entity_MonsterBerserker?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./Entity_MonsterBerserker?action=print">
<link rel="Appendix" title="monster_berserker.jpg" href="./Entity_MonsterBerserker?action=AttachFile&amp;do=view&amp;target=monster_berserker.jpg">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -139,7 +139,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./Entity_MonsterBerserker">Entity MonsterBerserker</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./Entity_MonsterBerserker.html">Entity MonsterBerserker</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -188,7 +188,7 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867">
<h1 id="head-e378debc40847a813288e33c6a339a303648321e">monster_berserker</h1>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line867"><img class="attachment" src="./Entity_MonsterBerserker?action=AttachFile&amp;do=get&amp;target=monster_berserker.jpg" title="attachment:monster_berserker.jpg" /> <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line867"><strong><a href="./LevelEditor">LevelEditor</a> Info:</strong> <span class="anchor" id="line-6"></span><ul><li><p class="line862">Inherits from <a href="./Entity_ActorDefault">actor_default</a>. <span class="anchor" id="line-7"></span><span class="anchor" id="line-8"></span></li></ul><p class="line867"><strong>Additional Information:</strong> <span class="anchor" id="line-9"></span><span class="anchor" id="line-10"></span><p class="line874">Strogg melee unit. <span class="anchor" id="line-11"></span><ul><li>Supports scripted jump functionality. <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span></li></ul><p class="line867"><strong>Variations:</strong> <span class="anchor" id="line-14"></span><ul><li>waste_monster_berserker - includes animations intended for use in game/waste.map. <span class="anchor" id="line-15"></span><span class="anchor" id="line-16"></span></li></ul><p class="line862">Back to <a href="./LevelEditor_EntityReference">Entities</a>. <span class="anchor" id="line-17"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Entity MonsterBerserker (last edited 2005-12-08 20:26:18 by <span title="AndrewWeldon @ 24-240-36-51.dhcp.mdsn.wi.charter.com[24.240.36.51]"><a class="nonexistent" href="./AndrewWeldon" title="AndrewWeldon @ 24-240-36-51.dhcp.mdsn.wi.charter.com[24.240.36.51]">AndrewWeldon</a></span>)</p>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line867"><img class="attachment" src="./Entity_MonsterBerserker?action=AttachFile&amp;do=get&amp;target=monster_berserker.jpg" title="attachment:monster_berserker.jpg" /> <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line867"><strong><a href="./LevelEditor.html">LevelEditor</a> Info:</strong> <span class="anchor" id="line-6"></span><ul><li><p class="line862">Inherits from <a href="./Entity_ActorDefault.html">actor_default</a>. <span class="anchor" id="line-7"></span><span class="anchor" id="line-8"></span></li></ul><p class="line867"><strong>Additional Information:</strong> <span class="anchor" id="line-9"></span><span class="anchor" id="line-10"></span><p class="line874">Strogg melee unit. <span class="anchor" id="line-11"></span><ul><li>Supports scripted jump functionality. <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span></li></ul><p class="line867"><strong>Variations:</strong> <span class="anchor" id="line-14"></span><ul><li>waste_monster_berserker - includes animations intended for use in game/waste.map. <span class="anchor" id="line-15"></span><span class="anchor" id="line-16"></span></li></ul><p class="line862">Back to <a href="./LevelEditor_EntityReference.html">Entities</a>. <span class="anchor" id="line-17"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Entity MonsterBerserker (last edited 2005-12-08 20:26:18 by <span title="AndrewWeldon @ 24-240-36-51.dhcp.mdsn.wi.charter.com[24.240.36.51]"><a class="nonexistent" href="./AndrewWeldon.html" title="AndrewWeldon @ 24-240-36-51.dhcp.mdsn.wi.charter.com[24.240.36.51]">AndrewWeldon</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./Entity_TargetNull?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./Entity_TargetNull?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./Entity_TargetNull">Entity TargetNull</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./Entity_TargetNull.html">Entity TargetNull</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -187,7 +187,7 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867">
<h1 id="head-065b5a9846126a75cf675f559da9f540d344dfcc">target_null</h1>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line867"><strong><a href="./LevelEditor">LevelEditor</a> Info:</strong> <span class="anchor" id="line-4"></span><ul><li><p class="line891"><strong>Usage:</strong> Generic target to point camera views at. <span class="anchor" id="line-5"></span><span class="anchor" id="line-6"></span></li></ul><p class="line867"><strong>Additional Information:</strong> <span class="anchor" id="line-7"></span><span class="anchor" id="line-8"></span><p class="line874">target_nulls are entities that do... nothing. They pretty much just sit there all sad and lonely-like. They're most commonly used for: <span class="anchor" id="line-9"></span><ul><li><p class="line862">Destinations for <a href="./Entity_FuncMover">func_movers</a> <span class="anchor" id="line-10"></span></li><li>Targets for aiScriptedMove, aiScriptedFace, and other AI functions. <span class="anchor" id="line-11"></span></li><li>Storing variables for scripts <span class="anchor" id="line-12"></span></li><li><p class="line891"><a class="nonexistent" href="./Entity_FuncJumppad">Jump Pad</a> destinations <span class="anchor" id="line-13"></span><span class="anchor" id="line-14"></span></li></ul><p class="line862">Back to <a href="./LevelEditor_EntityReference">Entities</a>. <span class="anchor" id="line-15"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Entity TargetNull (last edited 2005-12-08 19:52:15 by <span title="AndrewWeldon @ 24-240-36-51.dhcp.mdsn.wi.charter.com[24.240.36.51]"><a class="nonexistent" href="./AndrewWeldon" title="AndrewWeldon @ 24-240-36-51.dhcp.mdsn.wi.charter.com[24.240.36.51]">AndrewWeldon</a></span>)</p>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line867"><strong><a href="./LevelEditor.html">LevelEditor</a> Info:</strong> <span class="anchor" id="line-4"></span><ul><li><p class="line891"><strong>Usage:</strong> Generic target to point camera views at. <span class="anchor" id="line-5"></span><span class="anchor" id="line-6"></span></li></ul><p class="line867"><strong>Additional Information:</strong> <span class="anchor" id="line-7"></span><span class="anchor" id="line-8"></span><p class="line874">target_nulls are entities that do... nothing. They pretty much just sit there all sad and lonely-like. They're most commonly used for: <span class="anchor" id="line-9"></span><ul><li><p class="line862">Destinations for <a href="./Entity_FuncMover.html">func_movers</a> <span class="anchor" id="line-10"></span></li><li>Targets for aiScriptedMove, aiScriptedFace, and other AI functions. <span class="anchor" id="line-11"></span></li><li>Storing variables for scripts <span class="anchor" id="line-12"></span></li><li><p class="line891"><a class="nonexistent" href="./Entity_FuncJumppad.html">Jump Pad</a> destinations <span class="anchor" id="line-13"></span><span class="anchor" id="line-14"></span></li></ul><p class="line862">Back to <a href="./LevelEditor_EntityReference.html">Entities</a>. <span class="anchor" id="line-15"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Entity TargetNull (last edited 2005-12-08 19:52:15 by <span title="AndrewWeldon @ 24-240-36-51.dhcp.mdsn.wi.charter.com[24.240.36.51]"><a class="nonexistent" href="./AndrewWeldon.html" title="AndrewWeldon @ 24-240-36-51.dhcp.mdsn.wi.charter.com[24.240.36.51]">AndrewWeldon</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./Entity_TriggerOnce?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./Entity_TriggerOnce?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./Entity_TriggerOnce">Entity TriggerOnce</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./Entity_TriggerOnce.html">Entity TriggerOnce</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -185,7 +185,7 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867"><img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <strong>UNDER CONSTRUCTION - COMING SOON</strong> <img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <span class="anchor" id="line-2"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Entity TriggerOnce (last edited 2005-11-07 20:26:49 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<span class="anchor" id="line-1"></span><p class="line867"><img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <strong>UNDER CONSTRUCTION - COMING SOON</strong> <img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <span class="anchor" id="line-2"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Entity TriggerOnce (last edited 2005-11-07 20:26:49 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman.html" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,21 +88,21 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./ExampleMaps?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./ExampleMaps?action=print">
<link rel="Appendix" title="map_ai_tetherexamples.zip" href="./ExampleMaps?action=AttachFile&amp;do=view&amp;target=map_ai_tetherexamples.zip">
<link rel="Appendix" title="programmerexamplemaps.zip" href="./ExampleMaps?action=AttachFile&amp;do=view&amp;target=programmerexamplemaps.zip">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -140,7 +140,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./ExampleMaps">ExampleMaps</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./ExampleMaps.html">ExampleMaps</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -187,7 +187,7 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><ul><li><p class="line891"><strong><a class="attachment" href="./ExampleMaps?action=AttachFile&amp;do=get&amp;target=programmerexamplemaps.zip" title="attachment:programmerexamplemaps.zip">Programmer Example Maps</a></strong> This is a set of 4 simple maps useful for programmers working on various parts of the <a href="./GameCode">GameCode</a>. <span class="anchor" id="line-2"></span><ol type="i"><li>empty.map, consisting of an empty room. <span class="anchor" id="line-3"></span></li><li>pvs.map, consisting of 2 CTF flags seperated by geometry that will be in seperate PVS zones. Useful for testing PVS-dependant client issues. <span class="anchor" id="line-4"></span></li><li>pickup.map, consisting of all the MP pickups, useful as a baseline test map. <span class="anchor" id="line-5"></span></li><li>ctf.map, a simple CTF map, useful for testing CTF. <span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span></li></ol></li><li class="gap"><p class="line891"><strong><a class="attachment" href="./ExampleMaps?action=AttachFile&amp;do=get&amp;target=map_ai_tetherexamples.zip" title="attachment:map_ai_tetherexamples.zip">Example AI Control Map</a></strong> This is a single map that has several examples of the <a href="./LevelEditor_AITethers">AI Tether Control System</a> in action. <span class="anchor" id="line-8"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">ExampleMaps (last edited 2005-11-09 17:51:43 by <span title="AndrewWeldon @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./AndrewWeldon" title="AndrewWeldon @ 67.129.250.254[67.129.250.254]">AndrewWeldon</a></span>)</p>
<span class="anchor" id="line-1"></span><ul><li><p class="line891"><strong><a class="attachment" href="./ExampleMaps?action=AttachFile&amp;do=get&amp;target=programmerexamplemaps.zip" title="attachment:programmerexamplemaps.zip">Programmer Example Maps</a></strong> This is a set of 4 simple maps useful for programmers working on various parts of the <a href="./GameCode.html">GameCode</a>. <span class="anchor" id="line-2"></span><ol type="i"><li>empty.map, consisting of an empty room. <span class="anchor" id="line-3"></span></li><li>pvs.map, consisting of 2 CTF flags seperated by geometry that will be in seperate PVS zones. Useful for testing PVS-dependant client issues. <span class="anchor" id="line-4"></span></li><li>pickup.map, consisting of all the MP pickups, useful as a baseline test map. <span class="anchor" id="line-5"></span></li><li>ctf.map, a simple CTF map, useful for testing CTF. <span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span></li></ol></li><li class="gap"><p class="line891"><strong><a class="attachment" href="./ExampleMaps?action=AttachFile&amp;do=get&amp;target=map_ai_tetherexamples.zip" title="attachment:map_ai_tetherexamples.zip">Example AI Control Map</a></strong> This is a single map that has several examples of the <a href="./LevelEditor_AITethers.html">AI Tether Control System</a> in action. <span class="anchor" id="line-8"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">ExampleMaps (last edited 2005-11-09 17:51:43 by <span title="AndrewWeldon @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./AndrewWeldon.html" title="AndrewWeldon @ 67.129.250.254[67.129.250.254]">AndrewWeldon</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./FXEditor?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./FXEditor?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink current"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink current"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -187,7 +187,7 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line874">This document outlines the basics of creating effects in Quake 4. <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line862">All of the *.fx files in Quake 4 can be viewed by the FXEditor or in a text editor. The best way to learn the ins and outs of creating effects is to look at the *.fx files used in Quake 4. To view the effects, extract the contents of the <strong>pak001.pk4</strong> file and browse to the <strong>.../q4base/effects</strong> folder. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><span class="anchor" id="line-6"></span><p class="line867">
<h2 id="head-49e3ddd628b31b3443b8ca3e4f7db457175491b0">Table of Contents</h2>
<span class="anchor" id="line-7"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-8"></span><ul><li><p class="line891"><a href="./Using_the_FX_Editor">Using the FX Editor</a> <span class="anchor" id="line-9"></span></li><li><p class="line891"><a href="./Effect_Creation_Walkthrough">Effect Creation Walkthrough</a> <span class="anchor" id="line-10"></span></li><li><p class="line891"><a href="./Basic_FX_file_structure">Basic FX file structure</a> <span class="anchor" id="line-11"></span></li><li><p class="line891"><a href="./The_Properties_of_a_segment">The Properties of a segment</a> <span class="anchor" id="line-12"></span><ul><li><p class="line891"><a href="./FXEditor_Tab_-_Emitter">Emitter</a> <span class="anchor" id="line-13"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Sprite">Sprite</a> <span class="anchor" id="line-14"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Sprite">Line</a> <span class="anchor" id="line-15"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Electricity">Electricity</a> <span class="anchor" id="line-16"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Origin">Origin</a> <span class="anchor" id="line-17"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Size">Size</a> <span class="anchor" id="line-18"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Motion">Motion</a> <span class="anchor" id="line-19"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Offset">Offset</a> <span class="anchor" id="line-20"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Orbit">Orbit</a> <span class="anchor" id="line-21"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Physics">Physics</a> <span class="anchor" id="line-22"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Color">Color</a> <span class="anchor" id="line-23"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Alpha">Alpha</a> <span class="anchor" id="line-24"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Rotate">Rotate</a> <span class="anchor" id="line-25"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Length">Length</a> <span class="anchor" id="line-26"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Trail">Trail</a> <span class="anchor" id="line-27"></span></li></ul></li><li><p class="line891"><a href="./FX_Entity_Editor">The FX Entity Editor</a> <span class="anchor" id="line-28"></span></li><li><p class="line891"><a href="./Notes_about_Origins">Notes about Origins</a> <span class="anchor" id="line-29"></span></li><li><p class="line891"><a href="./Notes_about_Envelopes/Tables">Notes about Envelopes/Tables</a> <span class="anchor" id="line-30"></span></li><li><p class="line891"><a href="./Effects_Performance">Performance tips</a> <span class="anchor" id="line-31"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor (last edited 2005-11-08 00:17:00 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-7"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-8"></span><ul><li><p class="line891"><a href="./Using_the_FX_Editor.html">Using the FX Editor</a> <span class="anchor" id="line-9"></span></li><li><p class="line891"><a href="./Effect_Creation_Walkthrough.html">Effect Creation Walkthrough</a> <span class="anchor" id="line-10"></span></li><li><p class="line891"><a href="./Basic_FX_file_structure.html">Basic FX file structure</a> <span class="anchor" id="line-11"></span></li><li><p class="line891"><a href="./The_Properties_of_a_segment.html">The Properties of a segment</a> <span class="anchor" id="line-12"></span><ul><li><p class="line891"><a href="./FXEditor_Tab_-_Emitter.html">Emitter</a> <span class="anchor" id="line-13"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Sprite.html">Sprite</a> <span class="anchor" id="line-14"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Sprite.html">Line</a> <span class="anchor" id="line-15"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Electricity.html">Electricity</a> <span class="anchor" id="line-16"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Origin.html">Origin</a> <span class="anchor" id="line-17"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Size.html">Size</a> <span class="anchor" id="line-18"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Motion.html">Motion</a> <span class="anchor" id="line-19"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Offset.html">Offset</a> <span class="anchor" id="line-20"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Orbit.html">Orbit</a> <span class="anchor" id="line-21"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Physics.html">Physics</a> <span class="anchor" id="line-22"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Color.html">Color</a> <span class="anchor" id="line-23"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Alpha.html">Alpha</a> <span class="anchor" id="line-24"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Rotate.html">Rotate</a> <span class="anchor" id="line-25"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Length.html">Length</a> <span class="anchor" id="line-26"></span></li><li><p class="line891"><a href="./FXEditor_Tab_-_Trail.html">Trail</a> <span class="anchor" id="line-27"></span></li></ul></li><li><p class="line891"><a href="./FX_Entity_Editor.html">The FX Entity Editor</a> <span class="anchor" id="line-28"></span></li><li><p class="line891"><a href="./Notes_about_Origins.html">Notes about Origins</a> <span class="anchor" id="line-29"></span></li><li><p class="line891"><a href="./Notes_about_Envelopes/Tables.html">Notes about Envelopes/Tables</a> <span class="anchor" id="line-30"></span></li><li><p class="line891"><a href="./Effects_Performance.html">Performance tips</a> <span class="anchor" id="line-31"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor (last edited 2005-11-08 00:17:00 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./FXEditor_Tab_-_Alpha?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./FXEditor_Tab_-_Alpha?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Alpha">FXEditor Tab - Alpha</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Alpha.html">FXEditor Tab - Alpha</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -191,9 +191,9 @@ actionsMenuInit('More Actions:');
<h3 id="head-23c2554a80e1338a038842f47ebebff70d8564dc">End Min/Max</h3>
<span class="anchor" id="line-7"></span><ul><li style="list-style-type:none">This is where the end alpha translucency of a particle is set. <span class="anchor" id="line-8"></span><span class="anchor" id="line-9"></span></li></ul><p class="line867"><span class="anchor" id="blendalphaandcolor"></span> <span class="anchor" id="line-10"></span>
<h3 id="head-780f69dac6214be256cd5713a72a19f9b1ce4fd9">Blend Alpha and Color</h3>
<span class="anchor" id="line-11"></span><ul><li style="list-style-type:none"><p class="line862">This setting is used to have the alpha tab affect additive blend images. Without this setting checked, any adjustments to the alpha will not apply, as an additive material uses RGB and not alpha to determine translucency. With this setting checked, you do <strong>not</strong> need an <a href="./Notes_about_Envelopes/Tables">envelope</a> transition (an end value) on the sprites Color for an additive material. This value should remain <strong>unchecked</strong> on blend mode images. <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span></li></ul><p class="line867">
<span class="anchor" id="line-11"></span><ul><li style="list-style-type:none"><p class="line862">This setting is used to have the alpha tab affect additive blend images. Without this setting checked, any adjustments to the alpha will not apply, as an additive material uses RGB and not alpha to determine translucency. With this setting checked, you do <strong>not</strong> need an <a href="./Notes_about_Envelopes/Tables.html">envelope</a> transition (an end value) on the sprites Color for an additive material. This value should remain <strong>unchecked</strong> on blend mode images. <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span></li></ul><p class="line867">
<h3 id="head-bc8ee348d56503eabb72063122ed7424d7a506d0">Envelope</h3>
<span class="anchor" id="line-14"></span><ul><li style="list-style-type:none"><p class="line862">Here an envelope can be applied to the alpha transition. Please see <a href="./Notes_about_Envelopes/Tables">Notes about Envelopes/Tables</a> for more detailed information. <span class="anchor" id="line-15"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Alpha (last edited 2005-11-09 02:22:31 by <span title="MattVainio @ mdsnwinas03pool0-a82.mdsnwi.tds.net[216.165.148.82]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ mdsnwinas03pool0-a82.mdsnwi.tds.net[216.165.148.82]">MattVainio</a></span>)</p>
<span class="anchor" id="line-14"></span><ul><li style="list-style-type:none"><p class="line862">Here an envelope can be applied to the alpha transition. Please see <a href="./Notes_about_Envelopes/Tables.html">Notes about Envelopes/Tables</a> for more detailed information. <span class="anchor" id="line-15"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Alpha (last edited 2005-11-09 02:22:31 by <span title="MattVainio @ mdsnwinas03pool0-a82.mdsnwi.tds.net[216.165.148.82]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ mdsnwinas03pool0-a82.mdsnwi.tds.net[216.165.148.82]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./FXEditor_Tab_-_Color?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./FXEditor_Tab_-_Color?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Color">FXEditor Tab - Color</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Color.html">FXEditor Tab - Color</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -192,7 +192,7 @@ actionsMenuInit('More Actions:');
<h3 id="head-8873e6aab621ea8ca708761050fc6837330a11a7">End Min/Max</h3>
<span class="anchor" id="line-10"></span><ul><li style="list-style-type:none">This is where the end color of a particle is set. <span class="anchor" id="line-11"></span><span class="anchor" id="line-12"></span></li></ul><p class="line867">
<h3 id="head-1df3ca284a2a6a527ed1f29eb8defbe4d0ad4ca1">Envelope</h3>
<span class="anchor" id="line-13"></span><ul><li style="list-style-type:none"><p class="line862">Here an envelope can be applied to the color transition. Please see <a href="./Notes_about_Envelopes/Tables">Notes about Envelopes/Tables</a> for more detailed information. <span class="anchor" id="line-14"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Color (last edited 2005-11-04 00:35:58 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-13"></span><ul><li style="list-style-type:none"><p class="line862">Here an envelope can be applied to the color transition. Please see <a href="./Notes_about_Envelopes/Tables.html">Notes about Envelopes/Tables</a> for more detailed information. <span class="anchor" id="line-14"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Color (last edited 2005-11-04 00:35:58 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./FXEditor_Tab_-_Electricity?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./FXEditor_Tab_-_Electricity?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Electricity">FXEditor Ta...Electricity</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Electricity.html">FXEditor Ta...Electricity</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -187,13 +187,13 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line874">The Electricity tab controls the lifetime of the electricity segment, the material used by the segment and whether it should play any effects upon its lifetime ending. An electricity segment has all of the features of the Sprite and Line tabs plus: <span class="anchor" id="line-2"></span><hr /><p class="line874"> <span class="anchor" id="line-3"></span>
<h3 id="head-c11bbb9d4cfa24b056ac87ca2c1f90dec42e0fa0">Jitter - Table</h3>
<span class="anchor" id="line-4"></span><ul><li style="list-style-type:none"><p class="line862">The amount of jitter is controlled by a <a href="./Notes_about_Envelopes/Tables">table</a>. <span class="anchor" id="line-5"></span><span class="anchor" id="line-6"></span></li></ul><p class="line867">
<span class="anchor" id="line-4"></span><ul><li style="list-style-type:none"><p class="line862">The amount of jitter is controlled by a <a href="./Notes_about_Envelopes/Tables.html">table</a>. <span class="anchor" id="line-5"></span><span class="anchor" id="line-6"></span></li></ul><p class="line867">
<h3 id="head-de522ed7f90ebbf831a3002b1664bd77d237b80a">Jitter - Forks</h3>
<span class="anchor" id="line-7"></span><ul><li style="list-style-type:none"><p class="line862">Adjusts the number of forks per electricity line spawned in the <a href="./FXEditor_Tab_-_Emitter">Emitter tab</a>. <span class="anchor" id="line-8"></span><span class="anchor" id="line-9"></span></li></ul><p class="line867">
<span class="anchor" id="line-7"></span><ul><li style="list-style-type:none"><p class="line862">Adjusts the number of forks per electricity line spawned in the <a href="./FXEditor_Tab_-_Emitter.html">Emitter tab</a>. <span class="anchor" id="line-8"></span><span class="anchor" id="line-9"></span></li></ul><p class="line867">
<h3 id="head-e17f336ae7081ee445e269681648582e9c5d9e5b">Jitter Rate</h3>
<span class="anchor" id="line-10"></span><ul><li style="list-style-type:none"><p class="line862">How much to ramp the random jitter over the <a href="./FXEditor_Tab_-_Sprite">lifetime</a> of the particle. <span class="anchor" id="line-11"></span><span class="anchor" id="line-12"></span></li></ul><p class="line867">
<span class="anchor" id="line-10"></span><ul><li style="list-style-type:none"><p class="line862">How much to ramp the random jitter over the <a href="./FXEditor_Tab_-_Sprite.html">lifetime</a> of the particle. <span class="anchor" id="line-11"></span><span class="anchor" id="line-12"></span></li></ul><p class="line867">
<h3 id="head-1943281ac284e72ca2f436c738573112238d54aa">Jitter Size</h3>
<span class="anchor" id="line-13"></span><ul><li style="list-style-type:none"><p class="line862">Controls how large to make the random jitter in the electricity <a href="./The_Properties_of_a_segment">segment</a>. <span class="anchor" id="line-14"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Electricity (last edited 2005-11-04 00:33:57 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-13"></span><ul><li style="list-style-type:none"><p class="line862">Controls how large to make the random jitter in the electricity <a href="./The_Properties_of_a_segment.html">segment</a>. <span class="anchor" id="line-14"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Electricity (last edited 2005-11-04 00:33:57 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./FXEditor_Tab_-_Emitter?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./FXEditor_Tab_-_Emitter?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Emitter">FXEditor Tab - Emitter</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Emitter.html">FXEditor Tab - Emitter</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -189,21 +189,21 @@ actionsMenuInit('More Actions:');
<h3 id="head-e90c52819f356f7c608897c30dbd7ba31502ce0f">Start time</h3>
<span class="anchor" id="line-4"></span><ul><li style="list-style-type:none">Default is 0, controls when this segment should start in relation to when the effect is played. An effect can have different start times per segment to delay certain parts of an effect. <span class="anchor" id="line-5"></span><span class="anchor" id="line-6"></span></li></ul><p class="line867">
<h3 id="head-90ef10f3c4da0bfa9299013766e39955f345d3c1">Count</h3>
<span class="anchor" id="line-7"></span><ul><li style="list-style-type:none"><p class="line862">How many particles to emit. This number is relative to the <a href="./FXEditor_Tab_-_Sprite#lifetime">Particle Lifetime</a> (defined in the <a href="./FXEditor_Tab_-_Sprite">Sprite properties</a>). In an effect with Spawn Simultaneously checked, this number is always accurate. A count of 10 will mean 10 particles emitted simultaneously. Whereas, a count of 10 with a particle lifetime of 2 will mean 20 particles on screen at once. The count is the amount of particles to emit per time unit ( of 1 ) There is a relationship with how long each particle lasts and the count in this manner. <span class="anchor" id="line-8"></span><span class="anchor" id="line-9"></span></li></ul><p class="line867"><span class="anchor" id="duration"></span> <span class="anchor" id="line-10"></span>
<span class="anchor" id="line-7"></span><ul><li style="list-style-type:none"><p class="line862">How many particles to emit. This number is relative to the <a href="./FXEditor_Tab_-_Sprite#lifetime.html">Particle Lifetime</a> (defined in the <a href="./FXEditor_Tab_-_Sprite.html">Sprite properties</a>). In an effect with Spawn Simultaneously checked, this number is always accurate. A count of 10 will mean 10 particles emitted simultaneously. Whereas, a count of 10 with a particle lifetime of 2 will mean 20 particles on screen at once. The count is the amount of particles to emit per time unit ( of 1 ) There is a relationship with how long each particle lasts and the count in this manner. <span class="anchor" id="line-8"></span><span class="anchor" id="line-9"></span></li></ul><p class="line867"><span class="anchor" id="duration"></span> <span class="anchor" id="line-10"></span>
<h3 id="head-111f6350ac2118ade72e593a6e5c5b6baecde3dc">Duration</h3>
<span class="anchor" id="line-11"></span><ul><li style="list-style-type:none"><p class="line862">Controls how long the segment should emit particles. In a looping effect, this can remain the default of 1 second. If the effect is not looping, the segment will play its Count number every second for the duration. So using the above example with a duration of 5, you will have 10 particles emitting every second for 5 seconds. (On looping: An effect is set to looping through the <a href="./LevelEditor">LevelEditor</a> or the <a href="./FX_Entity_Editor">FX Entity Editor</a>.) <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span></li></ul><p class="line867"><span class="anchor" id="spawnsimultaneously"></span> <span class="anchor" id="line-14"></span>
<span class="anchor" id="line-11"></span><ul><li style="list-style-type:none"><p class="line862">Controls how long the segment should emit particles. In a looping effect, this can remain the default of 1 second. If the effect is not looping, the segment will play its Count number every second for the duration. So using the above example with a duration of 5, you will have 10 particles emitting every second for 5 seconds. (On looping: An effect is set to looping through the <a href="./LevelEditor.html">LevelEditor</a> or the <a href="./FX_Entity_Editor.html">FX Entity Editor</a>.) <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span></li></ul><p class="line867"><span class="anchor" id="spawnsimultaneously"></span> <span class="anchor" id="line-14"></span>
<h3 id="head-c04a9262a99125f3ab421300e74d0b63436eefab">Spawn Simultaneously</h3>
<span class="anchor" id="line-15"></span><ul><li style="list-style-type:none">Forces the full count of particles to emit simultaneously based on Duration. If the count is 10 and the duration is 3 seconds: 10 particles will emit simultaneously every 3 seconds. Uncheck this for a constant count of particles over the duration. <span class="anchor" id="line-16"></span><span class="anchor" id="line-17"></span></li></ul><p class="line867">
<h3 id="head-6dcc89ba3cb29a5d0150237e32b3fe5562bcb7ff">Locked</h3>
<span class="anchor" id="line-18"></span><ul><li style="list-style-type:none"><p class="line862">This checkbox locks the segment to the <a href="./LevelEditor_EntityReference">entity</a> or bone from which the entire effect emits. This is useful for keeping something like a gun muzzleflash attached to a gun barrel as the gun moves around in the world. With this unchecked, the muzzleflash would be “left behind” as the gun moved. <span class="anchor" id="line-19"></span><span class="anchor" id="line-20"></span></li></ul><p class="line867">
<span class="anchor" id="line-18"></span><ul><li style="list-style-type:none"><p class="line862">This checkbox locks the segment to the <a href="./LevelEditor_EntityReference.html">entity</a> or bone from which the entire effect emits. This is useful for keeping something like a gun muzzleflash attached to a gun barrel as the gun moves around in the world. With this unchecked, the muzzleflash would be “left behind” as the gun moved. <span class="anchor" id="line-19"></span><span class="anchor" id="line-20"></span></li></ul><p class="line867">
<h3 id="head-e00fce4eb2738950c259b234cbd7d179974a8541">Use Count as Density</h3>
<span class="anchor" id="line-21"></span><ul><li style="list-style-type:none"><p class="line862">Spawns particles based on unit sizes. Will spawn more particles for larger effects, and fewer for smaller effects. The units are in map units used by the <a href="./LevelEditor">LevelEditor</a> <span class="anchor" id="line-22"></span><span class="anchor" id="line-23"></span></li></ul><p class="line867">
<span class="anchor" id="line-21"></span><ul><li style="list-style-type:none"><p class="line862">Spawns particles based on unit sizes. Will spawn more particles for larger effects, and fewer for smaller effects. The units are in map units used by the <a href="./LevelEditor.html">LevelEditor</a> <span class="anchor" id="line-22"></span><span class="anchor" id="line-23"></span></li></ul><p class="line867">
<h3 id="head-ab78ac996a4fea373f9daaa6ffe884fe1a7a481c">Persist Particles On Effect Stop</h3>
<span class="anchor" id="line-24"></span><ul><li style="list-style-type:none"><p class="line862">With this setting checked, particles attached to a moving <a href="./LevelEditor_EntityReference">entity</a> will continue to live based upon their particle lifetime when the entity stops. Mainly used on projectiles such as rockets to keep the rocket trail from disappearing when the rocket impacts on a surface. <span class="anchor" id="line-25"></span><span class="anchor" id="line-26"></span></li></ul><p class="line867">
<span class="anchor" id="line-24"></span><ul><li style="list-style-type:none"><p class="line862">With this setting checked, particles attached to a moving <a href="./LevelEditor_EntityReference.html">entity</a> will continue to live based upon their particle lifetime when the entity stops. Mainly used on projectiles such as rockets to keep the rocket trail from disappearing when the rocket impacts on a surface. <span class="anchor" id="line-25"></span><span class="anchor" id="line-26"></span></li></ul><p class="line867">
<h3 id="head-79602e370ebba42e637529388fda1ec99a192dba">Attenuation</h3>
<span class="anchor" id="line-27"></span><ul><li style="list-style-type:none"><p class="line862">Level of Detail settings can be adjusted for different distances. The LoD can apply to <a href="./FXEditor_Tab_-_Emitter">Count</a>, <a href="./FXEditor_Tab_-_Size">Size</a>, <a href="./FXEditor_Tab_-_Alpha">Alpha</a> and <a href="./FXEditor_Tab_-_Length">Length</a> of particles. Make sure to check the Distance box and apply a minimum and maximum distance for the LoD. The min and max ranges are in Quake units used in the <a href="./LevelEditor">LevelEditor</a>. If your Min is 512, no LoD will take place on distances smaller than 512 units. If your max is 1024, no more reduction of your effect will take place beyond 1024 units. <span class="anchor" id="line-28"></span><span class="anchor" id="line-29"></span></li></ul><p class="line867"><span class="anchor" id="detailfactor"></span> <span class="anchor" id="line-30"></span>
<span class="anchor" id="line-27"></span><ul><li style="list-style-type:none"><p class="line862">Level of Detail settings can be adjusted for different distances. The LoD can apply to <a href="./FXEditor_Tab_-_Emitter.html">Count</a>, <a href="./FXEditor_Tab_-_Size.html">Size</a>, <a href="./FXEditor_Tab_-_Alpha.html">Alpha</a> and <a href="./FXEditor_Tab_-_Length.html">Length</a> of particles. Make sure to check the Distance box and apply a minimum and maximum distance for the LoD. The min and max ranges are in Quake units used in the <a href="./LevelEditor.html">LevelEditor</a>. If your Min is 512, no LoD will take place on distances smaller than 512 units. If your max is 1024, no more reduction of your effect will take place beyond 1024 units. <span class="anchor" id="line-28"></span><span class="anchor" id="line-29"></span></li></ul><p class="line867"><span class="anchor" id="detailfactor"></span> <span class="anchor" id="line-30"></span>
<h3 id="head-bcaffd36352ffcf3c801609510668c71c21f255e">Scalability, Detail Factor</h3>
<span class="anchor" id="line-31"></span><ul><li style="list-style-type:none">This is used to selectively hide or show segments based upon the users Video Quality setting. A setting of 0.5 means that segment will not be shown for users with Low Quality, but will be seen with Medium and higher. A setting of 0.75 means that only users with High Quality or above will see this specific segment. A setting of 1.0 means that only users with Ultra Quality will see this segment. A setting of 0 means that this segment will be visible in all Video Qualities. <span class="anchor" id="line-32"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Emitter (last edited 2005-11-07 21:52:54 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-31"></span><ul><li style="list-style-type:none">This is used to selectively hide or show segments based upon the users Video Quality setting. A setting of 0.5 means that segment will not be shown for users with Low Quality, but will be seen with Medium and higher. A setting of 0.75 means that only users with High Quality or above will see this specific segment. A setting of 1.0 means that only users with Ultra Quality will see this segment. A setting of 0 means that this segment will be visible in all Video Qualities. <span class="anchor" id="line-32"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Emitter (last edited 2005-11-07 21:52:54 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./FXEditor_Tab_-_Length?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./FXEditor_Tab_-_Length?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Length">FXEditor Tab - Length</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Length.html">FXEditor Tab - Length</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -199,7 +199,7 @@ actionsMenuInit('More Actions:');
<h3 id="head-e3f92bb9e7ad2bf4ebd38df102937b41ec40fe93">End - Up Min/max</h3>
<span class="anchor" id="line-19"></span><ul><li style="list-style-type:none">The min/max range to end the length of a line in the vertical axis at. <span class="anchor" id="line-20"></span><span class="anchor" id="line-21"></span></li></ul><p class="line867">
<h3 id="head-d4f4629d38925e60e60e18063cda6db19096ea5b">Use end Origin</h3>
<span class="anchor" id="line-22"></span><ul><li style="list-style-type:none"><p class="line862">Uses an <a href="./FXEditor_Tab_-_Origin#endorigin">end origin</a> to determine the length of line. <span class="anchor" id="line-23"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Length (last edited 2005-11-04 00:36:35 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-22"></span><ul><li style="list-style-type:none"><p class="line862">Uses an <a href="./FXEditor_Tab_-_Origin#endorigin.html">end origin</a> to determine the length of line. <span class="anchor" id="line-23"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Length (last edited 2005-11-04 00:36:35 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./FXEditor_Tab_-_Motion?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./FXEditor_Tab_-_Motion?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Motion">FXEditor Tab - Motion</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Motion.html">FXEditor Tab - Motion</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -205,7 +205,7 @@ actionsMenuInit('More Actions:');
<h3 id="head-1ad91f64c5f0d59206e2082f30432f8b43cc0a28">Friction Left</h3>
<span class="anchor" id="line-30"></span><ul><li style="list-style-type:none">Friction in the horizontal axis. <span class="anchor" id="line-31"></span><span class="anchor" id="line-32"></span></li></ul><p class="line867">
<h3 id="head-e725044ca657016a2d3221f38a8a10fd10608f65">Friction Up</h3>
<span class="anchor" id="line-33"></span><ul><li style="list-style-type:none">Friction in the vertical axis. <span class="anchor" id="line-34"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Motion (last edited 2005-11-04 00:35:02 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-33"></span><ul><li style="list-style-type:none">Friction in the vertical axis. <span class="anchor" id="line-34"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Motion (last edited 2005-11-04 00:35:02 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./FXEditor_Tab_-_Offset?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./FXEditor_Tab_-_Offset?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Offset">FXEditor Tab - Offset</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Offset.html">FXEditor Tab - Offset</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -185,13 +185,13 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line862">Used to move the center of the segment in the game world. There are both start and end offsets that can be adjusted. Used mostly to move an effect segment origin without moving the <a href="./Entity_FuncFX">func_fx</a> emitter or .m5mesh bone location. Can also be used in conjunction with <a href="./FXEditor_Tab_-_Orbit">Orbit</a>. <span class="anchor" id="line-2"></span><hr /><p class="line874"> <span class="anchor" id="line-3"></span>
<span class="anchor" id="line-1"></span><p class="line862">Used to move the center of the segment in the game world. There are both start and end offsets that can be adjusted. Used mostly to move an effect segment origin without moving the <a href="./Entity_FuncFX.html">func_fx</a> emitter or .m5mesh bone location. Can also be used in conjunction with <a href="./FXEditor_Tab_-_Orbit.html">Orbit</a>. <span class="anchor" id="line-2"></span><hr /><p class="line874"> <span class="anchor" id="line-3"></span>
<h3 id="head-271180f74d9bbf7a248bb8e2cdda15164173488f">Forward</h3>
<span class="anchor" id="line-4"></span><ul><li style="list-style-type:none">Forward is relative to the normal the effect is played from. <span class="anchor" id="line-5"></span><span class="anchor" id="line-6"></span></li></ul><p class="line867">
<h3 id="head-a5e315a341b07813d44645f3ab69eb7487cdd214">Left</h3>
<span class="anchor" id="line-7"></span><ul><li style="list-style-type:none">Horizontal offset relative to the world coordinates or bone coordinates the effect is played from. <span class="anchor" id="line-8"></span><span class="anchor" id="line-9"></span></li></ul><p class="line867">
<h3 id="head-544f55bdb59b0115e37ceadc6d83fcd820f58238">Up</h3>
<span class="anchor" id="line-10"></span><ul><li style="list-style-type:none">Vertical offset relative to the world coordinates or bone coordinates the effect is played from. <span class="anchor" id="line-11"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Offset (last edited 2005-11-07 23:40:41 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-10"></span><ul><li style="list-style-type:none">Vertical offset relative to the world coordinates or bone coordinates the effect is played from. <span class="anchor" id="line-11"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Offset (last edited 2005-11-07 23:40:41 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./FXEditor_Tab_-_Orbit?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./FXEditor_Tab_-_Orbit?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Orbit">FXEditor Tab - Orbit</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Orbit.html">FXEditor Tab - Orbit</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -185,11 +185,11 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line862">The Orbit tab has rotational controls for <a href="./FXEditor_Tab_-_Sprite">sprites</a> around their <a href="./FXEditor_Tab_-_Origin">origin</a>. Used in conjunction with Offset. With an <a href="./FXEditor_Tab_-_Offset">Offset</a> of 0, Orbit will not function correctly. Orbit uses <a href="./FXEditor_Tab_-_Offset">Offset</a> to know how large the circle of Orbit is. If <a href="./FXEditor_Tab_-_Offset">Offset</a> is set to 10 in the Forward axis, Orbit will use those 10 units as the radius (not diameter) to orbit the center of the effect by. <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line862">A good example effect to look at Orbit is: <strong>effects/weapons/rocketlauncher/impact.fx</strong>. The <strong>sparks</strong> segment uses <a href="./FXEditor_Tab_-_Offset">Offset</a> and Orbit to generate swirling and random sparks within the explosion. The larger the Orbit and <a href="./FXEditor_Tab_-_Offset">Offset</a> values, the more chaotic the Orbit will be. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line862">Another example is <strong>effects/monsters/gladiator/railgun_trail.fx</strong>. The <strong>spiral_parts</strong> segment uses <a href="./FXEditor_Tab_-_Offset">Offset</a> and Orbit to spiral sphere segments inward. The initial offset values transition from 15 to 1, so that the <a href="./FXEditor_Tab_-_Sprite">sprites</a> move inward, while the Orbit rotates the <a href="./FXEditor_Tab_-_Sprite">sprites</a>. <span class="anchor" id="line-6"></span><hr /><p class="line874"> <span class="anchor" id="line-7"></span>
<span class="anchor" id="line-1"></span><p class="line862">The Orbit tab has rotational controls for <a href="./FXEditor_Tab_-_Sprite.html">sprites</a> around their <a href="./FXEditor_Tab_-_Origin.html">origin</a>. Used in conjunction with Offset. With an <a href="./FXEditor_Tab_-_Offset.html">Offset</a> of 0, Orbit will not function correctly. Orbit uses <a href="./FXEditor_Tab_-_Offset.html">Offset</a> to know how large the circle of Orbit is. If <a href="./FXEditor_Tab_-_Offset.html">Offset</a> is set to 10 in the Forward axis, Orbit will use those 10 units as the radius (not diameter) to orbit the center of the effect by. <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line862">A good example effect to look at Orbit is: <strong>effects/weapons/rocketlauncher/impact.fx</strong>. The <strong>sparks</strong> segment uses <a href="./FXEditor_Tab_-_Offset.html">Offset</a> and Orbit to generate swirling and random sparks within the explosion. The larger the Orbit and <a href="./FXEditor_Tab_-_Offset.html">Offset</a> values, the more chaotic the Orbit will be. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line862">Another example is <strong>effects/monsters/gladiator/railgun_trail.fx</strong>. The <strong>spiral_parts</strong> segment uses <a href="./FXEditor_Tab_-_Offset.html">Offset</a> and Orbit to spiral sphere segments inward. The initial offset values transition from 15 to 1, so that the <a href="./FXEditor_Tab_-_Sprite.html">sprites</a> move inward, while the Orbit rotates the <a href="./FXEditor_Tab_-_Sprite.html">sprites</a>. <span class="anchor" id="line-6"></span><hr /><p class="line874"> <span class="anchor" id="line-7"></span>
<h3 id="head-8b69b3f723989cd9921428fbbd4ae543e8437ce8">Start Roll, Yaw and Pitch</h3>
<span class="anchor" id="line-8"></span><ul><li style="list-style-type:none"><p class="line862">This adjusts the start angle of the orbit. Example: The min for Start Roll is 40, while the max is 80. The <a href="./FXEditor_Tab_-_Sprite">sprites</a> in this segment will start somewhere between 40 and 80 degrees in the direction of the <a href="./FXEditor_Tab_-_Offset">Offset</a>. <span class="anchor" id="line-9"></span><span class="anchor" id="line-10"></span></li></ul><p class="line867">
<span class="anchor" id="line-8"></span><ul><li style="list-style-type:none"><p class="line862">This adjusts the start angle of the orbit. Example: The min for Start Roll is 40, while the max is 80. The <a href="./FXEditor_Tab_-_Sprite.html">sprites</a> in this segment will start somewhere between 40 and 80 degrees in the direction of the <a href="./FXEditor_Tab_-_Offset.html">Offset</a>. <span class="anchor" id="line-9"></span><span class="anchor" id="line-10"></span></li></ul><p class="line867">
<h3 id="head-8800304cd94fc913cb6b1acd0db39f0d8220a6f0">End Roll, Yaw and Pitch</h3>
<span class="anchor" id="line-11"></span><ul><li style="list-style-type:none"><p class="line862">This adjusts the ending angle of the orbit. Example: The min for End Roll is 120, while the max is 120. The <a href="./FXEditor_Tab_-_Sprite">sprites</a> in this segment will end somewhere between 120 and 120 degrees in the direction of the <a href="./FXEditor_Tab_-_Offset">Offset</a>. These values mean that the <a href="./FXEditor_Tab_-_Sprite">sprites</a> in this segment will be rotating in two different directions with a spread of 240 degrees. Some <a href="./FXEditor_Tab_-_Sprite">sprites</a> that chose an end value in between the min/max values (near 0.0) will barely Orbit, while those at either end of the min/max values will Orbit to a greater degree. <span class="anchor" id="line-12"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Orbit (last edited 2005-11-04 00:39:27 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-11"></span><ul><li style="list-style-type:none"><p class="line862">This adjusts the ending angle of the orbit. Example: The min for End Roll is 120, while the max is 120. The <a href="./FXEditor_Tab_-_Sprite.html">sprites</a> in this segment will end somewhere between 120 and 120 degrees in the direction of the <a href="./FXEditor_Tab_-_Offset.html">Offset</a>. These values mean that the <a href="./FXEditor_Tab_-_Sprite.html">sprites</a> in this segment will be rotating in two different directions with a spread of 240 degrees. Some <a href="./FXEditor_Tab_-_Sprite.html">sprites</a> that chose an end value in between the min/max values (near 0.0) will barely Orbit, while those at either end of the min/max values will Orbit to a greater degree. <span class="anchor" id="line-12"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Orbit (last edited 2005-11-04 00:39:27 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./FXEditor_Tab_-_Origin?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./FXEditor_Tab_-_Origin?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Origin">FXEditor Tab - Origin</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Origin.html">FXEditor Tab - Origin</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -185,7 +185,7 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line862">The Origin tab controls placement of effect and bounds in which it will spawn. In the case of using min/max origin numbers, the Origin will be the space in which a particle will spawn. Larger min/max numbers mean a more random spawn location within the origin space. Please see <a href="./Notes_about_Origins">Notes about Origins</a> below for more detailed information. <span class="anchor" id="line-2"></span><hr /><p class="line874"> <span class="anchor" id="line-3"></span>
<span class="anchor" id="line-1"></span><p class="line862">The Origin tab controls placement of effect and bounds in which it will spawn. In the case of using min/max origin numbers, the Origin will be the space in which a particle will spawn. Larger min/max numbers mean a more random spawn location within the origin space. Please see <a href="./Notes_about_Origins.html">Notes about Origins</a> below for more detailed information. <span class="anchor" id="line-2"></span><hr /><p class="line874"> <span class="anchor" id="line-3"></span>
<h3 id="head-27c49e96442aef4442cc1f44855955cf2dd09200">Forward</h3>
<span class="anchor" id="line-4"></span><ul><li style="list-style-type:none">Forward is relative to the normal the effect is played from. <span class="anchor" id="line-5"></span><span class="anchor" id="line-6"></span></li></ul><p class="line867">
<h3 id="head-727d58055ec124179076d925f3bb9dd91efc76c0">Left</h3>
@ -222,7 +222,7 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-63"></span><ul><li style="list-style-type:none"><p class="line862">This will generate the forward normal as the center of an origin spread (center of a sphere/shape origin), or the surface of the an origin if <a href="#spawnonsurface">spawn on surface</a> is checked. <span class="anchor" id="line-64"></span></li></ul><p class="line867"><span class="anchor" id="line-65"></span><pre>Example: An origin range of 10 min and 50 max for Forward, Left and Up will have a center of the effect that is not the effect origin.
<span class="anchor" id="line-66"></span></pre><span class="anchor" id="line-67"></span><span class="anchor" id="line-68"></span><p class="line867">
<h3 id="head-0d248e874c41a57c2f2167deb1cc9981da8deef0">Generate Normal from Effect Origin</h3>
<span class="anchor" id="line-69"></span><ul><li style="list-style-type:none">This will generate the forward normal from the effect origin, rather than the true center of the effect. <span class="anchor" id="line-70"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Origin (last edited 2005-11-04 00:34:33 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-69"></span><ul><li style="list-style-type:none">This will generate the forward normal from the effect origin, rather than the true center of the effect. <span class="anchor" id="line-70"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Origin (last edited 2005-11-04 00:34:33 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./FXEditor_Tab_-_Physics?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./FXEditor_Tab_-_Physics?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Physics">FXEditor Tab - Physics</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Physics.html">FXEditor Tab - Physics</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -193,7 +193,7 @@ actionsMenuInit('More Actions:');
<h3 id="head-ef3815b1ac041e0ad2848e73ee24deea5a166040">Remove on Impact</h3>
<span class="anchor" id="line-10"></span><ul><li style="list-style-type:none">This ensures that the sprite is removed from the world upon impact with a world object, rather than stay around for the entire duration of its lifetime. If collision does not happen by the end of a sprites lifetime, it will still disappear at the end of its life. <span class="anchor" id="line-11"></span><span class="anchor" id="line-12"></span></li></ul><p class="line867">
<h3 id="head-34348b5f087bdbf730e8678cf3d46fb51e7bc9cc">Impact Effects</h3>
<span class="anchor" id="line-13"></span><ul><li style="list-style-type:none">By pressing the + and buttons, whole effects can be added to be played when this segments sprite impacts the world. An example of this would be having a splash effect file play when a dripping water sprite segment hits the ground. <span class="anchor" id="line-14"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Physics (last edited 2005-11-04 00:35:48 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-13"></span><ul><li style="list-style-type:none">By pressing the + and buttons, whole effects can be added to be played when this segments sprite impacts the world. An example of this would be having a splash effect file play when a dripping water sprite segment hits the ground. <span class="anchor" id="line-14"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Physics (last edited 2005-11-04 00:35:48 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./FXEditor_Tab_-_Rotate?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./FXEditor_Tab_-_Rotate?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Rotate">FXEditor Tab - Rotate</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Rotate.html">FXEditor Tab - Rotate</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -195,7 +195,7 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-14"></span><ul><li style="list-style-type:none">End relative to start ensures that the end angle is relative to it's start angle. <span class="anchor" id="line-15"></span><span class="anchor" id="line-16"></span></li></ul><p class="line867"><span class="anchor" id="line-17"></span><pre>Example: A start value of 0/360. An end value of 20. If a sprite is chosen to start at 180, it will rotate to 200 rather than rotate to 20. If the end value is -20/20 and the sprite starts at 180, it will end in the range of 160-200.
<span class="anchor" id="line-18"></span></pre><span class="anchor" id="line-19"></span><ul><li style="list-style-type:none">With this setting unchecked, the rotation will always end at the exact end value rather than relative to it's start rotation value. <span class="anchor" id="line-20"></span><span class="anchor" id="line-21"></span><span class="anchor" id="line-22"></span></li></ul><p class="line867">
<h3 id="head-ab0680f71477ce277e9a5e1423ce93f515b7688e">Envelope</h3>
<span class="anchor" id="line-23"></span><ul><li style="list-style-type:none"><p class="line862">Here an envelope can be applied to the rotation value. Please see <a href="./Notes_about_Envelopes/Tables">Notes about Envelopes/Tables</a> for more detailed information. <span class="anchor" id="line-24"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Rotate (last edited 2005-11-09 02:24:12 by <span title="MattVainio @ mdsnwinas03pool0-a82.mdsnwi.tds.net[216.165.148.82]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ mdsnwinas03pool0-a82.mdsnwi.tds.net[216.165.148.82]">MattVainio</a></span>)</p>
<span class="anchor" id="line-23"></span><ul><li style="list-style-type:none"><p class="line862">Here an envelope can be applied to the rotation value. Please see <a href="./Notes_about_Envelopes/Tables.html">Notes about Envelopes/Tables</a> for more detailed information. <span class="anchor" id="line-24"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Rotate (last edited 2005-11-09 02:24:12 by <span title="MattVainio @ mdsnwinas03pool0-a82.mdsnwi.tds.net[216.165.148.82]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ mdsnwinas03pool0-a82.mdsnwi.tds.net[216.165.148.82]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./FXEditor_Tab_-_Size?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./FXEditor_Tab_-_Size?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Size">FXEditor Tab - Size</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Size.html">FXEditor Tab - Size</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -197,7 +197,7 @@ actionsMenuInit('More Actions:');
<h3 id="head-0f45577b45704824df713beee7fb0c8a7bb9c4fe">Linear Distribution</h3>
<span class="anchor" id="line-17"></span><ul><li style="list-style-type:none">When checked, this setting links the width and height of a sprite so that within the min/max range, the width and height is the same within the particle. Use this to keep your sprites square. Without this setting and a min/max range of 1 - 5 for width and height, a sprite could potentially spawn with a width of 2 and a height of 5. <span class="anchor" id="line-18"></span><span class="anchor" id="line-19"></span></li></ul><p class="line867">
<h3 id="head-707bc8fdb797ba229657156d80d0145f921b8b6e">Envelope</h3>
<span class="anchor" id="line-20"></span><ul><li style="list-style-type:none"><p class="line862">The table envelope to apply over a particles lifetime. Offset will move the table start position, default value is 0.0 Normal range is 0.0 to 1.0. The rate field is how many times the Envelope will take effect over the particles lifetime. The default value is 1.0, meaning that the envelope will last exactly as long as the particle. To repeat a table over a particles lifetime, set this value higher. To only use part of the table, set this value lower. Please see <a href="./Notes_about_Envelopes/Tables">Notes about Envelopes/Tables</a> for more detailed information. <span class="anchor" id="line-21"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Size (last edited 2005-11-09 02:17:13 by <span title="MattVainio @ mdsnwinas03pool0-a82.mdsnwi.tds.net[216.165.148.82]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ mdsnwinas03pool0-a82.mdsnwi.tds.net[216.165.148.82]">MattVainio</a></span>)</p>
<span class="anchor" id="line-20"></span><ul><li style="list-style-type:none"><p class="line862">The table envelope to apply over a particles lifetime. Offset will move the table start position, default value is 0.0 Normal range is 0.0 to 1.0. The rate field is how many times the Envelope will take effect over the particles lifetime. The default value is 1.0, meaning that the envelope will last exactly as long as the particle. To repeat a table over a particles lifetime, set this value higher. To only use part of the table, set this value lower. Please see <a href="./Notes_about_Envelopes/Tables.html">Notes about Envelopes/Tables</a> for more detailed information. <span class="anchor" id="line-21"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Size (last edited 2005-11-09 02:17:13 by <span title="MattVainio @ mdsnwinas03pool0-a82.mdsnwi.tds.net[216.165.148.82]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ mdsnwinas03pool0-a82.mdsnwi.tds.net[216.165.148.82]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./FXEditor_Tab_-_Sprite?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./FXEditor_Tab_-_Sprite?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Sprite">FXEditor Tab - Sprite</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Sprite.html">FXEditor Tab - Sprite</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -187,18 +187,18 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line862">This tab controls the lifetime of the sprite, the material used by the sprite and whether it should play any effects upon its lifetime ending. This tab is named <strong>Line</strong> for a line segment. <span class="anchor" id="line-2"></span><hr /><p class="line874"> <span class="anchor" id="line-3"></span>
<h3 id="head-1d2856d7ceafc8f04461635936d8100786e0bd3d">Live Forever</h3>
<span class="anchor" id="line-4"></span><ul><li style="list-style-type:none"><p class="line862">Useable only if <a href="./FXEditor_Tab_-_Emitter#spawnsimultaneously">Spawning simultaneously</a>. The sprite will remain around constantly as long as the effect is visible. <span class="anchor" id="line-5"></span></li></ul><p class="line867"><span class="anchor" id="lifetime"></span> <span class="anchor" id="line-6"></span>
<span class="anchor" id="line-4"></span><ul><li style="list-style-type:none"><p class="line862">Useable only if <a href="./FXEditor_Tab_-_Emitter#spawnsimultaneously.html">Spawning simultaneously</a>. The sprite will remain around constantly as long as the effect is visible. <span class="anchor" id="line-5"></span></li></ul><p class="line867"><span class="anchor" id="lifetime"></span> <span class="anchor" id="line-6"></span>
<h3 id="head-c7deb6a4d7b7654c8468415032b96202073e961f">Lifetime</h3>
<span class="anchor" id="line-7"></span><ul><li style="list-style-type:none">A min and max range possible for the lifetime of a sprite. Lifetime chosen randomly between min and max when the particle is spawned. Larger min/max ranges lead to more random particle lifetimes. <span class="anchor" id="line-8"></span></li></ul><p class="line867">
<h3 id="head-057ec7fa3bc58a790f635877454de5d2503f81de">Material</h3>
<span class="anchor" id="line-9"></span><ul><li style="list-style-type:none"><p class="line862">The path to the <a href="./ArtReference_Q4Shaders">material</a> to be applied to the sprite. Relative to your <a class="nonexistent" href="./Q4Base">Q4Base</a> folder. <span class="anchor" id="line-10"></span></li></ul><p class="line867"><span class="anchor" id="line-11"></span><pre>Example path: gfx/effects/energy_sparks/spark3
<span class="anchor" id="line-9"></span><ul><li style="list-style-type:none"><p class="line862">The path to the <a href="./ArtReference_Q4Shaders.html">material</a> to be applied to the sprite. Relative to your <a class="nonexistent" href="./Q4Base.html">Q4Base</a> folder. <span class="anchor" id="line-10"></span></li></ul><p class="line867"><span class="anchor" id="line-11"></span><pre>Example path: gfx/effects/energy_sparks/spark3
<span class="anchor" id="line-12"></span></pre><span class="anchor" id="line-13"></span><p class="line867">
<h3 id="head-9b22206fa44cb0bbdc5ba96403ede606fd0ce8da">Tile Material</h3>
<span class="anchor" id="line-14"></span><ul><li style="list-style-type:none"><p class="line862">This is used on <a href="./FXEditor_Tab_-_Sprite">line</a> and <a href="./FXEditor_Tab_-_Electricity">electricity</a> effects to tile the selected material by the amount of map units you define. <span class="anchor" id="line-15"></span></li></ul><p class="line867">
<span class="anchor" id="line-14"></span><ul><li style="list-style-type:none"><p class="line862">This is used on <a href="./FXEditor_Tab_-_Sprite.html">line</a> and <a href="./FXEditor_Tab_-_Electricity.html">electricity</a> effects to tile the selected material by the amount of map units you define. <span class="anchor" id="line-15"></span></li></ul><p class="line867">
<h3 id="head-4d69b42cee161d4dc2be083aaa1686344cc9b4cb">Death Effects</h3>
<span class="anchor" id="line-16"></span><ul><li style="list-style-type:none">Press the + plus button to add entire effects to play upon the death of the particle, use the minus key to remove effects. <span class="anchor" id="line-17"></span></li></ul><p class="line867">
<h3 id="head-5f4e2cef5692dd6334bbcf298a6fbf942c33117e">Orient towards direction of Motion</h3>
<span class="anchor" id="line-18"></span><ul><li style="list-style-type:none"><p class="line862">Used only in <a href="./FXEditor_Tab_-_Sprite">line</a> effects, this will point the <a href="./FXEditor_Tab_-_Sprite">line</a> in the direction of motion over time. This is useful for <a href="./FXEditor_Tab_-_Sprite">lines</a> that have gravity, so as the <a href="./FXEditor_Tab_-_Sprite">lines</a> fall to the ground they rotate rather than fall in the same direction they spawned. A good example to look at is <strong>effects/weapons/machinegun/impact_default.fx</strong>. The segment <strong>sparks_lines</strong> uses this setting. Uncheck the setting and play the effect to notice how without this setting the <a href="./FXEditor_Tab_-_Sprite">lines</a> fall. Make sure you hide all other segments by unchecking them to see this easier. <span class="anchor" id="line-19"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Sprite (last edited 2005-11-04 17:21:51 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-18"></span><ul><li style="list-style-type:none"><p class="line862">Used only in <a href="./FXEditor_Tab_-_Sprite.html">line</a> effects, this will point the <a href="./FXEditor_Tab_-_Sprite.html">line</a> in the direction of motion over time. This is useful for <a href="./FXEditor_Tab_-_Sprite.html">lines</a> that have gravity, so as the <a href="./FXEditor_Tab_-_Sprite.html">lines</a> fall to the ground they rotate rather than fall in the same direction they spawned. A good example to look at is <strong>effects/weapons/machinegun/impact_default.fx</strong>. The segment <strong>sparks_lines</strong> uses this setting. Uncheck the setting and play the effect to notice how without this setting the <a href="./FXEditor_Tab_-_Sprite.html">lines</a> fall. Make sure you hide all other segments by unchecking them to see this easier. <span class="anchor" id="line-19"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Sprite (last edited 2005-11-04 17:21:51 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./FXEditor_Tab_-_Trail?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./FXEditor_Tab_-_Trail?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Trail">FXEditor Tab - Trail</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./FXEditor_Tab_-_Trail.html">FXEditor Tab - Trail</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -193,7 +193,7 @@ actionsMenuInit('More Actions:');
<h3 id="head-ff715ae3ffb1c453e25be3c8974d228bc0b8575c">Burn</h3>
<span class="anchor" id="line-10"></span><ul><li style="list-style-type:none">Replicates the particle sprite image and uses the same sprite image as a trail of sprites. Also uses Time and Count to determine how many sprites to use and how long the trail is. <span class="anchor" id="line-11"></span><span class="anchor" id="line-12"></span></li></ul><p class="line867">
<h3 id="head-7847a8042477d78877470364212966f05229ada3">Particle</h3>
<span class="anchor" id="line-13"></span><ul><li style="list-style-type:none">By selecting this option, particles can link to other sprite segments within the effect and use them as a trail. The dropdown box allows the choice of sprite segments in the effect. <span class="anchor" id="line-14"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Trail (last edited 2005-11-04 00:36:45 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-13"></span><ul><li style="list-style-type:none">By selecting this option, particles can link to other sprite segments within the effect and use them as a trail. The dropdown box allows the choice of sprite segments in the effect. <span class="anchor" id="line-14"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FXEditor Tab - Trail (last edited 2005-11-04 00:36:45 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,20 +88,20 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./FX_Entity_Editor?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./FX_Entity_Editor?action=print">
<link rel="Appendix" title="fx_enteditor.jpg" href="./FX_Entity_Editor?action=AttachFile&amp;do=view&amp;target=fx_enteditor.jpg">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -139,7 +139,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./FX_Entity_Editor">FX Entity Editor</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./FX_Entity_Editor.html">FX Entity Editor</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -186,25 +186,25 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line862">The FX Entity Editor allows placement and modification of <a href="./Entity_FuncFX">func_fx</a> <a href="./LevelEditor_EntityReference">entities</a> within maps created by the <a href="./LevelEditor">LevelEditor</a>. <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line862">This editor can be launched by going to <strong>View &gt; Entity Editor</strong> within the <a href="./FXEditor">FXEditor</a>. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span><p class="line867"><img class="attachment" src="./FX_Entity_Editor?action=AttachFile&amp;do=get&amp;target=fx_enteditor.jpg" title="attachment:fx_enteditor.jpg" /> <span class="anchor" id="line-8"></span><span class="anchor" id="line-9"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span><p class="line867">
<span class="anchor" id="line-1"></span><p class="line862">The FX Entity Editor allows placement and modification of <a href="./Entity_FuncFX.html">func_fx</a> <a href="./LevelEditor_EntityReference.html">entities</a> within maps created by the <a href="./LevelEditor.html">LevelEditor</a>. <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line862">This editor can be launched by going to <strong>View &gt; Entity Editor</strong> within the <a href="./FXEditor.html">FXEditor</a>. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span><p class="line867"><img class="attachment" src="./FX_Entity_Editor?action=AttachFile&amp;do=get&amp;target=fx_enteditor.jpg" title="attachment:fx_enteditor.jpg" /> <span class="anchor" id="line-8"></span><span class="anchor" id="line-9"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span><p class="line867">
<h2 id="head-8304b979465fa08b06f9e296ea6ebfd01484c7da">Placing an effect</h2>
<span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><p class="line862">To place an effect in a level, press the <strong>New</strong> button. This will generate a new <a href="./Entity_FuncFX">func_fx</a> <a href="./LevelEditor_EntityReference">entity</a> underneath your cursor. If you are close enough to a wall/surface, the editor will place the effect on the normal of the surface and aim the direction based off this normal. If you are farther from a wall/surface, the editor will place the effect file in front of your cursor and aim the normal of the effect in the direction you are pointing. This normal is represented by the yellow arrow, which always shows the direction of <strong>Forward</strong>. <span class="anchor" id="line-14"></span><span class="anchor" id="line-15"></span><p class="line862">Once you've placed a <a href="./Entity_FuncFX">func_fx</a> <a href="./LevelEditor_EntityReference">entity</a>, you need to link an effect file to it. You can either press the <strong>" ... "</strong> button to open the Find Effect browser, or press the <strong>" &lt; "</strong> to place the currently selected effect inside the <a href="./FXEditor">FXEditor</a> into the <a href="./Entity_FuncFX">func_fx</a> <a href="./LevelEditor_EntityReference">entity</a> <span class="anchor" id="line-16"></span><span class="anchor" id="line-17"></span><p class="line862">To select a new effect, place your cursor over it and click the attack button (mouse1 by default). When done editing effects files, press <strong>Save Map</strong> at the bottom to save your changes. <span class="anchor" id="line-18"></span><hr /><p class="line874"> <span class="anchor" id="line-19"></span><span class="anchor" id="line-20"></span><p class="line867">
<span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><p class="line862">To place an effect in a level, press the <strong>New</strong> button. This will generate a new <a href="./Entity_FuncFX.html">func_fx</a> <a href="./LevelEditor_EntityReference.html">entity</a> underneath your cursor. If you are close enough to a wall/surface, the editor will place the effect on the normal of the surface and aim the direction based off this normal. If you are farther from a wall/surface, the editor will place the effect file in front of your cursor and aim the normal of the effect in the direction you are pointing. This normal is represented by the yellow arrow, which always shows the direction of <strong>Forward</strong>. <span class="anchor" id="line-14"></span><span class="anchor" id="line-15"></span><p class="line862">Once you've placed a <a href="./Entity_FuncFX.html">func_fx</a> <a href="./LevelEditor_EntityReference.html">entity</a>, you need to link an effect file to it. You can either press the <strong>" ... "</strong> button to open the Find Effect browser, or press the <strong>" &lt; "</strong> to place the currently selected effect inside the <a href="./FXEditor.html">FXEditor</a> into the <a href="./Entity_FuncFX.html">func_fx</a> <a href="./LevelEditor_EntityReference.html">entity</a> <span class="anchor" id="line-16"></span><span class="anchor" id="line-17"></span><p class="line862">To select a new effect, place your cursor over it and click the attack button (mouse1 by default). When done editing effects files, press <strong>Save Map</strong> at the bottom to save your changes. <span class="anchor" id="line-18"></span><hr /><p class="line874"> <span class="anchor" id="line-19"></span><span class="anchor" id="line-20"></span><p class="line867">
<h2 id="head-9cf7b55872bc4ab1c6a007ed9ebc0c905290b3a0">Moving an effect</h2>
<span class="anchor" id="line-21"></span><span class="anchor" id="line-22"></span><p class="line862">The FX Entity Editor can move <a href="./Entity_FuncFX">func_fx</a> <a href="./LevelEditor_EntityReference">entities</a> by pressing the <strong>X+</strong>, <strong>X-</strong>, <strong>Y+</strong>, <strong>Y-</strong>, <strong>Z+</strong> and <strong>Z-</strong> keys. <span class="anchor" id="line-23"></span><span class="anchor" id="line-24"></span><p class="line862">The <strong>Forward</strong> normal can also be altered by changing the <strong>Pitch</strong>, <strong>Yaw</strong> and <strong>Roll</strong> values of the <a href="./Entity_FuncFX">func_fx</a>. <span class="anchor" id="line-25"></span><span class="anchor" id="line-26"></span><span class="anchor" id="line-27"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-28"></span><span class="anchor" id="line-29"></span><p class="line867">
<span class="anchor" id="line-21"></span><span class="anchor" id="line-22"></span><p class="line862">The FX Entity Editor can move <a href="./Entity_FuncFX.html">func_fx</a> <a href="./LevelEditor_EntityReference.html">entities</a> by pressing the <strong>X+</strong>, <strong>X-</strong>, <strong>Y+</strong>, <strong>Y-</strong>, <strong>Z+</strong> and <strong>Z-</strong> keys. <span class="anchor" id="line-23"></span><span class="anchor" id="line-24"></span><p class="line862">The <strong>Forward</strong> normal can also be altered by changing the <strong>Pitch</strong>, <strong>Yaw</strong> and <strong>Roll</strong> values of the <a href="./Entity_FuncFX.html">func_fx</a>. <span class="anchor" id="line-25"></span><span class="anchor" id="line-26"></span><span class="anchor" id="line-27"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-28"></span><span class="anchor" id="line-29"></span><p class="line867">
<h2 id="head-5dd01124d2855cb31d6cedf957409df9d9aef15d">Color/Opacity/Brightness settings</h2>
<span class="anchor" id="line-30"></span><span class="anchor" id="line-31"></span><p class="line874">Effects can be tinted a color, have their alpha value adjusted and be darkened. This is valuable for tinting something like a white smoke effect and using only one file for several different colors of smoke effects. <span class="anchor" id="line-32"></span><span class="anchor" id="line-33"></span><p class="line874">Near the bottom of the FX Entity Editor are two swatches for color. The larger, leftmost swatch is for the RGB value of an effect. The smaller, right swatch is for adjusting Alpha value. RGB colors are chosen through a standard Windows color picker, while Alpha can be adjusted via a slider or entered as a text value of 0.0 - 1.0. Set RGB color to 255/255/255 White and Alpha 1.0 for coloring only through the effect file. <span class="anchor" id="line-34"></span><span class="anchor" id="line-35"></span><p class="line862">Brightness can be adjusted by changing the default value of 1.0. The range is 0.0 - 1.0. This differs from Opacity in that Brightness will add 0/0/0 Black to an effect as the Brightness reaches 0.0. This makes all segments within the effect grow darker without making the effect more transparent. Usefull for toning down steam effects in dark areas, simulating less light on specific effect <a href="./LevelEditor_EntityReference">entities</a>. <span class="anchor" id="line-36"></span><span class="anchor" id="line-37"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-38"></span><span class="anchor" id="line-39"></span><p class="line867">
<span class="anchor" id="line-30"></span><span class="anchor" id="line-31"></span><p class="line874">Effects can be tinted a color, have their alpha value adjusted and be darkened. This is valuable for tinting something like a white smoke effect and using only one file for several different colors of smoke effects. <span class="anchor" id="line-32"></span><span class="anchor" id="line-33"></span><p class="line874">Near the bottom of the FX Entity Editor are two swatches for color. The larger, leftmost swatch is for the RGB value of an effect. The smaller, right swatch is for adjusting Alpha value. RGB colors are chosen through a standard Windows color picker, while Alpha can be adjusted via a slider or entered as a text value of 0.0 - 1.0. Set RGB color to 255/255/255 White and Alpha 1.0 for coloring only through the effect file. <span class="anchor" id="line-34"></span><span class="anchor" id="line-35"></span><p class="line862">Brightness can be adjusted by changing the default value of 1.0. The range is 0.0 - 1.0. This differs from Opacity in that Brightness will add 0/0/0 Black to an effect as the Brightness reaches 0.0. This makes all segments within the effect grow darker without making the effect more transparent. Usefull for toning down steam effects in dark areas, simulating less light on specific effect <a href="./LevelEditor_EntityReference.html">entities</a>. <span class="anchor" id="line-36"></span><span class="anchor" id="line-37"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-38"></span><span class="anchor" id="line-39"></span><p class="line867">
<h2 id="head-f6fd4cfe8239cee39b8bb127b27b43d014442e4d">Other entity settings</h2>
<span class="anchor" id="line-40"></span><span class="anchor" id="line-41"></span><p class="line867">
<h4 id="head-530417ad4c0b989eeeb93ba00177093c64982b0d">Looping</h4>
<span class="anchor" id="line-42"></span><span class="anchor" id="line-43"></span><ul><li style="list-style-type:none"><p class="line862">Checking this setting will force the effect to loop its <a href="./FXEditor_Tab_-_Emitter#duration">duration</a>. <span class="anchor" id="line-44"></span><span class="anchor" id="line-45"></span></li></ul><p class="line867">
<span class="anchor" id="line-42"></span><span class="anchor" id="line-43"></span><ul><li style="list-style-type:none"><p class="line862">Checking this setting will force the effect to loop its <a href="./FXEditor_Tab_-_Emitter#duration.html">duration</a>. <span class="anchor" id="line-44"></span><span class="anchor" id="line-45"></span></li></ul><p class="line867">
<h4 id="head-06156f7ef1ad532789d608fbe2dfdc877d034948">Start On</h4>
<span class="anchor" id="line-46"></span><span class="anchor" id="line-47"></span><ul><li style="list-style-type:none">An effect will not start until triggered with this setting to Off. Set this On for an effect to start playing as soon as the level loads. <span class="anchor" id="line-48"></span><span class="anchor" id="line-49"></span></li></ul><p class="line867">
<h4 id="head-84d8b7c671c845ed743467f093ea3c09c01b9fa5">Remove</h4>
<span class="anchor" id="line-50"></span><span class="anchor" id="line-51"></span><ul><li style="list-style-type:none">-need definition- <span class="anchor" id="line-52"></span><span class="anchor" id="line-53"></span></li></ul><p class="line867">
<h4 id="head-a0ff09505e210d81bf505260c6aad86879dd63c1">Entity Draw Distance</h4>
<span class="anchor" id="line-54"></span><span class="anchor" id="line-55"></span><ul><li style="list-style-type:none"><p class="line862">Controls how far away to draw the <a href="./LevelEditor_EntityReference">entity</a> bounds boxes. Longer distances usefull for open maps, but performance suffers from too many debug <a href="./LevelEditor_EntityReference">entities</a> drawn on screen at once. <span class="anchor" id="line-56"></span><span class="anchor" id="line-57"></span></li></ul><p class="line867">
<span class="anchor" id="line-54"></span><span class="anchor" id="line-55"></span><ul><li style="list-style-type:none"><p class="line862">Controls how far away to draw the <a href="./LevelEditor_EntityReference.html">entity</a> bounds boxes. Longer distances usefull for open maps, but performance suffers from too many debug <a href="./LevelEditor_EntityReference.html">entities</a> drawn on screen at once. <span class="anchor" id="line-56"></span><span class="anchor" id="line-57"></span></li></ul><p class="line867">
<h4 id="head-d52baa0b297675b7bae0353281d2b52bdee2a0ed">Text Draw Distance</h4>
<span class="anchor" id="line-58"></span><span class="anchor" id="line-59"></span><ul><li style="list-style-type:none"><p class="line862">Controls how far away to draw the <a href="./LevelEditor_EntityReference">entity</a> text description above <a href="./LevelEditor_EntityReference">entity</a> bounds boxes. <span class="anchor" id="line-60"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FX Entity Editor (last edited 2005-11-04 00:30:54 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-58"></span><span class="anchor" id="line-59"></span><ul><li style="list-style-type:none"><p class="line862">Controls how far away to draw the <a href="./LevelEditor_EntityReference.html">entity</a> text description above <a href="./LevelEditor_EntityReference.html">entity</a> bounds boxes. <span class="anchor" id="line-60"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FX Entity Editor (last edited 2005-11-04 00:30:54 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./FindPage?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./FindPage?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink current"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink current"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -185,7 +185,7 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-8"></span><p class="line862">You can use this page to search all entries in this <a href="./WikiWikiWeb">WikiWikiWeb</a>. Searches are not case sensitive. <span class="anchor" id="line-9"></span><span class="anchor" id="line-10"></span><p class="line874">Good starting points to explore a wiki are: <span class="anchor" id="line-11"></span><ul><li><p class="line891"><a href="./RecentChanges">RecentChanges</a>: see where people are currently working <span class="anchor" id="line-12"></span></li><li><p class="line891"><a href="./TitleIndex">TitleIndex</a>: a list of all pages in the wiki <span class="anchor" id="line-13"></span></li><li><p class="line891"><a href="./WordIndex">WordIndex</a>: a list of all words that are part of page title (thus, a list of the concepts in a wiki) <span class="anchor" id="line-14"></span></li><li><p class="line891"><a href="./SiteNavigation">SiteNavigation</a>: a longer list of things to try <span class="anchor" id="line-15"></span><span class="anchor" id="line-16"></span></li></ul><p class="line862">Here's a title search. Try something like <em>help</em>: <span class="anchor" id="line-17"></span><span class="anchor" id="line-18"></span><ul><li style="list-style-type:none"><form method="get" action="">
<span class="anchor" id="line-8"></span><p class="line862">You can use this page to search all entries in this <a href="./WikiWikiWeb.html">WikiWikiWeb</a>. Searches are not case sensitive. <span class="anchor" id="line-9"></span><span class="anchor" id="line-10"></span><p class="line874">Good starting points to explore a wiki are: <span class="anchor" id="line-11"></span><ul><li><p class="line891"><a href="./RecentChanges.html">RecentChanges</a>: see where people are currently working <span class="anchor" id="line-12"></span></li><li><p class="line891"><a href="./TitleIndex.html">TitleIndex</a>: a list of all pages in the wiki <span class="anchor" id="line-13"></span></li><li><p class="line891"><a href="./WordIndex.html">WordIndex</a>: a list of all words that are part of page title (thus, a list of the concepts in a wiki) <span class="anchor" id="line-14"></span></li><li><p class="line891"><a href="./SiteNavigation.html">SiteNavigation</a>: a longer list of things to try <span class="anchor" id="line-15"></span><span class="anchor" id="line-16"></span></li></ul><p class="line862">Here's a title search. Try something like <em>help</em>: <span class="anchor" id="line-17"></span><span class="anchor" id="line-18"></span><ul><li style="list-style-type:none"><form method="get" action="">
<div>
<input type="hidden" name="action" value="fullsearch">
<input type="hidden" name="titlesearch" value="1">
@ -206,7 +206,7 @@ Display context of search results
<input type="checkbox" name="case" value="1">
Case-sensitive searching
</div>
</form> <span class="anchor" id="line-23"></span><span class="anchor" id="line-24"></span></li></ul><p class="line862">You can also use regular expressions and other search modifiers (see <a href="./HelpOnSearching">HelpOnSearching</a>), an example: <span class="anchor" id="line-25"></span><span class="anchor" id="line-26"></span><p class="line867"><tt>&nbsp;&nbsp;&nbsp;&nbsp;regex:seriali[sz]e</tt> <span class="anchor" id="line-27"></span><span class="anchor" id="line-28"></span><p class="line874">Or go direct to a page, or create a new page by entering its name here: <span class="anchor" id="line-29"></span><ul><li style="list-style-type:none"><form method="get" action="">
</form> <span class="anchor" id="line-23"></span><span class="anchor" id="line-24"></span></li></ul><p class="line862">You can also use regular expressions and other search modifiers (see <a href="./HelpOnSearching.html">HelpOnSearching</a>), an example: <span class="anchor" id="line-25"></span><span class="anchor" id="line-26"></span><p class="line867"><tt>&nbsp;&nbsp;&nbsp;&nbsp;regex:seriali[sz]e</tt> <span class="anchor" id="line-27"></span><span class="anchor" id="line-28"></span><p class="line874">Or go direct to a page, or create a new page by entering its name here: <span class="anchor" id="line-29"></span><ul><li style="list-style-type:none"><form method="get" action="">
<div>
<input type="hidden" name="action" value="goto">
<input type="text" name="target" size="30">

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./Floats%2C_Definevec4%2C_and_NamedEvents?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./Floats%2C_Definevec4%2C_and_NamedEvents?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./Floats%2C_Definevec4%2C_and_NamedEvents">Floats, Def...NamedEvents</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./Floats%2C_Definevec4%2C_and_NamedEvents.html">Floats, Def...NamedEvents</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -189,11 +189,11 @@ actionsMenuInit('More Actions:');
<h3 id="head-c862ad59e39e94e213d61f9db16c520491ce4d70">Floats and Definevec4</h3>
<span class="anchor" id="line-6"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-7"></span>The syntax for these items are as follows: <span class="anchor" id="line-8"></span><span class="anchor" id="line-9"></span><ul><li style="list-style-type:none"><p class="line891"><strong>float “valuename” “0”</strong> <span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span></li></ul><p class="line874">This defines a variable named valuename and sets it to 0. <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><ul><li style="list-style-type:none"><p class="line891"><strong>definevec4 “yellowtext” “1,1,0,1”</strong> <span class="anchor" id="line-14"></span><span class="anchor" id="line-15"></span></li></ul><p class="line862">This defines a vec4 called “yellowtext” and sets its RGB + Alpha value to 1,1,0,1. This is extremely usefull when <a href="#definevec4">used in conjunction with transitions</a> as it allows transitions to reference colors specified as a float rather than hard coded values. If you have a bunch of places you want to transition a color and decide later that you want to change this color, you only have to adjust the desktop float rather than every single place in your onTime animation. <span class="anchor" id="line-16"></span><span class="anchor" id="line-17"></span><p class="line867"><span class="anchor" id="namedevent"></span> <span class="anchor" id="line-18"></span>
<h3 id="head-a478f4695ffee2ef94c8d8fa31111274ac574aee">namedEvent</h3>
<span class="anchor" id="line-19"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-20"></span>The syntax for this command is identical to all other scripting functions. namedEvents are usually defined after the floats and vec4s in the Desktop using the <strong>onNamedEvent</strong> function, but they can also be placed in any <a href="./Def_Types">windowDef</a> in the GUI. When the <strong>namedEvent</strong> command is used (either by the GUI itself or from code), it the statements in the corresponding <strong>onNamedEvent</strong> function are executed. <span class="anchor" id="line-21"></span><span class="anchor" id="line-22"></span><p class="line874">The following is a named event defined in the Desktop that sets a windowDef's backcolor: <span class="anchor" id="line-23"></span><span class="anchor" id="line-24"></span><p class="line867"><span class="anchor" id="line-25"></span><pre> onNamedEvent SetBackcolor
<span class="anchor" id="line-19"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-20"></span>The syntax for this command is identical to all other scripting functions. namedEvents are usually defined after the floats and vec4s in the Desktop using the <strong>onNamedEvent</strong> function, but they can also be placed in any <a href="./Def_Types.html">windowDef</a> in the GUI. When the <strong>namedEvent</strong> command is used (either by the GUI itself or from code), it the statements in the corresponding <strong>onNamedEvent</strong> function are executed. <span class="anchor" id="line-21"></span><span class="anchor" id="line-22"></span><p class="line874">The following is a named event defined in the Desktop that sets a windowDef's backcolor: <span class="anchor" id="line-23"></span><span class="anchor" id="line-24"></span><p class="line867"><span class="anchor" id="line-25"></span><pre> onNamedEvent SetBackcolor
<span class="anchor" id="line-26"></span> {
<span class="anchor" id="line-27"></span> set "foo::backcolor" "1,0,0,1" ;
<span class="anchor" id="line-28"></span> }
<span class="anchor" id="line-29"></span></pre><span class="anchor" id="line-30"></span><span class="anchor" id="line-31"></span><p class="line862">The following example sends the command to execute that named event when the player selects the <a href="./Def_Types">windowDef</a>: <span class="anchor" id="line-32"></span><span class="anchor" id="line-33"></span><p class="line867"><span class="anchor" id="line-34"></span><pre> windowDef foo2
<span class="anchor" id="line-29"></span></pre><span class="anchor" id="line-30"></span><span class="anchor" id="line-31"></span><p class="line862">The following example sends the command to execute that named event when the player selects the <a href="./Def_Types.html">windowDef</a>: <span class="anchor" id="line-32"></span><span class="anchor" id="line-33"></span><p class="line867"><span class="anchor" id="line-34"></span><pre> windowDef foo2
<span class="anchor" id="line-35"></span> {
<span class="anchor" id="line-36"></span> rect 0,0,300,300
<span class="anchor" id="line-37"></span> visible 1
@ -203,7 +203,7 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-41"></span> namedEvent "SetBackcolor" ;
<span class="anchor" id="line-42"></span> }
<span class="anchor" id="line-43"></span> }
<span class="anchor" id="line-44"></span></pre><span class="anchor" id="line-45"></span><span class="anchor" id="line-46"></span><p class="line862">The following example does the same thing, but references a named event that is defined in the <a href="./Def_Types">windowDef</a> named "foo3" and not in the Desktop: <span class="anchor" id="line-47"></span><span class="anchor" id="line-48"></span><p class="line867"><span class="anchor" id="line-49"></span><pre> windowDef foo2
<span class="anchor" id="line-44"></span></pre><span class="anchor" id="line-45"></span><span class="anchor" id="line-46"></span><p class="line862">The following example does the same thing, but references a named event that is defined in the <a href="./Def_Types.html">windowDef</a> named "foo3" and not in the Desktop: <span class="anchor" id="line-47"></span><span class="anchor" id="line-48"></span><p class="line867"><span class="anchor" id="line-49"></span><pre> windowDef foo2
<span class="anchor" id="line-50"></span> {
<span class="anchor" id="line-51"></span> rect 0,0,300,300
<span class="anchor" id="line-52"></span> visible 1
@ -215,7 +215,7 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-58"></span> }
<span class="anchor" id="line-59"></span></pre><span class="anchor" id="line-60"></span><span class="anchor" id="line-61"></span><p class="line867">
<h3 id="head-8b6d815dfd0f17b95932699f8a2f3761a165df3f">An Example Desktop Script</h3>
<span class="anchor" id="line-62"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-63"></span><strong>Floats</strong>, <strong>vec4s</strong>, <strong>namedEvents</strong>, and <strong>onInit</strong> and <strong>onESC</strong> are defined in the Desktop just as other scripts are for other <a href="./Def_Types">windowDefs</a> hit <strong>ctrl + Enter</strong> to bring up the scripting window and enter them in. The following would be an example Desktop script. Note that the values defined at the top of the Desktop do not end with a semicolon as all other scripting commands do. <span class="anchor" id="line-64"></span><span class="anchor" id="line-65"></span><p class="line867"><span class="anchor" id="line-66"></span><pre> definevec4 “yellowtext_on” “1,1,0,1”
<span class="anchor" id="line-62"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-63"></span><strong>Floats</strong>, <strong>vec4s</strong>, <strong>namedEvents</strong>, and <strong>onInit</strong> and <strong>onESC</strong> are defined in the Desktop just as other scripts are for other <a href="./Def_Types.html">windowDefs</a> hit <strong>ctrl + Enter</strong> to bring up the scripting window and enter them in. The following would be an example Desktop script. Note that the values defined at the top of the Desktop do not end with a semicolon as all other scripting commands do. <span class="anchor" id="line-64"></span><span class="anchor" id="line-65"></span><p class="line867"><span class="anchor" id="line-66"></span><pre> definevec4 “yellowtext_on” “1,1,0,1”
<span class="anchor" id="line-67"></span> definevec4 “yellowtext_off” “1,1,0,0.5”
<span class="anchor" id="line-68"></span> float “check1” “0”
<span class="anchor" id="line-69"></span> float “check2” “0”
@ -241,7 +241,7 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-94"></span> }
<span class="anchor" id="line-95"></span></pre><span class="anchor" id="line-96"></span><span class="anchor" id="line-97"></span><p class="line874">Floats can also be changed using the set command: <span class="anchor" id="line-98"></span><span class="anchor" id="line-99"></span><p class="line867"><span class="anchor" id="line-100"></span><pre> set “desktop::check1” “1” ;
<span class="anchor" id="line-101"></span></pre><span class="anchor" id="line-102"></span><span class="anchor" id="line-103"></span><p class="line867"><span class="anchor" id="definevec4"></span> <span class="anchor" id="line-104"></span>The syntax for using vec4s is slightly different, but straightforward. The following example uses the “yellowtext_on” and “yellowtext_off” vec4s we defined in our example Desktop script: <span class="anchor" id="line-105"></span><span class="anchor" id="line-106"></span><p class="line867"><span class="anchor" id="line-107"></span><pre> transition “button1::forecolor” “$desktop::yellowtext_off” “$desktop::yellowtext_on” “200” ;
<span class="anchor" id="line-108"></span></pre><span class="anchor" id="line-109"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Floats, Definevec4, and NamedEvents (last edited 2005-11-07 19:39:21 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-108"></span></pre><span class="anchor" id="line-109"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Floats, Definevec4, and NamedEvents (last edited 2005-11-07 19:39:21 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,22 +88,22 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./FontExamples?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./FontExamples?action=print">
<link rel="Appendix" title="marine_ANSI.zip" href="./FontExamples?action=AttachFile&amp;do=view&amp;target=marine_ANSI.zip">
<link rel="Appendix" title="marine_symbol.zip" href="./FontExamples?action=AttachFile&amp;do=view&amp;target=marine_symbol.zip">
<link rel="Appendix" title="q4font.zip" href="./FontExamples?action=AttachFile&amp;do=view&amp;target=q4font.zip">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -141,7 +141,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./FontExamples">FontExamples</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./FontExamples.html">FontExamples</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -190,7 +190,7 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867">
<h1 id="head-55b9695679dc5c7002a9cedbfaeacd77651635a1">Downloadable Font Files</h1>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line862">These files can be used to add your own fonts to the game. To learn more, check out the information here: <a href="./Adding_Fonts_to_use_in_Quake_4_GUIs">Q4Font</a> <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span><p class="line867"><a class="attachment" href="./FontExamples?action=AttachFile&amp;do=get&amp;target=q4font.zip" title="attachment:q4font.zip">q4font.zip</a> <span class="anchor" id="line-8"></span><span class="anchor" id="line-9"></span><p class="line874">Contains the q4font.exe program used to import fonts into Quake 4 <span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><p class="line867"><a class="attachment" href="./FontExamples?action=AttachFile&amp;do=get&amp;target=marine_ANSI.zip" title="attachment:marine_ANSI.zip">marine_ANSI.zip</a> <span class="anchor" id="line-14"></span><span class="anchor" id="line-15"></span><p class="line874">An example font in standard ANSI Windows codepage. <span class="anchor" id="line-16"></span><span class="anchor" id="line-17"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-18"></span><span class="anchor" id="line-19"></span><p class="line867"><a class="attachment" href="./FontExamples?action=AttachFile&amp;do=get&amp;target=marine_symbol.zip" title="attachment:marine_symbol.zip">marine_symbol.zip</a> <span class="anchor" id="line-20"></span><span class="anchor" id="line-21"></span><p class="line874">An example font in Symbol codepage. <span class="anchor" id="line-22"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FontExamples (last edited 2006-04-27 21:25:56 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line862">These files can be used to add your own fonts to the game. To learn more, check out the information here: <a href="./Adding_Fonts_to_use_in_Quake_4_GUIs.html">Q4Font</a> <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span><p class="line867"><a class="attachment" href="./FontExamples?action=AttachFile&amp;do=get&amp;target=q4font.zip" title="attachment:q4font.zip">q4font.zip</a> <span class="anchor" id="line-8"></span><span class="anchor" id="line-9"></span><p class="line874">Contains the q4font.exe program used to import fonts into Quake 4 <span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><p class="line867"><a class="attachment" href="./FontExamples?action=AttachFile&amp;do=get&amp;target=marine_ANSI.zip" title="attachment:marine_ANSI.zip">marine_ANSI.zip</a> <span class="anchor" id="line-14"></span><span class="anchor" id="line-15"></span><p class="line874">An example font in standard ANSI Windows codepage. <span class="anchor" id="line-16"></span><span class="anchor" id="line-17"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-18"></span><span class="anchor" id="line-19"></span><p class="line867"><a class="attachment" href="./FontExamples?action=AttachFile&amp;do=get&amp;target=marine_symbol.zip" title="attachment:marine_symbol.zip">marine_symbol.zip</a> <span class="anchor" id="line-20"></span><span class="anchor" id="line-21"></span><p class="line874">An example font in Symbol codepage. <span class="anchor" id="line-22"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">FontExamples (last edited 2006-04-27 21:25:56 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,20 +88,20 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./Font_Information?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./Font_Information?action=print">
<link rel="Appendix" title="guied_fonts.jpg" href="./Font_Information?action=AttachFile&amp;do=view&amp;target=guied_fonts.jpg">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -139,7 +139,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./Font_Information">Font Information</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./Font_Information.html">Font Information</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -186,13 +186,13 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line874">GUIs in Quake4 use Truetype fonts (*.ttf) converted into *.tga images along with a font data file (*.fontdat) that describes where within the *.tga every character resides. These *.tga files can be edited in any standard image editing software that allows Alpha Channel editing. The characters are all located in this Alpha Channel. <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line862">Quake 4 uses three font point sizes, which one it chooses to use is dependent on the <a href="./Def_Flags#textscale">Text Scale</a> attribute of the specified windowDef. The three font point sizes are: <strong>12</strong>, <strong>24</strong> and <strong>48</strong>. Below is a chart relating to <a href="./Def_Flags#textscale">textscale</a> and which point size will be used. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><div><table style="width: 50%"><tbody><tr> <td><p class="line891"><a href="./Def_Flags#textscale">textscale</a> less than or equal to 0.3</td>
<span class="anchor" id="line-1"></span><p class="line874">GUIs in Quake4 use Truetype fonts (*.ttf) converted into *.tga images along with a font data file (*.fontdat) that describes where within the *.tga every character resides. These *.tga files can be edited in any standard image editing software that allows Alpha Channel editing. The characters are all located in this Alpha Channel. <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line862">Quake 4 uses three font point sizes, which one it chooses to use is dependent on the <a href="./Def_Flags#textscale.html">Text Scale</a> attribute of the specified windowDef. The three font point sizes are: <strong>12</strong>, <strong>24</strong> and <strong>48</strong>. Below is a chart relating to <a href="./Def_Flags#textscale.html">textscale</a> and which point size will be used. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><div><table style="width: 50%"><tbody><tr> <td><p class="line891"><a href="./Def_Flags#textscale.html">textscale</a> less than or equal to 0.3</td>
<td><p class="line891"><strong>12</strong></td>
</tr>
<tr> <td><span class="anchor" id="line-6"></span><p class="line891"><a href="./Def_Flags#textscale">textscale</a> larger than 0.3 and 0.6 or less.</td>
<tr> <td><span class="anchor" id="line-6"></span><p class="line891"><a href="./Def_Flags#textscale.html">textscale</a> larger than 0.3 and 0.6 or less.</td>
<td><p class="line891"><strong>24</strong></td>
</tr>
<tr> <td><span class="anchor" id="line-7"></span><p class="line891"><a href="./Def_Flags#textscale">textscale</a> larger than 0.6</td>
<tr> <td><span class="anchor" id="line-7"></span><p class="line891"><a href="./Def_Flags#textscale.html">textscale</a> larger than 0.6</td>
<td><p class="line891"><strong>48</strong></td>
</tr>
</tbody></table></div><span class="anchor" id="line-8"></span><span class="anchor" id="line-9"></span><p class="line874">A single font can have more than one *.tga attached to it, depending on the export size of the character and how many characters are in the font. Example font file names from Quake 4: <span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span><p class="line867"><span class="anchor" id="line-12"></span><pre>marine_12.fontdat
@ -201,8 +201,8 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-15"></span>marine_24.tga
<span class="anchor" id="line-16"></span>marine_48.fontdat
<span class="anchor" id="line-17"></span>marine_48.tga
<span class="anchor" id="line-18"></span></pre><span class="anchor" id="line-19"></span><span class="anchor" id="line-20"></span><p class="line862">To select fonts within the <a href="./GUIEditor">GUIEditor</a>, select the dropdown box and choose the font you wish to use. <span class="anchor" id="line-21"></span><span class="anchor" id="line-22"></span><p class="line867"><img class="attachment" src="./Font_Information?action=AttachFile&amp;do=get&amp;target=guied_fonts.jpg" title="attachment:guied_fonts.jpg" /> <span class="anchor" id="line-23"></span><hr /><p class="line874"> <span class="anchor" id="line-24"></span>The list of fonts is populated when the <a href="./GUIEditor">GUIEditor</a> is started, so if you add a font you must restart the <a href="./GUIEditor">GUIEditor</a>. Add fonts to the following folder within Quake4: <span class="anchor" id="line-25"></span><span class="anchor" id="line-26"></span><p class="line867"><span class="anchor" id="line-27"></span><pre>../q4base/fonts/
<span class="anchor" id="line-28"></span></pre><span class="anchor" id="line-29"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-30"></span>To import fonts into the game you need to use the <a href="./Adding_Fonts_to_use_in_Quake_4_GUIs">Q4Font</a> tool. <span class="anchor" id="line-31"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Font Information (last edited 2005-11-03 20:42:10 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-18"></span></pre><span class="anchor" id="line-19"></span><span class="anchor" id="line-20"></span><p class="line862">To select fonts within the <a href="./GUIEditor.html">GUIEditor</a>, select the dropdown box and choose the font you wish to use. <span class="anchor" id="line-21"></span><span class="anchor" id="line-22"></span><p class="line867"><img class="attachment" src="./Font_Information?action=AttachFile&amp;do=get&amp;target=guied_fonts.jpg" title="attachment:guied_fonts.jpg" /> <span class="anchor" id="line-23"></span><hr /><p class="line874"> <span class="anchor" id="line-24"></span>The list of fonts is populated when the <a href="./GUIEditor.html">GUIEditor</a> is started, so if you add a font you must restart the <a href="./GUIEditor.html">GUIEditor</a>. Add fonts to the following folder within Quake4: <span class="anchor" id="line-25"></span><span class="anchor" id="line-26"></span><p class="line867"><span class="anchor" id="line-27"></span><pre>../q4base/fonts/
<span class="anchor" id="line-28"></span></pre><span class="anchor" id="line-29"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-30"></span>To import fonts into the game you need to use the <a href="./Adding_Fonts_to_use_in_Quake_4_GUIs.html">Q4Font</a> tool. <span class="anchor" id="line-31"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Font Information (last edited 2005-11-03 20:42:10 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./GUIEditor?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./GUIEditor?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink current"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink current"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -187,7 +187,7 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line874">This document outlines the basics of creating GUIs in Quake 4. Two types of GUIs exist in the game: overall UI GUIs like the menu system and the HUD, and world GUIs such as elevators, computer screens, and other interactive GUIs in the game. This document covers both types but tends to emphasize menu GUIs as they're far more complex than world GUIs. The information is applicable to both GUI types, however. <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line862">All of the *.gui files in Quake 4 can be viewed by the GUI editor or in a text editor. The best way to learn the ins and outs of GUI scripting is to look at the GUI files used in Quake 4. To view the GUIs, extract the contents of the <strong>pak001.pk4</strong> file and browse to the <strong>../q4base/GUIs</strong> folder. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line867">
<h2 id="head-ab30a397e011af1265821d129a1915e1ac65fb7d">Table of Contents</h2>
<span class="anchor" id="line-6"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-7"></span><ul><li><p class="line891"><a href="./Using_the_GUIEditor">Using the GUIEditor</a> <span class="anchor" id="line-8"></span></li><li><p class="line891"><a href="./Guidelines_for_GUI_Editing_and_Creation">Guidelines for GUI Editing and Creation</a> <span class="anchor" id="line-9"></span></li><li><p class="line891"><a href="./Scripting_Actions_and_Animations">Scripting Actions and Animations</a> <span class="anchor" id="line-10"></span></li><li><p class="line891"><a href="./Floats%2C_Definevec4%2C_and_NamedEvents">Floats, Definevec4, and NamedEvents</a> <span class="anchor" id="line-11"></span></li><li><p class="line891"><a href="./Def_Types">Def Types</a> <span class="anchor" id="line-12"></span></li><li><p class="line891"><a href="./Def_Flags">Def Flags</a> <span class="anchor" id="line-13"></span></li><li><p class="line891"><a href="./GUI_Variables">GUI Variables</a> <span class="anchor" id="line-14"></span></li><li><p class="line891"><a href="./GUI_Parms">GUI Parms</a> <span class="anchor" id="line-15"></span></li><li><p class="line891"><a href="./Font_Information">Font Information</a> <span class="anchor" id="line-16"></span></li><li><p class="line891"><a href="./Adding_Fonts_to_use_in_Quake_4_GUIs">Adding Fonts to use in Quake 4 GUIs</a> <span class="anchor" id="line-17"></span></li><li><p class="line891"><a href="./Placing_a_GUI_In_a_Map">Placing a GUI In a Map</a> <span class="anchor" id="line-18"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">GUIEditor (last edited 2005-11-04 19:09:59 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-6"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-7"></span><ul><li><p class="line891"><a href="./Using_the_GUIEditor.html">Using the GUIEditor</a> <span class="anchor" id="line-8"></span></li><li><p class="line891"><a href="./Guidelines_for_GUI_Editing_and_Creation.html">Guidelines for GUI Editing and Creation</a> <span class="anchor" id="line-9"></span></li><li><p class="line891"><a href="./Scripting_Actions_and_Animations.html">Scripting Actions and Animations</a> <span class="anchor" id="line-10"></span></li><li><p class="line891"><a href="./Floats%2C_Definevec4%2C_and_NamedEvents.html">Floats, Definevec4, and NamedEvents</a> <span class="anchor" id="line-11"></span></li><li><p class="line891"><a href="./Def_Types.html">Def Types</a> <span class="anchor" id="line-12"></span></li><li><p class="line891"><a href="./Def_Flags.html">Def Flags</a> <span class="anchor" id="line-13"></span></li><li><p class="line891"><a href="./GUI_Variables.html">GUI Variables</a> <span class="anchor" id="line-14"></span></li><li><p class="line891"><a href="./GUI_Parms.html">GUI Parms</a> <span class="anchor" id="line-15"></span></li><li><p class="line891"><a href="./Font_Information.html">Font Information</a> <span class="anchor" id="line-16"></span></li><li><p class="line891"><a href="./Adding_Fonts_to_use_in_Quake_4_GUIs.html">Adding Fonts to use in Quake 4 GUIs</a> <span class="anchor" id="line-17"></span></li><li><p class="line891"><a href="./Placing_a_GUI_In_a_Map.html">Placing a GUI In a Map</a> <span class="anchor" id="line-18"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">GUIEditor (last edited 2005-11-04 19:09:59 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./GUI_Parms?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./GUI_Parms?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./GUI_Parms">GUI Parms</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./GUI_Parms.html">GUI Parms</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -187,7 +187,7 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line874">GUI Parms are a special type of gui variable used in many reuseable world GUIs. GUI parms are referenced within the GUI just like any other GUI variable. The difference is that GUI parms are defined in entities within a level. An example of a GUI that uses GUI parms are the numerous elevator and lift GUIs in a Quake 4 level. The floors that the lift moves between are defined in the level with GUI parms. Those parms are then used by the GUI to determine which animations to run or which information to show. <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line867">
<h3 id="head-180090a33eeea07b386d1d78b2bf600f4537f7ab">GUI Examples From Quake 4</h3>
<span class="anchor" id="line-4"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-5"></span>The best way to learn GUI scripting is by example, and there are many GUIs in Quake 4 that can be opened up in the GUI editor or in any text editor and used as references. The following is a list of sample GUIs found in the q4base/GUIs folder and what they demonstrate. <span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span><ul><li><p class="line891"><strong>q4base/GUIs/movers/strogg/activate_lift.gui</strong> -- This gui is used in many places in Quake 4 as a lift or elevator GUI. It's a great example of the use of GUI parms to make a single GUI useable in many areas of the game. <span class="anchor" id="line-8"></span></li><li><p class="line891"><strong>q4base/GUIs/mphud.gui</strong> -- This is the basic multiplayer HUD (which overlays on top of hud.gui). This demonstrates the use of GUI variables that are sent to the GUI from code. <span class="anchor" id="line-9"></span></li><li><p class="line891"><strong>q4base/GUIs/mainmenu.gui</strong> -- Probably the most complex GUI in the game, the main menu. For mod authors interested in creating a custom menu for your mod, you'll want to look at this one closely and probably use it as a template for your own menu. <span class="anchor" id="line-10"></span></li><li><p class="line891"><strong>q4base/GUIs/maps/hangar/fire_engine.gui</strong> -- This GUI is used in the hangar level as a puzzle element. It's a good example of a simple GUI that performs a simple action but has some animation. Look at the windowDef button and its script to see the use of a GUI Parm as a script name to run in the onAction. This script name is set in the entity/key value pairs within the <a href="./LevelEditor">LevelEditor</a>. <span class="anchor" id="line-11"></span></li><li><p class="line891"><strong>q4base/GUIs/maps/process2/rotate8.gui</strong> -- Another puzzle GUI, but more complex. This GUI illustrates the use of GUI parms, the rotate property in transitions, and running scripts. <span class="anchor" id="line-12"></span></li><li><p class="line891"><strong>q4base/GUIs/scoreboard.gui</strong> -- A complex menu GUI that demonstrates using math to dynamically position GUI elements. <span class="anchor" id="line-13"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">GUI Parms (last edited 2005-11-07 19:42:04 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-4"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-5"></span>The best way to learn GUI scripting is by example, and there are many GUIs in Quake 4 that can be opened up in the GUI editor or in any text editor and used as references. The following is a list of sample GUIs found in the q4base/GUIs folder and what they demonstrate. <span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span><ul><li><p class="line891"><strong>q4base/GUIs/movers/strogg/activate_lift.gui</strong> -- This gui is used in many places in Quake 4 as a lift or elevator GUI. It's a great example of the use of GUI parms to make a single GUI useable in many areas of the game. <span class="anchor" id="line-8"></span></li><li><p class="line891"><strong>q4base/GUIs/mphud.gui</strong> -- This is the basic multiplayer HUD (which overlays on top of hud.gui). This demonstrates the use of GUI variables that are sent to the GUI from code. <span class="anchor" id="line-9"></span></li><li><p class="line891"><strong>q4base/GUIs/mainmenu.gui</strong> -- Probably the most complex GUI in the game, the main menu. For mod authors interested in creating a custom menu for your mod, you'll want to look at this one closely and probably use it as a template for your own menu. <span class="anchor" id="line-10"></span></li><li><p class="line891"><strong>q4base/GUIs/maps/hangar/fire_engine.gui</strong> -- This GUI is used in the hangar level as a puzzle element. It's a good example of a simple GUI that performs a simple action but has some animation. Look at the windowDef button and its script to see the use of a GUI Parm as a script name to run in the onAction. This script name is set in the entity/key value pairs within the <a href="./LevelEditor.html">LevelEditor</a>. <span class="anchor" id="line-11"></span></li><li><p class="line891"><strong>q4base/GUIs/maps/process2/rotate8.gui</strong> -- Another puzzle GUI, but more complex. This GUI illustrates the use of GUI parms, the rotate property in transitions, and running scripts. <span class="anchor" id="line-12"></span></li><li><p class="line891"><strong>q4base/GUIs/scoreboard.gui</strong> -- A complex menu GUI that demonstrates using math to dynamically position GUI elements. <span class="anchor" id="line-13"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">GUI Parms (last edited 2005-11-07 19:42:04 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./GUI_Variables?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./GUI_Variables?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./GUI_Variables">GUI Variables</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./GUI_Variables.html">GUI Variables</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -197,7 +197,7 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-22"></span> visible 1
<span class="anchor" id="line-23"></span> text "gui::spectatetext"
<span class="anchor" id="line-24"></span> }
<span class="anchor" id="line-25"></span></pre><span class="anchor" id="line-26"></span><span class="anchor" id="line-27"></span><p class="line874">In the example above, the text string would always be set in the code and displayed in that window. When the text string is empty, nothing will show up. <span class="anchor" id="line-28"></span><span class="anchor" id="line-29"></span><p class="line874">GUI variables can also be set and checked just like desktop variables. For example, gui::inGame is often used by the mainmenu in an if-statement check to determine if the player is in-game and thus which menu items to show. <span class="anchor" id="line-30"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">GUI Variables (last edited 2005-11-02 22:51:05 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-25"></span></pre><span class="anchor" id="line-26"></span><span class="anchor" id="line-27"></span><p class="line874">In the example above, the text string would always be set in the code and displayed in that window. When the text string is empty, nothing will show up. <span class="anchor" id="line-28"></span><span class="anchor" id="line-29"></span><p class="line874">GUI variables can also be set and checked just like desktop variables. For example, gui::inGame is often used by the mainmenu in an if-statement check to determine if the player is in-game and thus which menu items to show. <span class="anchor" id="line-30"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">GUI Variables (last edited 2005-11-02 22:51:05 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./GameCode?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./GameCode?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./GameCode">GameCode</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./GameCode.html">GameCode</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -192,7 +192,7 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-13"></span>Linux/BSD: gamex86.so
<span class="anchor" id="line-14"></span></pre><span class="anchor" id="line-15"></span><span class="anchor" id="line-16"></span><p class="line867">
<h3 id="head-eae688636eb1ed4fee910f6a99f418a0627e660b">Game Code Overviews</h3>
<span class="anchor" id="line-17"></span><ul><li><p class="line891"><a href="./GameCodeByFile">GameCodeByFile</a> - Overview of the game code by file <span class="anchor" id="line-18"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">GameCode (last edited 2005-11-04 21:36:06 by <span title="DavidDynerman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./DavidDynerman" title="DavidDynerman @ 67.129.250.254[67.129.250.254]">DavidDynerman</a></span>)</p>
<span class="anchor" id="line-17"></span><ul><li><p class="line891"><a href="./GameCodeByFile.html">GameCodeByFile</a> - Overview of the game code by file <span class="anchor" id="line-18"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">GameCode (last edited 2005-11-04 21:36:06 by <span title="DavidDynerman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./DavidDynerman.html" title="DavidDynerman @ 67.129.250.254[67.129.250.254]">DavidDynerman</a></span>)</p>
<div id="pagebottom"></div>
</div>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./GettingStarted?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./GettingStarted?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink current"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li>
<li class="wikilink current"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -185,7 +185,7 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line874">Use these resources to understand the power of the Quake 4 SDK <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><ul><li><p class="line862">Learn about <a href="./LevelEditor">Q4Radiant</a>, the editor used to make Quake 4 maps. <span class="anchor" id="line-4"></span></li><li><p class="line862">The <a href="./ScriptFile">Script Shop</a>, a central hub for tutorials, examples, and a FAQ for the Quake 4 Scripting System. <span class="anchor" id="line-5"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">GettingStarted (last edited 2005-11-01 16:46:19 by <span title="JimShepard @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./JimShepard" title="JimShepard @ 67.129.250.254[67.129.250.254]">JimShepard</a></span>)</p>
<span class="anchor" id="line-1"></span><p class="line874">Use these resources to understand the power of the Quake 4 SDK <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><ul><li><p class="line862">Learn about <a href="./LevelEditor.html">Q4Radiant</a>, the editor used to make Quake 4 maps. <span class="anchor" id="line-4"></span></li><li><p class="line862">The <a href="./ScriptFile.html">Script Shop</a>, a central hub for tutorials, examples, and a FAQ for the Quake 4 Scripting System. <span class="anchor" id="line-5"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">GettingStarted (last edited 2005-11-01 16:46:19 by <span title="JimShepard @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./JimShepard.html" title="JimShepard @ 67.129.250.254[67.129.250.254]">JimShepard</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./Guidelines_for_GUI_Editing_and_Creation?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./Guidelines_for_GUI_Editing_and_Creation?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./Guidelines_for_GUI_Editing_and_Creation">Guidelines ...nd Creation</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./Guidelines_for_GUI_Editing_and_Creation.html">Guidelines ...nd Creation</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -185,8 +185,8 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><ul><li>Use generalized animations to do basic, repeatable functions in your GUIs. For example, if you're using popups in your menu, create a single animation or named event that brings the generic popup graphics up, and then set a desktop float that will be checked in an if statement to determine which message to show on top of it. <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><span class="anchor" id="line-4"></span></li><li class="gap"><p class="line862">Organize your GUIs and use the parent-child relationship of nested <a href="./Def_Types">windowDefs</a> to keep things organized. For example, if you have several animation <a href="./Def_Types">windowDefs</a>, house them all under a parent windowDef marked "p_anims" or something similar. <span class="anchor" id="line-5"></span><span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span></li><li class="gap"><p class="line862">If you plan to resize <a href="./Def_Types">windowDefs</a> through transitions frequently, it's helpful to create an invisible <a href="./Def_Types">windowDef</a> that is sized to the new size and then using this <a href="./Def_Types">windowDef</a> in your transition command accordingly, where "window1_newsize" is the invisible <a href="./Def_Types">windowDef</a>: <span class="anchor" id="line-8"></span></li></ul><p class="line867"><span class="anchor" id="line-9"></span><pre> transition "window1::rect" "$window1::rect" "$window1_newsize::rect" "250" ;
<span class="anchor" id="line-10"></span></pre><span class="anchor" id="line-11"></span><ul><li><p class="line862">If your menus get large, it's helpful to create a few reset animations or named events that sets everything in a particular group of <a href="./Def_Types">windowDefs</a> back to a default value. For example, you may want to reset a screen of buttons back to an unhighlighted default state. <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><span class="anchor" id="line-14"></span></li><li class="gap"><p class="line862">Use <a href="./Scripting_Actions_and_Animations#animations">animations</a> when you know you need something to happen over time steps. Use <a class="nonexistent" href="./Floats%252C_Definevec4%252C_and_NamedEvents#namedevent">named events</a> when you just want to set properties instantly. <span class="anchor" id="line-15"></span><span class="anchor" id="line-16"></span><span class="anchor" id="line-17"></span></li><li class="gap">Statements in a script in the GUI system are executed simultaneously. If you want certain steps to happen before others, you must use an animation. <span class="anchor" id="line-18"></span><span class="anchor" id="line-19"></span><span class="anchor" id="line-20"></span></li><li class="gap">Avoid calling named events or using the set "cmd" or consoleCmd statements in animations. If a frame gets dropped and your command or named event call is in that frame, it won't be executed and will break the GUI. <span class="anchor" id="line-21"></span><span class="anchor" id="line-22"></span><span class="anchor" id="line-23"></span></li><li class="gap"><p class="line862">If your <a href="./GUIEditor">GUIEditor</a> crashes when you try to load a GUI, it's probably because of an error in your scripting. The most common culprits are brace errors or bad if statements. Since the <a href="./GUIEditor">GUIEditor</a> lacks an error feedback system, it's best to save different versions of your gui files in case one becomes corrupted. Try to remember which area you were working in and if possible use an advanced editor such as Ultra Edit so that you can compare files against each other to spot differences that might have caused the crash/corruption. <span class="anchor" id="line-24"></span><span class="anchor" id="line-25"></span><span class="anchor" id="line-26"></span></li><li class="gap"><p class="line862">It's possible to use math statements in your Desktop header and element properties to achieve certain effects, such as dynamic placement. For examples of this, look at <strong>scoreboard.gui</strong> and <strong>mpmain.gui</strong>. But be careful! The <a href="./GUIEditor">GUIEditor</a> has been known to corrupt Desktop headers with math statements in them if you open the Desktop scripting window in the editor. Saving a copy of your Desktop header to copy and paste in if this happens is usually helpful. <span class="anchor" id="line-27"></span><span class="anchor" id="line-28"></span></li></ul><p class="line874">Example, A desktop header script such as this: <span class="anchor" id="line-29"></span><span class="anchor" id="line-30"></span><pre>windowDef Desktop
<span class="anchor" id="line-1"></span><ul><li>Use generalized animations to do basic, repeatable functions in your GUIs. For example, if you're using popups in your menu, create a single animation or named event that brings the generic popup graphics up, and then set a desktop float that will be checked in an if statement to determine which message to show on top of it. <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><span class="anchor" id="line-4"></span></li><li class="gap"><p class="line862">Organize your GUIs and use the parent-child relationship of nested <a href="./Def_Types.html">windowDefs</a> to keep things organized. For example, if you have several animation <a href="./Def_Types.html">windowDefs</a>, house them all under a parent windowDef marked "p_anims" or something similar. <span class="anchor" id="line-5"></span><span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span></li><li class="gap"><p class="line862">If you plan to resize <a href="./Def_Types.html">windowDefs</a> through transitions frequently, it's helpful to create an invisible <a href="./Def_Types.html">windowDef</a> that is sized to the new size and then using this <a href="./Def_Types.html">windowDef</a> in your transition command accordingly, where "window1_newsize" is the invisible <a href="./Def_Types.html">windowDef</a>: <span class="anchor" id="line-8"></span></li></ul><p class="line867"><span class="anchor" id="line-9"></span><pre> transition "window1::rect" "$window1::rect" "$window1_newsize::rect" "250" ;
<span class="anchor" id="line-10"></span></pre><span class="anchor" id="line-11"></span><ul><li><p class="line862">If your menus get large, it's helpful to create a few reset animations or named events that sets everything in a particular group of <a href="./Def_Types.html">windowDefs</a> back to a default value. For example, you may want to reset a screen of buttons back to an unhighlighted default state. <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><span class="anchor" id="line-14"></span></li><li class="gap"><p class="line862">Use <a href="./Scripting_Actions_and_Animations#animations.html">animations</a> when you know you need something to happen over time steps. Use <a class="nonexistent" href="./Floats%252C_Definevec4%252C_and_NamedEvents#namedevent.html">named events</a> when you just want to set properties instantly. <span class="anchor" id="line-15"></span><span class="anchor" id="line-16"></span><span class="anchor" id="line-17"></span></li><li class="gap">Statements in a script in the GUI system are executed simultaneously. If you want certain steps to happen before others, you must use an animation. <span class="anchor" id="line-18"></span><span class="anchor" id="line-19"></span><span class="anchor" id="line-20"></span></li><li class="gap">Avoid calling named events or using the set "cmd" or consoleCmd statements in animations. If a frame gets dropped and your command or named event call is in that frame, it won't be executed and will break the GUI. <span class="anchor" id="line-21"></span><span class="anchor" id="line-22"></span><span class="anchor" id="line-23"></span></li><li class="gap"><p class="line862">If your <a href="./GUIEditor.html">GUIEditor</a> crashes when you try to load a GUI, it's probably because of an error in your scripting. The most common culprits are brace errors or bad if statements. Since the <a href="./GUIEditor.html">GUIEditor</a> lacks an error feedback system, it's best to save different versions of your gui files in case one becomes corrupted. Try to remember which area you were working in and if possible use an advanced editor such as Ultra Edit so that you can compare files against each other to spot differences that might have caused the crash/corruption. <span class="anchor" id="line-24"></span><span class="anchor" id="line-25"></span><span class="anchor" id="line-26"></span></li><li class="gap"><p class="line862">It's possible to use math statements in your Desktop header and element properties to achieve certain effects, such as dynamic placement. For examples of this, look at <strong>scoreboard.gui</strong> and <strong>mpmain.gui</strong>. But be careful! The <a href="./GUIEditor.html">GUIEditor</a> has been known to corrupt Desktop headers with math statements in them if you open the Desktop scripting window in the editor. Saving a copy of your Desktop header to copy and paste in if this happens is usually helpful. <span class="anchor" id="line-27"></span><span class="anchor" id="line-28"></span></li></ul><p class="line874">Example, A desktop header script such as this: <span class="anchor" id="line-29"></span><span class="anchor" id="line-30"></span><pre>windowDef Desktop
<span class="anchor" id="line-31"></span>{
<span class="anchor" id="line-32"></span> rect 0,0,640,480
<span class="anchor" id="line-33"></span> visible 1
@ -202,7 +202,7 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-48"></span> menugui 1
<span class="anchor" id="line-49"></span> float "igOffset" 282-((32*gui::ig_awards)/2)
<span class="anchor" id="line-50"></span> float "aim_fade_time" 10000-gui::main_notice_duration
<span class="anchor" id="line-51"></span></pre><span class="anchor" id="line-52"></span><ul><li><p class="line862">The Desktop is a <a href="./Def_Types">windowDef</a> just like all the others, and its properties can be modified as such. For instance, if you want to bring up a semi-transparent overlay, give the Desktop of your GUI a backcolor of 0,0,0,0.5. <span class="anchor" id="line-53"></span><span class="anchor" id="line-54"></span><span class="anchor" id="line-55"></span></li><li class="gap"><p class="line862">All elements in an GUI must have a unique name. When duplicating elements or creating new ones, the <a href="./GUIEditor">GUIEditor</a> will sometimes give them unique names, but sometimes will not. If your elements don't have unique names the functionality of your GUI will likely be broken. If you save and close a gui that has multiple windows with the same name, it is possible to hand-edit the gui to fix this. However, if you instead save and close the <a href="./GUIEditor">GUIEditor</a>, your work can be lost. <span class="anchor" id="line-56"></span><span class="anchor" id="line-57"></span><span class="anchor" id="line-58"></span></li><li class="gap">GUI variables must be explicitly sent to each GUI that references them. If your GUI variable isn't working, try checking the code to be sure it's sending it to the right GUI. <span class="anchor" id="line-59"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Guidelines for GUI Editing and Creation (last edited 2005-11-04 23:00:40 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<span class="anchor" id="line-51"></span></pre><span class="anchor" id="line-52"></span><ul><li><p class="line862">The Desktop is a <a href="./Def_Types.html">windowDef</a> just like all the others, and its properties can be modified as such. For instance, if you want to bring up a semi-transparent overlay, give the Desktop of your GUI a backcolor of 0,0,0,0.5. <span class="anchor" id="line-53"></span><span class="anchor" id="line-54"></span><span class="anchor" id="line-55"></span></li><li class="gap"><p class="line862">All elements in an GUI must have a unique name. When duplicating elements or creating new ones, the <a href="./GUIEditor.html">GUIEditor</a> will sometimes give them unique names, but sometimes will not. If your elements don't have unique names the functionality of your GUI will likely be broken. If you save and close a gui that has multiple windows with the same name, it is possible to hand-edit the gui to fix this. However, if you instead save and close the <a href="./GUIEditor.html">GUIEditor</a>, your work can be lost. <span class="anchor" id="line-56"></span><span class="anchor" id="line-57"></span><span class="anchor" id="line-58"></span></li><li class="gap">GUI variables must be explicitly sent to each GUI that references them. If your GUI variable isn't working, try checking the code to be sure it's sending it to the right GUI. <span class="anchor" id="line-59"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Guidelines for GUI Editing and Creation (last edited 2005-11-04 23:00:40 by <span title="MattVainio @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./MattVainio.html" title="MattVainio @ 67.129.250.254[67.129.250.254]">MattVainio</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./Hangar2_-_Rhodes_and_planting_the_bombs?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./Hangar2_-_Rhodes_and_planting_the_bombs?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./Hangar2_-_Rhodes_and_planting_the_bombs">Hangar2 - R...g the bombs</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./Hangar2_-_Rhodes_and_planting_the_bombs.html">Hangar2 - R...g the bombs</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -185,7 +185,7 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867"><img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <strong>UNDER CONSTRUCTION - COMING SOON</strong> <img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <span class="anchor" id="line-2"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Hangar2 - Rhodes and planting the bombs (last edited 2005-11-07 20:27:28 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<span class="anchor" id="line-1"></span><p class="line867"><img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <strong>UNDER CONSTRUCTION - COMING SOON</strong> <img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <span class="anchor" id="line-2"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Hangar2 - Rhodes and planting the bombs (last edited 2005-11-07 20:27:28 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman.html" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./HelpContents?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./HelpContents?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink current"><a href="./HelpContents">HelpContents</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink current"><a href="./HelpContents.html">HelpContents</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -185,7 +185,7 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-9"></span><span class="anchor" id="line-10"></span><p class="line874">Here is a tour of the most important help pages: <span class="anchor" id="line-11"></span><ul><li><p class="line891"><a href="./HelpForBeginners">HelpForBeginners</a> - if you are new to wikis <span class="anchor" id="line-12"></span></li><li><p class="line891"><a href="./HelpOnNavigation">HelpOnNavigation</a> - explains the navigational elements on a page <span class="anchor" id="line-13"></span></li><li><p class="line891"><a href="./HelpOnSearching">HelpOnSearching</a> - explains the search functions <span class="anchor" id="line-14"></span></li><li><p class="line891"><a href="./HelpOnPageCreation">HelpOnPageCreation</a> - how to create a new page, and how to use page templates <span class="anchor" id="line-15"></span></li><li><p class="line891"><a href="./HelpOnUserPreferences">HelpOnUserPreferences</a> - how to make yourself known to the wiki, and adapt default behaviour to your taste <span class="anchor" id="line-16"></span></li><li><p class="line891"><a href="./HelpOnEditing">HelpOnEditing</a> - how to edit a page <span class="anchor" id="line-17"></span></li><li><p class="line891"><a href="./HelpOnActions">HelpOnActions</a> - tools that work on pages or the whole site <span class="anchor" id="line-18"></span></li><li><p class="line891"><a href="./HelpMiscellaneous">HelpMiscellaneous</a> - more details, and a FAQ section <span class="anchor" id="line-19"></span><span class="anchor" id="line-20"></span></li></ul><p class="line874">These pages contain information only important to wiki administrators and developers: <span class="anchor" id="line-21"></span><ul><li><p class="line891"><a href="./HelpOnAdministration">HelpOnAdministration</a> - how to maintain a <a href="./MoinMoin">MoinMoin</a> wiki <span class="anchor" id="line-22"></span></li><li><p class="line891"><a href="./HelpOnInstalling">HelpOnInstalling</a> - how to install a <a href="./MoinMoin">MoinMoin</a> wiki <span class="anchor" id="line-23"></span></li><li><p class="line891"><a href="./HelpForDevelopers">HelpForDevelopers</a> - how to add your own features by changing the <a href="./MoinMoin">MoinMoin</a> code <span class="anchor" id="line-24"></span><span class="anchor" id="line-25"></span></li></ul><p class="line862">An automatically generated index of all help pages is on <a href="./HelpIndex">HelpIndex</a>. See also <a href="./HelpMiscellaneous/FrequentlyAskedQuestions">HelpMiscellaneous/FrequentlyAskedQuestions</a> for answers to frequently asked questions. <span class="anchor" id="line-26"></span><span class="anchor" id="line-27"></span><p class="line862">If you find any errors on the help pages, describe them on <a class="interwiki" href="http://moinmoin.wikiwikiweb.de/HelpErrata" title="MoinMoin">HelpErrata</a>. <span class="anchor" id="line-28"></span><span class="anchor" id="line-29"></span><p class="line867"><em>[Please do not edit or create help pages in other wikis than Moin<strong></strong>Master (see <a class="interwiki" href="http://moinmaster.wikiwikiweb.de/HelpContents" title="MoinMaster">HelpContents</a>), because the pages from Moin<strong></strong>Master will overwrite any other changes on wiki engine upgrades. Please follow the established structure of help pages if you want to change pages in Moin<strong></strong>Master. Before doing any major or widespread changes please discuss that on the mailing list or Moin<strong></strong>Moin wiki.]</em> <span class="anchor" id="line-30"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">HelpContents (last edited 2005-11-09 20:41:24 by <span title="BrianHarris @ hellstorm.idsoftware.com[192.246.40.8]"><a class="nonexistent" href="./BrianHarris" title="BrianHarris @ hellstorm.idsoftware.com[192.246.40.8]">BrianHarris</a></span>)</p>
<span class="anchor" id="line-9"></span><span class="anchor" id="line-10"></span><p class="line874">Here is a tour of the most important help pages: <span class="anchor" id="line-11"></span><ul><li><p class="line891"><a href="./HelpForBeginners.html">HelpForBeginners</a> - if you are new to wikis <span class="anchor" id="line-12"></span></li><li><p class="line891"><a href="./HelpOnNavigation.html">HelpOnNavigation</a> - explains the navigational elements on a page <span class="anchor" id="line-13"></span></li><li><p class="line891"><a href="./HelpOnSearching.html">HelpOnSearching</a> - explains the search functions <span class="anchor" id="line-14"></span></li><li><p class="line891"><a href="./HelpOnPageCreation.html">HelpOnPageCreation</a> - how to create a new page, and how to use page templates <span class="anchor" id="line-15"></span></li><li><p class="line891"><a href="./HelpOnUserPreferences.html">HelpOnUserPreferences</a> - how to make yourself known to the wiki, and adapt default behaviour to your taste <span class="anchor" id="line-16"></span></li><li><p class="line891"><a href="./HelpOnEditing.html">HelpOnEditing</a> - how to edit a page <span class="anchor" id="line-17"></span></li><li><p class="line891"><a href="./HelpOnActions.html">HelpOnActions</a> - tools that work on pages or the whole site <span class="anchor" id="line-18"></span></li><li><p class="line891"><a href="./HelpMiscellaneous.html">HelpMiscellaneous</a> - more details, and a FAQ section <span class="anchor" id="line-19"></span><span class="anchor" id="line-20"></span></li></ul><p class="line874">These pages contain information only important to wiki administrators and developers: <span class="anchor" id="line-21"></span><ul><li><p class="line891"><a href="./HelpOnAdministration.html">HelpOnAdministration</a> - how to maintain a <a href="./MoinMoin.html">MoinMoin</a> wiki <span class="anchor" id="line-22"></span></li><li><p class="line891"><a href="./HelpOnInstalling.html">HelpOnInstalling</a> - how to install a <a href="./MoinMoin.html">MoinMoin</a> wiki <span class="anchor" id="line-23"></span></li><li><p class="line891"><a href="./HelpForDevelopers.html">HelpForDevelopers</a> - how to add your own features by changing the <a href="./MoinMoin.html">MoinMoin</a> code <span class="anchor" id="line-24"></span><span class="anchor" id="line-25"></span></li></ul><p class="line862">An automatically generated index of all help pages is on <a href="./HelpIndex.html">HelpIndex</a>. See also <a href="./HelpMiscellaneous/FrequentlyAskedQuestions.html">HelpMiscellaneous/FrequentlyAskedQuestions</a> for answers to frequently asked questions. <span class="anchor" id="line-26"></span><span class="anchor" id="line-27"></span><p class="line862">If you find any errors on the help pages, describe them on <a class="interwiki" href="http://moinmoin.wikiwikiweb.de/HelpErrata" title="MoinMoin">HelpErrata</a>. <span class="anchor" id="line-28"></span><span class="anchor" id="line-29"></span><p class="line867"><em>[Please do not edit or create help pages in other wikis than Moin<strong></strong>Master (see <a class="interwiki" href="http://moinmaster.wikiwikiweb.de/HelpContents" title="MoinMaster">HelpContents</a>), because the pages from Moin<strong></strong>Master will overwrite any other changes on wiki engine upgrades. Please follow the established structure of help pages if you want to change pages in Moin<strong></strong>Master. Before doing any major or widespread changes please discuss that on the mailing list or Moin<strong></strong>Moin wiki.]</em> <span class="anchor" id="line-30"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">HelpContents (last edited 2005-11-09 20:41:24 by <span title="BrianHarris @ hellstorm.idsoftware.com[192.246.40.8]"><a class="nonexistent" href="./BrianHarris.html" title="BrianHarris @ hellstorm.idsoftware.com[192.246.40.8]">BrianHarris</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./HelpOnFormatting?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./HelpOnFormatting?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./HelpOnFormatting">HelpOnFormatting</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./HelpOnFormatting.html">HelpOnFormatting</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -231,11 +231,11 @@ actionsMenuInit('More Actions:');
</tr>
<tr> <td><span class="anchor" id="line-28"></span><p class="line862"> <span class="strike">stroke</span> </td>
<td><p class="line862"> <tt class="backtick">--(stroke)--</tt> </td>
<td><p class="line862"> <a href="./MoinMoin">MoinMoin</a> Version 1.5+ </td>
<td><p class="line862"> <a href="./MoinMoin.html">MoinMoin</a> Version 1.5+ </td>
</tr>
</tbody></table></div><span class="anchor" id="line-29"></span><span class="anchor" id="line-30"></span><p class="line867">
<h2 id="head-8a18bd5d05facec60b95a7cf928829de90bf9d9f">Colorized Code</h2>
<span class="anchor" id="line-31"></span><span class="anchor" id="line-32"></span><p class="line874">There are several ways to display colorized code formatting: <span class="anchor" id="line-33"></span><ol type="1"><li><p class="line862">Start a special code block containing the parser's name: <tt class="backtick">{{{#!parsername</tt> <span class="anchor" id="line-34"></span></li><li><p class="line862">Embed a file attachment bearing a supported extension (such as <tt class="backtick">".py"</tt>) with <tt class="backtick">inline:</tt> <span class="anchor" id="line-35"></span></li><li><p class="line862">Begin a page with the format processing instruction: <tt class="backtick">#format&nbsp;parsername</tt> <span class="anchor" id="line-36"></span><span class="anchor" id="line-37"></span></li></ol><p class="line867"><a href="#color_code_example">Example.</a> <span class="anchor" id="line-38"></span><span class="anchor" id="line-39"></span><p class="line862">To see the list of supported languages see <a href="./HelpOnParsers">HelpOnParsers</a>. <span class="anchor" id="line-40"></span><span class="anchor" id="line-41"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-42"></span><span class="anchor" id="line-43"></span><p class="line867">
<span class="anchor" id="line-31"></span><span class="anchor" id="line-32"></span><p class="line874">There are several ways to display colorized code formatting: <span class="anchor" id="line-33"></span><ol type="1"><li><p class="line862">Start a special code block containing the parser's name: <tt class="backtick">{{{#!parsername</tt> <span class="anchor" id="line-34"></span></li><li><p class="line862">Embed a file attachment bearing a supported extension (such as <tt class="backtick">".py"</tt>) with <tt class="backtick">inline:</tt> <span class="anchor" id="line-35"></span></li><li><p class="line862">Begin a page with the format processing instruction: <tt class="backtick">#format&nbsp;parsername</tt> <span class="anchor" id="line-36"></span><span class="anchor" id="line-37"></span></li></ol><p class="line867"><a href="#color_code_example">Example.</a> <span class="anchor" id="line-38"></span><span class="anchor" id="line-39"></span><p class="line862">To see the list of supported languages see <a href="./HelpOnParsers.html">HelpOnParsers</a>. <span class="anchor" id="line-40"></span><span class="anchor" id="line-41"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-42"></span><span class="anchor" id="line-43"></span><p class="line867">
<h1 id="head-3e7d7fdfa96aec660c230c0b345b2e68a68b1b25">Examples</h1>
<span class="anchor" id="line-44"></span><span class="anchor" id="line-45"></span><p class="line867">
<h2 id="head-ef56de3c9b8c3777393817406b60c4baf6e9c44b">Mixing ''italic'' and '''bold'''</h2>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./HelpOnSearching?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./HelpOnSearching?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./HelpOnSearching">HelpOnSearching</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./HelpOnSearching.html">HelpOnSearching</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -187,7 +187,7 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-8"></span><span class="anchor" id="line-9"></span><p class="line867">
<h1 id="head-e8b204d51c2b2ec78708e2ff72413e6178e1799f">Queries</h1>
<span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span><p class="line862">With the <a href="./MoinMoin">MoinMoin</a> search engine the same search patterns are allowed in the search and title search input fields as in the parameters for the <tt>FullSearch</tt> and the <tt>PageList</tt> macros. <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><ul><li>There may be several search term seperated by white space <span class="anchor" id="line-14"></span><ul><li>Terms are combined by default with an AND operation - only pages containing all search term are returned <span class="anchor" id="line-15"></span></li><li>Double or single quotes may be used to include white space into search terms. <span class="anchor" id="line-16"></span></li></ul></li><li><p class="line891"><tt>-</tt> before a search term means NOT - pages containing this term are excluded from the result <span class="anchor" id="line-17"></span></li><li><p class="line891"><tt>regex:TERM</tt> is treated as regular expression <span class="anchor" id="line-18"></span></li><li><p class="line891"><tt>title:TERM</tt> searches in pages that their titles match TERM <span class="anchor" id="line-19"></span><ul><li>Normal search terms do search the titles, too. Matches in titles get more weight as matches in pages. <span class="anchor" id="line-20"></span></li></ul></li><li><p class="line891"><tt>case:TERM</tt> searches case sensitive <span class="anchor" id="line-21"></span></li><li><p class="line891"><tt>linkto:TERM</tt> searches for links to TERM <span class="anchor" id="line-22"></span></li><li><p class="line891"><tt>title:</tt>, <tt>regex:</tt>, <tt>linkto:</tt> and <tt>case:</tt> may be used in combination in one search term <span class="anchor" id="line-23"></span><ul><li><p class="line862">these modifiers may be abbreviated to any length: e. g. <tt>re:</tt>, <tt>t:</tt>, <tt>reg:</tt>, <tt>cas:</tt>, <tt>l:</tt> <span class="anchor" id="line-24"></span></li><li><p class="line891"><tt>-</tt> must be put before any other modifiers <span class="anchor" id="line-25"></span></li></ul></li><li><p class="line891"><tt>or</tt> operator has a lower precedence than the implicit AND <span class="anchor" id="line-26"></span></li><li>Parentheses can be used for grouping <span class="anchor" id="line-27"></span><span class="anchor" id="line-28"></span></li></ul><p class="line867">
<span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span><p class="line862">With the <a href="./MoinMoin.html">MoinMoin</a> search engine the same search patterns are allowed in the search and title search input fields as in the parameters for the <tt>FullSearch</tt> and the <tt>PageList</tt> macros. <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><ul><li>There may be several search term seperated by white space <span class="anchor" id="line-14"></span><ul><li>Terms are combined by default with an AND operation - only pages containing all search term are returned <span class="anchor" id="line-15"></span></li><li>Double or single quotes may be used to include white space into search terms. <span class="anchor" id="line-16"></span></li></ul></li><li><p class="line891"><tt>-</tt> before a search term means NOT - pages containing this term are excluded from the result <span class="anchor" id="line-17"></span></li><li><p class="line891"><tt>regex:TERM</tt> is treated as regular expression <span class="anchor" id="line-18"></span></li><li><p class="line891"><tt>title:TERM</tt> searches in pages that their titles match TERM <span class="anchor" id="line-19"></span><ul><li>Normal search terms do search the titles, too. Matches in titles get more weight as matches in pages. <span class="anchor" id="line-20"></span></li></ul></li><li><p class="line891"><tt>case:TERM</tt> searches case sensitive <span class="anchor" id="line-21"></span></li><li><p class="line891"><tt>linkto:TERM</tt> searches for links to TERM <span class="anchor" id="line-22"></span></li><li><p class="line891"><tt>title:</tt>, <tt>regex:</tt>, <tt>linkto:</tt> and <tt>case:</tt> may be used in combination in one search term <span class="anchor" id="line-23"></span><ul><li><p class="line862">these modifiers may be abbreviated to any length: e. g. <tt>re:</tt>, <tt>t:</tt>, <tt>reg:</tt>, <tt>cas:</tt>, <tt>l:</tt> <span class="anchor" id="line-24"></span></li><li><p class="line891"><tt>-</tt> must be put before any other modifiers <span class="anchor" id="line-25"></span></li></ul></li><li><p class="line891"><tt>or</tt> operator has a lower precedence than the implicit AND <span class="anchor" id="line-26"></span></li><li>Parentheses can be used for grouping <span class="anchor" id="line-27"></span><span class="anchor" id="line-28"></span></li></ul><p class="line867">
<h2 id="head-6f8e9e70d1510805dd3a13bb693142f256c5003d">Examples</h2>
<span class="anchor" id="line-29"></span><span class="anchor" id="line-30"></span><p class="line867"><span class="anchor" id="line-31"></span><pre>title:Help macro
<span class="anchor" id="line-32"></span></pre><span class="anchor" id="line-33"></span><p class="line874">searches for help pages that contain the word "macro". <span class="anchor" id="line-34"></span><span class="anchor" id="line-35"></span><p class="line867"><span class="anchor" id="line-36"></span><pre>apple (computer or "operating system")

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./HitscanDefinition?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./HitscanDefinition?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./HitscanDefinition">HitscanDefinition</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./HitscanDefinition.html">HitscanDefinition</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -185,7 +185,7 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867"><img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <strong>UNDER CONSTRUCTION - COMING SOON</strong> <img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <span class="anchor" id="line-2"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">HitscanDefinition (last edited 2005-11-07 20:30:44 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<span class="anchor" id="line-1"></span><p class="line867"><img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <strong>UNDER CONSTRUCTION - COMING SOON</strong> <img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <span class="anchor" id="line-2"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">HitscanDefinition (last edited 2005-11-07 20:30:44 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman.html" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./HitscanWeapons?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./HitscanWeapons?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./HitscanWeapons">HitscanWeapons</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./HitscanWeapons.html">HitscanWeapons</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -185,7 +185,7 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867"><img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <strong>UNDER CONSTRUCTION - COMING SOON</strong> <img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <span class="anchor" id="line-2"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">HitscanWeapons (last edited 2005-11-07 20:30:28 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<span class="anchor" id="line-1"></span><p class="line867"><img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <strong>UNDER CONSTRUCTION - COMING SOON</strong> <img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <span class="anchor" id="line-2"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">HitscanWeapons (last edited 2005-11-07 20:30:28 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman.html" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./HowToPackageScripts?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./HowToPackageScripts?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./HowToPackageScripts">HowToPackageScripts</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./HowToPackageScripts.html">HowToPackageScripts</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -185,7 +185,7 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867"><img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <strong>UNDER CONSTRUCTION - COMING SOON</strong> <img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <span class="anchor" id="line-2"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">HowToPackageScripts (last edited 2005-11-07 20:28:04 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<span class="anchor" id="line-1"></span><p class="line867"><img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <strong>UNDER CONSTRUCTION - COMING SOON</strong> <img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <span class="anchor" id="line-2"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">HowToPackageScripts (last edited 2005-11-07 20:28:04 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman.html" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,7 +88,7 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./Hub_-_Repairbot_Ambience_and_the_Tetranode?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./Hub_-_Repairbot_Ambience_and_the_Tetranode?action=print">
<link rel="Appendix" title="repairbot1.jpg" href="./Hub_-_Repairbot_Ambience_and_the_Tetranode?action=AttachFile&amp;do=view&amp;target=repairbot1.jpg">
@ -99,16 +99,16 @@ function actionsMenuInit(title) {
<link rel="Appendix" title="repairbot6.jpg" href="./Hub_-_Repairbot_Ambience_and_the_Tetranode?action=AttachFile&amp;do=view&amp;target=repairbot6.jpg">
<link rel="Appendix" title="repairbot7.jpg" href="./Hub_-_Repairbot_Ambience_and_the_Tetranode?action=AttachFile&amp;do=view&amp;target=repairbot7.jpg">
<link rel="Appendix" title="repairbot8.jpg" href="./Hub_-_Repairbot_Ambience_and_the_Tetranode?action=AttachFile&amp;do=view&amp;target=repairbot8.jpg">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -146,7 +146,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./Hub_-_Repairbot_Ambience_and_the_Tetranode">Hub - Repai...e Tetranode</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./Hub_-_Repairbot_Ambience_and_the_Tetranode.html">Hub - Repai...e Tetranode</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -197,61 +197,61 @@ actionsMenuInit('More Actions:');
<h1 id="head-163f4a7a25e679849da30510f160855458275765">Entity-Based Scripting: The Repair Bots</h1>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line867"><img class="attachment" src="./Hub_-_Repairbot_Ambience_and_the_Tetranode?action=AttachFile&amp;do=get&amp;target=repairbot1.jpg" title="attachment:repairbot1.jpg" /> <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line867"><br />
<strong>Introduction</strong> <span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span><p class="line867"><br />
<a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bots</a> opened up some fun options for scripted behavior in Quake 4. They serve more as an ambient set piece than an actual enemy and can add a lot of life to a scene. Rather than scripting this ambience for each scene, we created a common entity-based script function that we can call on any <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a>, allowing it to randomly move from one point to the next, repairing all the way. <span class="anchor" id="line-8"></span><span class="anchor" id="line-9"></span><p class="line867"><br />
In this guide we wont cover the use of the <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a> script (though you can find implementation info in the .script file comments and some game levels and probably will still know how to use it by the time were done), but rather use it as a detailed example of how we used a common script to create a flexible system that can be added to a map with no (additional) scripting required. <span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span><p class="line867"><br />
This guide assumes you are familiar with the basics of the <a href="./ScriptFile">Scripting</a> system and the <a href="./LevelEditor">level editor</a>. <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><p class="line867"><br />
<a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bots</a> opened up some fun options for scripted behavior in Quake 4. They serve more as an ambient set piece than an actual enemy and can add a lot of life to a scene. Rather than scripting this ambience for each scene, we created a common entity-based script function that we can call on any <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a>, allowing it to randomly move from one point to the next, repairing all the way. <span class="anchor" id="line-8"></span><span class="anchor" id="line-9"></span><p class="line867"><br />
In this guide we wont cover the use of the <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a> script (though you can find implementation info in the .script file comments and some game levels and probably will still know how to use it by the time were done), but rather use it as a detailed example of how we used a common script to create a flexible system that can be added to a map with no (additional) scripting required. <span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span><p class="line867"><br />
This guide assumes you are familiar with the basics of the <a href="./ScriptFile.html">Scripting</a> system and the <a href="./LevelEditor.html">level editor</a>. <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><p class="line867"><br />
<strong>The Function</strong> <span class="anchor" id="line-14"></span><span class="anchor" id="line-15"></span><p class="line867"><br />
Before we cover anything, lets touch on the order of events within the <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a> function: <span class="anchor" id="line-16"></span><span class="anchor" id="line-17"></span><ul><li><p class="line862">Spawn <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a>. <span class="anchor" id="line-18"></span></li><li>Select a random target from an available list. <span class="anchor" id="line-19"></span></li><li><p class="line862">Check if another <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a> is using that position. <span class="anchor" id="line-20"></span></li><li>If the position is occupied, select a new random target until finding one that is unoccupied. <span class="anchor" id="line-21"></span></li><li><p class="line862">Flag the target as occupied so no other <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bots</a> can select it. <span class="anchor" id="line-22"></span></li><li>Move to the target. <span class="anchor" id="line-23"></span></li><li>Look at a specific point of interest <span class="anchor" id="line-24"></span></li><li>Perform the repair action <span class="anchor" id="line-25"></span></li><li>Mark the current target as unoccupied <span class="anchor" id="line-26"></span></li><li>Select a new target and repeat <span class="anchor" id="line-27"></span></li><li><p class="line862">If at any point the <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a> dies, set the current target as unoccupied and break the function <span class="anchor" id="line-28"></span><span class="anchor" id="line-29"></span></li></ul><p class="line874">This ends up looking more complicated than it really is, so even if youre not that familiar with the script system, dont worry if it makes you feel any better, this was my first script for the game! <span class="anchor" id="line-30"></span><span class="anchor" id="line-31"></span><p class="line867"><br />
Before we cover anything, lets touch on the order of events within the <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a> function: <span class="anchor" id="line-16"></span><span class="anchor" id="line-17"></span><ul><li><p class="line862">Spawn <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a>. <span class="anchor" id="line-18"></span></li><li>Select a random target from an available list. <span class="anchor" id="line-19"></span></li><li><p class="line862">Check if another <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a> is using that position. <span class="anchor" id="line-20"></span></li><li>If the position is occupied, select a new random target until finding one that is unoccupied. <span class="anchor" id="line-21"></span></li><li><p class="line862">Flag the target as occupied so no other <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bots</a> can select it. <span class="anchor" id="line-22"></span></li><li>Move to the target. <span class="anchor" id="line-23"></span></li><li>Look at a specific point of interest <span class="anchor" id="line-24"></span></li><li>Perform the repair action <span class="anchor" id="line-25"></span></li><li>Mark the current target as unoccupied <span class="anchor" id="line-26"></span></li><li>Select a new target and repeat <span class="anchor" id="line-27"></span></li><li><p class="line862">If at any point the <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a> dies, set the current target as unoccupied and break the function <span class="anchor" id="line-28"></span><span class="anchor" id="line-29"></span></li></ul><p class="line874">This ends up looking more complicated than it really is, so even if youre not that familiar with the script system, dont worry if it makes you feel any better, this was my first script for the game! <span class="anchor" id="line-30"></span><span class="anchor" id="line-31"></span><p class="line867"><br />
Through the next two sections (Entities and Script), well look at how we achieve each of these events and how the function was designed with a drop-anywhere mentality. <span class="anchor" id="line-32"></span><span class="anchor" id="line-33"></span><p class="line867"><br />
<strong>The Entities</strong> <span class="anchor" id="line-34"></span><span class="anchor" id="line-35"></span><p class="line867"><br />
Lets start by examining the Entities used in one use of this system: the Tetranode in the Nexus Hub. Ive moved some points around to get some clearer lines, but otherwise this is an accurate top-down view of all the available points in that scene. We can actually use this as a great outline of what will occur in our function. <span class="anchor" id="line-36"></span><span class="anchor" id="line-37"></span><p class="line867"><br />
<img class="attachment" src="./Hub_-_Repairbot_Ambience_and_the_Tetranode?action=AttachFile&amp;do=get&amp;target=repairbot2.jpg" title="attachment:repairbot2.jpg" /> <span class="anchor" id="line-38"></span><span class="anchor" id="line-39"></span><p class="line867"><br />
All of these points are <a href="./Entity_TargetNull">target_nulls</a> used to control the <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a> positions during the sequence. If you recall, <a href="./Entity_TargetNull">target_nulls</a> dont technically do anything. But in scripting systems such as this, theyll be your best friend. <span class="anchor" id="line-40"></span><span class="anchor" id="line-41"></span><p class="line867"><br />
Youll notice I highlighted a specific target null that targets about half of the remaining points. This serves as a “list” from which the <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bots</a> will select their points. Lets take a look at the entity info box: <span class="anchor" id="line-42"></span><span class="anchor" id="line-43"></span><p class="line867"><br />
All of these points are <a href="./Entity_TargetNull.html">target_nulls</a> used to control the <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a> positions during the sequence. If you recall, <a href="./Entity_TargetNull.html">target_nulls</a> dont technically do anything. But in scripting systems such as this, theyll be your best friend. <span class="anchor" id="line-40"></span><span class="anchor" id="line-41"></span><p class="line867"><br />
Youll notice I highlighted a specific target null that targets about half of the remaining points. This serves as a “list” from which the <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bots</a> will select their points. Lets take a look at the entity info box: <span class="anchor" id="line-42"></span><span class="anchor" id="line-43"></span><p class="line867"><br />
<img class="attachment" src="./Hub_-_Repairbot_Ambience_and_the_Tetranode?action=AttachFile&amp;do=get&amp;target=repairbot3.jpg" title="attachment:repairbot3.jpg" /> <span class="anchor" id="line-44"></span><span class="anchor" id="line-45"></span><p class="line867"><br />
Each target shown here is a valid target the <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a> may choose. Well examine how to pull values from this list in the Script section. <span class="anchor" id="line-46"></span><span class="anchor" id="line-47"></span><p class="line867"><br />
Each target shown here is a valid target the <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a> may choose. Well examine how to pull values from this list in the Script section. <span class="anchor" id="line-46"></span><span class="anchor" id="line-47"></span><p class="line867"><br />
Now, our available positions: <span class="anchor" id="line-48"></span><span class="anchor" id="line-49"></span><p class="line867"><br />
<img class="attachment" src="./Hub_-_Repairbot_Ambience_and_the_Tetranode?action=AttachFile&amp;do=get&amp;target=repairbot4.jpg" title="attachment:repairbot4.jpg" /> <span class="anchor" id="line-50"></span><span class="anchor" id="line-51"></span><p class="line867"><br />
Each highlighted entity is another <a href="./Entity_TargetNull">target_null</a>, this time representing one of the points that the <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a> may select during the function. Well refer to these as repairTargets. In looking at the entity info, we find a few differences. <span class="anchor" id="line-52"></span><span class="anchor" id="line-53"></span><p class="line867"><br />
Each highlighted entity is another <a href="./Entity_TargetNull.html">target_null</a>, this time representing one of the points that the <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a> may select during the function. Well refer to these as repairTargets. In looking at the entity info, we find a few differences. <span class="anchor" id="line-52"></span><span class="anchor" id="line-53"></span><p class="line867"><br />
<img class="attachment" src="./Hub_-_Repairbot_Ambience_and_the_Tetranode?action=AttachFile&amp;do=get&amp;target=repairbot5.jpg" title="attachment:repairbot5.jpg" /> <span class="anchor" id="line-54"></span><span class="anchor" id="line-55"></span><p class="line867"><br />
Youll notice weve added some keys. “action” and “duration” are used by special scriptedAction behavior that supports the <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a>. Weve also added a completely made up key, “occupied.” <span class="anchor" id="line-56"></span><span class="anchor" id="line-57"></span><p class="line867"><br />
Even though the <a href="./Entity_TargetNull">target_null</a> doesnt officially support keyvalues, were able to use them to store information. By using this, we know that when the <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a> spawns, this point will be available (as it starts unoccupied) and that if selected, the <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a> will move here and perform the “repair” action for 3 seconds. <span class="anchor" id="line-58"></span><span class="anchor" id="line-59"></span><p class="line867"><br />
The target key then tells us where this <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a> is going to look when it arrives (remember, thats a key step we want it to perform). <span class="anchor" id="line-60"></span><span class="anchor" id="line-61"></span><p class="line867"><br />
Youll notice weve added some keys. “action” and “duration” are used by special scriptedAction behavior that supports the <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a>. Weve also added a completely made up key, “occupied.” <span class="anchor" id="line-56"></span><span class="anchor" id="line-57"></span><p class="line867"><br />
Even though the <a href="./Entity_TargetNull.html">target_null</a> doesnt officially support keyvalues, were able to use them to store information. By using this, we know that when the <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a> spawns, this point will be available (as it starts unoccupied) and that if selected, the <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a> will move here and perform the “repair” action for 3 seconds. <span class="anchor" id="line-58"></span><span class="anchor" id="line-59"></span><p class="line867"><br />
The target key then tells us where this <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a> is going to look when it arrives (remember, thats a key step we want it to perform). <span class="anchor" id="line-60"></span><span class="anchor" id="line-61"></span><p class="line867"><br />
Now to our targets: <span class="anchor" id="line-62"></span><span class="anchor" id="line-63"></span><p class="line867"><br />
<img class="attachment" src="./Hub_-_Repairbot_Ambience_and_the_Tetranode?action=AttachFile&amp;do=get&amp;target=repairbot6.jpg" title="attachment:repairbot6.jpg" /> <span class="anchor" id="line-64"></span><span class="anchor" id="line-65"></span><p class="line867"><br />
These will be our repairAction entities. Youll notice not all the repairTargets have repairActions well cover this when we step through the script. <span class="anchor" id="line-66"></span><span class="anchor" id="line-67"></span><p class="line867"><br />
As you can see, these entities have no special settings on them we just need their positions. <span class="anchor" id="line-68"></span><span class="anchor" id="line-69"></span><p class="line867"><br />
<img class="attachment" src="./Hub_-_Repairbot_Ambience_and_the_Tetranode?action=AttachFile&amp;do=get&amp;target=repairbot7.jpg" title="attachment:repairbot7.jpg" /> <span class="anchor" id="line-70"></span><span class="anchor" id="line-71"></span><p class="line867"><br />
This entity layout ends up giving us a nice visual representation of how our function will flow. We see our list targeting each repairTarget, which in turn targets the repairAction point at which the Repair Bot will look during the operation. <span class="anchor" id="line-72"></span><span class="anchor" id="line-73"></span><p class="line867"><br />
Theres one final entity in the mix, a <a href="./Entity_FuncSpawner">func_spawner</a> to feed <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bots</a> for an endless supply: <span class="anchor" id="line-74"></span><span class="anchor" id="line-75"></span><p class="line867"><br />
Theres one final entity in the mix, a <a href="./Entity_FuncSpawner.html">func_spawner</a> to feed <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bots</a> for an endless supply: <span class="anchor" id="line-74"></span><span class="anchor" id="line-75"></span><p class="line867"><br />
<img class="attachment" src="./Hub_-_Repairbot_Ambience_and_the_Tetranode?action=AttachFile&amp;do=get&amp;target=repairbot8.jpg" title="attachment:repairbot8.jpg" /> <span class="anchor" id="line-76"></span><span class="anchor" id="line-77"></span><p class="line867"><br />
The two important keys to note are: <span class="anchor" id="line-78"></span><span class="anchor" id="line-79"></span><ul><li><p class="line862">call_spawned: Whenever a <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a> spawns, this function will be called, passing in the Repair Bot into the script. <span class="anchor" id="line-80"></span></li><li><p class="line862">spawn_list: This sets the “list” key on any <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a> spawned from this spawner to “tetraList,” which in this case is the list of available positions we examined above. <span class="anchor" id="line-81"></span><span class="anchor" id="line-82"></span></li></ul><p class="line867"><br />
The two important keys to note are: <span class="anchor" id="line-78"></span><span class="anchor" id="line-79"></span><ul><li><p class="line862">call_spawned: Whenever a <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a> spawns, this function will be called, passing in the Repair Bot into the script. <span class="anchor" id="line-80"></span></li><li><p class="line862">spawn_list: This sets the “list” key on any <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a> spawned from this spawner to “tetraList,” which in this case is the list of available positions we examined above. <span class="anchor" id="line-81"></span><span class="anchor" id="line-82"></span></li></ul><p class="line867"><br />
These transition us nicely into the fun part: the script! <span class="anchor" id="line-83"></span><span class="anchor" id="line-84"></span><p class="line867"><br />
<strong>The Script</strong> <span class="anchor" id="line-85"></span><span class="anchor" id="line-86"></span><p class="line867"><br />
Now lets break down the script and see how our entities fit into the mix. Weve seen how to store the information, but how do we access and modify it from the script? <span class="anchor" id="line-87"></span><span class="anchor" id="line-88"></span><p class="line867"><br />
The script file can be found in scripts/common/repair_bot.script for your own reference, but well cover the entire function here (with comments on why each section is important, or why you can ignore some chunks). <span class="anchor" id="line-89"></span><span class="anchor" id="line-90"></span><p class="line867"><span class="anchor" id="line-91"></span><pre>void randomBots( entity repairBot ) {
<span class="anchor" id="line-92"></span> thread botActions( repairBot );
<span class="anchor" id="line-93"></span>}
<span class="anchor" id="line-94"></span></pre><span class="anchor" id="line-95"></span><span class="anchor" id="line-96"></span><p class="line862">Youll recognize this as the script function set on the <a href="./Entity_FuncSpawner">func_spawner</a>. It might seem redundant to just thread another function, but this is actually extremely important by threading the second function, we ensure that all the <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bots</a> running this function simultaneously can run parallel with no issues. <span class="anchor" id="line-97"></span><span class="anchor" id="line-98"></span><p class="line867"><span class="anchor" id="line-99"></span><pre>void botActions( entity botName ) {
<span class="anchor" id="line-100"></span></pre><span class="anchor" id="line-101"></span><span class="anchor" id="line-102"></span><p class="line862">When the function starts, the only entity it knows is our <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a>, threaded from randomBots. <span class="anchor" id="line-103"></span><span class="anchor" id="line-104"></span><p class="line867"><span class="anchor" id="line-105"></span><pre>// Define the entities that will be used for random target selection
<span class="anchor" id="line-94"></span></pre><span class="anchor" id="line-95"></span><span class="anchor" id="line-96"></span><p class="line862">Youll recognize this as the script function set on the <a href="./Entity_FuncSpawner.html">func_spawner</a>. It might seem redundant to just thread another function, but this is actually extremely important by threading the second function, we ensure that all the <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bots</a> running this function simultaneously can run parallel with no issues. <span class="anchor" id="line-97"></span><span class="anchor" id="line-98"></span><p class="line867"><span class="anchor" id="line-99"></span><pre>void botActions( entity botName ) {
<span class="anchor" id="line-100"></span></pre><span class="anchor" id="line-101"></span><span class="anchor" id="line-102"></span><p class="line862">When the function starts, the only entity it knows is our <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a>, threaded from randomBots. <span class="anchor" id="line-103"></span><span class="anchor" id="line-104"></span><p class="line867"><span class="anchor" id="line-105"></span><pre>// Define the entities that will be used for random target selection
<span class="anchor" id="line-106"></span> entity repairTarget = $null_entity;
<span class="anchor" id="line-107"></span> entity oldTarget = $null_entity;
<span class="anchor" id="line-108"></span></pre><span class="anchor" id="line-109"></span><span class="anchor" id="line-110"></span><p class="line874">Our next two lines declare a pair of local variables. Well set their values later in the function. <span class="anchor" id="line-111"></span><span class="anchor" id="line-112"></span><p class="line867"><span class="anchor" id="line-113"></span><pre>// Pull the name of the correct list passed to this Repair Bot from the spawner.
<span class="anchor" id="line-114"></span> entity botList = botName.getEntityKey("list");
<span class="anchor" id="line-115"></span></pre><span class="anchor" id="line-116"></span><span class="anchor" id="line-117"></span><p class="line862">This is the single most important line in this script. With this one line, weve already made the difference between a static script and one that can be used anywhere. By pulling a keyvalue from an entity that is already a local variable, we know that any <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a> can gain access to any list of entities we choose. <span class="anchor" id="line-118"></span><span class="anchor" id="line-119"></span><p class="line862">Weve also opened our script wide open for gaining information from other entities. Now that the list <a href="./Entity_TargetNull">target_null</a> is stored, we have access to every entity that may be specified on the list as well as any keys or targets those entities may store. By keeping our entities as local variables to the function rather than relying on scripting them by name, weve already ensured that this function can be used anywhere with any entity list provided it follows the structure we established originally. <span class="anchor" id="line-120"></span><span class="anchor" id="line-121"></span><p class="line874">Lets keep looking at ways we can access and fiddle with this information. <span class="anchor" id="line-122"></span><span class="anchor" id="line-123"></span><p class="line867"><span class="anchor" id="line-124"></span><pre>// Perform these actions as long as the Repair Bot lives.
<span class="anchor" id="line-115"></span></pre><span class="anchor" id="line-116"></span><span class="anchor" id="line-117"></span><p class="line862">This is the single most important line in this script. With this one line, weve already made the difference between a static script and one that can be used anywhere. By pulling a keyvalue from an entity that is already a local variable, we know that any <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a> can gain access to any list of entities we choose. <span class="anchor" id="line-118"></span><span class="anchor" id="line-119"></span><p class="line862">Weve also opened our script wide open for gaining information from other entities. Now that the list <a href="./Entity_TargetNull.html">target_null</a> is stored, we have access to every entity that may be specified on the list as well as any keys or targets those entities may store. By keeping our entities as local variables to the function rather than relying on scripting them by name, weve already ensured that this function can be used anywhere with any entity list provided it follows the structure we established originally. <span class="anchor" id="line-120"></span><span class="anchor" id="line-121"></span><p class="line874">Lets keep looking at ways we can access and fiddle with this information. <span class="anchor" id="line-122"></span><span class="anchor" id="line-123"></span><p class="line867"><span class="anchor" id="line-124"></span><pre>// Perform these actions as long as the Repair Bot lives.
<span class="anchor" id="line-125"></span> while ( isValidEntity ( botName ) ) {
<span class="anchor" id="line-126"></span></pre><span class="anchor" id="line-127"></span><span class="anchor" id="line-128"></span><p class="line862">Well drop this in a while loop <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bots</a> are somewhat flimsy, so this will help us break out if one should come across an untimely end, and also end the function if the <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a> is removed from the map by other means. Quick Aside: If youre using entities that dont explode (particularly any that dont burn out such as the marines), youll want to use isLivingEntity instead that one includes an extra check for health, as dead/ragdoll creatures may still count as valid and cause problems. <span class="anchor" id="line-129"></span><span class="anchor" id="line-130"></span><p class="line867"><span class="anchor" id="line-131"></span><pre>// Select a new move target at random from the list of target_nulls
<span class="anchor" id="line-126"></span></pre><span class="anchor" id="line-127"></span><span class="anchor" id="line-128"></span><p class="line862">Well drop this in a while loop <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bots</a> are somewhat flimsy, so this will help us break out if one should come across an untimely end, and also end the function if the <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a> is removed from the map by other means. Quick Aside: If youre using entities that dont explode (particularly any that dont burn out such as the marines), youll want to use isLivingEntity instead that one includes an extra check for health, as dead/ragdoll creatures may still count as valid and cause problems. <span class="anchor" id="line-129"></span><span class="anchor" id="line-130"></span><p class="line867"><span class="anchor" id="line-131"></span><pre>// Select a new move target at random from the list of target_nulls
<span class="anchor" id="line-132"></span> repairTarget = qListRandom( botList );
<span class="anchor" id="line-133"></span></pre><span class="anchor" id="line-134"></span><span class="anchor" id="line-135"></span><p class="line874">Now were ready to set our repairTarget keyvalue. Remember that previously we referred to our available move points as repairTargets same applies here. Using the qListRandom function, were able to select an entity at random from our list of available entities. <span class="anchor" id="line-136"></span><span class="anchor" id="line-137"></span><p class="line862">We could also get away with repairTarget.randomTarget(), but qListRandom (a handy <a class="nonexistent" href="./ScriptUtility">ScriptUtility</a>) does some extra checks for us and adds handling in the event that one of our list entities is removed. <span class="anchor" id="line-138"></span><span class="anchor" id="line-139"></span><p class="line867"><span class="anchor" id="line-140"></span><pre>// Check against the previous target, and select a new one if the old target repeats itself.
<span class="anchor" id="line-133"></span></pre><span class="anchor" id="line-134"></span><span class="anchor" id="line-135"></span><p class="line874">Now were ready to set our repairTarget keyvalue. Remember that previously we referred to our available move points as repairTargets same applies here. Using the qListRandom function, were able to select an entity at random from our list of available entities. <span class="anchor" id="line-136"></span><span class="anchor" id="line-137"></span><p class="line862">We could also get away with repairTarget.randomTarget(), but qListRandom (a handy <a class="nonexistent" href="./ScriptUtility.html">ScriptUtility</a>) does some extra checks for us and adds handling in the event that one of our list entities is removed. <span class="anchor" id="line-138"></span><span class="anchor" id="line-139"></span><p class="line867"><span class="anchor" id="line-140"></span><pre>// Check against the previous target, and select a new one if the old target repeats itself.
<span class="anchor" id="line-141"></span> while ( repairTarget.getKey( "occupied" ) == "1" ) {
<span class="anchor" id="line-142"></span> repairTarget = qListRandom( botList );
<span class="anchor" id="line-143"></span> sys.waitFrame();
<span class="anchor" id="line-144"></span> }
<span class="anchor" id="line-145"></span></pre><span class="anchor" id="line-146"></span><span class="anchor" id="line-147"></span><p class="line862">Now its time to bring the “occupied” key into the mix. We know that we dont want two <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bots</a> to overlap at the same point, so before we do anything we check that key. As long as the <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a> finds repairTargets that are occupied, it will select a new target until it finds one with the “occupied” key set to 0. <span class="anchor" id="line-148"></span><span class="anchor" id="line-149"></span><p class="line867"><span class="anchor" id="line-150"></span><pre>// We found a valid target! Pull the action target from the move target.
<span class="anchor" id="line-145"></span></pre><span class="anchor" id="line-146"></span><span class="anchor" id="line-147"></span><p class="line862">Now its time to bring the “occupied” key into the mix. We know that we dont want two <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bots</a> to overlap at the same point, so before we do anything we check that key. As long as the <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a> finds repairTargets that are occupied, it will select a new target until it finds one with the “occupied” key set to 0. <span class="anchor" id="line-148"></span><span class="anchor" id="line-149"></span><p class="line867"><span class="anchor" id="line-150"></span><pre>// We found a valid target! Pull the action target from the move target.
<span class="anchor" id="line-151"></span> entity repairAction = repairTarget.getTarget(0);
<span class="anchor" id="line-152"></span></pre><span class="anchor" id="line-153"></span><span class="anchor" id="line-154"></span><p class="line874">Once we have a target, we can use the getTarget function to pull the associated entity into the script. Using targets instead of keys can be quicker in setting up your entities (thanks to a handy Editor Shortcut), but remember that getTarget takes a float parameter to specify which target to select. getTarget(0) will select the “target” entity, but getTarget(4) will select the “target4” entity. Be very careful with this if storing more than one target per entity or if youve changed targets when it might be easy to accidentally get a “target1” key. <span class="anchor" id="line-155"></span><span class="anchor" id="line-156"></span><p class="line867"><span class="anchor" id="line-157"></span><pre>// Set target as occupied to prevent other repair bots from using it
<span class="anchor" id="line-158"></span> thread setOccupied( repairTarget );
<span class="anchor" id="line-159"></span></pre><span class="anchor" id="line-160"></span><span class="anchor" id="line-161"></span><p class="line862">In the case of the <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a> function, I used a threaded function to toggle occupied status this was a result of some debugging for an alternate setup and it worked, so it was never changed. In most cases, though, a simple entity.setKey should be appropriate. <span class="anchor" id="line-162"></span><span class="anchor" id="line-163"></span><p class="line874">Now that we have all our entities set up properly, lets see how it all comes together for the meat of the function: <span class="anchor" id="line-164"></span><span class="anchor" id="line-165"></span><p class="line867"><span class="anchor" id="line-166"></span><pre>// Identify action type (repair target or kill target).
<span class="anchor" id="line-159"></span></pre><span class="anchor" id="line-160"></span><span class="anchor" id="line-161"></span><p class="line862">In the case of the <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a> function, I used a threaded function to toggle occupied status this was a result of some debugging for an alternate setup and it worked, so it was never changed. In most cases, though, a simple entity.setKey should be appropriate. <span class="anchor" id="line-162"></span><span class="anchor" id="line-163"></span><p class="line874">Now that we have all our entities set up properly, lets see how it all comes together for the meat of the function: <span class="anchor" id="line-164"></span><span class="anchor" id="line-165"></span><p class="line867"><span class="anchor" id="line-166"></span><pre>// Identify action type (repair target or kill target).
<span class="anchor" id="line-167"></span> if( isValidEntity ( repairAction ) ) {
<span class="anchor" id="line-168"></span> // Move to the target.
<span class="anchor" id="line-169"></span> aiScriptedMoveWait( botName, repairTarget , 32 , 0 );
@ -276,7 +276,7 @@ The script file can be found in scripts/common/repair_bot.script for your own re
<span class="anchor" id="line-188"></span> }
<span class="anchor" id="line-189"></span></pre><span class="anchor" id="line-190"></span><span class="anchor" id="line-191"></span><p class="line874">Youll notice first off that this entire chunk of script is an if conditional checking to see if repairAction is a valid entity. By not including targets for two of the repairTargets, I was able to include two very different behaviors at certain points. <span class="anchor" id="line-192"></span><span class="anchor" id="line-193"></span><p class="line867"><br />
Also note the abundance of isValidEntity checks. These are very important when using any version of a wait function on entities that can be killed, and at the very least spare you a lot of console warnings getting dumped (which also would prevent the <span class="anchor" id="line-194"></span><span class="anchor" id="line-195"></span><p class="line867"><br />
Otherwise the behavior is exactly as we outlined. The <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a> moves to the repairTarget point, looks at the repairAction entity, performs the action specified on repairTarget, and then sets its repairTarget position back to unoccupied status. By some careful entity and script setup, we can get away with writing this chunk of script once. Imagine, in contrast, writing this for each <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a> and each repairTarget in sequence. <span class="anchor" id="line-196"></span><span class="anchor" id="line-197"></span><p class="line867"><span class="anchor" id="line-198"></span><pre>// Move targets with no target are kill zones which should remove the repair bot. Handle those here.
Otherwise the behavior is exactly as we outlined. The <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a> moves to the repairTarget point, looks at the repairAction entity, performs the action specified on repairTarget, and then sets its repairTarget position back to unoccupied status. By some careful entity and script setup, we can get away with writing this chunk of script once. Imagine, in contrast, writing this for each <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a> and each repairTarget in sequence. <span class="anchor" id="line-196"></span><span class="anchor" id="line-197"></span><p class="line867"><span class="anchor" id="line-198"></span><pre>// Move targets with no target are kill zones which should remove the repair bot. Handle those here.
<span class="anchor" id="line-199"></span> else {
<span class="anchor" id="line-200"></span> // Move to the target.
<span class="anchor" id="line-201"></span> aiScriptedMoveWait( botName, repairTarget , 64 , 0 );
@ -292,13 +292,13 @@ Otherwise the behavior is exactly as we outlined. The <a class="nonexistent" hre
<span class="anchor" id="line-211"></span> break;
<span class="anchor" id="line-212"></span> }
<span class="anchor" id="line-213"></span> }
<span class="anchor" id="line-214"></span></pre><span class="anchor" id="line-215"></span><span class="anchor" id="line-216"></span><p class="line862">Now we see the alternate behavior I specified for the two repairTarget positions that did not include repairAction targets. These points were hidden out of view and designed to keep fresh <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bots</a> cycling into the scene also allowing the spawner to be turned off and eventually leave the zone empty. <span class="anchor" id="line-217"></span><span class="anchor" id="line-218"></span><p class="line867"><br />
Its another straightforward function here, but instead of performing an action, the <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a> moves to the repairTarget, sets the repairTarget as unoccupied, and removes itself. The removeUpdateSpawner function in this case was very important, as simply removing an entity caused the <a href="./Entity_FuncSpawner">func_spawner</a> to forget to spawn more and killing them resulted in (as Im sure you can imagine by my humorous commentary) an awkward explosion. <span class="anchor" id="line-219"></span><span class="anchor" id="line-220"></span><p class="line867"><span class="anchor" id="line-221"></span><pre>// Define the old target for comparison against the new target.
<span class="anchor" id="line-214"></span></pre><span class="anchor" id="line-215"></span><span class="anchor" id="line-216"></span><p class="line862">Now we see the alternate behavior I specified for the two repairTarget positions that did not include repairAction targets. These points were hidden out of view and designed to keep fresh <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bots</a> cycling into the scene also allowing the spawner to be turned off and eventually leave the zone empty. <span class="anchor" id="line-217"></span><span class="anchor" id="line-218"></span><p class="line867"><br />
Its another straightforward function here, but instead of performing an action, the <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a> moves to the repairTarget, sets the repairTarget as unoccupied, and removes itself. The removeUpdateSpawner function in this case was very important, as simply removing an entity caused the <a href="./Entity_FuncSpawner.html">func_spawner</a> to forget to spawn more and killing them resulted in (as Im sure you can imagine by my humorous commentary) an awkward explosion. <span class="anchor" id="line-219"></span><span class="anchor" id="line-220"></span><p class="line867"><span class="anchor" id="line-221"></span><pre>// Define the old target for comparison against the new target.
<span class="anchor" id="line-222"></span> oldTarget = repairTarget;
<span class="anchor" id="line-223"></span> }
<span class="anchor" id="line-224"></span>}
<span class="anchor" id="line-225"></span></pre><span class="anchor" id="line-226"></span><span class="anchor" id="line-227"></span><p class="line862">This last line was from a previous version that also checked to make sure the <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a> selected a new target and did not repeat the same target twice. In practice, it ended up not being a large concern, but you could run similar checks and comparisons by storing your variables in a similar fashion. <span class="anchor" id="line-228"></span><span class="anchor" id="line-229"></span><p class="line867"><br />
That concludes our examination of the common <a class="nonexistent" href="./Entity_MonsterRepairBot">Repair Bot</a> script! Hopefully youve seen not only how to pull information into the script for flexible use, but also why much of this function was set up as it was. While this is more of a commentary on an existing example rather than a tutorial, hopefully you can take the information demonstrated here and put it to good use in your own sequences. Good luck! <span class="anchor" id="line-230"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Hub - Repairbot Ambience and the Tetranode (last edited 2005-11-09 14:17:41 by <span title="AndrewWeldon @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./AndrewWeldon" title="AndrewWeldon @ 67.129.250.254[67.129.250.254]">AndrewWeldon</a></span>)</p>
<span class="anchor" id="line-225"></span></pre><span class="anchor" id="line-226"></span><span class="anchor" id="line-227"></span><p class="line862">This last line was from a previous version that also checked to make sure the <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a> selected a new target and did not repeat the same target twice. In practice, it ended up not being a large concern, but you could run similar checks and comparisons by storing your variables in a similar fashion. <span class="anchor" id="line-228"></span><span class="anchor" id="line-229"></span><p class="line867"><br />
That concludes our examination of the common <a class="nonexistent" href="./Entity_MonsterRepairBot.html">Repair Bot</a> script! Hopefully youve seen not only how to pull information into the script for flexible use, but also why much of this function was set up as it was. While this is more of a commentary on an existing example rather than a tutorial, hopefully you can take the information demonstrated here and put it to good use in your own sequences. Good luck! <span class="anchor" id="line-230"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Hub - Repairbot Ambience and the Tetranode (last edited 2005-11-09 14:17:41 by <span title="AndrewWeldon @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./AndrewWeldon.html" title="AndrewWeldon @ 67.129.250.254[67.129.250.254]">AndrewWeldon</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./InstaGib?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./InstaGib?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./InstaGib">InstaGib</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./InstaGib.html">InstaGib</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -185,7 +185,7 @@ actionsMenuInit('More Actions:');
<div id="page" lang="en" dir="ltr">
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867"><img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <strong>UNDER CONSTRUCTION - COMING SOON</strong> <img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <span class="anchor" id="line-2"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">InstaGib (last edited 2005-11-07 20:31:47 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<span class="anchor" id="line-1"></span><p class="line867"><img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <strong>UNDER CONSTRUCTION - COMING SOON</strong> <img alt="/!\" height="15" src="wiki/modern/img/alert.png" title="/!\" width="15" /> <span class="anchor" id="line-2"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">InstaGib (last edited 2005-11-07 20:31:47 by <span title="EricBiessman @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./EricBiessman.html" title="EricBiessman @ 67.129.250.254[67.129.250.254]">EricBiessman</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,20 +88,20 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./LevelEditor?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./LevelEditor?action=print">
<link rel="Appendix" title="editor.jpg" href="./LevelEditor?action=AttachFile&amp;do=view&amp;target=editor.jpg">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -139,7 +139,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink current"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink current"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -189,7 +189,7 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-1"></span><p class="line867">
<h1 id="head-10a73702320497863ba53e0eabba3d73dd1264b3">Quake 4 Level Editor</h1>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line867"><br />
<img class="attachment" src="./LevelEditor?action=AttachFile&amp;do=get&amp;target=editor.jpg" title="attachment:editor.jpg" /> <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line867"><strong>General Information:</strong> <span class="anchor" id="line-6"></span><ul><li><p class="line891"><a href="./LevelEditor_KeyboardShortcuts">Keyboard Shortcuts/Reference</a> <span class="anchor" id="line-7"></span></li><li><p class="line891"><a href="./LevelEditor_ChangeList">What's New Since Doom III</a> <span class="anchor" id="line-8"></span></li><li><p class="line891"><a href="./LevelEditor_EntityReference">Entity Listing</a> <span class="anchor" id="line-9"></span></li><li><p class="line891"><a href="./LevelEditor_Troubleshooting">Troubleshooting</a> <span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span></li></ul><p class="line867"><strong>The Basics:</strong> <span class="anchor" id="line-12"></span><ul><li><p class="line891"><a href="./LevelEditor_Loading">Loading The Editor</a> <span class="anchor" id="line-13"></span></li><li><p class="line891"><a href="./LevelEditor_BasicRoom">Build a Basic Room</a> <span class="anchor" id="line-14"></span><span class="anchor" id="line-15"></span></li></ul><p class="line867"><strong>Advanced:</strong> <span class="anchor" id="line-16"></span><ul><li><p class="line891"><a href="./LevelEditor_Clipping">Clipping your level</a> <span class="anchor" id="line-17"></span></li><li><p class="line891"><a href="./LevelEditor_Performance">Performance and Framerate</a> <span class="anchor" id="line-18"></span><span class="anchor" id="line-19"></span></li></ul><p class="line867"><strong>Single Player:</strong> <span class="anchor" id="line-20"></span><ul><li><p class="line891"><a href="./LevelEditor_AITethers">AI Tether Control System</a> <span class="anchor" id="line-21"></span></li><li><p class="line891"><a href="./LevelEditor_DifficultySettings">Effects of Difficulty Setting</a> <span class="anchor" id="line-22"></span></li><li><p class="line891"><a class="nonexistent" href="./LevelEditor_SPMapDefs">Single Player mapDefs</a> <span class="anchor" id="line-23"></span><span class="anchor" id="line-24"></span></li></ul><p class="line867"><strong>Multiplayer:</strong> <span class="anchor" id="line-25"></span><ul><li><p class="line891"><a href="./LevelEditor_MPMapDefs">Multiplayer mapDefs and addon.conf</a> <span class="anchor" id="line-26"></span><span class="anchor" id="line-27"></span></li></ul><p class="line867"><strong>Miscellaneous:</strong> <span class="anchor" id="line-28"></span><ul><li><p class="line891"><a href="./LevelEditor_Q4Conversion">Converting levels to Quake 4</a> <span class="anchor" id="line-29"></span><span class="anchor" id="line-30"></span></li></ul><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-31"></span>Back to <a href="./Quake4SDK">Quake4SDK</a> <span class="anchor" id="line-32"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">LevelEditor (last edited 2006-03-16 15:41:24 by <span title="AndrewWeldon @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./AndrewWeldon" title="AndrewWeldon @ 67.129.250.254[67.129.250.254]">AndrewWeldon</a></span>)</p>
<img class="attachment" src="./LevelEditor?action=AttachFile&amp;do=get&amp;target=editor.jpg" title="attachment:editor.jpg" /> <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line867"><strong>General Information:</strong> <span class="anchor" id="line-6"></span><ul><li><p class="line891"><a href="./LevelEditor_KeyboardShortcuts.html">Keyboard Shortcuts/Reference</a> <span class="anchor" id="line-7"></span></li><li><p class="line891"><a href="./LevelEditor_ChangeList.html">What's New Since Doom III</a> <span class="anchor" id="line-8"></span></li><li><p class="line891"><a href="./LevelEditor_EntityReference.html">Entity Listing</a> <span class="anchor" id="line-9"></span></li><li><p class="line891"><a href="./LevelEditor_Troubleshooting.html">Troubleshooting</a> <span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span></li></ul><p class="line867"><strong>The Basics:</strong> <span class="anchor" id="line-12"></span><ul><li><p class="line891"><a href="./LevelEditor_Loading.html">Loading The Editor</a> <span class="anchor" id="line-13"></span></li><li><p class="line891"><a href="./LevelEditor_BasicRoom.html">Build a Basic Room</a> <span class="anchor" id="line-14"></span><span class="anchor" id="line-15"></span></li></ul><p class="line867"><strong>Advanced:</strong> <span class="anchor" id="line-16"></span><ul><li><p class="line891"><a href="./LevelEditor_Clipping.html">Clipping your level</a> <span class="anchor" id="line-17"></span></li><li><p class="line891"><a href="./LevelEditor_Performance.html">Performance and Framerate</a> <span class="anchor" id="line-18"></span><span class="anchor" id="line-19"></span></li></ul><p class="line867"><strong>Single Player:</strong> <span class="anchor" id="line-20"></span><ul><li><p class="line891"><a href="./LevelEditor_AITethers.html">AI Tether Control System</a> <span class="anchor" id="line-21"></span></li><li><p class="line891"><a href="./LevelEditor_DifficultySettings.html">Effects of Difficulty Setting</a> <span class="anchor" id="line-22"></span></li><li><p class="line891"><a class="nonexistent" href="./LevelEditor_SPMapDefs.html">Single Player mapDefs</a> <span class="anchor" id="line-23"></span><span class="anchor" id="line-24"></span></li></ul><p class="line867"><strong>Multiplayer:</strong> <span class="anchor" id="line-25"></span><ul><li><p class="line891"><a href="./LevelEditor_MPMapDefs.html">Multiplayer mapDefs and addon.conf</a> <span class="anchor" id="line-26"></span><span class="anchor" id="line-27"></span></li></ul><p class="line867"><strong>Miscellaneous:</strong> <span class="anchor" id="line-28"></span><ul><li><p class="line891"><a href="./LevelEditor_Q4Conversion.html">Converting levels to Quake 4</a> <span class="anchor" id="line-29"></span><span class="anchor" id="line-30"></span></li></ul><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-31"></span>Back to <a href="./Quake4SDK.html">Quake4SDK</a> <span class="anchor" id="line-32"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">LevelEditor (last edited 2006-03-16 15:41:24 by <span title="AndrewWeldon @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./AndrewWeldon.html" title="AndrewWeldon @ 67.129.250.254[67.129.250.254]">AndrewWeldon</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./LevelEditor_AITethers?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./LevelEditor_AITethers?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./LevelEditor_AITethers">LevelEditor AITethers</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./LevelEditor_AITethers.html">LevelEditor AITethers</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -218,7 +218,7 @@ actionsMenuInit('More Actions:');
<h3 id="head-0414f9e072dbec78fee7cfbe98778a8665d6f38a">ai_debugHelpers</h3>
<span class="anchor" id="line-48"></span><p class="line874">This command will show cover points near your position as well as any ai_avoid entities. <span class="anchor" id="line-49"></span><span class="anchor" id="line-50"></span><p class="line867">
<h3 id="head-501c576e3db6433a9af9395e68c84e8eccf50067">ai_debugFilter</h3>
<span class="anchor" id="line-51"></span><p class="line874">This command when issued will limit information output by ai_debugTactical to just the ai entity that is under your crosshair. To reset it back to snow all ai entities you would issue the command with no ai entities under your crosshair. <span class="anchor" id="line-52"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">LevelEditor AITethers (last edited 2006-02-09 02:29:09 by <span title="AndrewWeldon @ 24-240-36-51.dhcp.mdsn.wi.charter.com[24.240.36.51]"><a class="nonexistent" href="./AndrewWeldon" title="AndrewWeldon @ 24-240-36-51.dhcp.mdsn.wi.charter.com[24.240.36.51]">AndrewWeldon</a></span>)</p>
<span class="anchor" id="line-51"></span><p class="line874">This command when issued will limit information output by ai_debugTactical to just the ai entity that is under your crosshair. To reset it back to snow all ai entities you would issue the command with no ai entities under your crosshair. <span class="anchor" id="line-52"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">LevelEditor AITethers (last edited 2006-02-09 02:29:09 by <span title="AndrewWeldon @ 24-240-36-51.dhcp.mdsn.wi.charter.com[24.240.36.51]"><a class="nonexistent" href="./AndrewWeldon.html" title="AndrewWeldon @ 24-240-36-51.dhcp.mdsn.wi.charter.com[24.240.36.51]">AndrewWeldon</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,7 +88,7 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./LevelEditor_BasicRoom?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./LevelEditor_BasicRoom?action=print">
<link rel="Appendix" title="image01.jpg" href="./LevelEditor_BasicRoom?action=AttachFile&amp;do=view&amp;target=image01.jpg">
@ -103,16 +103,16 @@ function actionsMenuInit(title) {
<link rel="Appendix" title="image10.jpg" href="./LevelEditor_BasicRoom?action=AttachFile&amp;do=view&amp;target=image10.jpg">
<link rel="Appendix" title="image11.jpg" href="./LevelEditor_BasicRoom?action=AttachFile&amp;do=view&amp;target=image11.jpg">
<link rel="Appendix" title="image12.jpg" href="./LevelEditor_BasicRoom?action=AttachFile&amp;do=view&amp;target=image12.jpg">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -150,7 +150,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./LevelEditor_BasicRoom">LevelEditor BasicRoom</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./LevelEditor_BasicRoom.html">LevelEditor BasicRoom</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -213,7 +213,7 @@ actionsMenuInit('More Actions:');
<h2 id="head-b81bb6fa272c5ed723ac0b24e5d73bf84c07ccbb">Basic Lighting &amp; Entity Placement</h2>
<span class="anchor" id="line-124"></span><p class="line862">Given that lights are entities well cover both quickly in the same group. To drop any entity in the game (an entity could be spawn points, lights, or creatures for example) right click in the 2D window. A menu will appear. Select “Info &gt; info_player_start from the list. <span class="anchor" id="line-125"></span><span class="anchor" id="line-126"></span><p class="line874">There will now be a player start somewhere in your map. This is where the player spawns so its important to make sure this is inside your room somewhere. Go ahead and move it like you would a brush into your room and align it with the floor. <span class="anchor" id="line-127"></span><span class="anchor" id="line-128"></span><p class="line867"><img class="attachment" src="./LevelEditor_BasicRoom?action=AttachFile&amp;do=get&amp;target=image12.jpg" title="attachment:image12.jpg" /> <span class="anchor" id="line-129"></span><span class="anchor" id="line-130"></span><p class="line874">Add a light to the scene to allow the player to see his surroundings. Right click in the main view again and select “Light.” A light will now be somewhere in the map, move this light inside of the box room. <span class="anchor" id="line-131"></span><span class="anchor" id="line-132"></span><p class="line874">Hit F3 and your 3D preview will turn into a preview of what your room will look like in game. Go ahead and move the light around to get a placement that youd like. <span class="anchor" id="line-133"></span><span class="anchor" id="line-134"></span><p class="line867">
<h2 id="head-fa01edadd731fc7a3add51a06eb044156af4bff7">Compiling &amp; Running the Map</h2>
<span class="anchor" id="line-135"></span><p class="line862">Save the map and select BSP &gt; BSP from the menu. The editor will compile your map in a few short seconds and then youll be done. When the console is done writing out all the files go ahead and hit F2 to load a window copy of the game. <span class="anchor" id="line-136"></span><span class="anchor" id="line-137"></span><p class="line874">For simplicity sake were going to run the map using the F2 button. This can be unstable however and it is a lot safer to run two copies of the game (one editor, one windowed game instance) and then just tab between the two for testing or building. <span class="anchor" id="line-138"></span><span class="anchor" id="line-139"></span><p class="line874">Load your map using the map command: <span class="anchor" id="line-140"></span>map yourmapname” <span class="anchor" id="line-141"></span><span class="anchor" id="line-142"></span><p class="line874">If you saved it in the same spot as described in this tutorial it would be: <span class="anchor" id="line-143"></span>“map tutorial/room.map” <span class="anchor" id="line-144"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">LevelEditor BasicRoom (last edited 2005-11-15 14:40:21 by <span title="CoreyPeters @ 24-179-217-25.dhcp.mdsn.wi.charter.com[24.179.217.25]"><a class="nonexistent" href="./CoreyPeters" title="CoreyPeters @ 24-179-217-25.dhcp.mdsn.wi.charter.com[24.179.217.25]">CoreyPeters</a></span>)</p>
<span class="anchor" id="line-135"></span><p class="line862">Save the map and select BSP &gt; BSP from the menu. The editor will compile your map in a few short seconds and then youll be done. When the console is done writing out all the files go ahead and hit F2 to load a window copy of the game. <span class="anchor" id="line-136"></span><span class="anchor" id="line-137"></span><p class="line874">For simplicity sake were going to run the map using the F2 button. This can be unstable however and it is a lot safer to run two copies of the game (one editor, one windowed game instance) and then just tab between the two for testing or building. <span class="anchor" id="line-138"></span><span class="anchor" id="line-139"></span><p class="line874">Load your map using the map command: <span class="anchor" id="line-140"></span>map yourmapname” <span class="anchor" id="line-141"></span><span class="anchor" id="line-142"></span><p class="line874">If you saved it in the same spot as described in this tutorial it would be: <span class="anchor" id="line-143"></span>“map tutorial/room.map” <span class="anchor" id="line-144"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">LevelEditor BasicRoom (last edited 2005-11-15 14:40:21 by <span title="CoreyPeters @ 24-179-217-25.dhcp.mdsn.wi.charter.com[24.179.217.25]"><a class="nonexistent" href="./CoreyPeters.html" title="CoreyPeters @ 24-179-217-25.dhcp.mdsn.wi.charter.com[24.179.217.25]">CoreyPeters</a></span>)</p>
<div id="pagebottom"></div>
</div>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./LevelEditor_DifficultySettings?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./LevelEditor_DifficultySettings?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./LevelEditor_DifficultySettings">LevelEditor...ltySettings</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./LevelEditor_DifficultySettings.html">LevelEditor...ltySettings</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -187,7 +187,7 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867">
<h2 id="head-3f7b3d8f8728f2728e734847c6253d8e5c3b3fd1">Effects of Difficulty Setting</h2>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line862">Difficulty in quake4 is driven by the cvar <strong>g_skill</strong>, which is modified when the player picks a difficulty level at the console and preserved when the player saves his game. What this means for the designer: <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><ul><li>AI aggressiveness is modified by changing their aggressiveScale, which determines frequency of attacks among other things: <span class="anchor" id="line-6"></span><ul><li>Easy: combat.aggressiveScale will be 1.0. <span class="anchor" id="line-7"></span></li><li>Normal: combat.aggressiveScale will be between 1.0 and 1.25. <span class="anchor" id="line-8"></span></li><li>Hard: combat.aggressiveScale will be between 1.25 and 1.5. <span class="anchor" id="line-9"></span></li><li>Hardest: combat.aggressiveScale will be between 1.5 and 1.75. <span class="anchor" id="line-10"></span></li></ul></li><li>Marine Buddy Health Changes: <span class="anchor" id="line-11"></span><ul><li>Easy: Adjusted health is 1.2 times the original health. <span class="anchor" id="line-12"></span></li><li>Hard: Adjusted health is 1.2 times the original health. <span class="anchor" id="line-13"></span></li><li>Hardest: Adjusted health is 1.4 times the original health. <span class="anchor" id="line-14"></span></li></ul></li><li>Strogg Health Changes: <span class="anchor" id="line-15"></span><ul><li>Easy: Adjusted health is 0.7 times the original health. <span class="anchor" id="line-16"></span></li><li>Normal: Adjusted health is 1.0 times the original health. <span class="anchor" id="line-17"></span></li><li>Hard: Adjusted health is 1.4 times the original health. <span class="anchor" id="line-18"></span></li><li>Hardest: Adjusted health is 1.8 times the original health. <span class="anchor" id="line-19"></span></li></ul></li><li>Scale of damage taken by player (excluding melee): <span class="anchor" id="line-20"></span><ul><li>Easy: Adjusted damage will be 0.8 times the original damage (rounded up to a minimum 1 damage). <span class="anchor" id="line-21"></span></li><li>Normal: Adjusted damage will be 1.0 times the original damage. <span class="anchor" id="line-22"></span></li><li>Hard: Adjusted damage will be 1.7 times the original damage. <span class="anchor" id="line-23"></span></li><li>Hardest: Adjusted damage will be 3.5 times the original damage. <span class="anchor" id="line-24"></span></li></ul></li><li>Minimum player health on savegame restore: <span class="anchor" id="line-25"></span><ul><li>Easy or Normal: You will have at least 25 health on spawn. <span class="anchor" id="line-26"></span></li></ul></li><li>AI will never intentionally miss melee attacks on the hardest setting. <span class="anchor" id="line-27"></span></li><li>Dynamic protection (which reduces damage incrementally for high frequency attacks) isn't enabled on the hardest setting. <span class="anchor" id="line-28"></span></li><li>Certain entities will not spawn depending on certain key values at certain difficulty levels: <span class="anchor" id="line-29"></span><ul><li>Easy: Will not spawn if "not_easy" "1" is specified on the entity or in its entityDef. <span class="anchor" id="line-30"></span></li><li>Normal: Will not spawn if "not_medium" "1" is specified on the entity or in its entityDef. <span class="anchor" id="line-31"></span></li><li>Hard: Will not spawn if "not_hard" "1" is specified on the entity or in its entityDef. <span class="anchor" id="line-32"></span></li><li>Hardest: Also will not spawn if "not_hard" "1" is specified on the entity or in its entityDef. <span class="anchor" id="line-33"></span><span class="anchor" id="line-34"></span></li></ul></li></ul><p class="line862">Note that on the harder difficulties, the buddy AI actually gets <em>healthier</em>, and this is simply to offset the punshing damage dealt by the enemies in those harder difficulties. In addition, marine buddies who are flagged as mission critical (i.e. you will game over if they die) get an additional boost to their health on hard / hardest difficulties. <span class="anchor" id="line-35"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">LevelEditor DifficultySettings (last edited 2005-12-05 23:21:25 by <span title="JimShepard @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./JimShepard" title="JimShepard @ 67.129.250.254[67.129.250.254]">JimShepard</a></span>)</p>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line862">Difficulty in quake4 is driven by the cvar <strong>g_skill</strong>, which is modified when the player picks a difficulty level at the console and preserved when the player saves his game. What this means for the designer: <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><ul><li>AI aggressiveness is modified by changing their aggressiveScale, which determines frequency of attacks among other things: <span class="anchor" id="line-6"></span><ul><li>Easy: combat.aggressiveScale will be 1.0. <span class="anchor" id="line-7"></span></li><li>Normal: combat.aggressiveScale will be between 1.0 and 1.25. <span class="anchor" id="line-8"></span></li><li>Hard: combat.aggressiveScale will be between 1.25 and 1.5. <span class="anchor" id="line-9"></span></li><li>Hardest: combat.aggressiveScale will be between 1.5 and 1.75. <span class="anchor" id="line-10"></span></li></ul></li><li>Marine Buddy Health Changes: <span class="anchor" id="line-11"></span><ul><li>Easy: Adjusted health is 1.2 times the original health. <span class="anchor" id="line-12"></span></li><li>Hard: Adjusted health is 1.2 times the original health. <span class="anchor" id="line-13"></span></li><li>Hardest: Adjusted health is 1.4 times the original health. <span class="anchor" id="line-14"></span></li></ul></li><li>Strogg Health Changes: <span class="anchor" id="line-15"></span><ul><li>Easy: Adjusted health is 0.7 times the original health. <span class="anchor" id="line-16"></span></li><li>Normal: Adjusted health is 1.0 times the original health. <span class="anchor" id="line-17"></span></li><li>Hard: Adjusted health is 1.4 times the original health. <span class="anchor" id="line-18"></span></li><li>Hardest: Adjusted health is 1.8 times the original health. <span class="anchor" id="line-19"></span></li></ul></li><li>Scale of damage taken by player (excluding melee): <span class="anchor" id="line-20"></span><ul><li>Easy: Adjusted damage will be 0.8 times the original damage (rounded up to a minimum 1 damage). <span class="anchor" id="line-21"></span></li><li>Normal: Adjusted damage will be 1.0 times the original damage. <span class="anchor" id="line-22"></span></li><li>Hard: Adjusted damage will be 1.7 times the original damage. <span class="anchor" id="line-23"></span></li><li>Hardest: Adjusted damage will be 3.5 times the original damage. <span class="anchor" id="line-24"></span></li></ul></li><li>Minimum player health on savegame restore: <span class="anchor" id="line-25"></span><ul><li>Easy or Normal: You will have at least 25 health on spawn. <span class="anchor" id="line-26"></span></li></ul></li><li>AI will never intentionally miss melee attacks on the hardest setting. <span class="anchor" id="line-27"></span></li><li>Dynamic protection (which reduces damage incrementally for high frequency attacks) isn't enabled on the hardest setting. <span class="anchor" id="line-28"></span></li><li>Certain entities will not spawn depending on certain key values at certain difficulty levels: <span class="anchor" id="line-29"></span><ul><li>Easy: Will not spawn if "not_easy" "1" is specified on the entity or in its entityDef. <span class="anchor" id="line-30"></span></li><li>Normal: Will not spawn if "not_medium" "1" is specified on the entity or in its entityDef. <span class="anchor" id="line-31"></span></li><li>Hard: Will not spawn if "not_hard" "1" is specified on the entity or in its entityDef. <span class="anchor" id="line-32"></span></li><li>Hardest: Also will not spawn if "not_hard" "1" is specified on the entity or in its entityDef. <span class="anchor" id="line-33"></span><span class="anchor" id="line-34"></span></li></ul></li></ul><p class="line862">Note that on the harder difficulties, the buddy AI actually gets <em>healthier</em>, and this is simply to offset the punshing damage dealt by the enemies in those harder difficulties. In addition, marine buddies who are flagged as mission critical (i.e. you will game over if they die) get an additional boost to their health on hard / hardest difficulties. <span class="anchor" id="line-35"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">LevelEditor DifficultySettings (last edited 2005-12-05 23:21:25 by <span title="JimShepard @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./JimShepard.html" title="JimShepard @ 67.129.250.254[67.129.250.254]">JimShepard</a></span>)</p>
<div id="pagebottom"></div>
</div>

File diff suppressed because one or more lines are too long

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./LevelEditor_KeyboardShortcuts?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./LevelEditor_KeyboardShortcuts?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./LevelEditor_KeyboardShortcuts">LevelEditor...rdShortcuts</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./LevelEditor_KeyboardShortcuts.html">LevelEditor...rdShortcuts</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -187,355 +187,355 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867">
<h1 id="head-f894046496f2d31dcf2bbc94fcefbe505676c749">Q4Radiant Keyboard Shortcuts/Tool Reference</h1>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line862">This entire listing can also be found listed alphabetically by name within the Quake 4 <a href="./LevelEditor">LevelEditor</a> from the <a class="nonexistent" href="./LevelEditor_Menu_Help">Help Menu</a>. Only shortcuts that have been verified as working properly are listed here. Most mouse-based shortcuts and commands are currently not listed and will be added with an upcoming update. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line874">Most (but not all) standard Windows shortcuts (Ctrl+Z for Undo, Ctrl+O for Open, etc.) apply normally, and are not listed. <span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span><p class="line867"><strong><span class="u">UI Elements/Browsers/Inspectors</span>:</strong> <span class="anchor" id="line-8"></span><div><table><tbody><tr> <td><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Console">Console</a></td>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line862">This entire listing can also be found listed alphabetically by name within the Quake 4 <a href="./LevelEditor.html">LevelEditor</a> from the <a class="nonexistent" href="./LevelEditor_Menu_Help.html">Help Menu</a>. Only shortcuts that have been verified as working properly are listed here. Most mouse-based shortcuts and commands are currently not listed and will be added with an upcoming update. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line874">Most (but not all) standard Windows shortcuts (Ctrl+Z for Undo, Ctrl+O for Open, etc.) apply normally, and are not listed. <span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span><p class="line867"><strong><span class="u">UI Elements/Browsers/Inspectors</span>:</strong> <span class="anchor" id="line-8"></span><div><table><tbody><tr> <td><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Console.html">Console</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">O</td>
</tr>
<tr> <td><span class="anchor" id="line-9"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_EntColor">Entity Color</a></td>
<tr> <td><span class="anchor" id="line-9"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_EntColor.html">Entity Color</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">K</td>
</tr>
<tr> <td><span class="anchor" id="line-10"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_EntWindow">Entity Info Window</a></td>
<tr> <td><span class="anchor" id="line-10"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_EntWindow.html">Entity Info Window</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">N</td>
</tr>
<tr> <td><span class="anchor" id="line-11"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_EntList">Entity List</a></td>
<tr> <td><span class="anchor" id="line-11"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_EntList.html">Entity List</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">I</td>
</tr>
<tr> <td><span class="anchor" id="line-12"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_GameWindow">Launch Game</a></td>
<tr> <td><span class="anchor" id="line-12"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_GameWindow.html">Launch Game</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">F2</td>
</tr>
<tr> <td><span class="anchor" id="line-13"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_LightInsp">Light Inspector</a></td>
<tr> <td><span class="anchor" id="line-13"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_LightInsp.html">Light Inspector</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">J</td>
</tr>
<tr> <td><span class="anchor" id="line-14"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Media">Media Browser</a></td>
<tr> <td><span class="anchor" id="line-14"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Media.html">Media Browser</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">M</td>
</tr>
<tr> <td><span class="anchor" id="line-15"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_PatchInsp">Patch Inspector</a></td>
<tr> <td><span class="anchor" id="line-15"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_PatchInsp.html">Patch Inspector</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Shift S</td>
</tr>
<tr> <td><span class="anchor" id="line-16"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Preferences">Preferences</a></td>
<tr> <td><span class="anchor" id="line-16"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Preferences.html">Preferences</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">P</td>
</tr>
<tr> <td><span class="anchor" id="line-17"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Textures">Texture Browser</a></td>
<tr> <td><span class="anchor" id="line-17"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Textures.html">Texture Browser</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">T</td>
</tr>
<tr> <td><span class="anchor" id="line-18"></span><p class="line862">Toggle <a class="nonexistent" href="./LevelEditor_Element_Camera">Camera</a> View</td>
<tr> <td><span class="anchor" id="line-18"></span><p class="line862">Toggle <a class="nonexistent" href="./LevelEditor_Element_Camera.html">Camera</a> View</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Shift Ctrl C</td>
</tr>
<tr> <td><span class="anchor" id="line-19"></span><p class="line862">Toggle <a class="nonexistent" href="./LevelEditor_Element_ZWind">Z Window</a></td>
<tr> <td><span class="anchor" id="line-19"></span><p class="line862">Toggle <a class="nonexistent" href="./LevelEditor_Element_ZWind.html">Z Window</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Shift Ctrl Z</td>
</tr>
</tbody></table></div><span class="anchor" id="line-20"></span><span class="anchor" id="line-21"></span><p class="line867"><strong><span class="u">Copy/Paste</span>:</strong> <span class="anchor" id="line-22"></span><div><table><tbody><tr> <td><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_Clone">Clone Selected</a></td>
</tbody></table></div><span class="anchor" id="line-20"></span><span class="anchor" id="line-21"></span><p class="line867"><strong><span class="u">Copy/Paste</span>:</strong> <span class="anchor" id="line-22"></span><div><table><tbody><tr> <td><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_Clone.html">Clone Selected</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Space</td>
</tr>
<tr> <td><span class="anchor" id="line-23"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_CopySpecial">Copy Special</a></td>
<tr> <td><span class="anchor" id="line-23"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_CopySpecial.html">Copy Special</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Alt C</td>
</tr>
<tr> <td><span class="anchor" id="line-24"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_PasteSpecial">Paste Special</a></td>
<tr> <td><span class="anchor" id="line-24"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_PasteSpecial.html">Paste Special</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Alt V</td>
</tr>
</tbody></table></div><span class="anchor" id="line-25"></span><span class="anchor" id="line-26"></span><p class="line867"><strong><span class="u">Brush/Patch Creation and Manipulation</span>:</strong> <span class="anchor" id="line-27"></span><div><table><tbody><tr> <td><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_CreateBrush">Create 3-Sided Brush</a></td>
</tbody></table></div><span class="anchor" id="line-25"></span><span class="anchor" id="line-26"></span><p class="line867"><strong><span class="u">Brush/Patch Creation and Manipulation</span>:</strong> <span class="anchor" id="line-27"></span><div><table><tbody><tr> <td><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_CreateBrush.html">Create 3-Sided Brush</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Ctrl 3</td>
</tr>
<tr> <td><span class="anchor" id="line-28"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_CreateBrush">Create 4-Sided Brush</a></td>
<tr> <td><span class="anchor" id="line-28"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_CreateBrush.html">Create 4-Sided Brush</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Ctrl 4</td>
</tr>
<tr> <td><span class="anchor" id="line-29"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_CreateBrush">Create 5-Sided Brush</a></td>
<tr> <td><span class="anchor" id="line-29"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_CreateBrush.html">Create 5-Sided Brush</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Ctrl 5</td>
</tr>
<tr> <td><span class="anchor" id="line-30"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_CreateBrush">Create 6-Sided Brush</a></td>
<tr> <td><span class="anchor" id="line-30"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_CreateBrush.html">Create 6-Sided Brush</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Ctrl 6</td>
</tr>
<tr> <td><span class="anchor" id="line-31"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_CreateBrush">Create 7-Sided Brush</a></td>
<tr> <td><span class="anchor" id="line-31"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_CreateBrush.html">Create 7-Sided Brush</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Ctrl 7</td>
</tr>
<tr> <td><span class="anchor" id="line-32"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_CreateBrush">Create 8-Sided Brush</a></td>
<tr> <td><span class="anchor" id="line-32"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_CreateBrush.html">Create 8-Sided Brush</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Ctrl 8</td>
</tr>
<tr> <td><span class="anchor" id="line-33"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_CreateBrush">Create 9-Sided Brush</a></td>
<tr> <td><span class="anchor" id="line-33"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_CreateBrush.html">Create 9-Sided Brush</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Ctrl 9</td>
</tr>
<tr> <td><span class="anchor" id="line-34"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_Clipping">Clipping</a>: Clip Selected</td>
<tr> <td><span class="anchor" id="line-34"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_Clipping.html">Clipping</a>: Clip Selected</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Enter</td>
</tr>
<tr> <td><span class="anchor" id="line-35"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_Clipping">Clipping</a>: Flip Clip Axis</td>
<tr> <td><span class="anchor" id="line-35"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_Clipping.html">Clipping</a>: Flip Clip Axis</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Ctrl Enter</td>
</tr>
<tr> <td><span class="anchor" id="line-36"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_Clipping">Clipping</a>: Split Selected</td>
<tr> <td><span class="anchor" id="line-36"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_Clipping.html">Clipping</a>: Split Selected</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Shift Enter</td>
</tr>
<tr> <td><span class="anchor" id="line-37"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_Clipping">Clipping</a>: Clip Tool</td>
<tr> <td><span class="anchor" id="line-37"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_Clipping.html">Clipping</a>: Clip Tool</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">X</td>
</tr>
<tr> <td><span class="anchor" id="line-38"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_Clipping">Clipping</a>: Place Clip Point</td>
<tr> <td><span class="anchor" id="line-38"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_Clipping.html">Clipping</a>: Place Clip Point</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Ctrl Mouse2</td>
</tr>
<tr> <td><span class="anchor" id="line-39"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_CSGMerge">CSG Merge</a></td>
<tr> <td><span class="anchor" id="line-39"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_CSGMerge.html">CSG Merge</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Shift M</td>
</tr>
<tr> <td><span class="anchor" id="line-40"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_CycleRot">Cycle Rotation Axis</a></td>
<tr> <td><span class="anchor" id="line-40"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_CycleRot.html">Cycle Rotation Axis</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Shift R</td>
</tr>
<tr> <td><span class="anchor" id="line-41"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_Delete">Delete Selection</a></td>
<tr> <td><span class="anchor" id="line-41"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_Delete.html">Delete Selection</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Backspace</td>
</tr>
<tr> <td><span class="anchor" id="line-42"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_DragEdge">Drag Edges</a></td>
<tr> <td><span class="anchor" id="line-42"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_DragEdge.html">Drag Edges</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">E</td>
</tr>
<tr> <td><span class="anchor" id="line-43"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_DragVert">Drag Verts</a></td>
<tr> <td><span class="anchor" id="line-43"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_DragVert.html">Drag Verts</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">V</td>
</tr>
<tr> <td><span class="anchor" id="line-44"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_DumpBrush">Dump Brush</a>(es) to Console</td>
<tr> <td><span class="anchor" id="line-44"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_DumpBrush.html">Dump Brush</a>(es) to Console</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Shift D</td>
</tr>
<tr> <td><span class="anchor" id="line-45"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_Rotation">Mouse Rotate</a></td>
<tr> <td><span class="anchor" id="line-45"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_Rotation.html">Mouse Rotate</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">R</td>
</tr>
<tr> <td><span class="anchor" id="line-46"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_KeyMove">Move Selection Down</a> (Z axis, by grid size)</td>
<tr> <td><span class="anchor" id="line-46"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_KeyMove.html">Move Selection Down</a> (Z axis, by grid size)</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">-</td>
</tr>
<tr> <td><span class="anchor" id="line-47"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_KeyMove">Move Selection Up</a> (Z axis, by grid size)</td>
<tr> <td><span class="anchor" id="line-47"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_KeyMove.html">Move Selection Up</a> (Z axis, by grid size)</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">+</td>
</tr>
<tr> <td><span class="anchor" id="line-48"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_KeyMove">Move Selection Down</a> (relative to grid window)</td>
<tr> <td><span class="anchor" id="line-48"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_KeyMove.html">Move Selection Down</a> (relative to grid window)</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Alt Down</td>
</tr>
<tr> <td><span class="anchor" id="line-49"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_KeyMove">Move Selection Left</a> (relative to grid window)</td>
<tr> <td><span class="anchor" id="line-49"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_KeyMove.html">Move Selection Left</a> (relative to grid window)</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Alt Left</td>
</tr>
<tr> <td><span class="anchor" id="line-50"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_KeyMove">Move Selection Right</a> (relative to grid window)</td>
<tr> <td><span class="anchor" id="line-50"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_KeyMove.html">Move Selection Right</a> (relative to grid window)</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Alt Right</td>
</tr>
<tr> <td><span class="anchor" id="line-51"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_KeyMove">Move Selection Up</a> (relative to grid window)</td>
<tr> <td><span class="anchor" id="line-51"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_KeyMove.html">Move Selection Up</a> (relative to grid window)</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Alt Up</td>
</tr>
<tr> <td><span class="anchor" id="line-52"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_SnapGrid">Snap to Grid</a></td>
<tr> <td><span class="anchor" id="line-52"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Operation_SnapGrid.html">Snap to Grid</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Ctrl G</td>
</tr>
</tbody></table></div><span class="anchor" id="line-53"></span><span class="anchor" id="line-54"></span><p class="line867"><strong><span class="u">Grid</span>:</strong> <span class="anchor" id="line-55"></span><div><table><tbody><tr> <td><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid_Crosshair">Crosshair</a></td>
</tbody></table></div><span class="anchor" id="line-53"></span><span class="anchor" id="line-54"></span><p class="line867"><strong><span class="u">Grid</span>:</strong> <span class="anchor" id="line-55"></span><div><table><tbody><tr> <td><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid_Crosshair.html">Crosshair</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Shift X</td>
</tr>
<tr> <td><span class="anchor" id="line-56"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid_Cycle">Cycle Grid View</a></td>
<tr> <td><span class="anchor" id="line-56"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid_Cycle.html">Cycle Grid View</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Ctrl Tab</td>
</tr>
<tr> <td><span class="anchor" id="line-57"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid">Grid</a> Size: .125</td>
<tr> <td><span class="anchor" id="line-57"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid.html">Grid</a> Size: .125</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Shift 2</td>
</tr>
<tr> <td><span class="anchor" id="line-58"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid">Grid</a> Size: .25</td>
<tr> <td><span class="anchor" id="line-58"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid.html">Grid</a> Size: .25</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Shift 3</td>
</tr>
<tr> <td><span class="anchor" id="line-59"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid">Grid</a> Size: .5</td>
<tr> <td><span class="anchor" id="line-59"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid.html">Grid</a> Size: .5</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Shift 4</td>
</tr>
<tr> <td><span class="anchor" id="line-60"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid">Grid</a> Size: 1</td>
<tr> <td><span class="anchor" id="line-60"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid.html">Grid</a> Size: 1</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">1</td>
</tr>
<tr> <td><span class="anchor" id="line-61"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid">Grid</a> Size: 2</td>
<tr> <td><span class="anchor" id="line-61"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid.html">Grid</a> Size: 2</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">2</td>
</tr>
<tr> <td><span class="anchor" id="line-62"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid">Grid</a> Size: 4</td>
<tr> <td><span class="anchor" id="line-62"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid.html">Grid</a> Size: 4</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">3</td>
</tr>
<tr> <td><span class="anchor" id="line-63"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid">Grid</a> Size: 8</td>
<tr> <td><span class="anchor" id="line-63"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid.html">Grid</a> Size: 8</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">4</td>
</tr>
<tr> <td><span class="anchor" id="line-64"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid">Grid</a> Size: 16</td>
<tr> <td><span class="anchor" id="line-64"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid.html">Grid</a> Size: 16</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">5</td>
</tr>
<tr> <td><span class="anchor" id="line-65"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid">Grid</a> Size: 32</td>
<tr> <td><span class="anchor" id="line-65"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid.html">Grid</a> Size: 32</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">6</td>
</tr>
<tr> <td><span class="anchor" id="line-66"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid">Grid</a> Size: 64</td>
<tr> <td><span class="anchor" id="line-66"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid.html">Grid</a> Size: 64</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">7</td>
</tr>
<tr> <td><span class="anchor" id="line-67"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid">Grid</a> Size Down</td>
<tr> <td><span class="anchor" id="line-67"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid.html">Grid</a> Size Down</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">[</td>
</tr>
<tr> <td><span class="anchor" id="line-68"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid">Grid</a> Size Up</td>
<tr> <td><span class="anchor" id="line-68"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid.html">Grid</a> Size Up</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">]</td>
</tr>
<tr> <td><span class="anchor" id="line-69"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid_PaintSizing">Paint Sizing Info</a></td>
<tr> <td><span class="anchor" id="line-69"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid_PaintSizing.html">Paint Sizing Info</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Q</td>
</tr>
<tr> <td><span class="anchor" id="line-70"></span><p class="line862">Toggle <a class="nonexistent" href="./LevelEditor_Element_Grid">Grid</a></td>
<tr> <td><span class="anchor" id="line-70"></span><p class="line862">Toggle <a class="nonexistent" href="./LevelEditor_Element_Grid.html">Grid</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">0</td>
</tr>
<tr> <td><span class="anchor" id="line-71"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid_Zoom">Zoom In</a></td>
<tr> <td><span class="anchor" id="line-71"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid_Zoom.html">Zoom In</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Del</td>
</tr>
<tr> <td><span class="anchor" id="line-72"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid_Zoom">Zoom Out</a></td>
<tr> <td><span class="anchor" id="line-72"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_Grid_Zoom.html">Zoom Out</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Ins</td>
</tr>
<tr> <td><span class="anchor" id="line-73"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_ZWind">Z-Window Zoom In</a></td>
<tr> <td><span class="anchor" id="line-73"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_ZWind.html">Z-Window Zoom In</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Ctrl Del</td>
</tr>
<tr> <td><span class="anchor" id="line-74"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_ZWind">Z-Window Zoom Out</a></td>
<tr> <td><span class="anchor" id="line-74"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Element_ZWind.html">Z-Window Zoom Out</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Ctrl Ins</td>
</tr>
</tbody></table></div><span class="anchor" id="line-75"></span><span class="anchor" id="line-76"></span><p class="line867"><strong><span class="u">Camera Controls</span>:</strong> <span class="anchor" id="line-77"></span><div><table><tbody><tr> <td><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement">Center View</a></td>
</tbody></table></div><span class="anchor" id="line-75"></span><span class="anchor" id="line-76"></span><p class="line867"><strong><span class="u">Camera Controls</span>:</strong> <span class="anchor" id="line-77"></span><div><table><tbody><tr> <td><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement.html">Center View</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">End</td>
</tr>
<tr> <td><span class="anchor" id="line-78"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_CubicClip">Cubic Clip Toggle</a></td>
<tr> <td><span class="anchor" id="line-78"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_CubicClip.html">Cubic Clip Toggle</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Ctrl \</td>
</tr>
<tr> <td><span class="anchor" id="line-79"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_CubicClip">Cubic Clip: Zoom In</a></td>
<tr> <td><span class="anchor" id="line-79"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_CubicClip.html">Cubic Clip: Zoom In</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Ctrl ]</td>
</tr>
<tr> <td><span class="anchor" id="line-80"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_CubicClip">Cubic Clip: Zoom Out</a></td>
<tr> <td><span class="anchor" id="line-80"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_CubicClip.html">Cubic Clip: Zoom Out</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Ctrl [</td>
</tr>
<tr> <td><span class="anchor" id="line-81"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement">Floor Down</a></td>
<tr> <td><span class="anchor" id="line-81"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement.html">Floor Down</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">pgDn</td>
</tr>
<tr> <td><span class="anchor" id="line-82"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement">Floor Up</a></td>
<tr> <td><span class="anchor" id="line-82"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement.html">Floor Up</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">pgUp</td>
</tr>
<tr> <td><span class="anchor" id="line-83"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement">Look Down</a></td>
<tr> <td><span class="anchor" id="line-83"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement.html">Look Down</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Z</td>
</tr>
<tr> <td><span class="anchor" id="line-84"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement">Look Left</a></td>
<tr> <td><span class="anchor" id="line-84"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement.html">Look Left</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Left</td>
</tr>
<tr> <td><span class="anchor" id="line-85"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement">Look Right</a></td>
<tr> <td><span class="anchor" id="line-85"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement.html">Look Right</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Right</td>
</tr>
<tr> <td><span class="anchor" id="line-86"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement">Look Up</a></td>
<tr> <td><span class="anchor" id="line-86"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement.html">Look Up</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">A</td>
</tr>
<tr> <td><span class="anchor" id="line-87"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement">Move Back</a></td>
<tr> <td><span class="anchor" id="line-87"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement.html">Move Back</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Down</td>
</tr>
<tr> <td><span class="anchor" id="line-88"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement">Move Down</a></td>
<tr> <td><span class="anchor" id="line-88"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement.html">Move Down</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">C</td>
</tr>
<tr> <td><span class="anchor" id="line-89"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement">Move Forward</a></td>
<tr> <td><span class="anchor" id="line-89"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement.html">Move Forward</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Up</td>
</tr>
<tr> <td><span class="anchor" id="line-90"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement">Move Up</a></td>
<tr> <td><span class="anchor" id="line-90"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement.html">Move Up</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">D</td>
</tr>
<tr> <td><span class="anchor" id="line-91"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement">Strafe Left</a></td>
<tr> <td><span class="anchor" id="line-91"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement.html">Strafe Left</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">,</td>
</tr>
<tr> <td><span class="anchor" id="line-92"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement">Strafe Right</a></td>
<tr> <td><span class="anchor" id="line-92"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Camera_Movement.html">Strafe Right</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">.</td>
</tr>
</tbody></table></div><span class="anchor" id="line-93"></span><span class="anchor" id="line-94"></span><p class="line867"><strong><span class="u">Show/Hide and Filters</span>:</strong> <span class="anchor" id="line-95"></span><div><table><tbody><tr> <td><p class="line891"><a class="nonexistent" href="./LevelEditor_Filters">Filter Clip Brushes</a></td>
</tbody></table></div><span class="anchor" id="line-93"></span><span class="anchor" id="line-94"></span><p class="line867"><strong><span class="u">Show/Hide and Filters</span>:</strong> <span class="anchor" id="line-95"></span><div><table><tbody><tr> <td><p class="line891"><a class="nonexistent" href="./LevelEditor_Filters.html">Filter Clip Brushes</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Ctrl L</td>
</tr>
<tr> <td><span class="anchor" id="line-96"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Filters">Filter Entities</a></td>
<tr> <td><span class="anchor" id="line-96"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Filters.html">Filter Entities</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Shift Ctrl N</td>
</tr>
<tr> <td><span class="anchor" id="line-97"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Filters">Filter Lights</a></td>
<tr> <td><span class="anchor" id="line-97"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Filters.html">Filter Lights</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Ctrl 0</td>
</tr>
<tr> <td><span class="anchor" id="line-98"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Filters">Filter Models</a></td>
<tr> <td><span class="anchor" id="line-98"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Filters.html">Filter Models</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Ctrl Alt M</td>
</tr>
<tr> <td><span class="anchor" id="line-99"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Filters">Filter Patches</a></td>
<tr> <td><span class="anchor" id="line-99"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Filters.html">Filter Patches</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Ctrl P</td>
</tr>
<tr> <td><span class="anchor" id="line-100"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Filters">Filter Paths</a></td>
<tr> <td><span class="anchor" id="line-100"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Filters.html">Filter Paths</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Alt Ctrl P</td>
</tr>
<tr> <td><span class="anchor" id="line-101"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Filters">Filter Triggers</a></td>
<tr> <td><span class="anchor" id="line-101"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Filters.html">Filter Triggers</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Shift Ctrl T</td>
</tr>
<tr> <td><span class="anchor" id="line-102"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Filters">Filter Vis Portals</a></td>
<tr> <td><span class="anchor" id="line-102"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Filters.html">Filter Vis Portals</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Shift V</td>
</tr>
<tr> <td><span class="anchor" id="line-103"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Filters">Hide Selected</a></td>
<tr> <td><span class="anchor" id="line-103"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Filters.html">Hide Selected</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">H</td>
</tr>
<tr> <td><span class="anchor" id="line-104"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Filters">Hide Unselected</a></td>
<tr> <td><span class="anchor" id="line-104"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Filters.html">Hide Unselected</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Shift Ctrl H</td>
</tr>
<tr> <td><span class="anchor" id="line-105"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Filters">Show Hidden</a></td>
<tr> <td><span class="anchor" id="line-105"></span><p class="line891"><a class="nonexistent" href="./LevelEditor_Filters.html">Show Hidden</a></td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Shift H</td>
</tr>
@ -605,11 +605,11 @@ actionsMenuInit('More Actions:');
</tr>
<tr> <td><span class="anchor" id="line-128"></span><p class="line862">Rotate Texture Clockwise</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Shift <a class="nonexistent" href="./PgDn">PgDn</a></td>
<td colspan="2" style="text-align: center"><p class="line862">Shift <a class="nonexistent" href="./PgDn.html">PgDn</a></td>
</tr>
<tr> <td><span class="anchor" id="line-129"></span><p class="line862">Rotate Texture Counter-Clockwise</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Shift <a class="nonexistent" href="./PgUp">PgUp</a></td>
<td colspan="2" style="text-align: center"><p class="line862">Shift <a class="nonexistent" href="./PgUp.html">PgUp</a></td>
</tr>
<tr> <td><span class="anchor" id="line-130"></span><p class="line862">Shift Down</td>
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
@ -699,7 +699,7 @@ actionsMenuInit('More Actions:');
<td colspan="2" style="text-align: center"><p class="line891"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan="2" style="text-align: center"><p class="line862">Shift Ctrl L</td>
</tr>
</tbody></table></div><span class="anchor" id="line-158"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">LevelEditor KeyboardShortcuts (last edited 2005-12-31 21:48:42 by <span title="AndrewWeldon @ 24-240-36-51.dhcp.mdsn.wi.charter.com[24.240.36.51]"><a class="nonexistent" href="./AndrewWeldon" title="AndrewWeldon @ 24-240-36-51.dhcp.mdsn.wi.charter.com[24.240.36.51]">AndrewWeldon</a></span>)</p>
</tbody></table></div><span class="anchor" id="line-158"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">LevelEditor KeyboardShortcuts (last edited 2005-12-31 21:48:42 by <span title="AndrewWeldon @ 24-240-36-51.dhcp.mdsn.wi.charter.com[24.240.36.51]"><a class="nonexistent" href="./AndrewWeldon.html" title="AndrewWeldon @ 24-240-36-51.dhcp.mdsn.wi.charter.com[24.240.36.51]">AndrewWeldon</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,19 +88,19 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./LevelEditor_Loading?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./LevelEditor_Loading?action=print">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -138,7 +138,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./LevelEditor_Loading">LevelEditor Loading</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./LevelEditor_Loading.html">LevelEditor Loading</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -188,10 +188,10 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-1"></span><p class="line867">
<h1 id="head-508c22d0caa397d6ec6c360b7e9f3554d7705093">Loading the Editor</h1>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line867"><br />
In Quake 4, like in Doom 3, the <a href="./LevelEditor">LevelEditor</a> is actually part of the game executable. Load the game, then press Alt+Enter to go to windowed mode (you may experience issues loading it in fullscreen). Drop the console (Ctrl+Alt+~) and type 'editor.' (The period, while grammatically correct, is not part of the command!) Poof! You now have the editor up and running. Take some time to customize your layout and you're ready to go. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line867"><br />
In Quake 4, like in Doom 3, the <a href="./LevelEditor.html">LevelEditor</a> is actually part of the game executable. Load the game, then press Alt+Enter to go to windowed mode (you may experience issues loading it in fullscreen). Drop the console (Ctrl+Alt+~) and type 'editor.' (The period, while grammatically correct, is not part of the command!) Poof! You now have the editor up and running. Take some time to customize your layout and you're ready to go. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line867"><br />
<strong><span class="u">Setting up Shortcuts</span>:</strong> <span class="anchor" id="line-6"></span>To load the editor from a shortcut, copy your game shortcut and modify it as follows to form your editor shortcut: <span class="anchor" id="line-7"></span><span class="anchor" id="line-8"></span><p class="line867"><span class="anchor" id="line-9"></span><pre>"...\Quake4.exe" +set r_fullscreen 0 +editor
<span class="anchor" id="line-10"></span></pre><span class="anchor" id="line-11"></span><span class="anchor" id="line-12"></span><p class="line874">Your r_fullscreen settings are saved each time you run the game or editor, so adjust your game shortcut with: <span class="anchor" id="line-13"></span><span class="anchor" id="line-14"></span><p class="line867"><span class="anchor" id="line-15"></span><pre>"...\Quake4.exe" +set r_fullscreen 1
<span class="anchor" id="line-16"></span></pre><span class="anchor" id="line-17"></span><span class="anchor" id="line-18"></span><p class="line874">Here are some other useful parameters you can add to your shortcut: <span class="anchor" id="line-19"></span><span class="anchor" id="line-20"></span><ul><li><p class="line891"><strong>+com_allowconsole 1:</strong> Allow access to the console by pressing ~. A must for testing. <span class="anchor" id="line-21"></span></li><li><p class="line891"><strong>+set r_mode X:</strong> Set your render mode (from 3 to 8). 3 is 640x480, 8 is 1600x1200. Useful if you run the game at desktop resolution; setting the r_mode lower for the editor will keep your F2 instances at a nice manageable size. <span class="anchor" id="line-22"></span></li><li><p class="line891"><strong>+set r_brightness 1:</strong> By default, Quake loads with r_brightness set to 1.2. This can be annoying when working in the editor, so reverting it to 1 will restore your normal desktop appearance. <span class="anchor" id="line-23"></span></li><li><p class="line891"><strong>+set r_multisamples X:</strong> Adjust FSAA (anti-aliasing) settings. If you have AA enabled, the editor will break. Set this to 0 on your editor shortcut and back to your desired AA settings on your game shortcut. <span class="anchor" id="line-24"></span></li><li><p class="line891"><strong>+set r_clear X:</strong> Setting this to 0 on your editor shortcut will cause your rendered view to display the void as grey instead of black. Set to 1 for a purple void. Also supports RGB values for custom coloring. <span class="anchor" id="line-25"></span><span class="anchor" id="line-26"></span><span class="anchor" id="line-27"></span></li></ul><p class="line867"><strong>The Next Step: <a href="./LevelEditor_BasicRoom">Building a Basic Room</a></strong> <span class="anchor" id="line-28"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">LevelEditor Loading (last edited 2005-11-09 15:54:33 by <span title="AndrewWeldon @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./AndrewWeldon" title="AndrewWeldon @ 67.129.250.254[67.129.250.254]">AndrewWeldon</a></span>)</p>
<span class="anchor" id="line-16"></span></pre><span class="anchor" id="line-17"></span><span class="anchor" id="line-18"></span><p class="line874">Here are some other useful parameters you can add to your shortcut: <span class="anchor" id="line-19"></span><span class="anchor" id="line-20"></span><ul><li><p class="line891"><strong>+com_allowconsole 1:</strong> Allow access to the console by pressing ~. A must for testing. <span class="anchor" id="line-21"></span></li><li><p class="line891"><strong>+set r_mode X:</strong> Set your render mode (from 3 to 8). 3 is 640x480, 8 is 1600x1200. Useful if you run the game at desktop resolution; setting the r_mode lower for the editor will keep your F2 instances at a nice manageable size. <span class="anchor" id="line-22"></span></li><li><p class="line891"><strong>+set r_brightness 1:</strong> By default, Quake loads with r_brightness set to 1.2. This can be annoying when working in the editor, so reverting it to 1 will restore your normal desktop appearance. <span class="anchor" id="line-23"></span></li><li><p class="line891"><strong>+set r_multisamples X:</strong> Adjust FSAA (anti-aliasing) settings. If you have AA enabled, the editor will break. Set this to 0 on your editor shortcut and back to your desired AA settings on your game shortcut. <span class="anchor" id="line-24"></span></li><li><p class="line891"><strong>+set r_clear X:</strong> Setting this to 0 on your editor shortcut will cause your rendered view to display the void as grey instead of black. Set to 1 for a purple void. Also supports RGB values for custom coloring. <span class="anchor" id="line-25"></span><span class="anchor" id="line-26"></span><span class="anchor" id="line-27"></span></li></ul><p class="line867"><strong>The Next Step: <a href="./LevelEditor_BasicRoom.html">Building a Basic Room</a></strong> <span class="anchor" id="line-28"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">LevelEditor Loading (last edited 2005-11-09 15:54:33 by <span title="AndrewWeldon @ 67.129.250.254[67.129.250.254]"><a class="nonexistent" href="./AndrewWeldon.html" title="AndrewWeldon @ 67.129.250.254[67.129.250.254]">AndrewWeldon</a></span>)</p>
<div id="pagebottom"></div>
</div>

View file

@ -88,20 +88,20 @@ function actionsMenuInit(title) {
<link rel="Start" href="./Quake4SDK">
<link rel="Start" href="./Quake4SDK.html">
<link rel="Alternate" title="Wiki Markup" href="./LevelEditor_MPMapDefs?action=raw">
<link rel="Alternate" media="print" title="Print View" href="./LevelEditor_MPMapDefs?action=print">
<link rel="Appendix" title="path.jpg" href="./LevelEditor_MPMapDefs?action=AttachFile&amp;do=view&amp;target=path.jpg">
<link rel="Search" href="./FindPage">
<link rel="Index" href="./TitleIndex">
<link rel="Glossary" href="./WordIndex">
<link rel="Help" href="./HelpOnFormatting">
<link rel="Search" href="./FindPage.html">
<link rel="Index" href="./TitleIndex.html">
<link rel="Glossary" href="./WordIndex.html">
<link rel="Help" href="./HelpOnFormatting.html">
</head>
<body lang="en" dir="ltr">
<div id="header">
<div id="logo"><a href="./Quake4SDK"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<div id="logo"><a href="./Quake4SDK.html"><img src="wiki/common/moinmoin.png" alt="MoinMoin Logo"></a></div>
<form id="searchform" method="get" action="">
<div>
@ -139,7 +139,7 @@ searchBlur(e);
<ul id="navibar">
<li class="wikilink"><a href="./GettingStarted">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor">GUIEditor</a></li><li class="wikilink"><a href="./Sounds">Sounds</a></li><li class="wikilink"><a href="./Animations">Animations</a></li><li class="wikilink"><a href="./ArtReference">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="./FindPage">FindPage</a></li><li class="wikilink"><a href="./HelpContents">HelpContents</a></li><li class="current"><a href="./LevelEditor_MPMapDefs">LevelEditor MPMapDefs</a></li>
<li class="wikilink"><a href="./GettingStarted.html">GettingStarted</a></li><li class="wikilink"><a href="./ScriptFile.html">ScriptFile</a></li><li class="wikilink"><a href="./MakeAMod.html">MakeAMod</a></li><li class="wikilink"><a href="./LevelEditor.html">LevelEditor</a></li><li class="wikilink"><a href="./FXEditor.html">FXEditor</a></li><li class="wikilink"><a href="./GUIEditor.html">GUIEditor</a></li><li class="wikilink"><a href="./Sounds.html">Sounds</a></li><li class="wikilink"><a href="./Animations.html">Animations</a></li><li class="wikilink"><a href="./ArtReference.html">ArtReference</a></li><li class="wikilink"><a href="./DownloadableContent.html">DownloadableContent</a></li><li class="wikilink"><a href="./RecentChanges.html">RecentChanges</a></li><li class="wikilink"><a href="./FindPage.html">FindPage</a></li><li class="wikilink"><a href="./HelpContents.html">HelpContents</a></li><li class="current"><a href="./LevelEditor_MPMapDefs.html">LevelEditor MPMapDefs</a></li>
</ul>
<div id="pageline"><hr style="display:none;"></div>
@ -188,7 +188,7 @@ actionsMenuInit('More Actions:');
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
<span class="anchor" id="line-1"></span><p class="line867">
<h1 id="head-14beff8f4120089cdc0c563cb835a01af7782e39">Multiplayer mapDefs and addon.conf</h1>
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line862">Multiplayer mapDefs require a bit more setup than <a class="nonexistent" href="./LevelEditor_SPMapDefs">Single Player mapDefs</a> but are still pretty easy. The big consideration is making sure your level is compatible with autodownload support that has been added in Quake 4 1.1. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line862">The addonPak system is virtually identical to that implemented for <a class="http" href="http://zerowing.idsoftware.com/linux/doom/AddonPaks">Doom III</a>, just with some different mapDef keys and slightly different loadscreen support. In a nutshell, making your pk4 an addonPak will allow servers to run your map but only require players to have it installed if it is currently running. <span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span><p class="line867">
<span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line862">Multiplayer mapDefs require a bit more setup than <a class="nonexistent" href="./LevelEditor_SPMapDefs.html">Single Player mapDefs</a> but are still pretty easy. The big consideration is making sure your level is compatible with autodownload support that has been added in Quake 4 1.1. <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line862">The addonPak system is virtually identical to that implemented for <a class="http" href="http://zerowing.idsoftware.com/linux/doom/AddonPaks">Doom III</a>, just with some different mapDef keys and slightly different loadscreen support. In a nutshell, making your pk4 an addonPak will allow servers to run your map but only require players to have it installed if it is currently running. <span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span><p class="line867">
<h2 id="head-826e10607062d2cb45ae898a9abf66d5686df037">pk4 Structure</h2>
<span class="anchor" id="line-8"></span><span class="anchor" id="line-9"></span><p class="line874">First, let's quickly cover the pk4 directory structure. (You can create an empty pk4 file simply by creating a new .zip file in the software of your choice and changing the file extension.) Files in your pk4 need to match the directory structure they would have freely within your q4base directory: <span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span><p class="line867"><span class="anchor" id="line-12"></span><pre>-q4base/
<span class="anchor" id="line-13"></span> -your.pk4
@ -233,7 +233,7 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-64"></span>}
<span class="anchor" id="line-65"></span></pre><span class="anchor" id="line-66"></span><span class="anchor" id="line-67"></span><p class="line874">[MAP PATH] should be your map's path and filename relative to q4base/maps/. All our official MP maps are in q4base/maps/mp/ (i.e. mapDef mp/q4dm3), but you're welcome to use whatever path structure you feel like (maps/nickname/, etc.) so long as it is contained within the maps/ folder. <span class="anchor" id="line-68"></span><span class="anchor" id="line-69"></span><p class="line874">General file naming convention in custom levels for Quake games of the past has been to use an initial or initials plus the iteration of the franchise followed by the gametype and how many maps you've made for that gametype... So for example my third CTF level might be named kfs4ctf3. <span class="anchor" id="line-70"></span><span class="anchor" id="line-71"></span><p class="line874">[MAP NAME] is whatever the map will be called. If you're on an uncreative streak you can always just use your map's filename or resort to references to obscure movies and/or TV shows. <span class="anchor" id="line-72"></span><span class="anchor" id="line-73"></span><p class="line862">You'll notice we don't specify a loadscreen here; more on that in a moment. You'll also notice a few keys are missing when compared with our official multiplayer maps' mapDef entries (Gametype_*, mp_thumb). These keys were <strong>only</strong> used for the Xbox 360 version of Quake and are <strong>not</strong> required for your own levels for the PC version. (If you've release a map with these already, don't worry, it won't hurt anything) <span class="anchor" id="line-74"></span><span class="anchor" id="line-75"></span><p class="line867">
<h2 id="head-6ff8d7a91ee8b054616900e9b632e2abfe74aac1">The .def File and Load Screen</h2>
<span class="anchor" id="line-76"></span><span class="anchor" id="line-77"></span><p class="line862">To get your load screen working, you will need to create a new <a href="./DefinitionFile">DefinitionFile</a> with a 'duplicate' mapDef entry that points only to your loadscreen (but does not re-define any other element of the addon.conf mapDef): <span class="anchor" id="line-78"></span><span class="anchor" id="line-79"></span><p class="line867"><span class="anchor" id="line-80"></span><pre>// Example Quake4 mapDef with addonPak support
<span class="anchor" id="line-76"></span><span class="anchor" id="line-77"></span><p class="line862">To get your load screen working, you will need to create a new <a href="./DefinitionFile.html">DefinitionFile</a> with a 'duplicate' mapDef entry that points only to your loadscreen (but does not re-define any other element of the addon.conf mapDef): <span class="anchor" id="line-78"></span><span class="anchor" id="line-79"></span><p class="line867"><span class="anchor" id="line-80"></span><pre>// Example Quake4 mapDef with addonPak support
<span class="anchor" id="line-81"></span>
<span class="anchor" id="line-82"></span>mapDef [MAP PATH] {
<span class="anchor" id="line-83"></span>
@ -256,7 +256,7 @@ actionsMenuInit('More Actions:');
<span class="anchor" id="line-118"></span></pre><span class="anchor" id="line-119"></span><span class="anchor" id="line-120"></span><p class="line874">and my addon_test_assets.pk4, containing no maps, would look like this: <span class="anchor" id="line-121"></span><span class="anchor" id="line-122"></span><p class="line867"><span class="anchor" id="line-123"></span><pre>
<span class="anchor" id="line-124"></span></pre><span class="anchor" id="line-125"></span><span class="anchor" id="line-126"></span><p class="line874">The comment naming the pk4 file(s) is optional, but may help keep track of filenames in the event you have multiple dependencies. <span class="anchor" id="line-127"></span><span class="anchor" id="line-128"></span><p class="line867">
<h2 id="head-f48cc2b6bb80d9d49c0a3314fa368329eec919f2">pk4 Naming</h2>
<span class="anchor" id="line-129"></span><span class="anchor" id="line-130"></span><p class="line862">Keep in mind that pk4s with official naming conventions (i.e. pak003.pk4) will <strong>not</strong> work with autodownload and may create conflicts with official game content if you happened to pick a number being used in a future patch. For simplicity, we recommend using a naming convention of map_mapname.pk4 (Using the above example: map_kfs4ctf3.pk4) to prevent confusion and allow easy sorting of map pak files. <span class="anchor" id="line-131"></span><span class="anchor" id="line-132"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-133"></span>Back to <a href="./LevelEditor">LevelEditor</a> <span class="anchor" id="line-134"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">LevelEditor MPMapDefs (last edited 2006-04-23 02:47:53 by <span title="AndrewWeldon @ 24-240-36-51.dhcp.mdsn.wi.charter.com[24.240.36.51]"><a class="nonexistent" href="./AndrewWeldon" title="AndrewWeldon @ 24-240-36-51.dhcp.mdsn.wi.charter.com[24.240.36.51]">AndrewWeldon</a></span>)</p>
<span class="anchor" id="line-129"></span><span class="anchor" id="line-130"></span><p class="line862">Keep in mind that pk4s with official naming conventions (i.e. pak003.pk4) will <strong>not</strong> work with autodownload and may create conflicts with official game content if you happened to pick a number being used in a future patch. For simplicity, we recommend using a naming convention of map_mapname.pk4 (Using the above example: map_kfs4ctf3.pk4) to prevent confusion and allow easy sorting of map pak files. <span class="anchor" id="line-131"></span><span class="anchor" id="line-132"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-133"></span>Back to <a href="./LevelEditor.html">LevelEditor</a> <span class="anchor" id="line-134"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">LevelEditor MPMapDefs (last edited 2006-04-23 02:47:53 by <span title="AndrewWeldon @ 24-240-36-51.dhcp.mdsn.wi.charter.com[24.240.36.51]"><a class="nonexistent" href="./AndrewWeldon.html" title="AndrewWeldon @ 24-240-36-51.dhcp.mdsn.wi.charter.com[24.240.36.51]">AndrewWeldon</a></span>)</p>
<div id="pagebottom"></div>
</div>

Some files were not shown because too many files have changed in this diff Show more