Difference between revisions of "Player loadsaved"

From Sven Co-op
Jump to navigation Jump to search
(Created page with "Player_loadsaved is used to restart map after screen fade and custom on-screen message. == Keyvalues == {{Entity_keyvalue|Fade Duration (seconds)|duration|Time, in seconds, t...")
 
Line 4: Line 4:
 
{{Entity_keyvalue|Fade Duration (seconds)|duration|Time, in seconds, the fade effect will fade in.}}
 
{{Entity_keyvalue|Fade Duration (seconds)|duration|Time, in seconds, the fade effect will fade in.}}
 
{{Entity_keyvalue|Hold Fade (seconds)|holdtime|Time, in seconds, the fully faded-in screen will stay.}}
 
{{Entity_keyvalue|Hold Fade (seconds)|holdtime|Time, in seconds, the fully faded-in screen will stay.}}
{{Entity_keyvalue|Fade Alpha|renderamt|Set how transparent/opaque the effect is at its peak (Hold fade). 0 means transparent. 255 means opaque.}}
+
{{Entity_keyvalue|Fade Alpha|renderamt|Set how transparent/opaque the effect is at its peak (Hold fade). <code>0</code> means transparent. <code>255</code> means opaque.}}
{{Entity_keyvalue|FadeColor (R G B)|rendercolor|Fade color to use.}}
+
{{Entity_keyvalue|Fade Color (R G B)|rendercolor|Fade color to use.}}
 
{{Entity_keyvalue|Show Message Delay|messagetime|Delay after triggering this entity to display text.}}
 
{{Entity_keyvalue|Show Message Delay|messagetime|Delay after triggering this entity to display text.}}
 
{{Entity_keyvalue|Message To Display|message|Text to show on screen.}}
 
{{Entity_keyvalue|Message To Display|message|Text to show on screen.}}
{{Entity_keyvalue|Reload Delay|loadtime|Delay after triggering this entity to restart level.<br>Note that this time is not calculated after screen finished fading so by setting this value you should consider fade rutation and hold fade time<br>E.g. fade duration is 2 and hold time is 1.5. Preferable value for reload delay would be 2 + 1.5 = 3.5.}}
+
{{Entity_keyvalue|Reload Delay|loadtime|Delay after triggering this entity to restart level}}. Note that this time is not calculated after screen finished fading so by setting this value you should consider fade duration and hold fade time r.g. fade duration is 2 and hold time is 1.5. Preferable value for reload delay would be <code>2 + 1.5 = 3.5</code>.

Revision as of 16:16, 24 March 2023

Player_loadsaved is used to restart map after screen fade and custom on-screen message.

Keyvalues

Fade Duration (seconds) : duration

Time, in seconds, the fade effect will fade in.

Hold Fade (seconds) : holdtime

Time, in seconds, the fully faded-in screen will stay.

Fade Alpha : renderamt

Set how transparent/opaque the effect is at its peak (Hold fade). 0 means transparent. 255 means opaque.

Fade Color (R G B) : rendercolor

Fade color to use.

Show Message Delay : messagetime

Delay after triggering this entity to display text.

Message To Display : message

Text to show on screen.

Reload Delay : loadtime

Delay after triggering this entity to restart level

. Note that this time is not calculated after screen finished fading so by setting this value you should consider fade duration and hold fade time r.g. fade duration is 2 and hold time is 1.5. Preferable value for reload delay would be 2 + 1.5 = 3.5.