Frictional Games Forum (read-only)
[SCRIPT] [SOLVED] Is it possible ? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [SCRIPT] [SOLVED] Is it possible ? (/thread-26249.html)

Pages: 1 2


RE: Is it possible ? - Neelke - 09-21-2014

Code:
FadeImageTrailTo(0.2f, 1f);
FadeRadialBlurTo(0.4f, 1f);
FadePlayerAspectMulTo(2f, 0.2f);

Try this.


RE: Is it possible ? - Straxedix - 09-21-2014

Neelke no that didn't helped. I solve i i should remove those "f" and it works now,but now when i enter second area the effects don't go down...And i wanna this sound if is possible to make it replies,if no it doesn't matter,it's not that important,we will find other way to solve it.Thanks for all the help guys :)


RE: Is it possible ? - FlawlessHappiness - 09-21-2014

As it seems right now, you have just copied and pasted the script the chaser gave you.

What he gave you, is not going going to help, unless you change some stuff.

This one won't do anything
PHP Code:
void ToNormality (string &in...)
{
ChangePlayerStateToNormal();


unless we change some stuff around.

PHP Code:
void ToNormality (string &in asParentstring &in asChildint alState)
{
SetPlayerSanity(100);
SetPlayerHealth(100);

FadeImageTrailTo(0.0f1f);
FadeRadialBlurTo(0.0f1f);
FadePlayerFOVMulTo(1.0f0.5f);
FadePlayerAspectMulTo(1.0f0.2f);


I'm not sure about how ChangePlayerStateToNormal works, but it'll be much easier for yourself, if you use this, because you know what's actually going on.


RE: Is it possible ? - Straxedix - 09-21-2014

Thank you,solved.+Reputation to everyone (Neelke,Badcat,Flawless,Chaser...)

FlawlessHappiness btw i am smiling right now :D


RE: [SOLVED] Is it possible ? - The chaser - 09-21-2014

Yeah lol I got lazy at the second callback, sorry.