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
Script Help Making an Intro
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#2
RE: Making an Intro

For the budget version of an intro, there are a couple of functions that can take control of the character:

OnStart()
{
SetPlayerActive(false); // Take away player control.
/*
MovePlayerForward() (that was included with Justine) is used to move the player forward.
StartPlayerLookAt() makes the character turn his head to face a designated entity or (I believe) area.
StopPlayerLookAt(); - Makes him stop looking at it.
There are more commands than this, like controlling his crouching and lantern.
*/
SetPlayerActive(true); // Restore player control.
}


The second way to do it, is to use Maya. Don't know how it's done, just that Frictional Games use it, and that it has been used for that in other games.


Noob scripting tutorial: From Noob to Pro

04-06-2012, 05:59 AM
Find


Messages In This Thread
Making an Intro - by JetlinerX - 04-06-2012, 05:44 AM
RE: Making an Intro - by Cranky Old Man - 04-06-2012, 05:59 AM
RE: Making an Intro - by JetlinerX - 04-06-2012, 06:40 AM
RE: Making an Intro - by Cranky Old Man - 04-06-2012, 07:22 AM
RE: Making an Intro - by flamez3 - 04-06-2012, 08:06 AM
RE: Making an Intro - by Kreekakon - 04-06-2012, 11:24 AM
RE: Making an Intro - by stonecutter - 04-06-2012, 02:38 PM
RE: Making an Intro - by Kreekakon - 04-06-2012, 02:41 PM



Users browsing this thread: 1 Guest(s)