Frictional Games Forum (read-only)
Intro Help - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Intro Help (/thread-14084.html)



Intro Help - Jamsong - 03-18-2012

For making an intro do I simply diable the player movement and force them to look at certain things ?

It would be very helpful for somebody to give me sample of code for an intro so I can understand what needs to be done.


Thank you, Jamsong


RE: Intro Help - A.I. - 03-18-2012

you would use startplayerlookat and SetPlayerActive(false);


RE: Intro Help - ClayPigeon - 03-18-2012

That can use an example:
http://wiki.frictionalgames.com/hpl2/tutorials/script/advancedtimers



RE: Intro Help - Adny - 03-18-2012

You will also want to get rid of the player's crosshair.

ShowPlayerCrossHairIcons(false);


This will delete the little dot in the middle of your screen


RE: Intro Help - Jamsong - 03-18-2012

(03-18-2012, 05:39 PM)andyrockin123 Wrote: You will also want to get rid of the player's crosshair.

ShowPlayerCrossHairIcons(false);


This will delete the little dot in the middle of your screen
Is there a function to hide your arm and lantern or would I just use the function that zooms the screen in ?


RE: Intro Help - A.I. - 03-18-2012

(03-18-2012, 07:04 PM)Jamsong Wrote:
(03-18-2012, 05:39 PM)andyrockin123 Wrote: You will also want to get rid of the player's crosshair.

ShowPlayerCrossHairIcons(false);


This will delete the little dot in the middle of your screen
Is there a function to hide your arm and lantern or would I just use the function that zooms the screen in ?
Well to hide the arm and lantern you would use SetLanternDisabled(true); this disables the players ability to use the lantern and will get rid of the arm and lantern


RE: Intro Help - Jamsong - 03-18-2012

(03-18-2012, 07:15 PM)Vaelwing22 Wrote:
(03-18-2012, 07:04 PM)Jamsong Wrote:
(03-18-2012, 05:39 PM)andyrockin123 Wrote: You will also want to get rid of the player's crosshair.

ShowPlayerCrossHairIcons(false);


This will delete the little dot in the middle of your screen
Is there a function to hide your arm and lantern or would I just use the function that zooms the screen in ?
Well to hide the arm and lantern you would use SetLanternDisabled(true); this disables the players ability to use the lantern and will get rid of the arm and lantern
Oh right ok, thanks for the help Smile