Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Screen Effects/Insanity
tonitoni1998 Offline
Member

Posts: 163
Threads: 54
Joined: Oct 2012
Reputation: 1
#1
Custom Screen Effects/Insanity

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

When you are looking for someone, to do the scripting for your Custom Story, ask me!
03-10-2013, 11:27 AM
Find
No Author Offline
Posting Freak

Posts: 962
Threads: 10
Joined: Jun 2012
Reputation: 13
#2
RE: Custom Screen Effects/Insanity

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".

[Image: the-cabin-in-the-woods-masked-people.jpg]
(This post was last modified: 03-10-2013, 12:35 PM by No Author.)
03-10-2013, 12:05 PM
Find
tonitoni1998 Offline
Member

Posts: 163
Threads: 54
Joined: Oct 2012
Reputation: 1
#3
RE: Custom Screen Effects/Insanity

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

When you are looking for someone, to do the scripting for your Custom Story, ask me!
03-10-2013, 12:17 PM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#4
RE: Custom Screen Effects/Insanity

(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.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
03-10-2013, 12:35 PM
Find
No Author Offline
Posting Freak

Posts: 962
Threads: 10
Joined: Jun 2012
Reputation: 13
#5
RE: Custom Screen Effects/Insanity

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

[Image: the-cabin-in-the-woods-masked-people.jpg]
03-10-2013, 12:36 PM
Find
tonitoni1998 Offline
Member

Posts: 163
Threads: 54
Joined: Oct 2012
Reputation: 1
#6
RE: Custom Screen Effects/Insanity

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

When you are looking for someone, to do the scripting for your Custom Story, ask me!
(This post was last modified: 03-10-2013, 12:50 PM by tonitoni1998.)
03-10-2013, 12:48 PM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#7
RE: Custom Screen Effects/Insanity

(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.)

"Veni, vidi, vici."
"I came, I saw, I conquered."
03-10-2013, 01:00 PM
Find
tonitoni1998 Offline
Member

Posts: 163
Threads: 54
Joined: Oct 2012
Reputation: 1
#8
RE: Custom Screen Effects/Insanity

(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

When you are looking for someone, to do the scripting for your Custom Story, ask me!
03-10-2013, 01:04 PM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#9
RE: Custom Screen Effects/Insanity

(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.

"Veni, vidi, vici."
"I came, I saw, I conquered."
03-10-2013, 01:09 PM
Find
tonitoni1998 Offline
Member

Posts: 163
Threads: 54
Joined: Oct 2012
Reputation: 1
#10
RE: Custom Screen Effects/Insanity

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

When you are looking for someone, to do the scripting for your Custom Story, ask me!
03-10-2013, 01:10 PM
Find




Users browsing this thread: 1 Guest(s)