Template:I visiblebrush: Difference between revisions
Jump to navigation
Jump to search
Kestrelguy (talk | contribs) mNo edit summary |
Kestrelguy (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{lang|Template:I visiblebrush}}[[Category:Input Templates|Visiblebrush]]{{para|portal2|1}} for {{portal2|4}} inputs! {{para|noscroll|1}} to prevent scrolling!</noinclude>{{ScrollBox|title=Visible Brush|noscroll={{{noscroll|}}}| | <noinclude>{{lang|Template:I visiblebrush}}[[Category:Input Templates|Visiblebrush]] | ||
{{IO|Alpha|param=int|Sets the entity's transparency to a number from 0 (invisible) to 255 (fully visible). Requires the entity to have its '''[[Render Mode]] (rendermode)''' set to a number other than <code>0</code>.}} | {{seealso|[[Template:KV visiblebrush]]}} | ||
{{para|portal2|1}} for {{portal2|4}} inputs! {{para|noscroll|1}} to prevent scrolling! | |||
</noinclude>{{ScrollBox|title=Visible Brush|<includeonly>noscroll={{{noscroll|}}}|</includeonly> | |||
{{IO|Alpha|param=int 0-255|Sets the entity's transparency to a number from 0 (invisible) to 255 (fully visible). Requires the entity to have its '''[[Render Mode]] (rendermode)''' set to a number other than <code>0</code>.}} | |||
{{IO|AlternativeSorting|param=bool|Swaps the rendering order of the entity. Used to attempt to fix sorting problems when rendering, for example an object rendering in front of translucent materials.}} | {{IO|AlternativeSorting|param=bool|Swaps the rendering order of the entity. Used to attempt to fix sorting problems when rendering, for example an object rendering in front of translucent materials.}} | ||
{{IO|Color|param=color255|Sets an RGB color for the entity.}} | {{IO|Color|param=color255|Sets an RGB color for the entity.}} | ||
Line 7: | Line 10: | ||
{{IO|DisableDamageForces|Prevents the entity from being pushed by damage done to it.}} | {{IO|DisableDamageForces|Prevents the entity from being pushed by damage done to it.}} | ||
{{IO|EnableShadow|Allows the entity to draw a [[render target]] shadow.}} | {{IO|EnableShadow|Allows the entity to draw a [[render target]] shadow.}} | ||
{{IO|DisableShadow|Prevents the entity from drawing a [[render target]] shadow.}}<!-- | {{IO|DisableShadow|Prevents the entity from drawing a [[render target]] shadow. Identical to applying  {{ent|EF_NOSHADOW}}.}}<!-- | ||
-->{{#if:{{{portal2|}}}|{{IO|EnableDraw|since=P2|Removes {{ent|EF_NODRAW}} from the entity.}} | -->{{#if:{{{portal2|<noinclude>1</noinclude>}}}|{{IO|EnableDraw|since=P2|Removes {{ent|EF_NODRAW}} from the entity.}} | ||
{{IO|DisableDraw|since=P2|Applies {{ent|EF_NODRAW}} to the entity. Note that this is different | {{IO|DisableDraw|since=P2|Applies {{ent|EF_NODRAW}} to the entity. Note that this is different from {{ent|rendermode|10}}.}} | ||
{{IO|EnableReceivingFlashlight|since=P2|Makes it so that the entity is lit by {{ent|env_projectedtexture}}s.}} | {{IO|EnableReceivingFlashlight|since=P2|Makes it so that the entity is lit by {{ent|env_projectedtexture}}s.}} | ||
{{IO|DisableReceivingFlashlight|since=P2|Prevents the entity from being lit by {{ent|env_projectedtexture}}s. The shadow made by the texture will still cast.}} | {{IO|DisableReceivingFlashlight|since=P2|Prevents the entity from being lit by {{ent|env_projectedtexture}}s. The shadow made by the texture will still cast.}} | ||
{{I Reflection}} }} }} | {{I Reflection}} }} }} |
Revision as of 17:24, 24 May 2022
See also: Template:KV visiblebrush
|portal2=1
for Portal 2 inputs!
|noscroll=1
to prevent scrolling!
Visible Brush:
- Alpha <integer 0–255>
- Sets the entity's transparency to a number from 0 (invisible) to 255 (fully visible). Requires the entity to have its Render Mode (rendermode) set to a number other than
0
.
- AlternativeSorting <boolean>
- Swaps the rendering order of the entity. Used to attempt to fix sorting problems when rendering, for example an object rendering in front of translucent materials.
- Color <color255>
- Sets an RGB color for the entity.
- SetDamageFilter <targetname>
- Sets a filter for this entity for when it receives damage.
- EnableDamageForces
- Allows the entity to be pushed by damage done to it (usually force amount correlates with the damage done).
- DisableDamageForces
- Prevents the entity from being pushed by damage done to it.
- EnableShadow
- Allows the entity to draw a render target shadow.
- DisableShadow
- Prevents the entity from drawing a render target shadow. Identical to applying EF_NOSHADOW.
- EnableDraw (in all games since
)
- Removes EF_NODRAW from the entity.
- DisableDraw (in all games since
)
- Applies EF_NODRAW to the entity. Note that this is different from rendermode 10.
- EnableReceivingFlashlight (in all games since
)
- Makes it so that the entity is lit by env_projectedtextures.
- DisableReceivingFlashlight (in all games since
)
- Prevents the entity from being lit by env_projectedtextures. The shadow made by the texture will still cast.
Reflection:
- DisableDrawInFastReflection (in all games since
)
- Turns off rendering of this entity in reflections when using
$reflectonlymarkedentities
in water material.
- EnableDrawInFastReflection (in all games since
)
- Turn on rendering of this entity in reflections when using
$reflectonlymarkedentities
in water material.