Prop coreball: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Classifying as model entity)
 
(22 intermediate revisions by 15 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:prop_coreball}}
{{LanguageBar}}
{{CD|CPropScalable|file1=1}}
{{this is a|model entity|name=prop_coreball|game=Half-Life 2: Episode One}}
[[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==
It is a large combine energy core seen in <code>ep1_citadel_03</code> without collisions.


{{stub}}
For the core to be rendered correctly, it must be placed exactly at the <code>(2688, 12139, 5170)</code> location, as this value is hard-coded in the <code>[[Core_(shader)|Core]]</code> shader for normal vector computation.


==Entity Description==
{{note|This is fixed in {{P2CE}} and {{Mapbase}}}}
[[Image:prop_coreball.jpg|thumb|right|200px|prop_coreball overview.]]
{{hl2ep1 point|env_citadel_energy_core}}


It's a big ball without collisions and any physical properties.
This entity evolved into {{ent|prop_scalable}} in {{Game link|Half-Life 2: Episode Two}}. As of the [[Orange Box]], <code>prop_coreball</code> is deprecated as an alias for <code>prop_scalable</code>, which uses the core ball model by default. Use <code>prop_scalable</code> if you would like to use the scaling inputs below with other models.


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's shader for normal vector computation.
==Keyvalues==
{{KV Targetname}}


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


*;SetScaleZ <vector> : Scales the coreball in Z Axis. Format: <code><New Size> <Time></code>
== See Also ==
* {{ent|prop_scalable}}


==Outputs==
[[Category:Prop entities|coreball]]
* {{O Targetname}}
[[Category:Half-Life 2: Episode One Entities]]

Latest revision as of 04:33, 19 May 2025

English (en)Translate (Translate)
C++ Class hierarchy
CPropScalable
CBaseAnimating
CBaseEntity
C++ prop_scalable.cpp

prop_coreball is a model 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 and Mapbase

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