toggle func_illusionarys? Created 19 years ago2004-08-24 23:13:07 UTC by SnS CEO SnS CEO

Created 19 years ago2004-08-24 23:13:07 UTC by SnS CEO SnS CEO

Posted 19 years ago2004-08-24 23:13:07 UTC Post #53740
so, im making a map where i need to toggle func_illusionarys on/off. But, so far, no success. Im pretty sure theres a way to do this, however. Any help is appreciated :)
Posted 19 years ago2004-08-25 02:07:53 UTC Post #53762
Use an env_render. When triggered, the properties of the env_render are applied to the entity the env_render targets.
RabidMonkey RabidMonkeymapmapmapfapmap
Posted 19 years ago2004-08-25 14:25:57 UTC Post #53968
never used an env_render b4. So, i would set the func_illusionary's default settings to texture 255 (invisible). then, when i want it to be visible, i have my multimanager trigger the env_render, which changes the fx amount from 255 to, say, 130 (semi-transparent). Right?
Posted 19 years ago2004-08-25 14:27:48 UTC Post #53969
oh, also, is it possible for the env_render to target a multimanager that has 2 different targets within it? would the settings of the env_render get carried through to both of the multimanager's targets, or do i have to use 2 different renders?
Posted 19 years ago2004-08-25 16:53:03 UTC Post #54032
When you "trigger" the func_illusionary, what do you want it to do?

To make it disappear and have no effect? If you use it as water, you won't be able to turn that on and off as env_render can only change Render FX, Render Mode, FX Amount and FX Color.

As 'anonymous' apparently doesn't understand, the mapping question forum is for asking questions about things one doesn't understand, else why ask a question.

To toggle it from visible to invisible and back requires several different logic elements (multimanagers, env_globals, etc.). I can throw together a quick example if you'll let me know what you mean by 'on and off.'
Posted 19 years ago2004-08-25 16:55:39 UTC Post #54036
255 = fully visible. You want rendermode texture, amount 0.

As for the anonymous poster's second point, he is correct.

PS: retriggering of env_renders does not reverse their effects!
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2004-08-25 19:10:30 UTC Post #54076
i answerd both his questions correctly
Strictly speaking, I agree, anonymous. I certainly don't disagree with encouraging the reading of tutorials. However, "correctly" has connotations of manner involved, and that's what I was taking exception to.
you have no idea what you're talking about.
Your statement does nothing to encourage a positive learning experience and sounds like the "rap on the knuckles" response to his question "Is it possible..?"
Posted 19 years ago2004-08-26 03:58:46 UTC Post #54144
I criticise your original first point because people often forget which way round these work.

I think that everyone should read every tutorial when they're starting mapping, as soon as they've made some very simple test maps. I did.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2004-08-26 04:04:10 UTC Post #54148
You have to "read ahead" of what you're capable of, or you won't recognize when you need help or where it is. That's why I read them...
Posted 19 years ago2004-08-26 04:34:20 UTC Post #54153
Anyway, this is no longer a question. If any of you wish to discuss this further, create a thread in either the Site or Stuff forums.

last post

Seventh-Monkey Seventh-MonkeyPretty nifty
You must be logged in to post a response.