Category:UTIL: Difference between revisions
Jump to navigation
Jump to search
Stoopdapoop (talk | contribs) No edit summary |
(Clarity and grammar.) |
||
(20 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{lang|Category:UTIL}} | |||
{{category header|background-color=#E0E0E0|border-color=lightgray}} | {{category header|background-color=#E0E0E0|border-color=lightgray}} | ||
{{category newcolumn|rowspan=99|width=50%|background-color=#F7F7F7|border-color=lightgray}} | {{category newcolumn|rowspan=99|width=50%|background-color=#F7F7F7|border-color=lightgray}} | ||
== UTIL(ities) == | == UTIL(ities) == | ||
The Source Engine | The Source Engine has utility functions, that are commonly prefixed with 'UTIL_', for performing common functions, such as safe removal of objects, trace lines, and precaching assets. | ||
== | == Traces == | ||
* [[ | * [[UTIL_TraceLine]] | ||
* [[ | * [[UTIL_TraceEntity]] | ||
* [[ | * [[UTIL_TraceLineFilterEntity]] | ||
* [[ | * [[UTIL_TraceHull]] | ||
* [[ | * [[UTIL_TraceModel]] | ||
* [[ | * [[UTIL_SetTrace]] | ||
* [[UTIL_ClearTrace]] | |||
* [[UTIL_ClipTraceToPlayers]] | |||
* [[UTIL_TraceRay]] | |||
== Finding Entities in Space == | == Finding Entities in Space == | ||
Line 29: | Line 34: | ||
== Other == | == Other == | ||
* [[UTIL_AddDebugLine]] | |||
* [[ | * [[UTIL_BoundToWorldSize]] | ||
* [[ | * [[UTIL_CheckBottom]] | ||
* [[UTIL_ClipPunchAngleOffset]] | |||
* [[UTIL_ComputeAABBForBounds]] | |||
* [[UTIL_ComputeEntityFade]] | |||
* [[UTIL_ComputerStringWidth]] | |||
* [[UTIL_DecodeICE]] | |||
* [[UTIL_DisableRemoveImmediate]] | |||
* [[UTIL_DistApprox2D]] | |||
* [[UTIL_DistApprox]] | |||
* [[UTIL_DotPoints]] | |||
* [[UTIL_DrawOverlayLines]] | |||
* [[UTIL_DropToFloor]] | * [[UTIL_DropToFloor]] | ||
* [[ | * [[UTIL_EmitAmbientSound]] | ||
* [[ | * [[UTIL_EmitGroupnameSuit]] | ||
* [[ | * [[UTIL_EmitSoundSuit]] | ||
* [[UTIL_EnableRemoveImmediate]] | * [[UTIL_EnableRemoveImmediate]] | ||
* [[UTIL_EntityByIndex]] | * [[UTIL_EntityByIndex]] | ||
* [[ | * [[UTIL_EntityHasMatchingRootParent]] | ||
* [[ | * [[UTIL_EntityInSolid]] | ||
* [[ | * [[UTIL_FindWaterSurface]] | ||
* [[UTIL_FreeFile]] | |||
* [[UTIL_FunctionFromName]] | |||
* [[UTIL_FunctionToName]] | |||
* [[UTIL_GetAchievementEventMask]] | |||
* [[UTIL_GetMapKeyCount]] | |||
* [[UTIL_GetMapLoadCountFileName]] | |||
* [[UTIL_GetModDir]] | |||
* [[UTIL_GetNormalizedColorTintAndLuminosity]] | |||
* [[UTIL_GetSimulationInterval]] | |||
* [[UTIL_IncrementMapKey]] | |||
* [[UTIL_IsFacingWithinTolerance]] | |||
* [[UTIL_IsMasterTriggered]] | |||
* [[UTIL_IsValidEntity]] | |||
* [[UTIL_LoadActivityRemapFile]] | |||
* [[UTIL_LoadAndSpawnEntitiesFromScript]] | |||
* [[UTIL_LoadFileForMe]] | |||
* [[UTIL_LogPrintf]] | |||
* [[UTIL_ParentToWorldSpace]] | |||
* [[UTIL_PointAtEntity]] | |||
* [[UTIL_PointAtNamedEntity]] | |||
* [[UTIL_PointContents]] | |||
* [[UTIL_PointOnLineNearestPoint]] | |||
* [[UTIL_PredictedPosition]] | |||
* [[UTIL_RemoveHeirarchy]] | |||
* [[UTIL_RemoveImmediate]] | |||
* [[UTIL_Remove]] | |||
* [[UTIL_ReplaceKeyBindings]] | |||
* [[UTIL_RestartAmbientSounds]] | |||
* [[UTIL_SayText2Filter]] | |||
* [[UTIL_SayTextAll]] | |||
* [[UTIL_SayTextFilter]] | * [[UTIL_SayTextFilter]] | ||
* [[UTIL_SayText]] | * [[UTIL_SayText]] | ||
* [[ | * [[UTIL_ScaleForGravity]] | ||
* [[UTIL_ShowMessageAll]] | |||
* [[UTIL_ShowMessage]] | * [[UTIL_ShowMessage]] | ||
* [[UTIL_SnapDirectionToAxis]] | * [[UTIL_SnapDirectionToAxis]] | ||
* [[UTIL_StripToken]] | |||
* [[UTIL_TeamsMatch]] | |||
* [[UTIL_TransferPoseParameters]] | |||
* [[UTIL_TranslateSoundName]] | |||
* [[UTIL_ValidateSoundName]] | |||
* [[UTIL_VarArgs]] | * [[UTIL_VarArgs]] | ||
* [[UTIL_WaterLevel]] | * [[UTIL_WaterLevel]] | ||
* [[ | * [[UTIL_WorldToParentSpace]] | ||
* [[WorldToLocalRotation]] | * [[WorldToLocalRotation]] | ||
{{category newcolumn|rowspan=1|width=50%|background-color=#FBF7EA|border-color=#E4DCCD}} | |||
== Precaching == | == Precaching == | ||
* [[UTIL_PrecacheDecal]] | * [[UTIL_PrecacheDecal]] | ||
* [[UTIL_PrecacheOther]] | * [[UTIL_PrecacheOther]] | ||
* [[UTIL_PrecacheOtherGrenade]] | |||
* [[PrecacheModel]] | * [[PrecacheModel]] | ||
* [[PrecacheMaterial]] | * [[PrecacheMaterial]] | ||
Line 110: | Line 121: | ||
* [[PrecacheVGuiScreen]] | * [[PrecacheVGuiScreen]] | ||
* [[PrecacheVGuiScreenOverlayMaterial]] | * [[PrecacheVGuiScreenOverlayMaterial]] | ||
{{category cell|background-color=white|border-color=white}} | {{category cell|background-color=white|border-color=white}} | ||
== | |||
* [[ | == Player == | ||
* [[ | * [[UTIL_ClientPVSIsExpanded]] | ||
* [[ | * [[UTIL_ClientPrintAll]] | ||
* [[ | * [[UTIL_ClientPrintFilter]] | ||
* [[ | * [[UTIL_GetCommandClientIndex]] | ||
* [[ | * [[UTIL_GetCommandClient]] | ||
* [[ | * [[UTIL_GetCurrentCheckClient]] | ||
* [[ | * [[UTIL_GetListenServerHost]] | ||
* [[ | * [[UTIL_GetLocalPlayerOrListenServerHost]] | ||
* [[UTIL_GetLocalPlayer]] | |||
* [[UTIL_GetNewCheckClient]] | |||
* [[UTIL_GetPlayerConnectionInfo]] | |||
* [[UTIL_IsCommandIssuedByServerAdmin]] | |||
* [[UTIL_ItemCanBeTouchedByPlayer]] | |||
* [[UTIL_PlayerByIndex]] | |||
* [[UTIL_PlayerByName]] | |||
* [[UTIL_PlayerByUserId]] | |||
{{category cell|background-color=white|border-color=white}} | |||
== Blood == | |||
* [[UTIL_BloodDecalTrace]] | |||
* [[UTIL_BloodDrips]] | |||
* [[UTIL_BloodImpact]] | |||
* [[UTIL_BloodSpray]] | |||
* [[UTIL_BloodStream]] | |||
* [[UTIL_ShouldShowBlood]] | |||
{{category cell|background-color=white|border-color=white}} | {{category cell|background-color=white|border-color=white}} | ||
== Modifying Angles == | == Modifying Angles == | ||
* [[UTIL_Approach]] | * [[UTIL_Approach]] | ||
Line 133: | Line 164: | ||
{{category cell|background-color=#FBF7EA|border-color=white}} | {{category cell|background-color=#FBF7EA|border-color=white}} | ||
== Utility Effects == | == Utility Effects == | ||
* [[ | * [[UTIL_Beam]] | ||
* [[ | * [[UTIL_BubbleTrail]] | ||
* [[ | * [[UTIL_Bubbles]] | ||
* [[UTIL_GetDebugColorForRelationship]] | |||
* [[UTIL_HudHintText]] | |||
* [[UTIL_HudMessageAll]] | |||
* [[UTIL_HudMessage]] | |||
* [[UTIL_ImpactTrace]] | |||
* [[UTIL_IsLowViolence]] | |||
* [[UTIL_MuzzleFlash]] | |||
* [[UTIL_ParticleTracer]] | |||
* [[UTIL_PlayerDecalTrace]] | |||
* [[UTIL_ScreenFadeAll]] | |||
* [[UTIL_ScreenFadeBuild]] | * [[UTIL_ScreenFadeBuild]] | ||
* [[UTIL_ScreenFadeWrite]] | * [[UTIL_ScreenFadeWrite]] | ||
* [[UTIL_ScreenFade]] | * [[UTIL_ScreenFade]] | ||
* [[ | * [[UTIL_ScreenShakeObject]] | ||
* [[ | * [[UTIL_ScreenShake]] | ||
* [[UTIL_Smoke]] | * [[UTIL_Smoke]] | ||
* [[UTIL_Tracer]] | * [[UTIL_Tracer]] | ||
* [[ | * [[UTIL_ViewPunch]] | ||
== Pitch & Yaw == | == Pitch & Yaw == | ||
* [[UTIL_VecToYaw]] | * [[UTIL_VecToYaw]] | ||
* [[UTIL_VecToPitch]] | * [[UTIL_VecToPitch]] | ||
Line 168: | Line 197: | ||
* [[SharedRandomAngle]] | * [[SharedRandomAngle]] | ||
== String Conversion == | |||
* [[UTIL_AxisStringToPointPoint]] | |||
* [[UTIL_AxisStringToPointDir]] | |||
* [[UTIL_AxisStringToUnitDir]] | |||
* [[UTIL_ColorStringToLinearFloatColor]] | |||
* [[UTIL_StringToColor32]] | |||
* [[UTIL_StringToFloatArray]] | |||
* [[UTIL_StringToIntArray]] | |||
* [[UTIL_StringToVector]] | |||
* [[UTIL_StringFieldToInt]] | |||
{{category end}}__NOTOC__ | |||
[[Category:Programming]] | [[Category:Programming]] | ||
[[Category:Modding]] | [[Category:Modding]] |
Latest revision as of 15:40, 2 November 2021
Pages in category "UTIL"
The following 72 pages are in this category, out of 72 total.
U
- UTIL AngleDiff
- UTIL AngleDistance
- UTIL Approach
- UTIL ApproachAngle
- UTIL Beam
- UTIL BloodDecalTrace
- UTIL BloodDrips
- UTIL BloodImpact
- UTIL BloodSpray
- UTIL BloodStream
- UTIL Bubbles
- UTIL BubbleTrail
- UTIL CheckBottom
- UTIL DecodeICE
- UTIL DropToFloor
- UTIL EntitiesAlongRay
- UTIL EntitiesInBox
- UTIL EntitiesInSphere
- UTIL FreeFile
- UTIL FunctionFromName
- UTIL FunctionToName
- UTIL GetDebugColorForRelationship
- UTIL GetLocalPlayer
- UTIL GetModDir
- UTIL HudHintText
- UTIL HudMessage
- UTIL HudMessageAll
- UTIL ImpactTrace
- UTIL IsLowViolence
- UTIL IsValidEntity
- UTIL LogPrintf
- UTIL MuzzleFlash
- UTIL ParticleTracer
- UTIL PlayerByIndex
- UTIL PlayerDecalTrace
- UTIL Remove
- UTIL ReplaceKeyBindings
- UTIL SafeName
- UTIL SayText
- UTIL SayText2Filter
- UTIL SayTextAll
- UTIL SayTextFilter
- UTIL ScaleForGravity
- UTIL ScreenFade
- UTIL ScreenFadeAll
- UTIL ScreenFadeBuild
- UTIL ScreenFadeWrite
- UTIL ScreenShake
- UTIL ScreenShakeObject
- UTIL SetModel
- UTIL SetOrigin
- UTIL SetSize
- UTIL ShouldShowBlood
- UTIL Smoke
- UTIL StringToColor32
- UTIL StringToFloatArray
- UTIL StringToIntArray
- UTIL StringToVector
- UTIL StripToken
- UTIL TeamsMatch
- UTIL TraceLine
- UTIL Tracer
- UTIL ValidateSoundName
- UTIL VarArgs
- UTIL VecToYaw
- UTIL ViewPunch
- UTIL WaterLevel