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?
[highlight=E2]
@inputs Material:string
entity():isWeldedTo():setMaterial(Material)
[/highlight]
paste that into the editor and spawn the chip on the entity you want to change.
Last edited by TomyLobo; 06-14-2009 at 11: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.
(\__/) Expression 2 Resources: E2 Beginner's Guide | E2 Formatting Guide | E2 Function Reference | E2 Examples | Me
(='.'=) PM me code and I'll send it back optimized if possible. (I find it fun dammit!)
(")_(") Drunkie referring to an E2: "It's obvious that Chinoto made this, his coding style is all over it."
fixed, thanks
Last edited by TomyLobo; 06-14-2009 at 11: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.
(\__/) Expression 2 Resources: E2 Beginner's Guide | E2 Formatting Guide | E2 Function Reference | E2 Examples | Me
(='.'=) PM me code and I'll send it back optimized if possible. (I find it fun dammit!)
(")_(") Drunkie referring to an E2: "It's obvious that Chinoto made this, his coding style is all over it."
Bookmarks