mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-30 07:31:36 +00:00
40 lines
2.5 KiB
HTML
40 lines
2.5 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
|
<head>
|
|
|
|
<title>GZDoom Builder features</title>
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
|
|
<link rel="stylesheet" type="text/css" href="../default.css" media="screen" title="Default" />
|
|
<style type="text/css">
|
|
<!--
|
|
.style1 {color: #0000FF}
|
|
-->
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">
|
|
<param name="keyword" value="Template">
|
|
</object>
|
|
|
|
<div id="gz_title">
|
|
<h1>GLDEFS and MODELDEF support</h1>
|
|
</div>
|
|
|
|
<div id="contents">
|
|
<p>GZDoom Builder will automatically load data from GLDEFS and MODELDEF lumps if they are present in map resources.
|
|
<p><strong>MODELDEF support:</strong> all relevant MODELDEF properties and flags are supported. Sprite translations are not supported.<br />
|
|
<strong>GLDEFS support:</strong>
|
|
only dynamic light definitions are currently supported. Brightmaps and glowing flats support may be added in the future.<br />
|
|
You can reload GLDEFS and MODELDEF by using "<a href="actions.html#gldefs"><strong>Reload GLDEFS</strong></a>" and "<a href="actions.html#modeldef"><strong>Reload MODELDEF</strong></a>" actions.
|
|
<p><b>If you are creating maps for Doom or Doom 2, you probably don't need to read this, since required information is already added for those games.</b><br />
|
|
<br />
|
|
<b>To load models or dynamic lights defined in GLDEFS for things defined in configuration files:</b><br />
|
|
To display a model instead of a thing sprite, or to attach a light defined in GLDEFS, GZDB needs to know a thing's class name (because that's how overrides are defined in MODELDEF and GLDEFS). Things defined in Doom Builder configuration files don't have this value. So, if you aren't using configs, which came with GZDoom Builder, or you are creating maps for games other than Doom and Doom 2, you'll need to add a new value named "class" to thing definition in game configuration:<br />
|
|
<p style="color:#006600">3001<br />{<br /> title = "Imp";<br /> sprite = "TROOA2A8";<br />
|
|
<span class="style1">class = "DoomImp"; </span>// <- you'll need to add this value<br />
|
|
}</p>
|
|
You can find all class names for things at <a href="http://www.zdoom.org/wiki/Classes">http://www.zdoom.org/wiki/Classes</a>.</p>
|
|
</div>
|
|
</body>
|