Garry's Mod

Garry's Mod

67 ratings
[Wiremod]Expression2 halos
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun
File Size
Posted
Updated
2.193 KB
31 Mar, 2017 @ 5:36pm
25 Sep, 2017 @ 2:29pm
3 Change Notes ( view )

Subscribe to download
[Wiremod]Expression2 halos

Description
I did not create this, all I did was update the code to work with the current verison of Gmod and Wiremod.

If there are any errors or issues comment them below!

ORIGINAL DESCRIPTION:
"This is an extension for Expression 2 code in "wiremod" so of course you need wiremod for this to work.

What this will do is allow you to apply a halo effect to an entity in the map using the commands:

E = (any entity you want)

--Sets the size of the halo
E:setHaloSize(N)

--Sets if the halo will be additive
E:setHaloAdd( 1 or 0 )

--Sets the Color of the halo
E:setHaloColor(N, N, N)

--Sets the transparency of the halo
E:setHaloAlpha(N)

--Sets the pass count for the halo (higher numbers give a thicker look but cause more lag)
E:setHaloPasses(N)

--Sets if the halo should be rendered through walls
E:setHaloZDepth( 1 or 0 )

--Turns the halo on or off
E:setHaloEnabled( 1 or 0)





You can also do all of the abouve in one line like this:

E:setHalo( red, green, blue, alpha, size, passes, additive, throughwall)


And you can use "get" versions of all these commands on any entity that has a halo!"

UPDATE:

You can now use vectors for the color options.
Popular Discussions View All (1)
3
25 Sep, 2017 @ 2:39pm
PINNED: Question to the users of this addon
OUIIJM GUIITPS
3 Comments
mimi 26 Aug, 2018 @ 3:51am 
?modwire 2pressionex
OUIIJM GUIITPS  [author] 7 Apr, 2017 @ 9:20pm 
Yes, wiremod expression2
剣聖 [Sabo] 7 Apr, 2017 @ 11:39am 
wiremod?