mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-30 15:41:30 +00:00
998d1d7dde
Added Bridge mode. Documented all GZDoom Builder specific features. Crash fix in 1.07e was not implemented properly...
30 lines
1.9 KiB
HTML
30 lines
1.9 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" />
|
|
</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><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 thing sprite, or to attach a light defined in GLDEFS, my code 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 need to add a new value named "class" to thing definition in config:<br />
|
|
<code style="color:#006600">3001<br />{<br /> title = "Imp";<br /> sprite = "TROOA2A8";<br /> class = "DoomImp"; // <- you need to add this value<br />}</code><br />
|
|
You can find class names for things on <a href="http://www.zdoom.org/wiki/Classes">ZDoom wiki</a><br /><br />
|
|
You can reload GLDEFS and MODELDEF by using "<a href="gz_actions.html#gldefs">Reload GLDEFS</a>" and "<a href="gz_actions.html#modeldef">Reload MODELDEF</a>" actions.
|
|
</p>
|
|
</div>
|
|
</body>
|