Entity Data
CBaseModelEntity
entity datadesigner name: basemodelentity
Parent Classes
Members (35)
rendercolor:color32
renderfx:float64
rendermode:float64
rendertocubemaps:boolean
expand_render_bounds_to_include_cloth:boolean
NoInterpolate:boolean
:embedded
glowbackfacemult:float
fademindist:float
fademaxdist:float
fadescale:float
object_culling:float64
:hscript
add_attribute
view_ofs:int
:color32
rendercolor32
:int
renderamt
:vector
mins
:vector
maxs
:hscript
skin
:hscript
bodygroups
destructible_part_initial_state_destructed_1:int
destructible_part_initial_state_destructed_2:int
destructible_part_initial_state_destructed_3:int
destructible_part_initial_state_destructed_4:int
destructible_part_initial_state_destructed_5:int
destructible_part_initial_state_destructed_1_part_index:int
destructible_part_initial_state_destructed_2_part_index:int
destructible_part_initial_state_destructed_3_part_index:int
destructible_part_initial_state_destructed_4_part_index:int
destructible_part_initial_state_destructed_5_part_index:int
destructible_part_initial_state_destructed_1_generate_breakpieces:boolean
destructible_part_initial_state_destructed_2_generate_breakpieces:boolean
destructible_part_initial_state_destructed_3_generate_breakpieces:boolean
destructible_part_initial_state_destructed_4_generate_breakpieces:boolean
destructible_part_initial_state_destructed_5_generate_breakpieces:boolean
Inputs (22)
GetModelScale() -> float
raw: GetModelScale
Get scale of entity's model.
SetModelScale(float) -> void
raw: Script_SetModelScale
Set scale of entity's model.
ScriptLookupAttachment(cstring) -> int
raw: ScriptLookupAttachment
Get the named attachment id.
GetAttachmentOrigin(int) -> position_vector
raw: ScriptGetAttachmentOrigin
Get the attachment id's origin vector.
GetAttachmentAngles(int) -> vector
raw: ScriptGetAttachmentAngles
Get the attachment id's angles as a p,y,r vector.
GetAttachmentForward(int) -> vector
raw: ScriptGetAttachmentForward
Get the attachment id's forward vector.
SetSize(vector, vector) -> void
raw: ScriptSetSize
SetModel(cstring) -> void
raw: ScriptSetModel
GetRenderAlpha() -> int
raw: ScriptGetRenderAlpha
GetRenderAlpha(): Get the alpha modulation of this entity.
SetRenderAlpha(int) -> void
raw: ScriptSetRenderAlpha
SetRenderAlpha( int ): Set the alpha modulation of this entity.
SetRenderMode(int) -> void
raw: ScriptSetRenderMode
SetRenderMode( int ): Sets the render mode of the entity.
SetRenderColor(int, int, int) -> void
raw: ScriptSetRenderColor
SetRenderColor( r, g, b ): Sets the render color of the entity.
GetRenderColor() -> vector
raw: ScriptGetRenderColor
GetRenderColor(): Get the render color of the entity.
SetMaterialGroup(cstring) -> void
raw: ScriptSetMaterialGroup
SetMaterialGroup( string ): Set the material group of this entity.
SetMaterialGroupHash(uint32) -> void
raw: ScriptSetMaterialGroupHash
SetMaterialGroupHash( uint32 ): Set the material group hash of this entity.
GetMaterialGroupHash() -> uint32
raw: ScriptGetMaterialGroupHash
GetMaterialGroupHash(): Get the material group hash of this entity.
SetSingleMeshGroup(cstring) -> void
raw: ScriptSetSingleMeshGroup
SetSingleMeshGroup( string ): Set a single mesh group for this entity.
SetMaterialGroupMask(uint64) -> void
raw: ScriptSetMeshGroupMask
SetMaterialGroupMask( uint64 ): Set the mesh group mask of this entity.
GetMaterialGroupMask() -> uint64
raw: ScriptGetMeshGroupMask
GetMaterialGroupMask(): Get the mesh group mask of this entity.
SetBodygroupByName(cstring, int) -> void
raw: ScriptSetBodygroupByName
Sets a bodygroup by name.
SetBodygroup(int, int) -> void
raw: Script_SetBodygroup
Sets a bodygroup.
SetSkin(int) -> void
raw: Script_SetSkin
Set skin (int).
Outputs (1)
OnIgnite
Think Functions (10)
CBaseModelEntityProcessSceneEventsThink
CBaseModelEntitySUB_DissolveIfUncarried
CBaseModelEntitySUB_FadeOut
CBaseModelEntitySUB_PerformShadowFadeIn
CBaseModelEntitySUB_PerformShadowFadeOut
CBaseModelEntitySUB_StartFadeOut
CBaseModelEntitySUB_StartFadeOutInstant
CBaseModelEntitySUB_StartShadowFadeIn
CBaseModelEntitySUB_StartShadowFadeOut
CBaseModelEntitySUB_StopShadowFade