Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Script help!
Post: RE: Script help!
(06-12-2012, 04:11 PM)CorinthianMerchant Wrote: Please not another pewdiepie map. Why not something more serious and yummy like an atmospheric map, I'm sure that will be more appreciated! :DHaha =D ... |
|
Clear |
Development Support
|
12 |
8,821 |
06-12-2012, 05:00 PM |
|
|
Thread: Scripting Help
Post: RE: Scripting Help
(06-12-2012, 04:37 PM)andyrockin123 Wrote: (06-12-2012, 04:17 PM)Clear Wrote: (06-12-2012, 04:11 PM)beecake Wrote: Does the player see it move, or does the player only notice that it HAS moved?I... |
|
Clear |
Development Support
|
15 |
10,409 |
06-12-2012, 04:57 PM |
|
|
Thread: Scripting Help
Post: RE: Scripting Help
(06-12-2012, 04:38 PM)beecake Wrote: You could make an illusion so the player thinks that he is moving.
Use a lot of statues that are inactive and 1 that is active. Then to make him move:
First Sta... |
|
Clear |
Development Support
|
15 |
10,409 |
06-12-2012, 04:50 PM |
|
|
Thread: Scripting Help
Post: RE: Scripting Help
(06-12-2012, 04:11 PM)beecake Wrote: Does the player see it move, or does the player only notice that it HAS moved?I was thinking the same thing, to make it like a Weeping angel or SCP-173 (You can ... |
|
Clear |
Development Support
|
15 |
10,409 |
06-12-2012, 04:17 PM |
|
|
Thread: Scripting Help
Post: Scripting Help
Hey guys,
I'm really new at Scripting and i had this idea this other day of making a statue that moves everytime you reach a certain spot. (Script Area and such)
I wanna make the statue to pretty mu... |
|
Clear |
Development Support
|
15 |
10,409 |
06-12-2012, 04:08 PM |
|
|
Thread: Script help!
Post: RE: Script help!
(06-10-2012, 04:25 PM)SilentStriker Wrote: (06-10-2012, 04:22 PM)beecake Wrote: Instead of renaming it, why not just use the name it has? If you have a lot of pigs, then it's a waste of time. The ... |
|
Clear |
Development Support
|
12 |
8,821 |
06-12-2012, 04:02 PM |
|
|
Thread: Script help!
Post: RE: Script help!
(06-10-2012, 10:45 AM)SilentStriker Wrote: the PigSound is the name of the function and NAMEOFSOUND is where you put the name of your pig squeal or what ever it's called :)
Have you ever scripted b... |
|
Clear |
Development Support
|
12 |
8,821 |
06-10-2012, 04:01 PM |
|
|
Thread: Script help!
Post: RE: Script help!
(06-10-2012, 10:23 AM)SilentStriker Wrote: Well rename all the pigs with the same name for example pig_1, pig_2 etc then use this script
The bolded 10 is how many pigs you have so if you have 5 cha... |
|
Clear |
Development Support
|
12 |
8,821 |
06-10-2012, 10:26 AM |
|
|
Thread: Script help!
Post: Script help!
Hey guys!
I was working on a custom story when i had this idea of adding a sound that is activated Every time you touch a certain object, wich on this case is a Pig.
I have the .ogg sound in the fold... |
|
Clear |
Development Support
|
12 |
8,821 |
06-10-2012, 10:09 AM |
|
|
Thread: How do i make the Sanity script?
Post: RE: How do i make the Sanity script?
(05-25-2012, 03:01 PM)Putmalk Wrote: (14, 1) refers to line 14, character 1.
In this case, you are misusing the "{" "}". They cannot be floating around there. May I suggest reviewing a basic script... |
|
Clear |
Development Support
|
12 |
11,033 |
05-25-2012, 03:14 PM |
|
|
Thread: How do i make the Sanity script?
Post: RE: How do i make the Sanity script?
(05-25-2012, 02:57 PM)wolfmaster1231 Wrote: AddEntityCollideCallback("Player", "Sanity1", "SanityDamage", true, 1) this should be under
AddUseItemCallback
Can you write that for me please? |
|
Clear |
Development Support
|
12 |
11,033 |
05-25-2012, 03:03 PM |
|
|
Thread: How do i make the Sanity script?
Post: RE: How do i make the Sanity script?
(05-25-2012, 02:44 PM)Putmalk Wrote: (05-25-2012, 02:34 PM)Clear Wrote: (05-25-2012, 02:25 PM)Obliviator27 Wrote: You would have to set up a CollideCallback, which calls the function GiveSanityD... |
|
Clear |
Development Support
|
12 |
11,033 |
05-25-2012, 02:51 PM |
|
|
Thread: How do i make the Sanity script?
Post: RE: How do i make the Sanity script?
(05-25-2012, 02:25 PM)Obliviator27 Wrote: You would have to set up a CollideCallback, which calls the function GiveSanityDamage. Like so
void OnStart()
{
AddEntityCollideCallback("Player", "RoomAre... |
|
Clear |
Development Support
|
12 |
11,033 |
05-25-2012, 02:34 PM |
|
|
Thread: How do i make the Sanity script?
Post: RE: How do i make the Sanity script?
(05-25-2012, 01:54 PM)Putmalk Wrote: I don't understand what "Sanity Script" means?
Do you want to raise/lower the sanity?
Raising, just put one of these lines of code in your script:
GiveSanityB... |
|
Clear |
Development Support
|
12 |
11,033 |
05-25-2012, 02:00 PM |
|
|
Thread: How do i make the Sanity script?
Post: How do i make the Sanity script?
Hey guys!
I'm really new at scripting amnesia custom stories and with HPL editor :D
My question is how exacly can you make a Sanity Script?
Let's say i've set an area (script) and exacly when the pla... |
|
Clear |
Development Support
|
12 |
11,033 |
05-25-2012, 01:50 PM |
|
|
Thread: Fatal Error : ERR : Unexpected token '{'
Post: RE: Fatal Error : ERR : Unexpected token '{'
(05-24-2012, 01:41 PM)Datguy5 Wrote: Nevermind :DDo you have any clue what do i need to do in order to solve this error? |
|
Clear |
Development Support
|
8 |
6,909 |
05-24-2012, 02:23 PM |
|
|
Thread: Fatal Error : ERR : Unexpected token '{'
Post: RE: Fatal Error : ERR : Unexpected token '{'
(05-24-2012, 01:05 PM)Stepper321 Wrote: (05-24-2012, 01:01 PM)Clear Wrote: (05-24-2012, 12:56 PM)Stepper321 Wrote: Check it yourself!
14 is the line and 1 is the location in that line.
{
AddE... |
|
Clear |
Development Support
|
8 |
6,909 |
05-24-2012, 01:10 PM |
|
|
Thread: Fatal Error : ERR : Unexpected token '{'
Post: RE: Fatal Error : ERR : Unexpected token '{'
(05-24-2012, 12:56 PM)Stepper321 Wrote: Check it yourself!
14 is the line and 1 is the location in that line.
{
AddEntityCollideCallback("Player", "script_slam", "func_slam", true, 1);
}
There... |
|
Clear |
Development Support
|
8 |
6,909 |
05-24-2012, 01:01 PM |
|
|
Thread: Fatal Error : ERR : Unexpected token '{'
Post: Fatal Error : ERR : Unexpected token '{'
Hey guys,
I have been working on a custom story and i wanted to add a door slam script, but when i added it to the .hps file it gave me an error saying Unexpected token "{" , I have no clue what to d... |
|
Clear |
Development Support
|
8 |
6,909 |
05-24-2012, 12:53 PM |