mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-22 20:02:48 +00:00
DECORATE: added "//$IgnoreRenderstyle" special comment.
Updated ZDoom_DECORATE.cfg. Updated documentation ("DECORATE keys" page).
This commit is contained in:
parent
b5577ed423
commit
2064b4253a
3 changed files with 8 additions and 1 deletions
|
@ -29,6 +29,7 @@ keywords
|
||||||
$NotAngled = "$NotAngled";
|
$NotAngled = "$NotAngled";
|
||||||
$Category = "//$Category \"[EP]\"";
|
$Category = "//$Category \"[EP]\"";
|
||||||
$Sprite = "//$Sprite \"[EP]\"";
|
$Sprite = "//$Sprite \"[EP]\"";
|
||||||
|
$IgnoreRenderstyle = "//$IgnoreRenderstyle";
|
||||||
$Title = "//$Title \"[EP]\"";
|
$Title = "//$Title \"[EP]\"";
|
||||||
$Arg0 = "//$Arg0 \"[EP]\"";
|
$Arg0 = "//$Arg0 \"[EP]\"";
|
||||||
$Arg1 = "//$Arg1 \"[EP]\"";
|
$Arg1 = "//$Arg1 \"[EP]\"";
|
||||||
|
|
|
@ -31,6 +31,9 @@
|
||||||
<strong>//$Title <title></strong><br />
|
<strong>//$Title <title></strong><br />
|
||||||
Specifies which name to give to the actor. By default, a custom actor not identified in a configuration file will use the Tag property, and if not present, will default to the class name.<br />
|
Specifies which name to give to the actor. By default, a custom actor not identified in a configuration file will use the Tag property, and if not present, will default to the class name.<br />
|
||||||
<br />
|
<br />
|
||||||
|
<strong>//$IgnoreRenderstyle</strong> - <span class="red">GZDB only</span>.<br />
|
||||||
|
"RenderStyle" DECORATE property will be ignored by the editor. Helpful when you want to see the sprite of an invivsible actor in Visual mode.<br />
|
||||||
|
<br />
|
||||||
<strong><a name="argtitle" id="argtitle"></a>//$ArgN <name></strong> - <span class="red">GZDB only</span>.<br />
|
<strong><a name="argtitle" id="argtitle"></a>//$ArgN <name></strong> - <span class="red">GZDB only</span>.<br />
|
||||||
Allows to override default argument names for this actor.<br />
|
Allows to override default argument names for this actor.<br />
|
||||||
<br />
|
<br />
|
||||||
|
@ -87,6 +90,7 @@ Actor ChexShield : ResistanceRune replaces ResistanceRune 5104
|
||||||
{
|
{
|
||||||
//$Category "Pickups/Chex Powerups"
|
//$Category "Pickups/Chex Powerups"
|
||||||
//$Sprite ARMXA0
|
//$Sprite ARMXA0
|
||||||
|
//$IgnoreRenderstyle
|
||||||
//$Title "Chex Shield"
|
//$Title "Chex Shield"
|
||||||
//$Color 12
|
//$Color 12
|
||||||
//$NotAngled
|
//$NotAngled
|
||||||
|
@ -115,6 +119,7 @@ Actor ChexShield : ResistanceRune replaces ResistanceRune 5104
|
||||||
|
|
||||||
Height 44
|
Height 44
|
||||||
Radius 26
|
Radius 26
|
||||||
|
RenderStyle None
|
||||||
Inventory.PickupMessage "Picked up the energized Chex armor!"
|
Inventory.PickupMessage "Picked up the energized Chex armor!"
|
||||||
|
|
||||||
States
|
States
|
||||||
|
|
|
@ -461,7 +461,8 @@ namespace CodeImp.DoomBuilder.Config
|
||||||
if(actor.HasPropertyWithValue("height")) height = actor.GetPropertyValueInt("height", 0);
|
if(actor.HasPropertyWithValue("height")) height = actor.GetPropertyValueInt("height", 0);
|
||||||
|
|
||||||
//mxd. Renderstyle
|
//mxd. Renderstyle
|
||||||
if(actor.HasPropertyWithValue("renderstyle")) renderstyle = actor.GetPropertyValueString("renderstyle", 0).ToLower();
|
if(actor.HasPropertyWithValue("renderstyle") && !actor.HasProperty("$ignorerenderstyle"))
|
||||||
|
renderstyle = actor.GetPropertyValueString("renderstyle", 0).ToLower();
|
||||||
|
|
||||||
//mxd. Alpha
|
//mxd. Alpha
|
||||||
if(actor.HasPropertyWithValue("alpha"))
|
if(actor.HasPropertyWithValue("alpha"))
|
||||||
|
|
Loading…
Reference in a new issue