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
[SCRIPT HELP]Need advice
Shadowman60 Offline
Junior Member

Posts: 11
Threads: 2
Joined: Dec 2011
Reputation: 0
#1
Question  [SCRIPT HELP]Need advice

Hey guys, I'm making a custom story and i need a script where you pick up a note, it says something, and when you put it down, a TELEPORTING NAKED GUY appears on a table, and i want "24_iron_maiden.ogg" to play when he suddenly appears.

But I've never made a script before, Huh so can you help me?

Thanks. Big Grin

01-27-2012, 12:43 PM
Find
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#2
RE: [SCRIPT HELP]Need advice

void OnStart()
{
SetEntityPlayerInteractCallback("note01", "appear", true);
}

void appear(string &in asEntity)
{
SetEntityActive("male_corpse_01", true);
}

01-27-2012, 06:22 PM
Find
Mine Turtle Offline
Senior Member

Posts: 647
Threads: 32
Joined: Mar 2011
Reputation: 29
#3
RE: [SCRIPT HELP]Need advice

how bout this script:

void OnAllScripts()
{
SetProperScareIdeaActive(true);
}

void BeOriginal (''fuckoffwith'', ''ThisIdea'')
{
SetCreativityActive("Creative.exe", true);
}


no offence but im raging at all these retarded jumpscares people put in their stories... a good starting tip on CS scripting: BE ORIGINAL..

[Image: 201107142327000.gif]
(This post was last modified: 04-12-2012, 08:02 PM by Mine Turtle.)
01-27-2012, 08:22 PM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#4
RE: [SCRIPT HELP]Need advice

(01-27-2012, 08:22 PM)darkadders Wrote: how bout this script:

void OnAllScripts()
{
SetProperScareIdeaActive(''true'');
}

void BeOriginal (fuckoffwith ThisIdea)
{
SetCreativityActive("Creative.exe", true);
}


no offence but im raging at all these retarded jumpscares people put in their stories... BE ORIGINAL..
As much as wouldn't rage this profoundly, I completely agree... I love originality and "TELEPORTING NAKED GUY" just screams to me that you're not taking your CS seriously, but hey, I can't stop you.
01-27-2012, 08:24 PM
Find
Datguy5 Offline
Senior Member

Posts: 629
Threads: 25
Joined: Dec 2011
Reputation: 12
#5
RE: [SCRIPT HELP]Need advice

Theres a tutorial in the wiki(i suggested it Big Grin) http://wiki.frictionalgames.com/hpl2/tut...iferorange
01-27-2012, 08:31 PM
Find
Shadowman60 Offline
Junior Member

Posts: 11
Threads: 2
Joined: Dec 2011
Reputation: 0
#6
RE: [SCRIPT HELP]Need advice

(01-27-2012, 08:22 PM)darkadders Wrote: how bout this script:



void OnAllScripts()

{

SetProperScareIdeaActive(''true'');

}



void BeOriginal (fuckoffwith ThisIdea)

{

SetCreativityActive("Creative.exe", true);

}





no offence but im raging at all these retarded jumpscares people put in their stories... a good starting tip on CS scripting: BE ORIGINAL..



Jesus, it's not your mod, it's mine; i can do whatever i want with my mod.
01-29-2012, 11:32 AM
Find
Mine Turtle Offline
Senior Member

Posts: 647
Threads: 32
Joined: Mar 2011
Reputation: 29
#7
RE: [SCRIPT HELP]Need advice

(01-29-2012, 11:32 AM)Shadowman60 Wrote:
(01-27-2012, 08:22 PM)darkadders Wrote: how bout this script:



void OnAllScripts()

{

SetProperScareIdeaActive(''true'');

}



void BeOriginal (fuckoffwith ThisIdea)

{

SetCreativityActive("Creative.exe", true);

}





no offence but im raging at all these retarded jumpscares people put in their stories... a good starting tip on CS scripting: BE ORIGINAL..



Jesus, it's not your mod, it's mine; i can do whatever i want with my mod.
spoken like a true immature child.. no offense, i was tryin to bump you in the right direction on scripting and what people like on this forum. didnt expect a child to understand what i meant though. good luck with this amazing mod of yours.

[Image: 201107142327000.gif]
01-29-2012, 02:41 PM
Find
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#8
RE: [SCRIPT HELP]Need advice

(01-29-2012, 02:41 PM)darkadders Wrote: spoken like a true immature child.. no offense, i was tryin to bump you in the right direction on scripting and what people like on this forum. didnt expect a child to understand what i meant though. good luck with this amazing mod of yours.
He has a point, it's his mod; he needed help...I don't see how you could come to the conclusion that he is looking for criticism.

Also; "bumping" him in the right direction would offer him another idea...not cursing and mocking him.

(This post was last modified: 01-29-2012, 03:20 PM by flamez3.)
01-29-2012, 03:19 PM
Find
Datguy5 Offline
Senior Member

Posts: 629
Threads: 25
Joined: Dec 2011
Reputation: 12
#9
RE: [SCRIPT HELP]Need advice

(01-29-2012, 03:19 PM)flamez3 Wrote:
(01-29-2012, 02:41 PM)darkadders Wrote: spoken like a true immature child.. no offense, i was tryin to bump you in the right direction on scripting and what people like on this forum. didnt expect a child to understand what i meant though. good luck with this amazing mod of yours.
He has a point, it's his mod; he needed help...I don't see how you could come to the conclusion that he is looking for criticism.

Also; "bumping" him in the right direction would offer him another idea...not cursing and mocking him.
Agree.
01-29-2012, 03:21 PM
Find
Mine Turtle Offline
Senior Member

Posts: 647
Threads: 32
Joined: Mar 2011
Reputation: 29
#10
RE: [SCRIPT HELP]Need advice

(01-29-2012, 03:19 PM)flamez3 Wrote:
(01-29-2012, 02:41 PM)darkadders Wrote: spoken like a true immature child.. no offense, i was tryin to bump you in the right direction on scripting and what people like on this forum. didnt expect a child to understand what i meant though. good luck with this amazing mod of yours.
He has a point, it's his mod; he needed help...I don't see how you could come to the conclusion that he is looking for criticism.

Also; "bumping" him in the right direction would offer him another idea...not cursing and mocking him.
look, for once i think people should just stop with jumpscares.. im not the particular kind of person who critisizes people in need; i just wanted him to understand that jumpscares are just annoying ways of getting people an early heart attack. if he wants to script a mod he should atleast use some originality in there.. but, if he wants to be just like every other 20,000 individuals on this forum whos turned on by these things then i cant stop him.. jesus christ...

[Image: 201107142327000.gif]
01-29-2012, 06:34 PM
Find




Users browsing this thread: 4 Guest(s)