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


Thread Rating:
  • 3 Vote(s) - 2.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Story Lost The Lights
UnseenLegend ( NL ) Offline
Member

Posts: 171
Threads: 10
Joined: Sep 2011
Reputation: 12
#7
RE: Custom Story Lost The Lights

(09-11-2011, 04:30 PM)XxRoCkBaNdMaNxX Wrote: I have to ask this.

For your water monster part.

How do you get the effect for it to go to a black screen, and zoom in before that?

(I relize that Frictional Games just teleported the player there, but I want to know what I said up here ^^)
it's not really easy to make it took me a lot of work to let it work.
make the player FadeOut like this

PHP Code: (Select All)
void CollideYourname(string &in asParentstring &in asChildint alState)
{
FadeOut(0.3);

AddTimer("scare"0.3f"TimerPlayerReact");
AddTimer("breath"2.0f"TimerPlayerReact");
AddTimer("breathl"4.0f"TimerPlayerReact");
AddTimer("breathl"6.0f"TimerPlayerReact");

AddTimer("TeleportHowl"0.5f"TimerTeleportHowl");
AddTimer("TeleportDone"3.5f"TimerTelportDone");

PlaySoundAtEntity("stomp","scare_wall_stomp","Player"0false);
PlaySoundAtEntity("darkamb","07_amb_breath","Player"5true);
PlaySoundAtEntity("wateramb""ambience_water_no3d.snt""sound_idle_1"5true);

FadePlayerFOVMulTo(4.0f4.0f);
SetRadialBlurStartDist(0.1f);
FadeRadialBlurTo(1.0f5.0f);

StartEffectFlash(0.20.1,0.3);

FadeGlobalSoun dVolume(00.3);
StopMusic(0.3f0);
StartScreenShake(0.14.70.050.5);

FadePlayerFOVMulTo(0.53);


and This is to make Where you end at the teleport aventure Rolleyes

PHP Code: (Select All)
void TimerTelportDone(string &in asTimer)
{
TeleportPlayer("PlayerStartArea_3");
FadeGlobalSoundVolume(1,2);
SetPlayerActive(true);
FadePlayerFOVMulTo(1.0f0.5f);
FadeRadialBlurTo(0.0f1.0f);
FadeIn(1.3);

FadePlayerFOVMulTo(11);

CollideYourname();


And sure if you died you need to make CheckPoint

PHP Code: (Select All)
void CollideYourname()
{
CheckPoint("check01","PlayerStartArea_3""CheckPoint01""""");

PlayMusic("YourFavorSong"true14.0f0true);


P.S i add some Sound Effects to make it Real realistic If you want Really Put Sound effects into it your Time.
if you dont put a timer into it you hear it all at the same time Sounds epic lol but i think you will get an Fatal error.
So dont get Confused by all thos PlaySoundAtEntity


[Image: read-image.asp?n=n-20121202110321-m.jpg&r=8]
(This post was last modified: 10-02-2011, 01:28 PM by UnseenLegend ( NL ).)
09-11-2011, 08:13 PM
Find


Messages In This Thread
RE: Custom Story Lost The Lights - by HumiliatioN - 09-10-2011, 01:51 PM
RE: Custom Story Lost The Lights - by Mosnye - 09-10-2011, 11:30 PM
RE: Custom Story Lost The Lights - by Tenno - 09-11-2011, 01:16 PM
RE: Custom Story Lost The Lights - by RawkBandMan - 09-11-2011, 04:30 PM
RE: Custom Story Lost The Lights - by UnseenLegend ( NL ) - 09-11-2011, 08:13 PM
RE: Custom Story Lost The Lights - by huseyin - 12-06-2011, 06:42 PM



Users browsing this thread: 4 Guest(s)