Frictional Games Forum (read-only)
Custom Screen Effects/Insanity - 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: Custom Screen Effects/Insanity (/thread-20691.html)

Pages: 1 2


Custom Screen Effects/Insanity - tonitoni1998 - 03-10-2013

How can i change stuff like blur, what animations will appear in insanity, etc.


RE: Custom Screen Effects/Insanity - No Author - 03-10-2013

Spoiler below!
Screen Effects
void FadeOut(float afTime);
Fades the screen to black.
afTime - time in seconds until the screen is completly black
void FadeIn(float afTime);
Fades the screen back to normal.
afTime - time in seconds until the screen back to normal
void FadeImageTrailTo(float afAmount, float afSpeed);
Applies the image trail effect to the screen.
afAmount - intensity (default: 0)
afSpeed - time in seconds until full effect
void FadeSepiaColorTo(float afAmount, float afSpeed);
Makes the screen go dark red.
afAmount - intensity (default: 0)
afSpeed - time in seconds until full effect
void FadeRadialBlurTo(float afSize, float afSpeed);
Applies radial blur effects to the screen.
afSize - intensity (default: 0)
afSpeed - time in seconds until full effect
void SetRadialBlurStartDist(float afStartDist);
Determines at which distance the radial blur effects appear.
afStartDist - the distance at which the effect starts
void StartEffectFlash(float afFadeIn, float afWhite, float afFadeOut);
Fades the screen to white.
afFadeIn - time in seconds until screen is white
afWhite - determines to which percentage the screen fades to white (1.0 = completly white)
afFadeOut - time in seconds until screen is back to normal again
void StartEffectEmotionFlash(string& asTextCat, string& asTextEntry, string& asSound);
Fades the screen to white and shows a text message.
asTextCat - the category in the .lang file
asTextEntry - the text entry in the .lang file
asSound - the sound to play while fading
void AddEffectVoice(string& asVoiceFile, string& asEffectFile, string& asTextCat, string& asTextEntry,
bool abUsePosition, string& asPosEntity, float afMinDistance, float afMaxDistance);
This adds a voice and an effect to be played. It is okay to call this many times in order to play many voices in a row. The EffectVoiceOverCallback is not called until ALL voices have finished.
asVoiceFile - the voice to play
asEffectFile - the effect to play
asTextCat - the category in the .lang file
asTextEntry - the text entry in the .lang file
abUsePosition - plays using 3D from the entity, or without 3D
asPosEntity - the entity at which the effect appears
afMinDistance - minimum distance to see the effect
afMaxDistance - maximum distance to see the effect
void StopAllEffectVoices(float afFadeOutTime);
Stops all voices and calls the EffectVoiceOverCallback.
bool GetEffectVoiceActive();
Checks whether EffectVoices are still active.
void SetEffectVoiceOverCallback(string& asFunc);
Sets the function to be called when the EffectVoices are finished.
Callback snytax: void MyFunc()
bool GetFlashbackIsActive();
Checks whether a flashback is still in effect.
void StartPlayerSpawnPS(string& asSPSFile);
void StopPlayerSpawnPS();
Not sure what this does, but it has something to do with particle systems.
void PlayGuiSound(string& asSoundFile, float afVolume);
Plays a sound, not using 3D.
asSoundFile - the sound to play (extension is .snt)
afVolume - the volume of the sound
void StartScreenShake(float afAmount, float afTime, float afFadeInTime, float afFadeOutTime);
Shakes the screen.
afAmount - intensity of the shake
afTime - duration of the shake
afFadeInTime - time in seconds until full intensity is reached
afFadeOutTime - time until screen is back to normal
Insanity
void SetInsanitySetEnabled(string& asSet, bool abX);
Determines which InsanitySets are enabled.
asSet - the set
abX - enabled or not
void StartRandomInsanityEvent();
Starts a random insanity event from the available sets.
bool InsanityEventIsActive();
Checks whether an insanity event is currently in effect.

If you get dizzy reading it, copy this and paste to your notepad and then search using "ctrl+F".


RE: Custom Screen Effects/Insanity - tonitoni1998 - 03-10-2013

I know the wiki. My editor already supports hps. What i want, are custom effects. Made by myself


RE: Custom Screen Effects/Insanity - The chaser - 03-10-2013

(03-10-2013, 12:17 PM)tonitoni1998 Wrote: I know the wiki. My editor already supports hps. What i want, are custom effects. Made by myself

You can't make effects for yourself, but you can play around with some effects and settings to make yours.


RE: Custom Screen Effects/Insanity - No Author - 03-10-2013

Can you like describe us what do you want to do ?


RE: Custom Screen Effects/Insanity - tonitoni1998 - 03-10-2013

In a video from YourComputer he had a circle-like blur effect. I was just wondering how to do that. I already commented it, but i thought i might ask here too. His video http://youtu.be/PejzCPp1Vs8


RE: Custom Screen Effects/Insanity - PutraenusAlivius - 03-10-2013

(03-10-2013, 12:48 PM)tonitoni1998 Wrote: In a video from YourComputer he had a circle-like blur effect. I was just wondering how to do that. I already commented it, but i thought i might ask here too. His video http://youtu.be/PejzCPp1Vs8
At what part? What i meant was how many minutes and seconds. (EX: 9.05 in the video.)


RE: Custom Screen Effects/Insanity - tonitoni1998 - 03-10-2013

(03-10-2013, 01:00 PM)JustAnotherPlayer Wrote:
(03-10-2013, 12:48 PM)tonitoni1998 Wrote: In a video from YourComputer he had a circle-like blur effect. I was just wondering how to do that. I already commented it, but i thought i might ask here too. His video http://youtu.be/PejzCPp1Vs8
At what part? What i meant was how many minutes and seconds. (EX: 9.05 in the video.)

3:45


RE: Custom Screen Effects/Insanity - PutraenusAlivius - 03-10-2013

(03-10-2013, 01:04 PM)tonitoni1998 Wrote:
(03-10-2013, 01:00 PM)JustAnotherPlayer Wrote:
(03-10-2013, 12:48 PM)tonitoni1998 Wrote: In a video from YourComputer he had a circle-like blur effect. I was just wondering how to do that. I already commented it, but i thought i might ask here too. His video http://youtu.be/PejzCPp1Vs8
At what part? What i meant was how many minutes and seconds. (EX: 9.05 in the video.)

3:45

Hell, i don't even-
Anyway, just PM YC on how did he do that. YourComputer is truly a smart person.


RE: Custom Screen Effects/Insanity - tonitoni1998 - 03-10-2013

Yep when you take a look at his videos... Hes good