Difference between revisions of "Wad (console command)"

From OdaWiki
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
===wad===
+
The '''wad''' console command loads a wad file at runtime, it can also load optional dehacked and bex patch files along side it.
  
Loads a wad file at runtime, can also load optional dehacked and bex patch(es) along side it.
+
==== Syntax ====
 +
<pre>
 +
wad pwad [...] [deh/bex [...]]
 +
wad iwad [pwad [...]] [deh/bex [...]]
 +
</pre>
 +
 
 +
First command loads a pwad, along with optional pwads, along with optional dehacked or bex patch files.
 +
 
 +
Second command is identical to above, but must have an iwad specified first.
 +
 
 +
NOTE: iwad files such as doom2.wad can have .wad omitted, but pwads (eg hr2final.wad) must have them, same with patch files.
  
IWAD files such as doom2.wad can have .wad omitted, but pwads (eg hr2final.wad) must have them, same with patch files.
+
==== Examples ====
+
 
Loads doom2.wad
 
Loads doom2.wad
 
<pre>
 
<pre>
Line 10: Line 19:
 
</pre>
 
</pre>
  
Load the pwad hr2final.wad (this wad requires doom2 btw)
+
Load the pwad hr2final.wad
 
<pre>
 
<pre>
 
wad hr2final.wad
 
wad hr2final.wad
Line 28: Line 37:
 
<pre>
 
<pre>
 
wad doom2 strain.wad strain.deh
 
wad doom2 strain.wad strain.deh
 +
</pre>
 +
 +
You can also specify an absolute or a relative path for pwads/deh's too
 +
<pre>
 +
wad doom2 ./wads/strain.wad ./wads/strain.deh
 
</pre>
 
</pre>
  
 
[[Category:Client_commands]]
 
[[Category:Client_commands]]
 
[[Category:Server_commands]]
 
[[Category:Server_commands]]

Latest revision as of 23:14, 7 April 2014

The wad console command loads a wad file at runtime, it can also load optional dehacked and bex patch files along side it.

Syntax

wad pwad [...] [deh/bex [...]]
wad iwad [pwad [...]] [deh/bex [...]]

First command loads a pwad, along with optional pwads, along with optional dehacked or bex patch files.

Second command is identical to above, but must have an iwad specified first.

NOTE: iwad files such as doom2.wad can have .wad omitted, but pwads (eg hr2final.wad) must have them, same with patch files.

Examples

Loads doom2.wad

wad doom2

Load the pwad hr2final.wad

wad hr2final.wad

Load both doom2.wad and hr2final.wad

wad doom2 hr2final.wad

Load strain.wad and its shipped patch file

wad strain.wad strain.deh

Load doom2, with strain.wad and strain.deh

wad doom2 strain.wad strain.deh

You can also specify an absolute or a relative path for pwads/deh's too

wad doom2 ./wads/strain.wad ./wads/strain.deh