gamophyte on 15/1/2018 at 06:17
I was experimenting with Heat Disks on my torch, using an Emitter setup like SlipTips Fire/Water FX demo (FXDemo.zip (
http://www.ttlg.com/forums/showthread.php?t=138286) thread).
It's been a fun learning experience, but I realized the disks needed to fade out.
I opened up the FXDemo.zip .cow, having read it was a script, I wanted to see how it was applied to the emitting object. Since I have never done any scripting before I also read (
http://dromed.whoopdedo.org/dromed/an_introduction_to_custom_scripts) An Introduction to Scripts.
It seems straightforward. I wanted to test within the same .cow environment that already had NVScript already loaded so I setup a chair. But I can't get it to work?
Inline Image:
https://i.imgur.com/ItEkohH.pngI tried saving a new COW and opening it. Nothing. I feel like I'm missing something basic. I went back and read on thread that ST had a longer design note, ("NVPhantomAlphaMax="1.00"; NVPhantomFadeOff="1500"; NVPhantomTrapOff="BeginScript") but that didn't even work. Sorry if it's something obvious but I've put of script stuff until this point.
Edit: I do have the latest NVScript126.zip, beside the actual smoke objects are fading like normal.
john9818a on 15/1/2018 at 11:44
Are your heat disks objects or particle SFX? I would think the NVPhantomTrap works on objects but not SFX.
gamophyte on 15/1/2018 at 14:17
Quote Posted by john9818a
Are your heat disks objects or particle SFX? I would think the NVPhantomTrap works on objects but not SFX.
It has to be a emitted object with heat disks, the is no particle heat disk.
Also I'm failing at even fading a chair in my screenshot.
Sent from my SM-G920T using Tapatalk
Yandros on 15/1/2018 at 15:13
The second param should be NVPhantomTrapOff="BeginScript", since you want the TurnOff effect (fading out) to begin as soon as it's created.
gamophyte on 15/1/2018 at 15:20
Unless I'm missing your point, the order didn't seem to matter with SlipTip's smoke.
Inline Image:
https://i.imgur.com/wvs4JW1.pngTried rearranging the begin first on chair, but no dice.
LarryG on 15/1/2018 at 16:29
What is the alpha setting on your heat disk object in the Hierarchy? It is possible that NVPhantomTrap will not work if it is not specified explicitly, that is, an explicit alpha value is needed on these objects from which to fade.
gamophyte on 15/1/2018 at 18:03
Quote Posted by LarryG
What is the alpha setting on your heat disk object in the Hierarchy? It is possible that NVPhantomTrap will not work if it is not specified explicitly, that is, an explicit alpha value is needed on these objects from which to fade.
Thanks for sticking with me. I've tried both vanilla and purposely defining alpha 1.00. But from what I read it seems that it calls to the same section in the API and it doesn't matter what value is there before it will still fade from that point.
But I think your thinking is in the right direction. Like, what is it in the properties that can make the smoke object work and the chair not, even within the same COW file loaded?
gamophyte on 15/1/2018 at 21:06
A little progress. Well I don't know. I went back to chair test demo in FX cow. I finally got it to work messing around with delete time. But also I changed it back and it still worked. So I have no idea. I've already tried the close dromed and try again. It just started working on it's own I guess. No idea. Now in other demo just testing heat disks and a torch, it's still not working there. I will keep hacking away.
Yandros on 16/1/2018 at 00:29
No no, my point was you're setting NVPhantomTrapOn and you need to be setting NVPhantomTrapOff. You're right, the order doesn't matter.
gamophyte on 16/1/2018 at 01:30
Wow I kept missing that. It was even specified by Sliptip in the forum post correctly, so this must have been when I suddenly fixed the chair. I copy/pasted from above. What's odd is the smoke fx object had it ON as well. I suppose this is just my lack of knowledge with scripts. It has that "afraid of math" feeling.
Thank you Yandros! I will have to become an expert at this if I'm going to do all the neato stuff on my list. :)