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
Three Questions
Datguy5 Offline
Senior Member

Posts: 629
Threads: 25
Joined: Dec 2011
Reputation: 12
#10
RE: Three Questions

(02-25-2012, 10:29 PM)Shives Wrote: Sorry It's difficult for me to understand this.
You mean that the message appears when the intro starts?
So he is coughing and the Message appears?
If you mean this the script should work.
Just tell me what happens when you run the Custom map.
How looks the Intro?

Yes i mean that.The intro lasts a while one cough sound appears and then he just gets up.Here is my lang file just in case and hps
HPS
////////////////////////////
// Run when the map starts
void OnStart()
{
SetPlayerActive(false);
FadeIn(3.0f);
MovePlayerHeadPos(0, -1.0f, 0, 13, 11);
SetPlayerCrouching(true);
FadeRadialBlurTo(2.0f, 1);
AddTimer("", 6, "Player");
StartPlayerLookAt("Look", 2, 4, "StopPlayerLookAt");
PlaySoundAtEntity("", "player_cough.snt", "Player", 0, false);
}
void Player(string &in asTimer)
{
PlaySoundAtEntity("", "react_sigh.snt", "Player", 0, false);
SetPlayerActive(true);
MovePlayerHeadPos(0, 0, 0, 10, 20);
SetPlayerCrouching(false);
FadeRadialBlurTo(0, 3);
}
////////////////////////////
// Run when entering map
void OnEnter()
{
SetPlayerLampOil(0);
}
////////////////////////////
// Run when leaving map
void OnLeave()
{
}
LANG
<CATEGORY Name="ShowMessage">
<Entry Name="Name of the Message">Ugh what happened..I should pick that torch and try to find my way out of here.</Entry>
</CATEGORY>

</LANGUAGE>



(This post was last modified: 02-25-2012, 10:36 PM by Datguy5.)
02-25-2012, 10:35 PM
Find


Messages In This Thread
Three Questions - by Datguy5 - 02-25-2012, 07:28 PM
RE: Three Questions - by Shives - 02-25-2012, 08:03 PM
RE: Three Questions - by Datguy5 - 02-25-2012, 08:09 PM
RE: Three Questions - by Shives - 02-25-2012, 08:48 PM
RE: Three Questions - by Unearthlybrutal - 02-25-2012, 08:50 PM
RE: Three Questions - by Datguy5 - 02-25-2012, 09:19 PM
RE: Three Questions - by Shives - 02-25-2012, 09:53 PM
RE: Three Questions - by Datguy5 - 02-25-2012, 10:08 PM
RE: Three Questions - by Shives - 02-25-2012, 10:29 PM
RE: Three Questions - by Datguy5 - 02-25-2012, 10:35 PM
RE: Three Questions - by Shives - 02-26-2012, 10:29 AM
RE: Three Questions - by Datguy5 - 02-26-2012, 12:19 PM
RE: Three Questions - by Shives - 02-26-2012, 01:40 PM



Users browsing this thread: 2 Guest(s)