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
How to make jumpscares?
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#2
RE: How to make jumpscares?

Well, assuming you want the blood, you need to get some particles so that you can get some blood going (think there is one), some decals of the blood where necessary; found in the static objects area of the Level Editor.

Coding it, you would use the SetEntityPlayerInteractCallback and the void routine it uses. You would fill in the gaps however Smile :
PHP Code: (Select All)
SetEntityPlayerInteractCallback(stringasNamestringasCallbackbool abRemoveOnInteraction);

void stringasCallback(string &in asEntity)
{
//Put some code in here, which happens when you interact with your closet


If there were to be moving skulls, you would add force to them with:

PHP Code: (Select All)
AddPropForce(stringasNamefloat afXfloat afYfloat afZstringasCoordSystem); 

You can find all scripts compatiable with this game on the Engine Scripts page

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 01-06-2014, 09:31 AM by Romulator.)
01-06-2014, 09:27 AM
Find


Messages In This Thread
How to make jumpscares? - by Radical Batz - 01-06-2014, 08:51 AM
RE: How to make jumpscares? - by Romulator - 01-06-2014, 09:27 AM



Users browsing this thread: 1 Guest(s)