Wait, how is changing the material messy? Just saying. Anyways, I'll be just as happy if they release a wired material changer.
I suggest that if anyone does make a cloaking field (oh, actually I just remembered that Stargate already has one), that it would use the RenderFX feature instead of changing the material - since changing the material is often messy - in combination with changing the alpha. The RenderFX are also in number format (always easier to deal with) and can be found here, and the function to change it can be found here.
Jeremydeath's Wire Addons - Try Them... NOW!
Wait, how is changing the material messy? Just saying. Anyways, I'll be just as happy if they release a wired material changer.
you can already change materials with Expression2
"It's easy to win forgiveness for being wrong; being right is what gets you into real trouble." - Bjarne Stroustrup
Lífið læðist lúmskt áfram
But, I am an expressions noob
So, can you show me how it's done?
paste that into the editor and spawn the chip on the entity you want to change.E2 Code:
@inputs Material:string entity():isWeldedTo():setMaterial(Material)
Last edited by TomyLobo; 06-14-2009 at 10:06 PM.
"It's easy to win forgiveness for being wrong; being right is what gets you into real trouble." - Bjarne Stroustrup
Lífið læðist lúmskt áfram
Need to declare Material as a string.
(\__/) <- Put this bunny in your sig and help him to rule the world!
(='.'=) PM me code and I'll send it back optimized if possible. (I find it fun dammit!)
(")_(") Expression Gate 2 Wiki Help us update the wiki! Together we can make it more up to date than the SVN! ...
fixed, thanks
Last edited by TomyLobo; 06-14-2009 at 10:16 PM.
"It's easy to win forgiveness for being wrong; being right is what gets you into real trouble." - Bjarne Stroustrup
Lífið læðist lúmskt áfram
its very nice i like those attraction field and flame field the electro magnatic field is nice also but it is just giving a value to and wire item withing a range? isnt it
what?
thread necromancy btw...
"It's easy to win forgiveness for being wrong; being right is what gets you into real trouble." - Bjarne Stroustrup
Lífið læðist lúmskt áfram
Atleast not much is posted in this subforum; threads are only a month old half way down the page.
(\__/) <- Put this bunny in your sig and help him to rule the world!
(='.'=) PM me code and I'll send it back optimized if possible. (I find it fun dammit!)
(")_(") Expression Gate 2 Wiki Help us update the wiki! Together we can make it more up to date than the SVN! ...
Bookmarks