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
Jumpscares
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#11
RE: Jumpscares

Indeed Traggey Smile I agree

Trying is the first step to success.
(This post was last modified: 08-15-2012, 03:58 PM by FlawlessHappiness.)
08-15-2012, 03:53 PM
Find
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#12
RE: Jumpscares

(08-15-2012, 03:52 PM)Ank2503 Wrote: 1)how to make entity(flyingmale)after 1 second disabled( SetEntityActive("flyingmale", true); script
2)my entity doesn't impulse,moving,what's the problem?
1. You need to add another timer
2. You need much larger values (you also need to use prop force) for it to have any effect in game.

Try this:


void OnStart()
{
AddEntityCollideCallback("Player", "NAME_OF_AREA", "NAME_OF_FUNC", true, 1);
}

void NAME_OF_FUNC(string &in asParent, string &in asChild, int alState)
{
PlayGuiSound("15_man02_whimp.snt", 1.0f);
AddTimer("t1", 1.0f, "TIMER_NAME");
AddTimer("t2", 3.0f, "TIMER_NAME");
}

void TIMER_NAME(string &in asTimer)
{
if(asTimer = "t1")
{
SetEntityActive("flyingmale", true);
AddPropForce("flyingmale", 0, 25, 80, "world");
PlaySoundAtEntity("Player", "24_iron_maiden", "Player", 0, false);
}
if(asTimer = "t2")
{
SetEntityActive("flyingmale", false);
}
}


You may need to make the prop force values even large (most likely in the hundreds); each prop has different physics so those numbers should be tested and corrected accordingly.

Hope that helped

I rate it 3 memes.
(This post was last modified: 08-15-2012, 03:59 PM by Adny.)
08-15-2012, 03:59 PM
Find
Ank2503 Offline
Junior Member

Posts: 21
Threads: 7
Joined: Aug 2012
Reputation: 0
#13
RE: Jumpscares

if(asTimer = "t1")
if(asTimer = "t2")
Fatal error-expressions must be of boolean type
wtf?
(This post was last modified: 08-15-2012, 04:38 PM by Ank2503.)
08-15-2012, 04:38 PM
Find
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#14
RE: Jumpscares

(08-15-2012, 04:38 PM)Ank2503 Wrote: if(asTimer = "t1")
if(asTimer = "t2")
Fatal error-expressions must be of boolean type
wtf?
My apologies; add an extra equals sign:

if(asTimer == "t1")

That should fix it.

I rate it 3 memes.
08-15-2012, 04:54 PM
Find
Ank2503 Offline
Junior Member

Posts: 21
Threads: 7
Joined: Aug 2012
Reputation: 0
#15
RE: Jumpscares

(08-15-2012, 02:32 PM)beecake Wrote: It depends on what you want.



A jump scare is mostly something that jumps right in your face while a scream of a girl-sound is playing...



People usually talk about the flying-jesus-scare... A naked man that comes out of nowhere while a scream-sound is playing...



I would say you should try working with normal scripts first... then you should be able to figure it out yourself, it aint that hard..



(08-15-2012, 04:54 PM)andyrockin123 Wrote:
(08-15-2012, 04:38 PM)Ank2503 Wrote: if(asTimer = "t1")

if(asTimer = "t2")

Fatal error-expressions must be of boolean type

wtf?

My apologies; add an extra equals sign:



if(asTimer == "t1")



That should fix it.
yep this works rep+ for you
08-15-2012, 05:01 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#16
RE: Jumpscares

Anyway, I must give my opinion too: I don't like jumpscares either... Just so you know what to expect Wink when/if you upload the Custom Story

Trying is the first step to success.
(This post was last modified: 08-15-2012, 05:25 PM by FlawlessHappiness.)
08-15-2012, 05:25 PM
Find
Melvin Offline
Member

Posts: 245
Threads: 38
Joined: Jun 2012
Reputation: 5
#17
RE: Jumpscares

(08-15-2012, 12:06 PM)Ank2503 Wrote: How to make Jumpscares?With script of course.
Tip, don't make jumpscares.

[Image: 25F7U37.png]
08-15-2012, 05:28 PM
Website Find
Ank2503 Offline
Junior Member

Posts: 21
Threads: 7
Joined: Aug 2012
Reputation: 0
#18
RE: Jumpscares

(08-15-2012, 05:25 PM)beecake Wrote: Anyway, I must give my opinion too: I don't like jumpscares either... Just so you know what to expect Wink when/if you upload the Custom Story
ok,i will. Wink

[Image: 76561198049041280.png]
08-15-2012, 05:28 PM
Find
Theforgot3n1 Offline
Member

Posts: 192
Threads: 20
Joined: Apr 2012
Reputation: 6
#19
RE: Jumpscares

(08-15-2012, 05:28 PM)SmokeMelvin Wrote:
(08-15-2012, 12:06 PM)Ank2503 Wrote: How to make Jumpscares?With script of course.
Tip, don't make jumpscares.
It's not the jump scares themselves that are the problem, Frictional themselves used a lot of jump scares, it's just that when they become these repetitive teleporting naked guys, it's no longer that scary, but merely annoying.

Confusion: a Custom Story - Ch1 for play!
http://www.frictionalgames.com/forum/thread-15477.html
About 50% built.
Delayed for now though!
08-15-2012, 05:39 PM
Website Find
GoranGaming Offline
Member

Posts: 183
Threads: 30
Joined: Feb 2012
Reputation: 7
#20
RE: Jumpscares

void OnStart()
{
SetPlayerHealth(0);
}

Current projects:

The Dark Prison 85 % (Stopped working on this one)

Unnamed Project 7 %
08-15-2012, 07:47 PM
Website Find




Users browsing this thread: 1 Guest(s)