Prop coreball: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Entity Description: The core must be placed at 2688;12139;5170 for it to be rendered correctly)
Line 4: Line 4:


==Entity Description==
==Entity Description==
This entity used in Half-Life 2 Episode One.
[[Image:prop_coreball.jpg|thumb|right|200px|prop_coreball overview.]]
This entity used in Half-Life 2: Episode One.
 
It's a big ball without collisions, and any physical properties.
It's a big ball without collisions, and any physical properties.
Author's Note: Core Ball has a blurry texture, but in the map ep1_citadel_03 Core Ball has a normal texture.
Also you can change size of the entity (See Inputs).


[[Image:prop_coreball.jpg|thumb|right|200px|prop_coreball overview.]]
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==
==Keyvalues==

Revision as of 00:49, 12 January 2014


Stub

This article or section is a stub. You can help by expanding it.

Entity Description

prop_coreball overview.

This entity used in Half-Life 2: Episode One.

It's a big ball without collisions, and any physical properties.

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

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

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

Inputs

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

Outputs