This article's documentation is for anything that uses the Source engine. Click here for more information.

Point bonusmaps accessor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Replacing {{base point}} with {{this is a}}. This operation was performed by a bot.)
(logical ent, add example todo)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{this is a|point entity|name=point_bonusmaps_accessor}} It relays [[Bonus Maps]] changes.
{{LanguageBar}}
{{CD|CPointBonusMapsAccessor|file1=1}}
{{this is a|logical entity|name=point_bonusmaps_accessor}} It relays [[Bonus Maps]] changes.
{{todo|add example where it's used officially. Probably in portal ?}}


== Keyvalues ==
== Keyvalues ==
{{KV|File Name|string|Link to a .BNS file with values for this map. Relative to mod's root directory.}}
{{KV|Map Name|string|Script entry inside above bns file of the map. {{Note|This is '''NOT''' .bsp file name.}}}}
{{KV Targetname}}
{{KV Targetname}}
{{KV|File Name|intn=filename|string|Link to a .BNS file with values for this map. Relative to mod's root directory.}}
{{KV|Map Name|intn=mapname|string|Script entry inside above bns file of the map. {{Note|This is '''NOT''' .bsp file name.}}}}


== Inputs ==
== Inputs ==
{{IO|Unlock|Unlocks the filename/map combination.}}
{{I|Unlock|Unlocks the filename/map combination.}}
{{IO|Complete|Completes the filename/map combination.}}
{{I|Complete|Completes the filename/map combination.}}
{{IO|Save|Saves bonus map data.}}
{{I|Save|Saves bonus map data.}}
{{I Targetname}}
 
== Outputs ==
{{O Targetname}}

Latest revision as of 07:34, 29 April 2025

English (en)Translate (Translate)
C++ Class hierarchy
CPointBonusMapsAccessor
CPointEntity
CBaseEntity
C++ point_bonusmaps_accessor.cpp

point_bonusmaps_accessor is a logical entity available in all Source Source games. It relays Bonus Maps changes.

Todo: add example where it's used officially. Probably in portal ?

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

File Name (filename) <string>
Link to a .BNS file with values for this map. Relative to mod's root directory.
Map Name (mapname) <string>
Script entry inside above bns file of the map.
Note.pngNote:This is NOT .bsp file name.

Inputs

Unlock
Unlocks the filename/map combination.
Complete
Completes the filename/map combination.
Save
Saves bonus map data.