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
My Questions
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#21
RE: My Questions

(07-02-2013, 03:22 AM)cruisy18 Wrote: I want to have a black screen, with a narration playing, as well as subtitles for this narration. Then I want the game to fade in after the narration sound has played. If I could have a blur as it fades in, that'd be sweet too.

SetEffectVoiceOverCallback, AddEffectVoice.

Example:
PHP Code: (Select All)
void OnStart()
{
    
FadeOut(0);
    
SetEffectVoiceOverCallback("CallFadeIn");
    
AddEffectVoice("voice_file_1.ogg""""LangCategory""LangEntry_1"false"Player"01);
    
AddEffectVoice("voice_file_2.ogg""""LangCategory""LangEntry_2"false"Player"01);
    
AddEffectVoice("voice_file_3.ogg""""LangCategory""LangEntry_3"false"Player"01);
    
AddEffectVoice("voice_file_4.ogg""""LangCategory""LangEntry_4"false"Player"01);
}

void CallFadeIn()
{
    
FadeIn(5);


Blur is possible, but i won't provide an example here.

(07-03-2013, 02:35 AM)cruisy18 Wrote: Here's a more simple one. Can I disable hints in my custom story? I have created an area script where the players sanity goes down to 0 for a short time for effect, and the hint appears, totally ruining the vibe I'm trying to create.

Here's what i use for my global.hps
PHP Code: (Select All)
void OnGameStart()
{
    
BlockDefaultHints();
}

void BlockDefaultHints()
{
    
BlockHint("DarknessDecrease");
    
BlockHint("EntityGrab");
    
BlockHint("EntityLever");
    
BlockHint("EntityPush");
    
BlockHint("EntitySlide");
    
BlockHint("EntitySwingDoor");
    
BlockHint("EntityWheel");
    
BlockHint("PickLantern");
    
BlockHint("PickOil");
    
BlockHint("PickTinderbox");
    
BlockHint("QuestAdded");
    
BlockHint("RecentlyReadText");
    
BlockHint("SanityHit");
    
BlockHint("SanityLow");


Tutorials: From Noob to Pro
07-03-2013, 03:12 AM
Website Find


Messages In This Thread
My Questions - by cruisy18 - 06-27-2013, 06:43 AM
RE: Model Viewer Crashes With .dae - by cruisy18 - 06-27-2013, 07:03 AM
RE: Model Viewer Crashes With .dae - by cruisy18 - 06-27-2013, 07:26 AM
RE: Model Viewer Crashes With .dae - by cruisy18 - 06-27-2013, 08:01 AM
RE: Model Viewer Crashes With .dae - by cruisy18 - 06-28-2013, 02:13 PM
RE: My Questions - by Wapez - 06-28-2013, 03:37 PM
RE: My Questions - by PutraenusAlivius - 06-29-2013, 02:08 AM
RE: My Questions - by cruisy18 - 06-29-2013, 08:13 AM
RE: My Questions - by cruisy18 - 07-01-2013, 01:13 PM
RE: My Questions - by PutraenusAlivius - 07-01-2013, 01:17 PM
RE: My Questions - by cruisy18 - 07-01-2013, 01:40 PM
RE: My Questions - by OriginalUsername - 07-01-2013, 09:05 PM
RE: My Questions - by cruisy18 - 07-02-2013, 01:42 AM
RE: My Questions - by Your Computer - 07-02-2013, 01:54 AM
RE: My Questions - by cruisy18 - 07-02-2013, 02:09 AM
RE: My Questions - by cruisy18 - 07-02-2013, 03:22 AM
RE: My Questions - by cruisy18 - 07-03-2013, 02:35 AM
RE: My Questions - by Your Computer - 07-03-2013, 03:12 AM
RE: My Questions - by cruisy18 - 07-03-2013, 04:16 AM
RE: My Questions - by cruisy18 - 07-03-2013, 07:37 AM
RE: My Questions - by cruisy18 - 07-04-2013, 02:49 AM
RE: My Questions - by cruisy18 - 07-05-2013, 02:29 AM
RE: My Questions - by Your Computer - 07-05-2013, 04:52 AM
RE: My Questions - by cruisy18 - 07-05-2013, 05:03 AM



Users browsing this thread: 1 Guest(s)