Logic achievement: Difference between revisions
Jump to navigation
Jump to search


Note:In fact, it is still possible to create your own achievements that does not rely on Steam, but are fully functional within the in-game achievement system.
Example:
Black Mesa (original 2012 Mod version)
No edit summary |
(-added class hierarchy, cleanup) |
||
Line 1: | Line 1: | ||
{{LanguageBar}} | {{LanguageBar}} | ||
{{ | {{Ent not in fgd}} | ||
{{ | {{CD|CLogicAchievement|file1=1}} | ||
{{This is a|point entity|name=logic_achievement|game=Half-Life 2 series|game1=Portal series|sprite=1}} {{not|{{hl2dm}}}} | |||
It fires events that unlock or aid progression toward achievements. | It fires events that unlock or aid progression toward achievements. | ||
Since achievements cannot currently be created or modified without access to the [[Steamworks]] backend, this entity is of limited use to modders. | Since achievements cannot currently be created or modified without access to the [[Steamworks]] backend, this entity is of limited use to modders. | ||
{{note|In fact, it is still possible to create your own achievements that does not rely on Steam, but are fully functional within the in-game achievement system.<br>Example: {{bms|4}} (original 2012 Mod version)}} | {{note|In fact, it is still possible to create your own achievements that does not rely on Steam, but are fully functional within the in-game achievement system.<br>Example: {{bms|4}} (original 2012 Mod version)}} | ||
==Keyvalues== | == Keyvalues == | ||
{{KV Targetname}} | |||
{{KV|Achievement Event|choices|The event that will be triggered. A game will only accept its own achievements.}} | |||
{{KV EnableDisable}} | {{KV EnableDisable}} | ||
==Inputs== | == Inputs == | ||
{{I|Toggle|If the entity is disabled, it cannot relay the achievement message.}} | |||
{{I|FireEvent|Tells the achievement system the specifed event has occured.}} | |||
{{I EnableDisable}} | {{I EnableDisable}} | ||
== Outputs == | |||
{{O|OnFired|Fires when the <code>FireEvent</code> input is received.}} | |||
Revision as of 00:34, 7 April 2025


![]() |
---|
CLogicAchievement |
![]() |

logic_achievement
is a point entity available in Half-Life 2 series and
Portal series. (not in
)
It fires events that unlock or aid progression toward achievements.
Since achievements cannot currently be created or modified without access to the Steamworks backend, this entity is of limited use to modders.

Example:

Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Achievement Event ([todo internal name (i)]) <choices>
- The event that will be triggered. A game will only accept its own achievements.
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).
Inputs
- Toggle
- If the entity is disabled, it cannot relay the achievement message.
- FireEvent
- Tells the achievement system the specifed event has occured.
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Outputs
- OnFired
- Fires when the
FireEvent
input is received.