logic_active_autosave
Jump to navigation
Jump to search
Code classes:
CLogicActiveAutosave
CLogicAutosave
CLogicalEntity
CServerOnlyEntity
CBaseEntity
(all ents)
logic_active_autosave
is a point entity present in all Source games. It looks for safe points at which a player can save the game (singleplayer only). Once their health goes below a certain point, the game will automatically save once they're up to a certain amount again. Only useful in since health regenerates so fast in .
Keyvalues[edit | edit source]
- Initiation Hit Points/Minimum Hit Points
(MinimumHitPoints)
<integer>
- If the player's health drops below this much, the entity begins looking for a point to save at.
- Trigger Hit Points
(TriggerHitPoints)
<integer>
- Once the player's health has dropped below Initiation Hit Points, the game will be saved when the player has healed to this amount.
- Time to trigger
(TimeToTrigger)
<float>
- Once the player's health has dropped below Initiation Hit Points, how long to check for a good save point before giving up. If not wanted, leave at 0.
- Important: There's a typo in the FGD!! Open base.fgd, find "
TimeToTrigget
" and replace the lastt
with anr
. - Dangerous time
(DangerousTime)
<integer>
- If not 0, the entity does a dangerous save (see
CLogicAutosave
) with this amount of seconds as the "danger timer".
Inputs[edit | edit source]
- Enable
- Makes the entity active.
- Disable
- Makes the entity inactive.