Garry's Mod

Garry's Mod

67 个评价
[Wiremod]Expression2 halos
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 建筑, 快乐
文件大小
发表于
更新日期
2.193 KB
2017 年 3 月 31 日 下午 5:36
2017 年 9 月 25 日 下午 2:29
3 项改动说明 ( 查看 )

订阅以下载
[Wiremod]Expression2 halos

描述
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.
热门讨论 查看全部(1)
3
2017 年 9 月 25 日 下午 2:39
置顶: Question to the users of this addon
OUIIJM GUIITPS
3 条留言
mimi 2018 年 8 月 26 日 上午 3:51 
?modwire 2pressionex
OUIIJM GUIITPS  [作者] 2017 年 4 月 7 日 下午 9:20 
Yes, wiremod expression2
剣聖 [Sabo] 2017 年 4 月 7 日 上午 11:39 
wiremod?