Skip to content
Divran edited this page Aug 4, 2020 · 5 revisions

Table of Contents


Hologram

Entity = holoCreate(Number Index, Vector Position, Vector Scale, Angle Ang, Vector Color)

Index, Position, Scale, Angle, Color (RGB), Model Creates a new hologram entity (30 ops)

Entity = holoCreate(Number Index, Vector Position, Vector Scale, Angle Ang, Vector4 Color)

Index, Position, Scale, Angle, Color (RGBA), Model Creates a new hologram entity (30 ops)

Entity = holoCreate(Number Index, Vector Position, Vector Scale, Angle Ang)

Index, Position, Scale, Angle, Color (RGB) Creates a new hologram entity (30 ops)

Entity = holoCreate(Number Index, Vector Position, Vector Scale, Angle Ang, Vector4 Color)

Index, Position, Scale, Angle, Color (RGBA) Creates a new hologram entity (30 ops)

Entity = holoCreate(Number Index, Vector Position, Vector Scale)

Index, Position, Scale, Angle Creates a new hologram entity (30 ops)

Entity = holoCreate(Number Index, Vector Position)

Index, Position, Scale Creates a new hologram entity (30 ops)

Entity = holoCreate(Number Index)

Index, Position Creates a new hologram entity (30 ops)

Entity = holoCreate(Number Index)

Index Creates a new hologram entity (30 ops)

holoDelete(Number Index)

Removes a hologram (20 ops)

holoDeleteAll()

Removes all holograms made by this E2 (20 ops)

holoDeleteAll(Number All)

(20 ops)

holoReset(Number Index, String Model, Vector Scale, Vector Color)

Similar to holoCreate, but reusing the old entity (20 ops)

Number = holoCanCreate()

Returns 1 when holoCreate() will successfully create a new hologram until the Max limit is reached Replaces holoRemainingSpawns() (2 ops)

Number = holoRemainingSpawns()

Returns how many holograms can be created this execution (2 ops)

Number = holoAmount()

(2 ops)

Number = holoMaxAmount()

(2 ops)

holoScale(Number Index)

Sets the scale of the given hologram, as a multiplier (15 ops)

Vector = holoScale(Number Index)

Returns the scale of the given hologram (15 ops)

holoScaleUnits(Number Index)

Sets the scale of the given hologram, in source units (15 ops)

Vector = holoScaleUnits(Number Index)

Returns the scale of the given hologram in source units (15 ops)

holoBoneScale(Number Index, Number Boneindex)

Sets the scale of the given hologram bone, as a multiplier (15 ops)

holoBoneScale(Number Index, String Bone)

Sets the scale of the given hologram named bone, as a multiplier (15 ops)

Vector = holoBoneScale(Number Index)

Returns the scale of the given hologram bone (15 ops)

Vector = holoBoneScale(Number Index)

Returns the scale of the given hologram named bone (15 ops)

Number = holoClipsAvailable()

Returns the maximum number of clipping planes allowed per hologram (1 ops)

holoClipEnabled(Number Index)

Enables / disables clipping for a hologram with specified index (15 ops)

holoClipEnabled(Number Index, Number Clipidx)

Enables / disables clipping for a hologram with specified index. Clip index is for use with multiple clipping planes (15 ops)

holoClip(Number Index, Vector Origin, Vector Normal)

Defines a plane used to clip a hologram specified by it's position, direction and number 1/0 whether the position should be global or local to the hologram (15 ops)

holoClip(Number Index, Number Clipidx, Vector Origin, Vector Normal)

Defines a plane used to clip a hologram specified by it's index, position, direction and number 1/0 whether the position should be global or local to the hologram (15 ops)

holoClip(Number Index, Vector Origin, Vector Normal)

Defines a plane used to clip a hologram specified by it's position, and direction local to the given entity (15 ops)

holoClip(Number Index, Number Clipidx, Vector Origin, Vector Normal)

Defines a plane used to clip a hologram specified by it's index, position, and direction local to the given entity (15 ops)

holoPos(Number Index)

Sets the position of the hologram (15 ops)

holoAng(Number Index)

Sets the angle of the hologram (15 ops)

holoColor(Number Index)

Sets the color of the hologram (15 ops)

holoColor(Number Index, Vector4 Color)

Sets the color and alpha of the hologram (15 ops)

holoColor(Number Index, Vector Color)

Sets the color and alpha of the hologram (15 ops)

holoAlpha(Number Index)

Sets the transparency (0-255) of the hologram (15 ops)

holoShadow(Number Index)

Enables the hologram's shadow (10 ops)

holoDisableShading(Number Index)

If 1, supresses engine lighting when drawing this hologram (10 ops)

Array = holoModelList()

Returns the list of valid models See holoModelAny() (10 ops)

Number = holoModelAny()

Returns 1 if models outside of holoModelList can be used. Reads convar 'wire_holograms_modelany' (1 ops)

holoModel(Number Index)

Sets the model. Must be from holoModelList unless wire_holograms_modelany is 1 (see holoModelAny()) (10 ops)

holoModel(Number Index, String Model)

Sets the model and skin. Must be from holoModelList unless wire_holograms_modelany is 1 (see holoModelAny()) (10 ops)

holoSkin(Number Index)

Changes the skin of a hologram (10 ops)

holoMaterial(Number Index)

Sets the overlay material of the hologram (10 ops)

holoPlayerColor(Number Index)

Sets the sub-color of a hologram with player model such as clothes or physgun (10 ops)

holoRenderFX(Number Index)

Changes the RenderFX for a hologram (10 ops)

holoBodygroup(Number Index, Number Bgrp_id)

Index, Group ID, Group SubID Sets the bodygroups of the given hologram (10 ops)

Number = holoBodygroups(Number Index)

Index, Group ID Returns the number of bodygroups in the Group ID of the given hologram (10 ops)

holoVisible(Number Index, Entity Ply)

If 0, prevents a specific player from seeing the hologram (10 ops)

holoVisible(Number Index, Array Players)

If 0, prevents an array of players from seeing the hologram (10 ops)

holoParent(Number Index)

Parents the hologram to another hologram (40 ops)

holoParent(Number Index)

Parents the hologram to an entity (40 ops)

holoParentAttachment(Number Index, Entity Ent)

Parents the hologram to an entity's bone by its attachment name (40 ops)

holoUnparent(Number Index)

Un-parents the hologram (40 ops)

Entity = holoEntity(Number Index)

Returns the entity corresponding to the hologram given by the specified index (2 ops)

Number = holoIndex(Entity Ent)

Returns the index of the given hologram entity (30 ops)

Expression 2 ⚙️

Getting Started 🕊

Guides 🎓

Tools 🛠️

Click To Expand

Advanced

Beacon 💡

Control 🎛️

Data 💿

Detection 👀

Display 💻

Render 🖌

I/O 🔌

Physics 🚀

Utilities 🛠️

RFID 💳

Wireless 🛜

Gates 🚥

Click To Expand

TBD

Extras 🔭

Clone this wiki locally