Prop coreball: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Nesciuse moved page Prop coreball/en to Prop coreball without leaving a redirect: Move en subpage to basepage)
(-added class hierarchy, cleanup)
Line 1: Line 1:
{{LanguageBar}}
{{LanguageBar}}
{{CD|CPropScalable|file1=1}}
{{this is a|point entity|name=prop_coreball|game=Half-Life 2: Episode One}}
{{this is a|point entity|name=prop_coreball|game=Half-Life 2: Episode One}}
[[File:prop_coreball.jpg|thumb|right|200px|prop_coreball overview.]]
[[File:prop_coreball.jpg|thumb|right|200px|prop_coreball overview.]]
{{AltNames|name1=prop_scalable|misc=Difference is that this entity forces use of model <code>"models/props_combine/coreball.mdl"</code>}}
__NOTOC__
==Entity Description==
==Entity Description==
It is a large combine energy core seen in <code>ep1_citadel_03</code> without collisions.
It is a large combine energy core seen in <code>ep1_citadel_03</code> without collisions.
Line 12: Line 15:


==Keyvalues==
==Keyvalues==
{{KV BaseEntity|base=1}}
{{KV Targetname}}
 
==Inputs==
==Inputs==
{{I BaseEntity|base=1}}
{{IO|SetScaleX|Scales the coreball in X Axis. Format: <code><nowiki><New Size> <Time></nowiki></code>|param=vector}}
{{IO|SetScaleX|Scales the coreball in X Axis. Format: <code><nowiki><New Size> <Time></nowiki></code>|param=vector}}
{{IO|SetScaleY|Scales the coreball in Y Axis. Format: <code><nowiki><New Size> <Time></nowiki></code>|param=vector}}
{{IO|SetScaleY|Scales the coreball in Y Axis. Format: <code><nowiki><New Size> <Time></nowiki></code>|param=vector}}
{{IO|SetScaleY|Scales the coreball in Z Axis. Format: <code><nowiki><New Size> <Time></nowiki></code>|param=vector}}
{{IO|SetScaleY|Scales the coreball in Z Axis. Format: <code><nowiki><New Size> <Time></nowiki></code>|param=vector}}


==Outputs==
== See Also ==
{{O BaseEntity}}
* {{ent|prop_scalable}}
[[Category:Half-Life 2: Episode One Entities]]

Revision as of 15:18, 21 July 2024

English (en)Translate (Translate)
C++ Class hierarchy
CPropScalable
CBaseAnimating
CBaseEntity
C++ 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>[ 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

Inputs

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

See Also