Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Turning light on and off in trigger area?
Post: RE: Turning light on and off in trigger area?
(05-08-2013, 08:53 PM)ClayPigeon Wrote: Code:AddEntityCollideCallback("Player", "wrong_door_area", "WrongDoor", false, 0);
void WrongDoor(string &in asParent, string &in asChild, int alStat... |
|
Dominic0904 |
Development Support
|
4 |
3,571 |
05-08-2013, 08:56 PM |
|
|
Thread: Turning light on and off in trigger area?
Post: RE: Turning light on and off in trigger area?
(05-08-2013, 08:17 PM)ClayPigeon Wrote: Code:AddEntityCollideCallback("Player", "wrong_door_area", "WrongDoor", false, 1);
AddEntityCollideCallback("Player", "wrong_door_area", "WrongDoor", false, -... |
|
Dominic0904 |
Development Support
|
4 |
3,571 |
05-08-2013, 08:47 PM |
|
|
Thread: Turning light on and off in trigger area?
Post: Turning light on and off in trigger area?
Hey everyone,
Basically what I wanted to do is have a light turn on when I walk into a trigger area, then turns off again when the player walks out of that trigger area. Then turns on when they walk ... |
|
Dominic0904 |
Development Support
|
4 |
3,571 |
05-08-2013, 07:22 PM |
|
|
Thread: Checkpoint help
Post: RE: Checkpoint help
Sorry to double post, but that worked perfectly! Thank you again :D |
|
Dominic0904 |
Development Support
|
15 |
8,151 |
04-27-2013, 06:36 PM |
|
|
Thread: Checkpoint help
Post: RE: Checkpoint help
Awesome, will give that a test soon and let you know the results.
Hopefully I don't have to keep spamming the threads with my "halp plz" threads. No one I know in person or on Steam does CSs for Amn... |
|
Dominic0904 |
Development Support
|
15 |
8,151 |
04-25-2013, 09:21 PM |
|
|
Thread: Checkpoint help
Post: RE: Checkpoint help
No wait, sorry about the previous post (unless you didn't see it before this edit) but it worked!
Turns out when I was testing our your solution I was working from the .hps I had open in dropbox and n... |
|
Dominic0904 |
Development Support
|
15 |
8,151 |
04-25-2013, 06:47 PM |
|
|
Thread: Checkpoint help
Post: RE: Checkpoint help
Sorry! Should of tested it first haha, this one should work.
https://dl.dropboxusercontent.com/u/2282...ceHall.zip |
|
Dominic0904 |
Development Support
|
15 |
8,151 |
04-25-2013, 04:32 PM |
|
|
Thread: Checkpoint help
Post: RE: Checkpoint help
(04-25-2013, 02:33 PM)JustAnotherPlayer Wrote: Is your script area's name called "LockCellarDoor_1"?
EDIT: I also noticed that some of the check point is wrong. Make sure you follow this.
PHP Code:... |
|
Dominic0904 |
Development Support
|
15 |
8,151 |
04-25-2013, 03:58 PM |
|
|
Thread: Checkpoint help
Post: RE: Checkpoint help
Yeah, I add it back and then does nothing, it doesn't reset the "Lock door, spawn brute and enable checkpoint" scene.
I bolded the callback, is it because I set it to be destroyed after being trigge... |
|
Dominic0904 |
Development Support
|
15 |
8,151 |
04-25-2013, 02:13 PM |
|
|
Thread: Checkpoint help
Post: RE: Checkpoint help
I managed remove the key and respawn it. But I got a few problems. I have tried adding the callback which was only this;
PHP Code:AddEntityCollideCallback("Player", "LockCellarDoor_01", "Cel... |
|
Dominic0904 |
Development Support
|
15 |
8,151 |
04-24-2013, 09:01 PM |
|
|
Thread: Checkpoint help
Post: Checkpoint help
Hey there,
Basically I was wondering how do you get a checkpoint to reload your progress back to what it was when you actually triggered the checkpoint?
An example;
I enter the maze, the door locks ... |
|
Dominic0904 |
Development Support
|
15 |
8,151 |
04-24-2013, 06:01 PM |
|
|
Thread: Sanity Screen Effect?
Post: RE: Sanity Screen Effect?
"Enables/Disables sanity drain from darkness, monsters, etc."
That what it says on the Wiki :S Hope it will work, need to test it later! |
|
Dominic0904 |
Development Support
|
9 |
5,054 |
04-23-2013, 09:24 PM |
|
|
Thread: Sanity Screen Effect?
Post: RE: Sanity Screen Effect?
Hmm, what I could do then is set the players Sanity to whatever to get the effect, then disable Sanity drain using SetSanityDrainDisabled (so that the player wouldn't go completely insane if they see ... |
|
Dominic0904 |
Development Support
|
9 |
5,054 |
04-23-2013, 08:43 PM |
|
|
Thread: Sanity Screen Effect?
Post: RE: Sanity Screen Effect?
Nar, already tried using those, they don't make the player's vision twist, turn and stretch. They are only static effects. Those are the ones that are used when you look at a Grunt or Brute. |
|
Dominic0904 |
Development Support
|
9 |
5,054 |
04-23-2013, 07:43 PM |
|
|
Thread: PathNodes with ShowEnemyPlayerPosition?
Post: RE: PathNodes with ShowEnemyPlayerPosition?
Hmm, I think I'll just have the Brute patrol around the maze then, knocking down doors as he patrols the area. Don't have the time to figure out how to get ShowEnemyPosition to work as this is for my ... |
|
Dominic0904 |
Development Support
|
3 |
2,845 |
04-23-2013, 06:53 PM |
|
|
Thread: Sanity Screen Effect?
Post: Sanity Screen Effect?
Is there a way to script in the screen effect that the player gets when their sanity is very low? Where the world sort of twists and rotates slightly, images stretch a bit. You know what I mean.
I wa... |
|
Dominic0904 |
Development Support
|
9 |
5,054 |
04-22-2013, 07:53 PM |
|
|
Thread: PathNodes with ShowEnemyPlayerPosition?
Post: PathNodes with ShowEnemyPlayerPosition?
Hey there, I was wondering if there was anyway to get path nodes to "work together" with the function ShowEnemyPlayerPosition? Because here is how I got my level set up;
[Image: http://25.media.tumbl... |
|
Dominic0904 |
Development Support
|
3 |
2,845 |
04-22-2013, 05:03 PM |
|
|
Thread: Make an item appear after smashing plates?
Post: RE: Make an item appear after smashing plates?
(04-18-2013, 05:58 PM)Yare Wrote: Huh, you mixed up quite many things :P
Here is how it should look like:
Code:void OnStart()
{
SetLocalVarInt("BrokenPlates", 0);
SetEntityCallbackFunc("non_broken_... |
|
Dominic0904 |
Development Support
|
6 |
3,943 |
04-18-2013, 06:32 PM |
|
|
Thread: Make an item appear after smashing plates?
Post: RE: Make an item appear after smashing plates?
Ok, this is what I got:
Quote:void OnStart()
{
SetEntityCallbackFunc("BrokenPlates", "Break");
}
void BrokenPlates(string &in asEntity, string &in type)
{
if(type == "Break")
{
... |
|
Dominic0904 |
Development Support
|
6 |
3,943 |
04-18-2013, 05:34 PM |
|
|
Thread: Make an item appear after smashing plates?
Post: Make an item appear after smashing plates?
Hey everybody,
Now usually I am ok with trying to figure out scripting for myself when it comes to Amnesia. But I am struggling to figure out how to do this particular task.
Now here's what I would ... |
|
Dominic0904 |
Development Support
|
6 |
3,943 |
04-18-2013, 04:52 PM |