prop_coreball

From Valve Developer Community
Jump to: navigation, search
English (en)Translate (Translate)
Class hierarchy
CPropScalable
CBaseAnimating
CBaseEntity
prop_scalable.cpp

prop_coreball is a point entity available in Half-Life 2: Episode One Half-Life 2: Episode One.

prop_coreball overview.
AltNames.pngAltNames: This entity is also tied to prop_scalable. Difference is that this entity forces use of model "models/props_combine/coreball.mdl"

Entity Description

It is a large combine energy core seen in ep1_citadel_03 without collisions.

For the core to be rendered correctly, it must be placed exactly at the (2688, 12139, 5170) location, as this value is hard-coded in the Core shader for normal vector computation.

Note.pngNote:This is fixed in Portal 2: Community Edition

This entity evolved into prop_scalable in Half-Life 2: Episode Two Half-Life 2: Episode Two . As of the Orange Box, prop_coreball is deprecated as an alias for prop_scalable, which uses the core ball model by default. Use prop_scalable if you would like to use the scaling inputs below with other models.

Keyvalues

Name (targetname) <string>
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

Inputs

SetScaleX <vector>
Scales the coreball in X Axis. Format: <New Size> <Time>
SetScaleY <vector>
Scales the coreball in Y Axis. Format: <New Size> <Time>
SetScaleY <vector>
Scales the coreball in Z Axis. Format: <New Size> <Time>

See Also