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


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

(09-16-2012, 06:45 PM)The chaser Wrote: danimora, please, put this in development support. It's there for something.
Oh..i thought it was supposed to be here...thank you very much Blush
Though i solved it... this custom story is going to be awesome... i promisse...so far so good
14% done

This is the fixed script:


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

void Jump(string &in asEntity)
{
SetEntityActive("bro_1", true);
AddPropForce("bro_1", 0, 0, -9000, "world");
AddTimer("", 0.7, "scared");
PlaySoundAtEntity("", "ahhh.ogg", "Player", 0, false);
}


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

(09-16-2012, 07:23 PM)danimora2012 Wrote:
(09-16-2012, 06:45 PM)The chaser Wrote: danimora, please, put this in development support. It's there for something.
Oh..i thought it was supposed to be here...thank you very much Blush
Though i solved it... this custom story is going to be awesome... i promisse...so far so good
14% done
A promise can easily be broken. You make sure you can handle that.


RE: How do i make jumpscares?? Please check my script... - danimora2012 - 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.
I promisse...it's good...But for PDP fans only...soon il release a good one..."like lost the lights"...
But we are free to do what ever we want... Wink
Well...Stay cool....Se ya!!


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

(09-16-2012, 07:23 PM)danimora2012 Wrote:
(09-16-2012, 06:45 PM)The chaser Wrote: danimora, please, put this in development support. It's there for something.
Oh..i thought it was supposed to be here...thank you very much Blush
Though i solved it... this custom story is going to be awesome... i promisse...so far so good
14% done

This is the fixed script:


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

void Jump(string &in asEntity)
{
SetEntityActive("bro_1", true);
AddPropForce("bro_1", 0, 0, -9000, "world");
AddTimer("", 0.7, "scared");
PlaySoundAtEntity("", "ahhh.ogg", "Player", 0, false);
}
Just saying, that is not a correct script. The callback adds the function "Jump1" but the actual function you are using is called "Jump".


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

(09-16-2012, 07:48 PM)Wapez Wrote:
(09-16-2012, 07:23 PM)danimora2012 Wrote:
(09-16-2012, 06:45 PM)The chaser Wrote: danimora, please, put this in development support. It's there for something.
Oh..i thought it was supposed to be here...thank you very much Blush
Though i solved it... this custom story is going to be awesome... i promisse...so far so good
14% done

This is the fixed script:


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

void Jump(string &in asEntity)
{
SetEntityActive("bro_1", true);
AddPropForce("bro_1", 0, 0, -9000, "world");
AddTimer("", 0.7, "scared");
PlaySoundAtEntity("", "ahhh.ogg", "Player", 0, false);
}
Just saying, that is not a correct script. The callback adds the function "Jump1" but the actual function you are using is called "Jump".
Nah, he forgot to remove a line that shouldn't be. Marked that over there

I already solved this for him, so don't bother!


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

(09-16-2012, 07:48 PM)Wapez Wrote:
(09-16-2012, 07:23 PM)danimora2012 Wrote:
(09-16-2012, 06:45 PM)The chaser Wrote: danimora, please, put this in development support. It's there for something.
Oh..i thought it was supposed to be here...thank you very much Blush
Though i solved it... this custom story is going to be awesome... i promisse...so far so good
14% done

This is the fixed script:


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

void Jump(string &in asEntity)
{
SetEntityActive("bro_1", true);
AddPropForce("bro_1", 0, 0, -9000, "world");
AddTimer("", 0.7, "scared");
PlaySoundAtEntity("", "ahhh.ogg", "Player", 0, false);
}
Just saying, that is not a correct script. The callback adds the function "Jump1" but the actual function you are using is called "Jump".
Just forgot to edit that...but still works...thanks! Tongue

(09-16-2012, 07:23 PM)Nemet Robert Wrote:
(09-16-2012, 07:23 PM)danimora2012 Wrote:
(09-16-2012, 06:45 PM)The chaser Wrote: danimora, please, put this in development support. It's there for something.
Oh..i thought it was supposed to be here...thank you very much Blush
Though i solved it... this custom story is going to be awesome... i promisse...so far so good
14% done
A promise can easily be broken. You make sure you can handle that.
At lease il try... Confused


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

How to make a jumpscare story dedicated to PewDiePie

1. Uninstall Amnesia.

2. Get a new hobby.


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

(09-16-2012, 08:00 PM)CorinthianMerchant Wrote: How to make a jumpscare story dedicated to PewDiePie

1. Uninstall Amnesia.

2. Get a new hobby.
Your birth certificate is an apology from the condom factory


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

(09-16-2012, 08:30 PM)danimora2012 Wrote:
(09-16-2012, 08:00 PM)CorinthianMerchant Wrote: How to make a jumpscare story dedicated to PewDiePie

1. Uninstall Amnesia.

2. Get a new hobby.
Your birth certificate is an apology from the condom factory

Har har. Have fun being PewDie's cash cow.


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

(09-16-2012, 07:30 PM)danimora2012 Wrote:
(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.
I promisse...it's good...But for PDP fans only...soon il release a good one..."like lost the lights"...
But we are free to do what ever we want... ;)
Well...Stay cool....Se ya!!
Looks so promising. A Pewdiepie jumpscare story, made by a person who's grammar is terrible. Can't wait.