Prop scalable: Difference between revisions
Jump to navigation
Jump to search

In code, it is represented by the
Note:Changing the size is not able via variables (e.g., math_counter). You can set the different sizes in a logic_case to get a near-blend between different sizes.
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
Thunder4ik (talk | contribs) m (→top: clean up, added underlinked tag) |
||
Line 1: | Line 1: | ||
{{Underlinked|date=January 2024}} | |||
<!-- When this page is updated to {{langsp}} or {{language subpage}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang|Prop scalable}}{{this is a|name=prop_scalable|game=Half-Life 2: Episode Two|e0}} It creates a non-solid model that can be resized dynamically via [[#Inputs|inputs]]. It is used for the "superportal" effects at the beginning and end of the game. This entity is the successor of {{ent|prop_coreball}} from {{Game link|Half-Life 2: Episode One}}. | <!-- When this page is updated to {{langsp}} or {{language subpage}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang|Prop scalable}}{{this is a|name=prop_scalable|game=Half-Life 2: Episode Two|e0}} It creates a non-solid model that can be resized dynamically via [[#Inputs|inputs]]. It is used for the "superportal" effects at the beginning and end of the game. This entity is the successor of {{ent|prop_coreball}} from {{Game link|Half-Life 2: Episode One}}. | ||
Revision as of 02:39, 6 January 2024

This article needs more
links to other articles to help
integrate it into the encyclopedia. Please help improve this article by adding links
that are relevant to the context within the existing text.
January 2024



January 2024


prop_scalable
is an e0 available in Half-Life 2: Episode Two. It creates a non-solid model that can be resized dynamically via inputs. It is used for the "superportal" effects at the beginning and end of the game. This entity is the successor of prop_coreball from
Half-Life 2: Episode One .

CPropScalable
class, defined in theprop_scalable.cpp
file.
Keyvalues
Inputs
- SetScaleX <vector >
- SetScaleY <vector >
- SetScaleZ <vector >
- Scales the model (local axes). Accepts either
newscale timespan
ornewscale
, where "newscale" is a float that sets the new scale of the prop, and "timespan" is an integer number of seconds over which the size change happens. If no timespan is specified, the changes apply immediately.
