Frictional Games Forum (read-only)
How do i make jumpscares?? Please check my script... - 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: How do i make jumpscares?? Please check my script... (/thread-18372.html)

Pages: 1 2 3


How do i make jumpscares?? Please check my script... - danimora2012 - 09-16-2012

First of all lots of you don't like jumpscares...me too...but it's a scary game...so why not...My custom story only has one scare and i would like a jumpscare... So...I did everything i could to make it work but "Nothing"...So here is my script. what's wrong in here? Huh


void OnStart()
{
AddEntityCollideCallback("Player", "Jumpscare_1", "Jump1", true, 1);
}

void Jump1(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("bro_1", true);
AddPropForce("bro_1", 0, 0, -9000, "world");
AddTimer("", 0.7, "scared");
PlaySoundAtEntity("", "ahhh.snt", "Player", 0, false);
}

I would like your help... if you know what's wrong with it... Please say it... Tongue


RE: How do i make jumpscares?? Please check my script... - Robby - 09-16-2012

(09-16-2012, 06:31 PM)danimora2012 Wrote: First of all lots of you don't like jumpscares...me too...but it's a scary game...so why not...My custom story only has one scare and i would like a jumpscare... So...I did everything i could to make it work but "Nothing"...So here is my script. what's wrong in here? Huh


void OnStart()
{
AddEntityCollideCallback("Player", "Jumpscare_1", "Jump1", true, 1);
}

void Jump1(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("bro_1", true);
AddPropForce("bro_1", 0, 0, -9000, "world");
AddTimer("", 0.7, "scared");
PlaySoundAtEntity("", "ahhh.snt", "Player", 0, false);
}

I would like your help... if you know what's wrong with it... Please say it... Tongue
I'll help you over here (though I sent you a PM, didn't you see it?).

What kind of problem are you experiencing? It looks good to me.


RE: How do i make jumpscares?? Please check my script... - danimora2012 - 09-16-2012

(09-16-2012, 06:32 PM)Nemet Robert Wrote:
(09-16-2012, 06:31 PM)danimora2012 Wrote: First of all lots of you don't like jumpscares...me too...but it's a scary game...so why not...My custom story only has one scare and i would like a jumpscare... So...I did everything i could to make it work but "Nothing"...So here is my script. what's wrong in here? Huh


void OnStart()
{
AddEntityCollideCallback("Player", "Jumpscare_1", "Jump1", true, 1);
}

void Jump1(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("bro_1", true);
AddPropForce("bro_1", 0, 0, -9000, "world");
AddTimer("", 0.7, "scared");
PlaySoundAtEntity("", "ahhh.snt", "Player", 0, false);
}

I would like your help... if you know what's wrong with it... Please say it... Tongue
I'll help you over here (though I sent you a PM, didn't you see it?).

What kind of problem are you experiencing? It looks good to me.
THERE YOU ARE PLEASE OPEN GMAIL...okay... the jumpscare doesn't pop up...that is my problem...Why...


RE: How do i make jumpscares?? Please check my script... - Robby - 09-16-2012

(09-16-2012, 06:35 PM)danimora2012 Wrote:
(09-16-2012, 06:32 PM)Nemet Robert Wrote:
(09-16-2012, 06:31 PM)danimora2012 Wrote: First of all lots of you don't like jumpscares...me too...but it's a scary game...so why not...My custom story only has one scare and i would like a jumpscare... So...I did everything i could to make it work but "Nothing"...So here is my script. what's wrong in here? Huh


void OnStart()
{
AddEntityCollideCallback("Player", "Jumpscare_1", "Jump1", true, 1);
}

void Jump1(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("bro_1", true);
AddPropForce("bro_1", 0, 0, -9000, "world");
AddTimer("", 0.7, "scared");
PlaySoundAtEntity("", "ahhh.snt", "Player", 0, false);
}

I would like your help... if you know what's wrong with it... Please say it... Tongue
I'll help you over here (though I sent you a PM, didn't you see it?).

What kind of problem are you experiencing? It looks good to me.
THERE YOU ARE PLEASE OPEN GMAIL...okay... the jumpscare doesn't pop up...that is my problem...Why...
I already checked, and then replied.

Looking at it right now, nothing new.

The jumpscare doesn't pop up? Double-check the names (Level Editor and the script). Make sure you saved the script.

I notice a sound should play. Don't you hear that sound?



Through Gmail. Looking now...


RE: How do i make jumpscares?? Please check my script... - The chaser - 09-16-2012

danimora, please, put this in development support. It's there for something.


RE: How do i make jumpscares?? Please check my script... - Robby - 09-16-2012

Your map was incorrectly named. Solved thru PM.


RE: How do i make jumpscares?? Please check my script... - Zaffre - 09-16-2012

More jumpscares? I hope you're not releasing this story to the public. For practice is fine; I've done it for practice.


RE: How do i make jumpscares?? Please check my script... - Robby - 09-16-2012

(09-16-2012, 07:03 PM)Zaffre Wrote: More jumpscares? I hope you're not releasing this story to the public. For practice is fine; I've done it for practice.
Nothing to worry about, he's "hired" me as a beta tester.

And yeah, PDP custom story.


RE: How do i make jumpscares?? Please check my script... - Zaffre - 09-16-2012

It's a PewDiePie custom story?





RE: How do i make jumpscares?? Please check my script... - Robby - 09-16-2012

(09-16-2012, 07:07 PM)Zaffre Wrote: It's a PewDiePie custom story?
[video]
Not me!

(he's giving me quite some headaches right now)