|
|
(6 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| {{DISPLAYTITLE:User Interface Kit – Monolith (Preview of Entity page)}} | | {{delete|reason=unwanted}} |
| <div class="infobox" style="max-width:280px; width:100%; box-shadow:0 0 2px rgba(0 0 0 / 60%); background-color:rgb(45 45 45); border:1px solid rgb(65 90 40); border-radius:3px; overflow:hidden; clear:both; position:relative; float:right; margin:0 0 1em 1em">
| |
| <div style="background-image:linear-gradient(45deg, rgb(85 110 60), rgb(65 90 40)); text-align:center; text-shadow:1px 1px 0 rgb(0 0 0 / 40%); font-family:monospace; font-size:1.75em; font-weight:900; color:rgb(255 255 255 / 85%); padding:.3em .4em"> env_fade </div>
| |
| | |
| <div style="display:flex; flex-wrap:wrap; justify-content:center; align-items:center; background-color:rgb(0 0 0 / 40%); padding:1em"> [[File:env_fade.png|64px|The env_fade icon is used in all Source engine games.]] </div>
| |
| | |
| <div style="text-align:center; padding:.2em .4em"> The '''env_fade''' icon is used in all [[Source]] engine games. </div>
| |
| | |
| <div style="padding:0 .5em .5em .5em"> <div style="display:flex; flex-direction:column; gap:.2em; border-radius:2px; overflow:hidden">
| |
| <div style="display:flex">
| |
| <div style="width:90px; background-color:rgb(255 255 255 / 10%); color:rgb(255 255 255 / 80%); padding:.2em .5em">Type</div>
| |
| <div style="width:100%; background-color:rgb(255 255 255 / 5%); padding:.2em .5em">[[Point entity|Point entity]]</div>
| |
| </div>
| |
| | |
| <div style="display:flex">
| |
| <div style="width:90px; background-color:rgb(255 255 255 / 10%); color:rgb(255 255 255 / 80%); padding:.2em .5em">Category</div>
| |
| <div style="width:100%; background-color:rgb(255 255 255 / 5%); padding:.2em .5em">[[Main Page|Environment entities]]</div>
| |
| </div>
| |
| | |
| <div style="display:flex">
| |
| <div style="width:90px; background-color:rgb(255 255 255 / 10%); color:rgb(255 255 255 / 80%); padding:.2em .5em">Engine</div>
| |
| <div style="width:100%; background-color:rgb(255 255 255 / 5%); padding:.2em .5em">{{Source|4}}</div>
| |
| </div>
| |
| | |
| <div style="display:flex">
| |
| <div style="width:90px; background-color:rgb(255 255 255 / 10%); color:rgb(255 255 255 / 80%); padding:.2em .5em">Availability</div>
| |
| <div style="width:100%; background-color:rgb(255 255 255 / 5%); padding:.2em .5em">In all games</div>
| |
| </div>
| |
| </div> </div>
| |
| </div>
| |
| | |
| <div style="max-width:280px; width:100%; box-shadow:0 0 2px rgba(0 0 0 / 60%); background-color:rgb(45 45 45); border:1px solid rgb(65 90 40); border-radius:3px; overflow:hidden; clear:both; position:relative; float:right; margin:0 0 1em 1em">
| |
| <div style="background-image:linear-gradient(45deg, rgb(85 110 60), rgb(65 90 40)); text-align:center; text-shadow:1px 1px 0 rgb(0 0 0 / 40%); font-size:1.15em;color:rgb(255 255 255 / 85%); padding:.3em .4em"> [[File:cpp-16px.png|link=wp:C++]] class hierarchy </div>
| |
| | |
| <div style="padding:0 .5em .5em .5em"> <div style="display:flex; flex-direction:column; gap:.2em; border-radius:2px; overflow:hidden">
| |
| | |
| [[CEnvFade]] defined in [[File:cpp-16px.png|link=wp:C++]] ''EnvFade.cpp''
| |
| | |
| ↳ [[CLogicalEntity]]
| |
| | |
| ↳ [[CServerOnlyEntity]]
| |
| | |
| ↳ [[CBaseEntity]]
| |
| </div> </div>
| |
| </div>
| |
| | |
| {{Code|env_fade}} is a [[point entity]] available in all {{Source|4}} games. It controls screen fades to or from a solid color. Add Duration and Hold Time together for the total time this entity will be in effect.
| |
| | |
| __TOC__
| |
| | |
| == Keyvalues ==
| |
| | |
| == Inputs ==
| |
| {{:User:THE OWL/Sandbox/Templates/OIF
| |
| | |
| | target = Inputs
| |
| | |
| | item 1 = Fade
| |
| | item 1 desc = Start the screen fade.
| |
| | |
| | item 2 = FadeReverse
| |
| | item 2 desc = Begin doing the reverse of the current fade. | |
| | |
| | item 3 = Alpha
| |
| | item 3 desc = Changes '''Fade Alpha'''.
| |
| | |
| | item 4 = OnMapTransition
| |
| | item 4 desc = Changes '''Fade Color'''.
| |
| | |
| }} | |
| | |
| == Outputs ==
| |
| {{:User:THE OWL/Sandbox/Templates/OIF
| |
| | |
| | target = Outputs
| |
| | |
| | item 1 = OnBeginFade
| |
| | item 1 desc = Fired when the fade has begun.
| |
| | |
| }}
| |
| | |
| == Flags ==
| |
| | |
| == ConCommands ==
| |