![]() |
Hungover Effect - 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: Hungover Effect (/thread-13050.html) |
Hungover Effect - Loveridge - 02-02-2012 Hey ![]() Much Appreciated (Y) Joe - GamingFtLols RE: Hungover Effect - RawkBandMan - 02-03-2012 Okay, on the OnStart put this (If you want to be dizzy when you FIRST enter the map) Code: GiveSanityDamage(80.0f, false); Then put this anywhere else Code: void nomoredizzy(string &in asParent, string &in asChild, int alState) That should do it! RE: Hungover Effect - Streetboat - 02-03-2012 GiveSanityBoost will give you the blue screen effect, which may seem odd as a hangover wearing off. If you want a gradual cooldown, have several areas with EntityCollideCallBacks, and have each one use SetPlayerSanity(float afSanity), going higher and higher in number. That way it'll wear off gradually, and there will be no blue flashy effect. ![]() RE: Hungover Effect - Loveridge - 02-04-2012 (02-03-2012, 04:45 AM)Streetboat Wrote: GiveSanityBoost will give you the blue screen effect, which may seem odd as a hangover wearing off. If you want a gradual cooldown, have several areas with EntityCollideCallBacks, and have each one use SetPlayerSanity(float afSanity), going higher and higher in number. That way it'll wear off gradually, and there will be no blue flashy effect.Why Thank you Both (Y) ![]() |